Solved

Access denied when trying to publis code

Posted on 2011-10-27
5
671 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Log4Net custom Appender not being fired. 5 76
Json and asp.net mvc 2 46
Error on Add method 1 38
consuming an asmx web service in winforms application 3 26
I have developed many web applications with asp & asp.net and to add and use a dropdownlist was always a very simple task, but with the new asp.net, setting the value is a bit tricky and its not similar to the old traditional method. So in this a…
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 tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

863 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now