1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

error in webconfig after converting vs2005 website to vs2010

Discussion in 'ASP' started by zeki, Oct 22, 2010.

  1. zeki

    zeki New Member

    Joined:
    Oct 22, 2010
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    Hi,
    We have a vs2005 solution including 2 websites. We converted the solution to vs2010 and changed all settings in IIS and in the config file to use framework 4.0. We removed the old assembly references in webconfig file and added references to the new versions of the assemblies. And here the problem comes. When we add a refererence to System.Design assembly in the webconfig file the website does not build. The build via msbuild.exe results in the following error:
    ASPNETCOMPILER : error ASPPARSE: Object reference not set to an instance of an object. [d:\DevSites\SolutionFolder\WebSite.metaproj]
    Does anyone have any suggestions why this happens ?
    Thanks
     
  2. zeki

    zeki New Member

    Joined:
    Oct 22, 2010
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    Well, we've solved it - after the removal of the browser definition file the problem disappeared :)
     

Share This Page