Go to DotNetFunda.com
 Welcome, Guest!  
LoginLogin  
{ Submit content and get exposure !!! }
Submit: Article | Interview Question | Tips | Joke | Question | Link || Search  
 Skip Navigation Links Home > Questions > CS0016: Could not write to output file 'c:\WINDOWS\...\Temporary ASP.NET Files\root\...\App_LocalResources.root.iuqw_i1r.resources.dll' -- 'Access is denied. '

Microsoft Technologies Questions and Answers


Browse Questions for ASP.NET | ASP.NET 3.5 | C# | CSS | F# | JavaScript | Others | Sql Server | All |

CS0016: Could not write to output file 'c:\WINDOWS\...\Temporary ASP.NET Files\root\...\App_LocalResources.root.iuqw_i1r.resources.dll' -- 'Access is denied. '

Author: Raja Posted on: 7/25/2008 | Category: Others |  Print |
Hi

I am getting error in Vista while accessing my website locally via IIS 7.

============================================
CS0016: Could not write to output file 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\e8131fa5\58e72d71\fr\App_LocalResources.root.iuqw_i1r.resources.dll' -- 'Access is denied. '
============================================

Any solution?

Post Answer



Interesting?  Bookmark and Share

 Answer(s)
Raja  
Posted on: 7/25/2008 6:57:43 PM
Post Answer
Hey I got the solution, just wanted to share this.

You need to allow full control to two users of your system "Network Service " and "YourComputerName\IIS_IUSERS ".

Just right click following folders
1. C:\Windows\Temp
2. C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files

and go to Security tab, click Edit and click Add and try adding "Network Service" and "YourComputerName\IIS_IUSERS", from the Permission checkbox, click Full Control. Click Apply and OK.

Restart your IIS and try running your web application. Hopefully it should run.
 
Poster  
Posted on: 10/16/2008 10:25:26 AM
Post Answer
Thanks raja for sharing this.
 
Amirdelfan  
Posted on: 11/9/2008 11:21:15 AM
Post Answer
I Did this and it really Worked!!! Tnx a lot!! Don't forget to add:
Network Service, and give full permissions.

 



About Us | Contact Us | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
All rights reserved to DotNetFunda.com. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks.
(Best viewed in IE 6.0+ or Firefox 2.0+ at 1024 * 768 or higher)