在Dev Fabric中运行Azure应用程序时,IISConfigurator.exe崩溃

时间:2013-03-20 17:56:48

标签: asp.net azure windows-8 visual-studio-2012 iis-express

如果我尝试运行新的或现有的azure应用程序,IISConfigurator会崩溃,并且我会收到一条通知,告知角色的启动时间比预期的要长。我在Windows 8上运行VS2012,使用IIS Express 8(并且azure项目设置指定使用IIS Express)。

我看过一个类似的问题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)'

对于我的下一步应该是什么,我将不胜感激。提前谢谢!

1 个答案:

答案 0 :(得分:0)

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

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