System.InvalidOperationException: Unable to generate a temporary class (result=1)

  1. Home
  2. Knowledge Base
  3. PeopleSearch
  4. System.InvalidOperationException: Unable to generate a temporary class (result=1)
  1. Home
  2. Knowledge Base
  3. PeopleUpdate
  4. System.InvalidOperationException: Unable to generate a temporary class (result=1)
  1. Home
  2. Knowledge Base
  3. PeopleProvision
  4. System.InvalidOperationException: Unable to generate a temporary class (result=1)
  1. Home
  2. Knowledge Base
  3. PeoplePassword
  4. System.InvalidOperationException: Unable to generate a temporary class (result=1)
  1. Home
  2. Knowledge Base
  3. PeopleNexus
  4. System.InvalidOperationException: Unable to generate a temporary class (result=1)
  1. Home
  2. Knowledge Base
  3. IISADMPWD Replacement
  4. System.InvalidOperationException: Unable to generate a temporary class (result=1)

You might see the following error trying to run ASP.NET web applications from Web Active Directory.

System.InvalidOperationException: Unable to generate a temporary class (result=1)

This error typically is caused by a permissions issue on the Temp folder used to host compiled .NET assemblies at run time. Check the permissions for the NTAUTHORITY\NETWORK SERVICE account on the TEMP folder for .NET.

Resolution
To resolve this issue, assign NETWORK SERVICE (or whatever account your web application is using) the following permissions on C:\Windows\Temp (or the temp folder location on your system).

•List Folder / Read Data

•Delete

Additional Notes
This error also typically indicates a bigger problem with ASP.NET so you should check to ensure you installed and registered ASP.NET properly as noted below:

HTTP Error 403.14 – Forbidden Errors

Was this article helpful?

Related Articles

Sign in
classic
Forgot password?
×
Sign up

(*) Required fields

I agree with OptimaSales Terms & Privacy Policy

×