|
|
|
Search Stories : |
|
 |
|
>
VS 2008 ERROR Creating control in content pages (Unknown server tag)
< |
|
|
I run into a bug in visual studio 2008 today, I haven’t found any solution on the web so I’ve decided to publish the solution here.
To test the new visual studio 2008 I’ve decided to migrate one of my projects visual studio 2005 (Framework 2.0 with Ajax and Ajaxcontroltoolkit) to the new Framework 3.5 using the visual studio 2008 (9.0).
Visual Studio invites me to upgrade my project, OK. It compiles fine and runs at first try, GREAT!!!!
But then I opened the designer to check an aspx page, it display ‘Loading Master Page …’ then I got this error: ERROR Creating control : xxxxx Unknown server tag ‘xx:xxxx’
Ok, I’ve opened the master page, it works and displays without problem ????
I check the web.config, everything is ok : the control is declared <add tagPrefix="xx" namespace="xxxxxx" assembly="App_Code" />
After googeling a lot without success, I’ve checked for service packs, and I found the visual studio 2008 SP1 Beta1, and the .Net Framework SP1 Beta1, so I install them but the problem persists.
After re googeling again without success, I’ve decided to create a new empty project to test different possibilities, and I found a work around, the solution is very simple, but not so evident : the master page must be open (in another tab) to be able to switch to design view in content pages!
Does Visual Studio 2008 function that way or it's a bug??? |
|
|
|
|
|
|
|
|
|
|
|