Click here to Skip to main content
15,881,812 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi friends! I get this when I wana access my published asp.net web pages website (built with webmatrix):

Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

It is generated when executing the code of _AppStart page:
C#
WebSecurity.InitializeDatabaseConnection(...

Is that beacuse of the file permissions? What kind of file permissions should I set to solve this and how is this done in plesk control panel?
Posted

Hi,
Same problem is discussed here,

http://forums.asp.net/t/1726199.aspx/1[^]

Best Regards
Muthuraja
 
Share this answer
 
Comments
cs101000 10-Feb-13 11:00am    
Thanks but even full control over _AppData didnt solve the problem
Since, you don't have rights to publish your website, you need to open your Visual Studio IDE as administrator. To do this follow the steps below:
Quote:
-->Go to start -->All Programs
-->Expand Microsoft Visual Studio 2010/2008/2005
-->Right click on Microsoft Visual Studio.exe
-->Run as Administrator
-->Type userid and password then click OK.




--Amit
 
Share this answer
 
Comments
cs101000 11-Feb-13 14:06pm    
I am afraid I am not using VS. As I have tagged I am using webmatrix for development.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900