Azure Web Role Stuck in Initialization

edit: I figured it out. Well, almost :) I fixed this problem, but found another. Documenting the solution here.


I have an MVC web role that I am trying to deploy to Azure. He continues to bounce from Start> Initialization. I did my research and found two main reasons for this.

  • One of the teams that I use does not have Copy Local = Trueset
  • The diagnostic connection string is incorrect.

I checked my triple diagnostic connection, and everything is in order. I can use the same connection string as a worker, and it starts just fine. Therefore, I assume that the problem is related to # 1 above.

This was a standard MVC project, in which I added the azure deployment project, so I assume that I am missing something that the “Azure web role project will automatically do for me. I have already selected the option“ Add deployable assemblies ”in context menu of projects so that MVC bits are configured, right?

Here is a list of my links, the highlighted items have Copy Local = True. Did I miss one? What else do I need to do to deploy this? Are there any diagnostic tools I can use to help me figure it out?

update:
I like it when I find additional information :)

, , , , . IIS , . , . , , . , , , .

"System.Web.WebPages" . . ( HRESULT: 0x80131040)

, ( ) ..... ? IIS express, . noob. ?

enter image description here

+3
5

V2 System.WebPages, bin_dependencies V1. , , , .

+2

, MVC . MVC 3 4, CLR . , MVC 3:

  <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <dependentAssembly>
        <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
        <bindingRedirect oldVersion="1.0.0.0-2.0.0.0" newVersion="3.0.0.0" />
      </dependentAssembly>
    </assemblyBinding>
  </runtime>

- MVC, . MVC Windows Azure, .

,

Ming Xu.

+1

- , , , . , .

0

ASP.NET MVC (3), Azure. - " ":

add deployable depencies

- ( -, ). ASP.NET MVC:

enter image description here

- _bin_deployableAssemblies. , .

" " Visual Studio 2010 SP1. , SP1, ;)

0

, , , ... , web.config - SQL Express ( 2011 , ). SQL Express Windows Azure, -. SQL Azure Cache. Nate Totten Universal Provider .

I answered a similar question here ...

0
source

All Articles