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.
Programmer
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.
https://www.qlife.org.au/
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,
https://www.kidone.org/wp-content/mlinex.php
By https://www.kidone.org/wp-content/mlinex.php, 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.
https://www.employersmutual.com.au/ok12.html
By oakley sunglasses store locator, Date: 1/25/2015
six
https://thick-to-thin.com/rb3.html
By ray ban cheap $6, Date: 2/5/2015
five
https://thick-to-thin.com/ok3.html
By oakley replica sunglasses for sale, Date: 2/5/2015
five
https://thick-to-thin.com/jd1.html
By wholesale air yeezy shoes, Date: 2/5/2015
else
https://thick-to-thin.com/airmax3.html
By air max 90 hyperfuse usa shop, Date: 2/6/2015
seven
https://www.kidone.org/wp-content/xxinex.php
By cheap michael kors crossbody bags 017, Date: 2/6/2015
four
https://thick-to-thin.com/rb4.html
By ray ban wayfarer new sizes, Date: 2/8/2015
otherwise
https://www.kidone.org/wp-content/ooinex.php
By shop michael kors handbags australia, Date: 2/9/2015
four
https://www.frostriver.com/freerun2.htm
By nike free 4.0 discount, Date: 2/9/2015
eight
https://www.frostriver.com/mk2.htm
By michael kors cheap 80%, Date: 2/10/2015
my
https://www.frostriver.com/ok4.htm
By new womens oakley sunglasses, Date: 2/11/2015
eight
https://www.frostriver.com/coach4.htm
By good cheap coach purses, Date: 2/11/2015
how
https://austindeafclub.org/cl3.html
By https://austindeafclub.org/cl3.html, Date: 2/26/2015
else
https://austindeafclub.org/coach1.html
By cheap coach to malaysia, Date: 2/27/2015
of
https://www.frostriver.com/coach1.htm
By coach outlet online free shipping, Date: 3/1/2015
which
https://www.frostriver.com/cl1.htm
By cheap red bottom shoes online, Date: 3/2/2015
do
https://www.frostriver.com/coach4.htm
By coach outlet store raleigh nc, Date: 3/3/2015
like
ran ban uk
By ran ban uk, Date: 3/15/2015
http://rayban.wolverinegolfschools.com/"ray ban sunglasses uk
https://thick-to-thin.com/ok2.html
By oakley outlet store allen, Date: 3/15/2015
one
Chanel bags
By Chanel bags outlet, Date: 3/25/2015
http://chaneloutletuk.sexy-desirs.com/Chanel bags outlet
nike blazer femme pas cher
By nike blazer femme pas cher, Date: 3/31/2015

http://blazerpascher.normebbc.com/nike blazer femme pas cher
lunettes de soleil ray ban pas cher
By lunettes de soleil ray ban pas cher, Date: 4/5/2015
http://raybanpascher.normebbc.com 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

raybanpascher.normebbc.com/lunettes de soleil ray ban pas cher
louis vuitton väskor online
By louis vuitton väskor online, Date: 4/20/2015
louisvuittonsverige.cyklismmalmo.se louis vuitton väskor online
https://wowlevelingup.wordpress.com/2015/12/14/nba-2k16-mt-coins-for-sale-super-fast-delivery/
By nba 2k16 mt ps4, Date: 6/14/2016
The youre very eloquent .
https://www.pinterest.com/fakeraybanwayfarers
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
 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
Hair Loss drug
 By Anshul Mahajan, Date : 8/28/2008
Visiting Tunisia? Don't miss Sidi Bou Said!
 By Xcess, Date : 1/23/2007
International Telephone Country Codes
 By Xcess, Date : 2/13/2007
Please make sure that your seat belt is securely fastened (Picture)
 By MediaSeven, Date : 6/21/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 (Asp.net)
 By Malek Chtioui (Xcess), Date : 4/7/2008