find a location for property in a new city

Tuesday, 29 November 2011

Conflicting versions of ASP.NET Web Pages detected

I was going through the Windows Azure Platform Training Kit, Exercise 1 of the Service Bus Messaging lab and I ran into the following error message when trying to run my site, "Conflicting versions of ASP.NET Web Pages detected: specified version is "", but the version in bin is "". To continue, remove files from the application's bin directory or remove the version specification in web.config."

I checked the web.config and the assembly specified was indeed <add assembly="System.Web.WebPages, Version=, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />.

When I checked the System.Web.WebPages reference in my project though it also said its version is So what's the problem?


The assembly System.Web.WebPages.Deployment was referenced in my project and on closer inspection it was version so it must be this which is causing the problem. I do not need this assembly though so I deleted it and the error went away.

Follow britishdev on Twitter


  1. The post is absolutely fantastic! Lots of great information and inspiration both of which we all need! Also like to admire the time and effort you put into your blog and detailed information you offer! I will bookmark your blog!
    Celabright videos

  2. Wow buddy!! you did the trick for me.. i was banging my head from last few weeks to rectify this issue in one of my old project. Checked lots n lots of forums and posts but nothing worked. You are awesome. Thanks a ton.

  3. As a java Web Developer,they should have all knowledge of frameworks.Good to see that you provide this detail.i think now-a-days hibernate,spring and Struct2 are more used. CodCow

  4. Norton Removal Tool allow you to remove all unused Norton products and reinstall new version of those Norton products. This norton antivirus security software allow you to protect your device from various types of viruses problems in your device. It has a number of versions. Norton 360 is an advanced version of norton setup. It includes different types of security features. To know more visit Norton 360 Login.

  5. if you are looking for the best security protection for your system against cyber problems and threads. McAfee is the best option for you as per your security is concern for more details visit our website mcafee security