Reputation: 65
Please help me to solve this error.
Till this morning my application was working fine then suddenly this error has come up.
I even took the backup from the development server but it's throwing this error.
Upvotes: 0
Views: 3813
Reputation: 11
If "Run Visual Studio as the Administrator" and "Change User Access Control" to "Notify me when programs tries to make changes to my computer" doesn't work (as stated in previous answers), look for impersonations in web.config, especially if you running a web service app.
And for testing/running simply comment out:
<identity impersonate="true" userName="XXX\XXX" password="XXX" />
Or grant permissions to impersonated identity user to:
C:\Users\[your_user_id]\AppData\Local\Temp
and
C:\windows\Microsoft.NET\Framework\...\Temporary ASP.NET
Upvotes: 1
Reputation: 1002
Just to add additional info for the previous answer (which solved the problem in our case). In addition, you need to run VS 2005 as Admin. Sometimes, you will not get the UAC Prompt, so in this case, goto Control Panel, Action Center, Change User Access Control, and set it to "Notify me when programs tries to make changes to my computer" (2nd choice from the bottom).
It took us 5 days to find out why the errors are not cleared from VS 2005 under Windows 7 64 bit. But now, it is OK.
Upvotes: 0
Reputation: 8078
As mentioned on the links... this doesn't solve the problem, but lets you get around it.
Run Visual Studio as the Administrator user in order to get around this problem.
If anyone can figure out which folders/permission need to be adjusted, please post! (I've gone through the suggestions on the links and a bunch other steps without any success..)
Upvotes: 2