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 "1.0.0.0", but the version in bin is "2.0.0.0". 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 1.0.0.0: <add assembly="System.Web.WebPages, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />.

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

System.Web.WebPages.Deployment

The assembly System.Web.WebPages.Deployment was referenced in my project and on closer inspection it was version 2.0.0.0 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

38 comments:

  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

    ReplyDelete
  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.

    ReplyDelete
  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

    ReplyDelete
  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.

    ReplyDelete
  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

    ReplyDelete
  6. Dragon NaturallySpeaking software is a speech recognition program that allows the user to speak into a microphone on a computer with the software translating
    dragon naturally speaking | dragon naturallyspeaking

    ReplyDelete
  7. Webroot antivirus, internet security, and identity protection. Webroot SecureAnywhere® Mobile Free keeps you secure when browsing, shopping and banking.
    www.webroot.com/secure | webroot.com/secure |
    Install Webroot With Key Code

    ReplyDelete
  8. eset internet security can be installed quickly on each device if the user follows the correct procedure. You can follow the instructions below to install the setup on your devices such as Windows PC, Mac, or mobile device. www.eset.com/ca/download Best IT security solutions for your home and business devices.

    ReplyDelete
  9. canon printer setup into your pc, your system does not need to install the driver on it. Canon printer that can be downloaded via page is the best wireless printer that you can connect to your device and print data smoothly. canon.com/ijsetup
    CD is not the well-suited technique to use canon.comijsetup setup installation for longer.

    ReplyDelete
  10. Updates to the TomTom software and GPS maps are periodically made available to fix bugs and update road changes.
    tomtom.com/getstarted | tomtom get started | www.tomtom.com/getstarted | tomtom update

    ReplyDelete
  11. Nice one! thank you so much! Thank you for sharing this post.
    trendmicro.com/activation
    avast.com/activate

    ReplyDelete
  12. Dragon NaturallySpeaking remains the benchmark for Windows-based speech-to-text technology.
    dragon naturally speaking

    ReplyDelete
  13. Mcafee security is enhanced through a Xerox and McAfee security system to help protect against threats to your confidential data. Read how.
    www.mcafee.com/activate

    ReplyDelete
  14. if you are using McAfee activate and looking for product key then you can visit our website where you will get the full information related to it. if you are facing any kind of error while using mcafee.com/activate then you can visit our website and share your problem with our technical assistant. and if you not installed any antivirus in your system then install it now. it provides maximum protection to your data from thread and viruses.

    ReplyDelete
  15. McAfee activate is an antivirus that is most commonly used, it is the most popular and the best antivirus, it is an antivirus that has been used since the first appearance of the virus. McAfee offers a full range of security products such as antivirus, firewall and anti-spyware programs that provide us protection against viruses, threats and malware.

    ReplyDelete
  16. central.bitdefender.com - Download and install the Bitdefender antivirus. Then, activate it by entering the product key at central.bitdefender.com.

    webroot.com/safe : Download Webroot on webroot.com/secure to protect your device from viruses. To get the best Webroot products, visit webroot.com/safe.

    ReplyDelete

  17. Avast Activate- Get free or paid Avast antivirus. Download, install, and activate it from avast.com/activate

    ReplyDelete

  18. Dragon Naturally Speaking Professional specifically for the legal industry, Nuance Dragon Legal Individual speech recognition software
    dragon naturally speaking | dragon naturallyspeaking | nuance dragon | nuance dragon naturallyspeaking | naturally speaking

    ReplyDelete

  19. Download antivirus and internet security products. Complete internet security with our award-winning security software.
    www.avg.com/activate | AVG Download | Install AVG with license number

    ReplyDelete
  20. you can install McAfee activate in your system to remove viruses. Mcafee automatically scans the system and remove the viruses and threads. the protection and security wall of Mcafee is stronger than other antiviruses. for more visit on
    mcafee.com/activate

    ReplyDelete
  21. Stunning, astounding website format! To what extent have you been blogging for? you made blogging look simple. The general look of your site is awesome, just as the substance!
    satta result
    gali satta
    disawar result
    satta matka
    satta king
    satta
    satta chart
    disawar satta result
    gali satta result
    gali result

    ReplyDelete
  22. AVG Secure is designed to keep your digital info safe and secure. Learn about its pricing, security features, and more in this review. AVG online security products, now by Avast, provide simple, integrated software and services to secure devices, data, security and people. Download antivirus and internet security products. Complete internet security with our award-winning security software.

    www.avg.com/retail
    avg.com/retail
    www.avg.com/activate
    AVG Download
    www.avg.com/activation
    Install AVG with license number

    ReplyDelete
  23. This is great advice! Very honest and practical.I really enjoyed this post.Nice post!! these tips may help Great post,

    Visit: how to download bitdefender already paid for

    ReplyDelete
  24. Thank you for sharing this type of article with this site. So i got many valuable information within this.

    Visit: reinstall malwarebytes paid version

    ReplyDelete
  25. Thanks for writing such a good article, I stumbled onto your blog and read a few post.

    Visit: www.webroot.com/safe

    ReplyDelete
  26. Thank you so much for posting like this. I enjoyed much more here. So please keep update like this.

    Visit: www.avg.com/activation

    ReplyDelete
  27. Very good post. it is very interesting and informative post. Thank you.

    Visit: www.avg.com/retail

    ReplyDelete
  28. Very good post. it is very interesting and informative post. Thank you.

    Visit: www.avg.com/retail

    ReplyDelete