views:

83

answers:

2

im trying to access my exchange inbox using webdav and it works from my testing server (windows 2003 64bit, contain MOSS instalation) and not from my production server (windows xp 32bit).

for authentication im using:

ICredentials credentials = CredentialCache.DefaultCredentials;

from my production server im getting:

The remote server returned an error: (401) Unauthorized.

what can be the problem on my production server and how come it work on my testing server?

A: 

MAybe because on the test machine you are also the admin. Try setting the credentials explicitly to a user account known to have the required access. DefaultCredentials might revert to say the Local Machine or Network Service account (although not sure about that).

Colin
you are right, im aslo the admin on the test server. how im sending the credentials of the current logon user?
kisin
A: 

Check the local loopback check

http://support.microsoft.com/kb/896861

Ryan