all groups > asp.net webservices > december 2006 >
You're in the

asp.net webservices

group:

HTTP status 401: Access Denied


HTTP status 401: Access Denied Patrick.O.Ige
12/14/2006 12:00:00 AM
asp.net webservices:
I have a simple method below that gets data from an sqlxml webservice
I'm using Windows Integrated and i have disables anonymous access on IIS and
also impersonate myself in Web.config.
But 'm getting error

"The request failed with HTTP status 401: Access Denied. "

public void getXmlWebserivceData()

{

string ct = "condiments";

//int e =3;


TestWebService.devpc1.soap proxy = new devpc1.soap();

proxy.Credentials = System.Net.CredentialCache.DefaultCredentials;



devpc1.soap mysoapclient = new TestWebService.devpc1.soap();

DataGrid1.DataSource = mysoapclient.CustomersTemplate(ct);

DataGrid1.DataBind();

}



Any ideas???

Re: HTTP status 401: Access Denied Patrick.O.Ige
12/14/2006 12:00:00 AM
Fixed.

[quoted text, click to view]

RE: HTTP status 401: Access Denied joyo
3/12/2007 3:21:03 AM


[quoted text, click to view]
AddThis Social Bookmark Button