?
Solved

Server Error in '/OMA' Application.

Posted on 2007-07-25
15
Medium Priority
?
1,117 Views
Last Modified: 2009-07-22
I have Outlook Web Access working as well as our normal Exchange email, but having a few issues with ActiveSync. I was getting issues from one user who was generating the following error:

Server: ActiveSync
Event ID: 3005
Desc: Unexpected mailbox Server error: Server xxxxx.xxxx User: first.last@mydomain.com  HTTP status code: [409]. Verify that the Exchange mailbox Server is working correctly.

I then looked at http://support.microsoft.com/kb/883380 and recreated the directories again and http://support.microsoft.com/kb/817379 to create the /exchange-oma directory and modify the registry to include the ExchangeVDir.

But the user says they can manually sychronise but not via Push. So I tried accessing https://mail.mydomain.org/oma from the server browser and I am now getting the following error:

Access to the path "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\oma\4b7780a0\63f074d1" is denied.

Now I have checked the directory access to the path "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files and their is no oma folder which in turn does not have 4b7780a0\63f074d1. There is however a mobileadmin directory I dont know if that helps.

Any help with this would be much appreciated.

Regards, NewAS.
0
Comment
Question by:NewAS
  • 7
  • 6
14 Comments
 
LVL 31

Expert Comment

by:LeeDerbyshire
ID: 19566249
This is just a guess, but if the folder doesn't exist, then the access denied message might mean that it is trying to create the files, rather than read them.  It might be worth checking the NTFS permissions in that heirarchy, to make sure that your users would have the right permissions to create files and folders in there.
0
 

Author Comment

by:NewAS
ID: 19567596
What permissions need to be applied and to what account?
0
 
LVL 31

Expert Comment

by:LeeDerbyshire
ID: 19567929
I don't have anything under the v1.1.4322 folder (not sure why), but at that level I have

Administrators: Full Control
Authenticated Users: Read And Execute, List Folder Contents, Read
CREATOR OWNER: Special Permissions
Server Operators: Modify, Read And Execute, List Folder Contents, Read, Write
SYSTEM: Full Control

I expect that any folders underneath should have something similar.
0
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

 
LVL 31

Expert Comment

by:LeeDerbyshire
ID: 19568128
Ah, I have Framework64 (I am running E2007 on 64-bit Server).  My temp files are under there.  The permissions are the same as I listed above, except for one addition:

IIS_WPG: Read And Execute, List Folder Contents, Read
0
 

Author Comment

by:NewAS
ID: 19568702
Tried that didnt work and then tried IUSR_SERVERNAME with same permissions that didnt work either.

Anymore thoughts?

Do I need to recreate the virtual folders again? Have I recreated the directories correctly if I have followed the above microsoft articles to the letter or is there something I have missed out?

Regards, NewAS.
0
 

Author Comment

by:NewAS
ID: 19568715
We rang O2 and they said that push requires POP3 but we dont have that running on the Exchange server, could this be causing an issue?
0
 
LVL 31

Expert Comment

by:LeeDerbyshire
ID: 19568747
I can't think of anything else - it was just a guess based on the displayed error message.  I can't say if recreating the VDirs would help, but my guess would be that it would not.  Of course, there's only really one way to find out.

If you have the .Net frawork v2 installed on the same server, it might help to configure the OMA VDir to use that instead.

I wouldn't think that push requires POP3.  It's possible that tech support at O2 do not have a high level of Exchange knowledge.
0
 

Author Comment

by:NewAS
ID: 19569159
Retried creating the folders again, a small step was missed, but still didnt help anyway here is the full error I am still getting:

Server Error in '/OMA' Application.
--------------------------------------------------------------------------------

Access to the path "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\oma\4b7780a0\63f074d1" 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 to the path "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\oma\4b7780a0\63f074d1" 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.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  

Stack Trace:

[UnauthorizedAccessException: Access to the path "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\oma\4b7780a0\63f074d1" is denied.]
   System.IO.__Error.WinIOError(Int32 errorCode, String str) +393
   System.IO.Directory.InternalCreateDirectory(String fullPath, String path) +632
   System.IO.Directory.CreateDirectory(String path) +195
   System.Web.Compilation.PreservedAssemblyEntry.DoFirstTimeInit(HttpContext context) +85
   System.Web.Compilation.PreservedAssemblyEntry.EnsureFirstTimeInit(HttpContext context) +97
   System.Web.Compilation.PreservedAssemblyEntry.GetPreservedAssemblyEntry(HttpContext context, String virtualPath, Boolean fApplicationFile) +29
   System.Web.UI.TemplateParser.GetParserCacheItemFromPreservedCompilation() +91
   System.Web.UI.TemplateParser.GetParserCacheItemInternal(Boolean fCreateIfNotFound) +217
   System.Web.UI.TemplateParser.GetParserCacheItemWithNewConfigPath() +125
   System.Web.UI.TemplateParser.GetParserCacheItem() +88
   System.Web.UI.ApplicationFileParser.GetCompiledApplicationType(String inputFile, HttpContext context, ApplicationFileParser& parser) +171
   System.Web.HttpApplicationFactory.CompileApplication(HttpContext context) +43
   System.Web.HttpApplicationFactory.Init(HttpContext context) +485
   System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +170
   System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +414

 --------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2407; ASP.NET Version:1.1.4322.2407

Any thoughts?
0
 
LVL 31

Expert Comment

by:LeeDerbyshire
ID: 19569179
Do you have the ASPNET account on the server?
0
 
LVL 31

Expert Comment

by:LeeDerbyshire
ID: 19569187
Oh, wait - is this on IIS5 or IIS6?
0
 

Author Comment

by:NewAS
ID: 19572505
IIS 6
0
 

Author Comment

by:NewAS
ID: 19573228
This document solved it:

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

OMA is working fine now.

Regards, NewAS.
0
 
LVL 31

Expert Comment

by:LeeDerbyshire
ID: 19573650
Glad you fixed it!
0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
ID: 22505702
PAQed with points refunded (500)

Computer101
EE Admin
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this post, I will showcase the steps for how to create groups in Office 365. Office 365 groups allow for ease of flexibility and collaboration between staff members.
Eseutil Hard Recovery is part of exchange tool and ensures Exchange mailbox data recovery when mailbox gets corrupt due to some problem on Exchange server.
In this video we show how to create an email address policy in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Mail Flow…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
Suggested Courses
Course of the Month17 days, 6 hours left to enroll

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question