MyService service= new MyService ();
System.Net.CredentialCache cache = new System.Net.CredentialCache();
cache.Add(new Uri("http://10.1.23.4/gss/myManagerService.asmx"), new System.Net.NetworkCredential("muusername", "mypwd","mydomain"));
service.Url = "http://10.1.23.4/gss/myManagerService.asmx";
int cnt = 0;
myrec records = new myrec;
AccRecord oaccRecord = new AccRecord ();
my guess not code problem when i use same code for other service its working fine but the other service reside on not domain based server.
so my code like this new System.Net.NetworkCredential("user", "pwd") no domain name.
only problem with domain based server .
do i need to do any settings any where?