I used astrName.Split('\\').GetValue(0) and strTemp.Split('\\').GetValue(1) to split domain\ntid after getting it from Active directory
While debugging "domain\\ntid" is shown in Local window but on web form it is shown "domain\ntid" . I am fine with that.
It is working fine on http://localhost:4578/XXXWebUIAD.aspx but when I directly point to localhost http://localhost/XXX/AD.aspx, it gives error as shown below mainly for second value. because it was not able to split in first place.
Exception D ...
Go to the complete details ...