Access to the path 'C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\~AspAccessCheck_d6ff0c8a12944.tmp' is denied.

Smith
Smith
Teacher
658 Points
144 Posts

Suddenly, started throwing error during local debugging in VS:

System.UnauthorizedAccessException: 'Access to the path 'C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\~AspAccessCheck_d6ff0c8a12944.tmp' is denied.'

Visited to the above path but found "Temporary ASP.NET Files" empty. Also provided full access to this folder but still getting same issue.

Views: 188
Total Answered: 1
Total Marked As Answer: 1
Posted On: 29-Sep-2021 22:11

Share:   fb twitter linkedin
Try to restart your computer and delete everything under temporary ASP.net files folder.
 - Brian  30-Sep-2021 04:08
Thanks @Brian. Did same but still having issue with local debugging.
 - Smith  30-Sep-2021 04:26
Answers
Smith
Smith
Teacher
658 Points
144 Posts
         

Resolved issue myself by enabling option in visual studio:

Go Tools=>Options=>Debugging->General and enable "Enable Just My Code" option.

Posted On: 01-Oct-2021 01:49
Thanks for sharing solution.
 - Brian  01-Oct-2021 01:51
 Log In to Chat