• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 697
  • Last Modified:

Access denied when trying to publis code

I have a VS2008 code. When I try to publish the code, i get this error:

Access to the path 'C:\Users\<myname>\AppData\Local\Temp\~345c\bin\App_Code.compiled' is denied.      

I ight clicked on "Temp" folder. Properties. I have full access. Not sure what else to check.
0
Camillia
Asked:
Camillia
  • 4
1 Solution
 
Kumaraswamy RCommented:
Make a Public Folder

in the web.confing


<location path="Public">
            <system.web>
                  <authorization>
                        <allow users="*"/>
                  </authorization>
            </system.web>
      </location>
0
 
CamilliaAuthor Commented:
let me try but not sure why that would work. But let me try.
0
 
CamilliaAuthor Commented:
no, didnt work
0
 
CamilliaAuthor Commented:
i gave "everyone" right to the folder and it woked
0
 
CamilliaAuthor Commented:
my solution worked. Solution provided didnt.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now