Version Française
Search Stories : Publier Votre Article
> VS 2008 ERROR Creating control in content pages (Unknown server tag) <
Published on 6/1/2008 By Malek Chtioui
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???
 Comments : Publish your article
It works
By Ashraf Sabry, Date: 1/19/2009
But every time you encounter the error, you must reopen the master page, then switch to design view in the content page.
Found an reason and solution!
By terrorix, Date: 8/10/2009
Hi there, i do research of this problem and found this. I have in web.config <pages theme="Office2003 Blue" styleSheetTheme="Office2003 Blue">. Important here are attributes 'theme' and 'styleSheetTheme'. If you do not have such themes in 'App_Themes' folder it seems to me that parsing of <controls element in <pages element is not proceed and thus custom control is not know for designer! Try to remove non existing 'theme' from <pages element and all it works like a charm. Interesing here is that this error is displayed only on aspx pages but not on ascx pages (on my enviroment).
Your solution worked for me too
By Asif, Date: 2/26/2010
I was facing the same issue, & followed the steps you mentioned & now seems to work. I did'nt understand what was wrong earlier. Anyway thanks a lot for sharing this info.
Thanxx ,it worked
By Arry , Date: 7/21/2010
Thanxx To Ashraf Sabry,
Iit solved the problem , thanxx a ton coz i was sick of it .
this is awesome
By jacob, Date: 6/8/2011
came stumbling on this from google and man did it save my time. excellent piece of work there ashraf.
By kiki, Date: 12/4/2012
Thank you very much.
I had been struggling with this problem for an hour until I saw your post.
It works in Visual Studio 2010 too!!

Many thanks.
By Premium Outlets, Date: 12/3/2014
however,though, do not purge your ultimate children's closet just yet, Because most of the most popular would seem of 2005 continues on directly 2006 and acquire even most common,
By, Date: 1/5/2015
in several economies more or less anywhere, the fall as well as winter weather of the year give you freezing weather, boisterous days.
By oakley sunglasses store locator, Date: 1/25/2015
By ray ban cheap $6, Date: 2/5/2015
By oakley replica sunglasses for sale, Date: 2/5/2015
By wholesale air yeezy shoes, Date: 2/5/2015
By air max 90 hyperfuse usa shop, Date: 2/6/2015
By cheap michael kors crossbody bags 017, Date: 2/6/2015
By ray ban wayfarer new sizes, Date: 2/8/2015
By shop michael kors handbags australia, Date: 2/9/2015
By nike free 4.0 discount, Date: 2/9/2015
By michael kors cheap 80%, Date: 2/10/2015
By new womens oakley sunglasses, Date: 2/11/2015
By good cheap coach purses, Date: 2/11/2015
By, Date: 2/26/2015
By cheap coach to malaysia, Date: 2/27/2015
By coach outlet online free shipping, Date: 3/1/2015
By cheap red bottom shoes online, Date: 3/2/2015
By coach outlet store raleigh nc, Date: 3/3/2015
ran ban uk
By ran ban uk, Date: 3/15/2015"ray ban sunglasses uk
By oakley outlet store allen, Date: 3/15/2015
Chanel bags
By Chanel bags outlet, Date: 3/25/2015 bags outlet
nike blazer femme pas cher
By nike blazer femme pas cher, Date: 3/31/2015 blazer femme pas cher
lunettes de soleil ray ban pas cher
By lunettes de soleil ray ban pas cher, Date: 4/5/2015 lunettes de soleil ray ban pas cher
lunettes de soleil ray ban pas cher
By lunettes de soleil ray ban pas cher, Date: 4/5/2015 de soleil ray ban pas cher
louis vuitton väskor online
By louis vuitton väskor online, Date: 4/20/2015 louis vuitton väskor online
By nba 2k16 mt ps4, Date: 6/14/2016
The youre very eloquent .
By Fake Ray Ban Wayfarers, Date: 4/11/2018
Sweet blog! I found it while searching on Yahoo News. Do you have any tips on how to get listed in Yahoo News? I've been trying for a while but I never seem to get there! Appreciate it
By safe shoes for women work, Date: 3/8/2020
Really no matter if someone doesn't know after that its up to other visitors that they will assist, so here it happens VS 2008 ERROR Creating control in content pages (Unknown server tag) .
By puncture safe, Date: 3/17/2020
I always emailed this webpage post page VS 2008 ERROR Creating control in content pages (Unknown server tag) to all my associates, for the reason that if like to read it then my links will too.
 Add your Comment :
Your Name :
Email :
   * Email address will be hidden.
Title :
Comment :
Other articles
Where are my Kids [Picture]
 By Unk, Date : 4/18/2007
VS 2008 ERROR Creating control in content pages (Unknown server tag)
 By Malek Chtioui, Date : 6/1/2008
A Program That Can Fix Dead Pixels On Your LCD Screen.
 By Malek Chtioui, Date : 6/14/2007
Visiting Tunisia? Don't miss Sidi Bou Said!
 By Xcess, Date : 1/23/2007
When is the next PageRank Update?
 By Malek Chtioui, Date : 6/14/2007
Top 5
Unlock your Nokia phone online for FREE.
 By Xcess, Date : 4/1/2007
A Program That Can Fix Dead Pixels On Your LCD Screen.
 By Malek Chtioui, Date : 6/14/2007
How to Find and Download MP3 Music from Internet?
 By Malek Chtioui, Date : 6/19/2007
Pictures of Dubai, a New City In Full Expansion
 By Malek Chtioui, Date : 6/12/2007
Request.Url parameters & details (
 By Malek Chtioui (Xcess), Date : 4/7/2008