Click here to Skip to main content
15,891,748 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
MSIL
Server Error in '/VirDirResume' Application.
--------------------------------------------------------------------------------

The current identity (OSM\ASPNET) does not have write access to 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files'.
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.Web.HttpException: The current identity (OSM\ASPNET) does not have write access to 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files'.

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:

[HttpException (0x80004005): The current identity (OSM\ASPNET) does not have write access to 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files'.]
   System.Web.HttpRuntime.SetUpCodegenDirectory(CompilationSection compilationSection) +8921550
   System.Web.HttpRuntime.HostingInit(HostingEnvironmentFlags hostingFlags) +152

[HttpException (0x80004005): The current identity (OSM\ASPNET) does not have write access to 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files'.]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +8894095
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +85
   System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +259




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.3615; ASP.NET Version:2.0.50727.3618
Posted
Updated 25-Mar-11 0:11am
v2
Comments
Johnny J. 25-Mar-11 6:12am    
Removed unnecessary text from your subject to get a more readable subject line

1 solution

The current identity (OSM\ASPNET) does not have write access to 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files'.
Error statement is more than enough by itself.

You need to provide write access security permissions to OSM\ASPNET on the folder or you can impersonate your calls via a user who already has access there.
 
Share this answer
 
v2
Comments
pavankumar from hyderabad 25-Mar-11 6:14am    
Thankyou so much for your quick response. very kind of you
pavankumar from hyderabad 25-Mar-11 6:14am    
let me try that and i will get you back
pavankumar from hyderabad 25-Mar-11 6:17am    
Could you please assist me clearly what to do. i even unchecked the "use simple file sharing" option of my folder by i am not getting that.
Sandeep Mewara 25-Mar-11 6:21am    
1. Right click "c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files" folder
2. Click Security tab
3. Click Edit to add new users to the group
4. Add OSM\ASPNET and/or OSM\IIS_IUSRS. Give them Full control
5. Apply and close.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900