Hi, I'm a student new to Visual Studio. For my project I'm trying to publish my ASP.NET website via a Windows Virtual Machine. When I try to publish my website I keep getting this error with the Site/Application:
===
Error 7 Web deployment task failed.(The metabase path 'Default Web Site/WebApplication1_deploy' is not supported. Paths must be of the format '/lm/w3svc//ROOT/...'.) The metabase path 'Default Web Site/WebApplication1_deploy' is not supported. Paths must
be of the format '/lm/w3svc//ROOT/...'. The metabase key '/Default Web Site/ROOT/WebApplication1_deploy' could not be found. Unable to access the IIS configuration system. Please make sure you have IIS 7 (or later) installed. Retrieving the COM class factory
for component with CLSID {2B72133B-3F5B-4602-8952-803546CE3344} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)). 0 0 WebApplication1
===
I've found the publish xml file as suggested on the IIS website, but it still suggests the Site/Application should be Default Web Site/WebApplication1. I've tried to follow the format '/lm/w3svc//ROOT/...' but the siteid is set to nothing according to the
xml. Do you have any suggestions to what I'm doing wrong?
Is the virtual machine that you're referring to Windows Vista or higher, or Windows Server 2008 or higher? Otherwise you might not have IIS7 installed on the system which is one of the things that it complains about in the error message you posted.
steven26
0 Points
1 Post
Error: Paths must be of the format '/lm/w3svc/<siteid>/ROOT/...'
Apr 22, 2011 05:48 PM|LINK
Hi, I'm a student new to Visual Studio. For my project I'm trying to publish my ASP.NET website via a Windows Virtual Machine. When I try to publish my website I keep getting this error with the Site/Application:
===
Error 7 Web deployment task failed.(The metabase path 'Default Web Site/WebApplication1_deploy' is not supported. Paths must be of the format '/lm/w3svc//ROOT/...'.) The metabase path 'Default Web Site/WebApplication1_deploy' is not supported. Paths must be of the format '/lm/w3svc//ROOT/...'. The metabase key '/Default Web Site/ROOT/WebApplication1_deploy' could not be found. Unable to access the IIS configuration system. Please make sure you have IIS 7 (or later) installed. Retrieving the COM class factory for component with CLSID {2B72133B-3F5B-4602-8952-803546CE3344} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)). 0 0 WebApplication1
===
I've found the publish xml file as suggested on the IIS website, but it still suggests the Site/Application should be Default Web Site/WebApplication1. I've tried to follow the format '/lm/w3svc//ROOT/...' but the siteid is set to nothing according to the xml. Do you have any suggestions to what I'm doing wrong?
Thanks,
Steve
rtpHarry
All-Star
56620 Points
8958 Posts
Re: Error: Paths must be of the format '/lm/w3svc/<siteid>/ROOT/...'
Apr 23, 2011 10:59 AM|LINK
Is the virtual machine that you're referring to Windows Vista or higher, or Windows Server 2008 or higher? Otherwise you might not have IIS7 installed on the system which is one of the things that it complains about in the error message you posted.