After installation finished, I clicked launch and a dialog saids "An error prevented WebMatrix from starting correctly" and I clicked "Yes" and came here.
Here's the content of WebMatrix.exe.log
--------
2011/1/14 11:21:26
--------
System.ApplicationException: IIS 7.5 Express could not be initialized. Please make sure that it is installed and configured correctly. ---> System.ArgumentNullException: Value cannot be null.
Parameter name: type
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at Microsoft.Web.VersionManager.IisVersionManager..ctor()
at Microsoft.WebMatrix.Host.IisExpressHelperServiceImplementation.Initialize()
at Microsoft.WebMatrix.Host.IisExpressHelperServiceImplementation..ctor()
--- End of inner exception stack trace ---
at Microsoft.WebMatrix.Host.IisExpressHelperServiceImplementation..ctor()
at Microsoft.WebMatrix.Host.Shell.ShellApplication.Initialize(Boolean localDevelopmentMode, Boolean resetPreferences)
at Microsoft.WebMatrix.Host.Shell.ShellApplication.Execute(Boolean localDevelopmentMode, Boolean resetPreferences, Boolean resetPreferencesNoLaunch, Boolean warmupMode)
DiryBoy
9 Posts
WebMatrix won't start, IIS 7.5 Express could not be init
Jan 14, 2011 10:21 AM|LINK
Hi, I downloaded WebMatrix from http://www.microsoft.com/web/webmatrix/ ,
After installation finished, I clicked launch and a dialog saids "An error prevented WebMatrix from starting correctly" and I clicked "Yes" and came here.
Here's the content of WebMatrix.exe.log
--------
2011/1/14 11:21:26
--------
System.ApplicationException: IIS 7.5 Express could not be initialized. Please make sure that it is installed and configured correctly. ---> System.ArgumentNullException: Value cannot be null.
Parameter name: type
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at Microsoft.Web.VersionManager.IisVersionManager..ctor()
at Microsoft.WebMatrix.Host.IisExpressHelperServiceImplementation.Initialize()
at Microsoft.WebMatrix.Host.IisExpressHelperServiceImplementation..ctor()
--- End of inner exception stack trace ---
at Microsoft.WebMatrix.Host.IisExpressHelperServiceImplementation..ctor()
at Microsoft.WebMatrix.Host.Shell.ShellApplication.Initialize(Boolean localDevelopmentMode, Boolean resetPreferences)
at Microsoft.WebMatrix.Host.Shell.ShellApplication.Execute(Boolean localDevelopmentMode, Boolean resetPreferences, Boolean resetPreferencesNoLaunch, Boolean warmupMode)
And I am using Win7 x86 with VS2010 and VS2008.
Any ideas?
HCamper
8048 Posts
Re: WebMatrix won't start, IIS 7.5 Express could not be init
Jan 14, 2011 12:51 PM|LINK
Hello,
The problem your having is that more programs are required to make the "Web Matrix Work".
The "Web Matrix" is only a Feature on top of the "MVC" Platform and is Managed by the "IIS Express".
Please look at the Release notes: WebMatrix and ASP.NET Web Pages Release Docs
the link is here :http://www.microsoft.com/web/post/WebMatrix-and-ASPNET-Web-Pages-Release-Docs
It describes the requirements and steps to get the "Web Matrix" installed and Functioning.
The same site has guides for the use of the "Web Matrix".
Look carefully at the notes pages it has links to the installers so you can going on
developing using the Web Matrix.
If you have more questions or Issues Post them to this thread.
Martin :)
Community Member Award 2011
simtan
282 Posts
Microsoft
Re: WebMatrix won't start, IIS 7.5 Express could not be init
Jan 14, 2011 10:18 PM|LINK
Go to Programs and Features (Add/Remove Programs) and uninstall IISExpress if it is there. Try re-installing it again using the following link:
wpi://IISExpress
OR
http://www.microsoft.com/web/gallery/install.aspx?appid=IISExpress
Program Manager
Web Platform and Tools
HCamper
8048 Posts
Re: WebMatrix won't start, IIS 7.5 Express could not be init
Jan 14, 2011 10:49 PM|LINK
Hello,
If you are having problems with the IIS Express Boot Strap or would like the Full installer.
Check the "Microsoft Download Center" for this install package "Internet Information Services (IIS) 7.5 Express"
located here: http://www.microsoft.com/downloads/en/details.aspx?FamilyID=abc59783-89de-4adc-b770-0a720bb21deb
You can download this installer to meet the requirement that the "Web Matrix" needs.
If you have questions please post to this thread.
Martin :)
Community Member Award 2011
DiryBoy
9 Posts
Re: WebMatrix won't start, IIS 7.5 Express could not be init
Jan 15, 2011 03:27 PM|LINK
Hi HCamper,
Did you mean I need install ASP.NET MVC 3 to get WebMatrix work? I thought it was standalone and no even need Visual Studio.
And what the error message said is problem related to IIS 7.5 Express.
Actually I tried reinstall IIS 7.5 Express again and again but no luck so I decided to post here to get some help.
Anyway, I'll read the release doc and see if there's anything I missed.
Thanks.
DiryBoy
9 Posts
Re: WebMatrix won't start, IIS 7.5 Express could not be init
Jan 15, 2011 03:31 PM|LINK
Hi simtan,
I tried that again and again but no luck, weird...
IISS
5 Posts
Re: WebMatrix won't start, IIS 7.5 Express could not be init
Jan 17, 2011 01:24 AM|LINK
I am using Windows 7 x64, VS2010, with IIS7.5 installed.
simtan
282 Posts
Microsoft
Re: WebMatrix won't start, IIS 7.5 Express could not be init
Jan 17, 2011 01:31 AM|LINK
Try deleting the contents of the My Documents\IISExpress folder and restarting WebMatrix.
Program Manager
Web Platform and Tools
DiryBoy
9 Posts
Re: WebMatrix won't start, IIS 7.5 Express could not be init
Jan 17, 2011 04:20 AM|LINK
IISS
5 Posts
Re: WebMatrix won't start, IIS 7.5 Express could not be init
Jan 17, 2011 08:10 AM|LINK
Same error when delete My Documents\IISExpress folder