在开发结构中运行Azure应用程序时,IISConfigurator.exe崩溃

问题描述:

如果我尝试运行新的或现有的天青应用程序,IISConfigurator崩溃并收到通知,指出角色的启动时间比预期的要长。我在Windows 8的VS2012上运行,使用IIS Express 8(并且azure项目设置指定使用IIS Express)。在开发结构中运行Azure应用程序时,IISConfigurator.exe崩溃

我已经看了一个类似的问题here,但海报似乎基于他们的日志文件有一个不同的问题。

以下是从IISConfiguratorLogs文件,似乎表明WAS服务是凝固了起来:

IISConfigurator Information: 0 : [00008536:00000001, 2013/03/20 16:54:20.352] Started iisconfigurator with args /start 
IISConfigurator Information: 0 : [00008536:00000001, 2013/03/20 16:54:20.362] StartForeground selected. Check if an instance is already running 
IISConfigurator Information: 0 : [00008536:00000001, 2013/03/20 16:54:20.388] Starting service WAS 
IISConfigurator Information: 0 : [00008536:00000001, 2013/03/20 16:54:50.716] Timeout exception System.ServiceProcess.TimeoutException: Time out has expired and the operation has not been completed. 
at System.ServiceProcess.ServiceController.WaitForStatus(ServiceControllerStatus desiredStatus, TimeSpan timeout) 
at Microsoft.WindowsAzure.ServiceRuntime.IISConfigurator.WebServiceManager.StartService(String name) 
IISConfigurator Information: 0 : [00008536:00000001, 2013/03/20 16:54:50.718] Starting service w3svc 
IISConfigurator Information: 0 : [00008536:00000001, 2013/03/20 16:54:51.809] Unhandled exception: IsTerminating 'True', Message 'System.InvalidOperationException: Cannot start service w3svc on computer '.'. ---> System.ComponentModel.Win32Exception: The dependency service or group failed to start 
--- End of inner exception stack trace --- 
at System.ServiceProcess.ServiceController.Start(String[] args) 
at Microsoft.WindowsAzure.ServiceRuntime.IISConfigurator.WebServiceManager.StartService(String name) 
at System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext() 
at System.Linq.Enumerable.Aggregate[TSource](IEnumerable`1 source, Func`3 func) 
at Microsoft.WindowsAzure.ServiceRuntime.IISConfigurator.WebServiceManager.StartServices() 
at Microsoft.WindowsAzure.ServiceRuntime.IISConfigurator.IISConfigurator.Initialize() 
at Microsoft.WindowsAzure.ServiceRuntime.IISConfigurator.WCFServiceHost.Open() 
at Microsoft.WindowsAzure.ServiceRuntime.IISConfigurator.Program.StartForgroundProcess() 
at Microsoft.WindowsAzure.ServiceRuntime.IISConfigurator.Program.DoActions(String[] args) 
at Microsoft.WindowsAzure.ServiceRuntime.IISConfigurator.Program.Main(String[] args)' 

我希望在我的下一个步骤应该是什么的任何建议。提前致谢!

你的机器上有一些IIS损坏,它确实与Azure没有任何关系。如果您尝试手动启动W3SVC或WAS服务,您应该会看到类似的失败。它可能是配置文件(machine.config,applicationhost.config等)或其他文件系统问题之一。

查看http://www.hanselman.com/blog/FixedWindowsProcessActivationServiceWASIsStoppingBecauseItEncounteredAnError.aspx了解一些故障排除技术和可能的解决方案。

+0

阅读完文章后,我试着重新安装IIS。这似乎解决了问题。谢谢! – Will 2013-03-21 14:50:29