1

I am trying to create a web service on WCF. But whenever I try to create a new Web Service Application Project, it gives the following error

ERROR

"Unable to access IIS Metabase. You do not have sufficient privilege to access IIS websites on your machine"

I followed these two posts for help, but it didnt work

Error - Unable to access the IIS metabase

Unable to access the IIS metabase

Also, I have all the IIS components installed on my system and I am running VS2013 as administrator. I'll be very thankful if anybody provide me with the solution.

Community
  • 1
  • 1
degr8sid
  • 11
  • 2

1 Answers1

0

I recently wrote a post about that on my blog, handling the two most causes generating that error. The one that worked for me was the first one, i.e. permanently granting the current user access to the IIS Metabase folders:

Press ALT+E, navigate to the following folder(s):

Windows 7 and Windows 8.1

%systemroot%\System32\inetsrv\config

Windows 8 Professional

%systemroot%\inetsrv\config

Hit Enter, grant access to the given folder and also to the \Export\ folder inside it and you should be ok.

Darkseal
  • 8,378
  • 6
  • 68
  • 98