While trying to publish a website from VS 2008, i am getting the error,
Building directory '/FirewallWebSite/App_GlobalResources/'.: Publication (web): Access to the path 'C:\Users\256832\AppData\Local\Temp\~3ac\bin\App_GlobalResources.compiled' is denied.
I am a localadmin for the machine and the machins is in a domain. I checked the permission and found that i do have enough permission. I am able to successfully build the solution. I am getting this error only while trying to publish the site. I was not
getting this error earlier for the same solution, but suddenly it started coming. Any guess?
You did mention that you only experience this issue when trying to "publish" your site. May I please know where did you publish your site? Is that to a separate remote server?
I do understand you have all the necessary permission on your local system, however, if you publish your site to a remote system, do you also have the same privileges? Based on the error message, it is clearly stated that you do not have enough permission to
access the folder C:\Users\256832\AppData\Local\Temp\~3ac\bin\
Kindly check your user roles again.
Please mark this response as an "answer" if it helps you. Thanks heaps!
If this is a remote machine, can you set up a share on that remote machine and publish there?
If this is your local machine, what settings do you have in the publish panel. I usually just set up a directory like D:\PublishedWebSites\websitename and then just point the publish to that directory.
Please remember to Mark As Answer if helpful
Regards, Christiandev (@chrisdev80), MCPD Web (2 & 4) & MCTS Windows (www.ScoreDonkey.com)
The VS2008 shows that i am running it as Administrator. Also, i checked the folder permission of that particular folder. I do have enough permission. Any other suggestion. The folder shows in the error message is not the folder where i am publishing the
website. It is a temporary folder created on runtime.
shinus
Member
25 Points
49 Posts
Access denied error while publishing the VS2008 site.
May 28, 2012 11:58 AM|LINK
While trying to publish a website from VS 2008, i am getting the error,
Building directory '/FirewallWebSite/App_GlobalResources/'.: Publication (web): Access to the path 'C:\Users\256832\AppData\Local\Temp\~3ac\bin\App_GlobalResources.compiled' is denied.
I am a localadmin for the machine and the machins is in a domain. I checked the permission and found that i do have enough permission. I am able to successfully build the solution. I am getting this error only while trying to publish the site. I was not getting this error earlier for the same solution, but suddenly it started coming. Any guess?
Thanks In Advance!!
keval.trived...
Member
158 Points
87 Posts
Re: Access denied error while publishing the VS2008 site.
May 28, 2012 12:06 PM|LINK
hi,
You must "run as Administrator" VS2008 and publish site....
Ruchira
All-Star
42943 Points
7024 Posts
MVP
Re: Access denied error while publishing the VS2008 site.
May 28, 2012 12:08 PM|LINK
Hello,
Try two things
1. Try by publishing it to another location
2. Try by restarting your machine.
My Tech blog | My YouTube ChannelPlease 'Mark as Answer' if this post helps you.necro_mancer
Star
8043 Points
1582 Posts
Re: Access denied error while publishing the VS2008 site.
May 29, 2012 01:45 AM|LINK
hi shinus,
You did mention that you only experience this issue when trying to "publish" your site. May I please know where did you publish your site? Is that to a separate remote server?
I do understand you have all the necessary permission on your local system, however, if you publish your site to a remote system, do you also have the same privileges? Based on the error message, it is clearly stated that you do not have enough permission to access the folder C:\Users\256832\AppData\Local\Temp\~3ac\bin\
Kindly check your user roles again.
Please mark this response as an "answer" if it helps you. Thanks heaps!
Professional SQL 2008 R2 Service
christiandev
Star
8607 Points
1841 Posts
Re: Access denied error while publishing the VS2008 site.
May 29, 2012 08:09 AM|LINK
If this is a remote machine, can you set up a share on that remote machine and publish there?
If this is your local machine, what settings do you have in the publish panel. I usually just set up a directory like D:\PublishedWebSites\websitename and then just point the publish to that directory.
Regards, Christiandev (@chrisdev80), MCPD Web (2 & 4) & MCTS Windows (www.ScoreDonkey.com)
shinus
Member
25 Points
49 Posts
Re: Access denied error while publishing the VS2008 site.
Jul 31, 2012 03:10 PM|LINK
I am trying to publish to my local folder only.
The VS2008 shows that i am running it as Administrator. Also, i checked the folder permission of that particular folder. I do have enough permission. Any other suggestion. The folder shows in the error message is not the folder where i am publishing the website. It is a temporary folder created on runtime.