Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7850117
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T18:45:05+00:00 2026-06-02T18:45:05+00:00

edit: I figured it out. Well almost :) I fixed this issue, but I

  • 0

edit: I figured it out. Well almost 🙂 I fixed this issue, but I found another one. Documenting the solution here.


I have an MVC web role I am trying to deploy to Azure. It keeps bouncing from Starting > Initializing. I have done my research, and found two main causes for this.

  1. One of the assemblies I am using does not have Copy Local = True set
  2. The diagnostics connection string is wrong.

I Have triple checked my diagnostics connection and it is fine. I can use the exact same connection string in a Worker Role and it starts just fine So I assume the problem is related to #1 above.

This was a standard MVC project I added an azure deployment project to, so my guess is I am missing something an “Azure web role project” would automatically do for me. I already selected the “Add deployable assemblies” option from the projects context menu so the MVC bits should be set up, right?

Here is a list of my references, the items highlighted have Copy Local = true. Am I missing one? What else do I need to do to get this to deploy? Are there any diagnostics tools I can use to help me figure it out?

update:
I love when I find more information 🙂

So I was finally able to catch it in a state when I can remote into the server. I opened IIS and saw everything was there that should be. I tried to hit the site locally, but I get this error. The assembly IS included in my deploy, so it doesn’t make sense that it can’t find it. It seems like it is trying to load a different version than what was packaged.

Could not load file or assembly ‘System.Web.WebPages’ or one of its
dependencies. The located assembly’s manifest definition does not
match the assembly reference. (Exception from HRESULT: 0x80131040)

So there is (at least one of) my error…..but why? The site runs fine in IIS express, and it runs fine in development fabric. I feel like a noob here. What did I do wrong?

enter image description here

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T18:45:08+00:00Added an answer on June 2, 2026 at 6:45 pm

    I had a reference to V2 of System.WebPages, but bin_dependencies had V1 in there. I Don’t know how this happened, but making sure everything was on the right version worked.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've almost got this figured out by using previous questions, but I'm running into
EDIT: I'm sorry for making this thread as I've figured out the problem. Here's
Edit: nevermind, figured it out, answer below if you're interested. Using Postgresql 8.4. Here's
EDIT SO I figured out a fix. I replaced the while statement with an
Edit: I think I've figured out how to do the binary data part. Double
EDIT AGAIN ... I'm just a dummy and figured it out! EDIT: So, it
EDIT: This post was originally specific to ASP.NET, but after thinking about it I'm
-EDIT 2- Figured it out, check my answer. I should stop asking questions on
EDIT 1 I apologize but after reading the 2 suggested articles I still don't
Is a boost binary archive portable from one Linux x86_64 machine to another Linux

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.