P
Paul Cheevers
Hi,
I'm trying to use the CredentialCache.DefaultCredentials to pick up the
credentials of the current user but its not working correctly. I've switched
off anonymous access and gone thru the code in debug mode but I keep getting
a 401 security exception. The code works perfect if I hard code a user name
and password.
After a lot of messing around I got it to work on the server (if I navigate
to the webpart that contains the code from a browser on the actual server)
when I set my browser to automatically logon on. However the code still
breaks on client machines even if I make this change.
This is driving me nuts, any help or suggestions would be appreciated.
Cheers,
Paul
I'm trying to use the CredentialCache.DefaultCredentials to pick up the
credentials of the current user but its not working correctly. I've switched
off anonymous access and gone thru the code in debug mode but I keep getting
a 401 security exception. The code works perfect if I hard code a user name
and password.
After a lot of messing around I got it to work on the server (if I navigate
to the webpart that contains the code from a browser on the actual server)
when I set my browser to automatically logon on. However the code still
breaks on client machines even if I make this change.
This is driving me nuts, any help or suggestions would be appreciated.
Cheers,
Paul