Accessing Windows integrated authentication with web service proxy

F

Frank

Hi,

I exposed a ASP.NET web form and a Web Service through IIS on my XP work station, which is on the company intranet. Both configured to use Windows integrated authentication. Some facts:

Computer name: "fliuXP"
Domain controller: "ab_cd"
My local user account: "Administrator"
My domain user account "ab_cd\fliu".

Now I can access the web form using a web browser, using both user account "Administrator" or "ab_cd\fliu". But when I use web service proxy class to access the web service:

service.Credentials = new NetworkCredential(username, password, "");

only my local user account "Administrator" was accepted. My domain user account "ab_cd\fliu" got an "Access Denied" response. Could someone tell me why? Might be a very simple reason that I don't know.

Best wishes, Frank
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top