WebService.Lists objLists = new WebService.Lists(); objLists.Credentials = System.Net.CredentialCache.DefaultCredentials; //here i got empty user and domain so i thought that because of this error may occur so i changed this line with this System.Net.NetworkCredentials userdetails=new System.Net.NetworkCredentials(username,pwd,domain); objLists.Credentials = userdetails; objLists.Url = "http://[SITENAME]:2009/_vti_bin/lists.asmx";
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)