Reputation: 93337
I'm by no means a sysadmin so please correct me if I'm wrong.
I want to run aspnet_regiis.exe -s. This requires the metabase path of my website.
How do I find this metabase path?
Upvotes: 3
Views: 7997
Reputation: 4758
For versions of Windows higher than Vista, try appcmd, with the "list site" commands:
%WindowsDirectory%\system32\inetsrv\appcmd list site
This should give you the site name and id for all the sites on the system.
The metabase path is of the form
/W3SVC/<site id>/Root
plus the site id.
Upvotes: 1
Reputation: 114
Just run aspnet_regiis.exe -lk to see a list of the registered applications, their metabase paths and the version of the .NET framework installed for this application.
Also, here are a couple of links that you can use to find the metabase path:
HTH,
Don
Upvotes: 4