Solved

Access denied when trying to publis code

Posted on 2011-10-27
5
673 Views
Last Modified: 2012-05-12
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
Comment
Question by:Camillia
  • 4
5 Comments
 
LVL 29

Expert Comment

by:Kumaraswamy R
ID: 37043612
Make a Public Folder

in the web.confing


<location path="Public">
            <system.web>
                  <authorization>
                        <allow users="*"/>
                  </authorization>
            </system.web>
      </location>
0
 
LVL 7

Author Comment

by:Camillia
ID: 37044623
let me try but not sure why that would work. But let me try.
0
 
LVL 7

Author Comment

by:Camillia
ID: 37044640
no, didnt work
0
 
LVL 7

Accepted Solution

by:
Camillia earned 0 total points
ID: 37048534
i gave "everyone" right to the folder and it woked
0
 
LVL 7

Author Closing Comment

by:Camillia
ID: 37068395
my solution worked. Solution provided didnt.
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question