MEAOPO.Mailbox

Discussion for developers using MailEnable.
Post Reply
KevinRHurst
Posts: 14
Joined: Thu Oct 07, 2004 5:13 pm
Location: Albuquerque, NM, USA
Contact:

MEAOPO.Mailbox

Post by KevinRHurst » Fri Oct 08, 2004 6:06 am

_________________________________________________________

Access is denied.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.UnauthorizedAccessException: Access is denied.

ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true"/>, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.

To grant ASP.NET write access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.


_________________________________________________________

The ever-occurring error I receive trying to add a mailbox by VB.NET on a Windows 2003 box. Running it on the server, the web app asks for a login/password that never works either.

http://www.mailenable.com/kb/Content/Ar ... D=me020209 was also not helpful

Any suggestions? I am going nuts!
Kevin R Hurst

Frunder Studios
Albuquerque, NM
87120-1023

www.frunder.com
____________________

kinda like thunder...

Kiliman
Posts: 279
Joined: Mon Feb 03, 2003 2:44 pm
Location: Chesapeake, VA

Post by Kiliman » Fri Oct 08, 2004 11:07 am

You need to make sure that the ASPNET account has Modify permission for the Postoffices folder. By default, restricted users (like the ASPNET account) only have Read permissions.

You may need to do the same for the Config folder as well. You should try using FileMon from www.sysinternals.com. This will let you see every file access and whether it was successful or not.

Kiliman

KevinRHurst
Posts: 14
Joined: Thu Oct 07, 2004 5:13 pm
Location: Albuquerque, NM, USA
Contact:

Post by KevinRHurst » Fri Oct 08, 2004 2:10 pm

thanks, Kiliman

There is not a ASP.NET account for Windows 2003. The equivalent from the error, Network Service, was given full read/write rights. Am trying www.sysinternals.com...

8)
Kevin R Hurst

Frunder Studios
Albuquerque, NM
87120-1023

www.frunder.com
____________________

kinda like thunder...

Kiliman
Posts: 279
Joined: Mon Feb 03, 2003 2:44 pm
Location: Chesapeake, VA

Post by Kiliman » Fri Oct 08, 2004 7:34 pm

Sorry... didn't catch the 2003 reference. You're right about the Network Service account. I'd check with FileMon to see what the issue is then.

Kiliman

KevinRHurst
Posts: 14
Joined: Thu Oct 07, 2004 5:13 pm
Location: Albuquerque, NM, USA
Contact:

Post by KevinRHurst » Wed Oct 13, 2004 10:42 pm

still no luck on this whole thing

Any other suggestions?
Kevin R Hurst

Frunder Studios
Albuquerque, NM
87120-1023

www.frunder.com
____________________

kinda like thunder...

Post Reply