Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Dec 06, 2012 03:54 AM by santosh.subramani
Dec 05, 2012 04:21 AM|LINK
server detail: window server 2003 , IIS 6.0 , .NetFramework 1.1.
i get following exception detail: system.Net.WebException: the request failed with HTTP status 401:Unauthorized.
my directory structure is parent directoty "default website", under it child directory "Reporitingsite" virtual directory.(where i have place my deployed solution).
i was changing the application pool of Reportingsite, i got a pop up called "inheritance override" it listed me a web service which is hosted in child directory "Reportingsite", i clicked select all and ok button .
after that action i start getting exception as mentioned above.
i feel the accessflag for that service has been changed.
please can some help me out how to revert back the changes in access flag.
or revert back the old setting of reportingsite virtual directory. so that my application work fine like before.
please help its urgent
Dec 05, 2012 05:50 AM|LINK
give full access to everyone and inheritance override
Dec 05, 2012 06:22 AM|LINK
it is suppose to use the integerated windows authentication.
In Code while i debug : i call the service method from aspx page , control navigate to respective method in service .
i pass user name and some group to the method .
Method try to Me.Invoke( user name , group name)
where it fails to invoke at all,
Before inheritance override of the service ,everythig was working fine.
Dec 05, 2012 06:26 AM|LINK
same action i was ablet o achieve when i browse the webservice directly on to the browser and pass user name and group name to the method,
its returns me true.
but its not happening in code or over IIS.
Dec 06, 2012 03:54 AM|LINK
I found the answer , you can directly select that asmx file in the deployed solution and provided anonymous access.