【问题标题】:IISConfigurator.exe crashes when running Azure app in the Dev Fabric在 Dev Fabric 中运行 Azure 应用程序时,IISConfigurator.exe 崩溃
【发布时间】:2013-03-20 17:56:47
【问题描述】:

如果我尝试运行新的或现有的 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)'

如果我能就下一步应该做什么提供任何建议,我将不胜感激。提前致谢!

【问题讨论】:

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


    【解决方案1】:

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

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

    【讨论】:

    • 阅读那篇文章后,我尝试重新安装 IIS。这似乎解决了这个问题。谢谢!
    猜你喜欢
    • 1970-01-01
    • 2011-02-12
    • 1970-01-01
    • 2015-10-29
    • 1970-01-01
    • 2012-05-08
    • 1970-01-01
    • 2015-10-11
    相关资源
    最近更新 更多