0
Published

Management Studio fails to load due to missing write access

Beau Harrison (Senior Product Software Engineer) 8 years ago updated by anonymous 8 years ago 1

Description

Browsing to Management Studio when fails with an error, stating that the identity account does not have write access to C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files.

Affected Software

  • MIM Event Broker
  • IIS

Symptom

The following error appears when browsing to Management Studio:

Event code: 3005 
Event message: An unhandled exception has occurred. 
Event time: 12/04/2012 12:33:37 PM 
Event time (UTC): 12/04/2012 2:33:37 AM 
Event ID: 2c9910b1222346b3bd5c3b519d3d5fe7 
Event sequence: 1 
Event occurrence: 1 
Event detail code: 0
Application information: 
Application domain: ef0bce15-1-129786716158618250 
Trust level: 
Application Virtual Path: / 
Application Path: D:\UNIFY Solutions\Event Broker\Web\ 
Machine name: FIMSERVER
Process information: 
Process ID: 1196 
Process name: Unify.Service.Event.exe 
Account name: Customer\fimsyncuser
Exception information: 
Exception type: HttpException 
Exception message: The current identity (Customer\fimsyncuser) does not have write access to 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files'.
at System.Web.HttpRuntime.SetUpCodegenDirectory(CompilationSection compilationSection)
at System.Web.HttpRuntime.HostingInit(HostingEnvironmentFlags hostingFlags, PolicyLevel policyLevel, Exception appDomainCreationException)

Resolution

This is due to the network identity having insufficient access for ASP.NET. Verify that the user, group, and/or application pool identity being used have write access to this folder. Refer to http://www.iis.net/learn/get-started/planning-for-security/understanding-built-in-user-and-group-accounts-in-iis and Isolating Applications under http://technet.microsoft.com/en-us/library/dd163542.aspx for more information on appropriately configuring these accounts.