R
Ramjee Tangutur
Hi Al
We have a web service (developed in C#). This web service is hosted in the Partners domain of Microsoft. A Windows Forms application is the consumer of this web service. The client can call the web service in two scenarios that is the client can be a part of the Corporate Intranet or the client can be in some remote location and access the web service over RAS.
We pass the credentials to the Web Service call as belowâ€
1. WebServiceObject.Credentials = Credentials.DefaultCredentials(); --> This will be used if the client is in Intrane
2. WebServiceObject.Credentials = new NetworkCredentials(“UserIDâ€,â€Passwordâ€,â€Domainâ€); --> This will be used if the client is in extranet
Our Application has proper logic to determine if the client app is in Intranet or in Extranet
Now the problem that we face is, the credentials are not getting passed if we use the statement 2. We looked at the IIS Log from (C:\Windows\System32\LogFiles\...). Here from the log we saw that NULL credentials are getting passed.
The following is the IIS configuration which hosts the Web Service
1. OS --> Windows Server 200
2. IIS Ver --> 6.
3. Uses Application Pool
4. App Pool Identity --> “Local Systemâ€
5. Authentication on the Vir Dir --> “Integrated Windows†and “Digestâ€
Any pointers on what could be going wrong will be of great help. Please let us know, if we are missing some extra settings
*** Please mark a cc of the reply to (e-mail address removed) and (e-mail address removed) ***
Thanks & Regards
Ramjee Tangutu
Microsoft India Community Star (.NET
We have a web service (developed in C#). This web service is hosted in the Partners domain of Microsoft. A Windows Forms application is the consumer of this web service. The client can call the web service in two scenarios that is the client can be a part of the Corporate Intranet or the client can be in some remote location and access the web service over RAS.
We pass the credentials to the Web Service call as belowâ€
1. WebServiceObject.Credentials = Credentials.DefaultCredentials(); --> This will be used if the client is in Intrane
2. WebServiceObject.Credentials = new NetworkCredentials(“UserIDâ€,â€Passwordâ€,â€Domainâ€); --> This will be used if the client is in extranet
Our Application has proper logic to determine if the client app is in Intranet or in Extranet
Now the problem that we face is, the credentials are not getting passed if we use the statement 2. We looked at the IIS Log from (C:\Windows\System32\LogFiles\...). Here from the log we saw that NULL credentials are getting passed.
The following is the IIS configuration which hosts the Web Service
1. OS --> Windows Server 200
2. IIS Ver --> 6.
3. Uses Application Pool
4. App Pool Identity --> “Local Systemâ€
5. Authentication on the Vir Dir --> “Integrated Windows†and “Digestâ€
Any pointers on what could be going wrong will be of great help. Please let us know, if we are missing some extra settings
*** Please mark a cc of the reply to (e-mail address removed) and (e-mail address removed) ***
Thanks & Regards
Ramjee Tangutu
Microsoft India Community Star (.NET