Reputation: 16001
I'm receiving the following error when I try to run my ASP.Net Core 1.1 app w/ IIS Express:
The following error occurred when trying to configure IIS Express for project MyCompany.IdentityApp. Unable to access the IIS metabase. You do not have sufficient privilege to access IIS web sites on your machine.
I've reviewed the existing SO post and none of the fixes address the issue. I'm thinking things have changed since then.
%systemroot%\System32\inetsrv
dir and there is no Config
folder there to grant my account rights toVS 2017 Version: 15.4.4
MSFT Developer Community Issue
Upvotes: 4
Views: 1593
Reputation: 16001
Delete %USERPROFILE%\Documents\IISExpress\config
Credit to Bill Hiebert for the fix!
Visual Studio Developer Community Reference thread
Upvotes: 2