[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 566
  • Last Modified:

Owa Error

Ok well i am trying to get an issue resolved some of my Mobile Devices and I tried to log in as the Admin and go to my Oma page Via the IE   using Http://exchange/oma  (exchange being my server name) and got this

I not sure if this is right.  or if there is an issue here.  

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

Access to the path "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\oma\55aaeb43\5ef66257" 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\55aaeb43\5ef66257" 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\55aaeb43\5ef66257" 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.2443; ASP.NET Version:1.1.4322.2470
0
gotti777
Asked:
gotti777
  • 9
  • 6
1 Solution
 
gotti777Author Commented:
Am i able to Access my OWA from the browser  to test or is this error ok?
0
 
Shreedhar EtteCommented:
You need to fix the error for the OMA functionality.

Grant the Authenticated user full permissions on the C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\oma

and replace the permissions on all child objects.
0
 
gotti777Author Commented:
Hmm ok..   Can you explaine how i am not very sure
0
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 
Shreedhar EtteCommented:
Could not get your question?
0
 
gotti777Author Commented:
I go to where you say but i see no oma file  2
0
 
gotti777Author Commented:
am I at theright spot?
0
 
Shreedhar EtteCommented:
Copy paste this path C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\oma

in windows exploere and see.
0
 
gotti777Author Commented:
nope  11
0
 
Shreedhar EtteCommented:
Ok then create a OMA folder under C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files

and grant the authenticaed users full permissons.
0
 
gotti777Author Commented:
ok done added file OMA and full contorl to AUth users
0
 
Shreedhar EtteCommented:
Are you able to browse http://exchange/oma?
0
 
gotti777Author Commented:
now i get this error 1
0
 
Shreedhar EtteCommented:
Please refer this article http://support.microsoft.com/kb/898131
0
 
gotti777Author Commented:
this error have anything to do with the user not being able to sync  
0
 
gotti777Author Commented:
it looks like we are getting close on the other question .. if so this one is irrelevant
0

Featured Post

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

  • 9
  • 6
Tackle projects and never again get stuck behind a technical roadblock.
Join Now