0

当我在 Emulator 上运行 Azure Project时,我遇到了下面提到的问题。

  1. 下面提到的错误弹出窗口并不总是出现。

  2. 时不时出现

  3. 有时我的 Azure 项目会按预期加载,但有时不会

为什么 ?

我的环境如下:

  1. 与 2010 年 SP 1

  2. MVC 2 项目

  3. 适用于 Microsoft Visual Studio 2010 的 Windows Azure 工具 - 2012 年 10 月 v1.8.51019.1603

错误如下图:

在此处输入图像描述

我的 Azure 项目如下:

在此处输入图像描述

IISConfigurator 上的错误消息

IISConfigurator Information: 0 : [00005740:00000001, 2013/01/02 12:14:39.516] Started iisconfigurator with args /start
IISConfigurator Information: 0 : [00005740:00000001, 2013/01/02 12:14:39.532] StartForeground selected. Check if an instance is already running
IISConfigurator Information: 0 : [00005740:00000001, 2013/01/02 12:14:39.563] Starting service WAS
IISConfigurator Information: 0 : [00005740:00000001, 2013/01/02 12:14:39.813] Starting service w3svc
IISConfigurator Information: 0 : [00005740:00000001, 2013/01/02 12:14:39.828] Starting service apphostsvc
IISConfigurator Information: 0 : [00005740:00000001, 2013/01/02 12:14:40.764] Setting registry key for cloud drive to path:C:\Users\sampath\AppData\Local\dftmp\wadd
IISConfigurator Information: 0 : [00005740:00000001, 2013/01/02 12:14:40.858] IISConfigurator is running
IISConfigurator Information: 0 : [00005740:00000006, 2013/01/02 12:14:40.998] Clean operation called over WCF interface with prefix 'deployment18('
IISConfigurator Information: 0 : [00005740:00000007, 2013/01/02 12:15:11.64] Deploying sites from package path D:\PawLoyalty Module\PawLoyalty\PawLoyalty\PawLoyalty.Web.Azure\csx\Debug\roles\PawLoyalty.Web with given optional destination directory 
IISConfigurator Information: 0 : [00005740:00000007, 2013/01/02 12:15:11.64] Using full IIS appdomain
IISConfigurator Information: 0 : [00005740:00000007, 2013/01/02 12:15:11.687] Creating site named deployment18(2790).PawLoyalty.Web.Azure.PawLoyalty.Web_IN_0_Web for modelled site name Web
IISConfigurator Information: 0 : [00005740:00000007, 2013/01/02 12:15:11.687] Deploying site named deployment18(2790).PawLoyalty.Web.Azure.PawLoyalty.Web_IN_0_Web
IISConfigurator Information: 0 : [00005740:00000007, 2013/01/02 12:15:11.687] Using package path D:\PawLoyalty Module\PawLoyalty\PawLoyalty\PawLoyalty.Web\ which exists? True
IISConfigurator Information: 0 : [00005740:00000007, 2013/01/02 12:15:11.687] Adding binding 127.255.0.0:82:www.pawloyalty.com to site deployment18(2790).PawLoyalty.Web.Azure.PawLoyalty.Web_IN_0_Web
IISConfigurator Information: 0 : [00005740:00000007, 2013/01/02 12:15:12.545] Add access for appPool d3f7f918-51ee-4c8b-b113-18bdf8ff08c9 to runtime api instance deployment18(2790).PawLoyalty.Web.Azure.PawLoyalty.Web_IN_0 for SID 
IISConfigurator Information: 0 : [00005740:00000007, 2013/01/02 12:15:12.794] Add access for appPool d3f7f918-51ee-4c8b-b113-18bdf8ff08c9 to site directory D:\PawLoyalty Module\PawLoyalty\PawLoyalty\PawLoyalty.Web\ for SID 
IISConfigurator Information: 0 : [00005740:00000007, 2013/01/02 12:15:12.794] Adding access to users IUSR and NT AUTHORITY\NETWORK SERVICE to path D:\PawLoyalty Module\PawLoyalty\PawLoyalty\PawLoyalty.Web\
IISConfigurator Information: 0 : [00005740:00000007, 2013/01/02 12:15:13.371] Added access to users IUSR and NT AUTHORITY\NETWORK SERVICE to path D:\PawLoyalty Module\PawLoyalty\PawLoyalty\PawLoyalty.Web\
IISConfigurator Information: 0 : [00005740:00000007, 2013/01/02 12:15:13.371] Add access to NetworkService to web.config
IISConfigurator Information: 0 : [00005740:00000007, 2013/01/02 12:15:13.387] Add access for appPool d3f7f918-51ee-4c8b-b113-18bdf8ff08c9 to cloud drive directory C:\Users\sampath\AppData\Local\dftmp\wadd for SID 
IISConfigurator Information: 0 : [00005740:00000007, 2013/01/02 12:15:13.387] Deploy Complete
IISConfigurator Information: 0 : [00005740:00000007, 2013/01/02 12:15:13.387] Add read access to runtime base dir
IISConfigurator Information: 0 : [00005740:00000007, 2013/01/02 12:15:13.387] Adding access to IIS_IUSRS to D:\PawLoyalty Module\PawLoyalty\PawLoyalty\PawLoyalty.Web.Azure\csx\Debug\roles\PawLoyalty.Web\base
IISConfigurator Information: 0 : [00005740:00000007, 2013/01/02 12:15:13.917] Added access to IIS_IUSRS to physical path D:\PawLoyalty Module\PawLoyalty\PawLoyalty\PawLoyalty.Web.Azure\csx\Debug\roles\PawLoyalty.Web\base
IISConfigurator Information: 0 : [00005740:00000010, 2013/01/02 12:15:13.964] Wait for all sites to be setup in IIS
IISConfigurator Information: 0 : [00005740:00000010, 2013/01/02 12:15:14.151] All sites and app pools are ready, wait for sites complete.

当我单击PawLoyalty.Web.Azure -> 属性 -> Web时,如下所示

在此处输入图像描述

4

1 回答 1

1

启用 IISExpress 并重试。如果它不起作用,请检查评论中提到的日志。

于 2013-01-02T12:47:54.230 回答