Windows Azure项目未加载

时间:2013-01-02 12:34:50

标签: visual-studio-2010 asp.net-mvc-2 azure

当我在模拟器上运行 Azure项目时,我遇到了下面提到的问题。

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

  2. 它出现了时间

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

  4. 为什么?

    我的环境如下:

    1. VS 2010 SP 1

    2. MVC 2项目

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

    4. 错误如下所示:

      enter image description here

      我的Azure项目如下:

      enter image description here

      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 - >属性 - >网络就像下面的

      enter image description here

1 个答案:

答案 0 :(得分:1)

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