Click here to Skip to main content
15,892,199 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
I trying to run a working winform application (.NET 3.5) with a standard user on windows 7. The application tries to get data from a WebService, but somehow gets it empty.
If I run the same application with admin - it works.
I took a capture in Wireshark (ethereal), and I see that the data from WS arrives to my machine, but somehow I get it empty.
Any ideas?
Posted

1 solution

It would have to be Security Credentials of some sort.

The Web Service could be using Windows Authentication and the admin might have rights, the local user doesn't.

You could try to turn on Anonymous authentication on the web service and see if it works for the local user then. If it does then its a bit of a give away its Network Credentials.

Chase links around like http://msdn.microsoft.com/en-us/library/system.net.networkcredential.aspx[^]

Oh and for speed if you can choose one of NTLM or Basic instead of Negotiate then the credential validation takes one less web service call.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900