1

I'm running Win 10, VS Express for Web 2015. I have an existing asp.net membership database that I want to amend using the Web Site Administration Tool.

I followed this hack to manually start the Web Site Administration Tool via the IIS: Visual Studio 2013 and ASP.NET Web Configuration Tool

The Web Site Administration Tool launches fine. However, when I go to the security tab, I get the following error message: Access to the path 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\19aec8c6\ee1f4195\hash' is denied.

I've gone into the Temporary ASP.Net files folder and changed the properties for my userid to give me full control, yet I continue to run up against the same error.

Update: I turned on the IIS in the Windows Feature and that seemed to make some progress. Now when I run the Web Site Administration Tool, I get a different error when I click on the security tab: Access to the path 'C:\Users\XXXX\AppData\Local\Temp\Temporary ASP.NET Files\root\19aec8c6\ee1f4195\hash' is denied.

Any suggestions?

Community
  • 1
  • 1
user2673097
  • 179
  • 1
  • 3
  • 11
  • Are you running your applications in with administrator privileges? Has the IIS user full control as well? – Andrew Dec 04 '15 at 22:50
  • Tried giving I is full user control of the temporary internet files folder in the Windows directory. Didn't make any difference. Got the same error. – user2673097 Dec 08 '15 at 22:55

2 Answers2

1

Did you notice the update left on the referenced answer;

IMPORTANT EDIT: I am sorry, I just realized that it matters if you start console with administrator priviledges. Don't do that. If console has administrator rights, the Web Configuration Tool shows this error on the Security page:

There is a problem with your selected data store. This can be caused by an invalid server name or credentials, or by insufficient permission. It can also be caused by the role manager feature not being enabled. Click the button below to be redirected to a page where you can choose a new data store. The following message may help in diagnosing the problem: Access to the path 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\1c3fef5c\2180c7f9\hash' is denied.

Looks like the same issue.

Community
  • 1
  • 1
Steve Cooper
  • 20,542
  • 15
  • 71
  • 88
0

Just Change TEMP location to "C:\Windows\Temp" and restart Visual Studio

If you wish, you can reset TEMP location to "%USERPROFILE%\AppData\Local\Temp" after work fine.

Nilesh Umaretiya