Specified Domain does not exist or could not be contacted

S

Sanmic

I've made an .aspx page for managing Exchange 2000 mailboxes.
Everything works fine when I uses "identity impersonate" in my web.config.
If I disable Anonymous access in IIS and removes "identity impersonate" I'm
getting this error: Specified Domain does not exist or could not be
contacted

--------------------------
Dim user As New DirectoryEntry("LDAP://" & username in my domain)
Dim objMailbox As CDOEXM.IMailboxStore = user.NativeObject <---- Error
appears here


Hope someone can help me with this!

/Sanmic - Swe
 
S

Scott Allen

Are you saying you removed identity impersonate="true" from the
web.config? If so, the application is trying to manage the mailboxes
using a local ASPNET account, which does not have permissions to mange
mailboxes. It would be a security problem if this was possible.

Is there a reason you cannot use impersonation?
 

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,995
Messages
2,570,230
Members
46,816
Latest member
SapanaCarpetStudio

Latest Threads

Top