The error message suggests that it could be because of a permission issue. Try changing the permission to dll folder or run application with admin privilege to verify the permission issue.
Faild to load application
Hi Guys,
After our system admin processed some updates in the server now I'm getting this error when loading my application:
CS0016: Could not write to output file 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\cvdesktoptest\bd400d26\e617c1c3\App_Code.v7si8vgx.dll' -- 'Access is denied.
any help pls?
Thanks
2 answers
Sort by: Most helpful
-
-
Rijwan Ansari 751 Reputation points MVP
2022-02-19T14:57:18.58+00:00 You need to grant full control to two users of your system, "Network Service " and "YourComputerName\IIS_IUSERS ".
Just right click following folders
- C:\Windows\Temp
- 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.