Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3
This is the forum to discuss the Wrox book Beginning ASP.NET 3.5: In C# and VB by Imar Spaanjaars; ISBN: 9780470187593
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 17th, 2010, 01:51 PM
Friend of Wrox
 
Join Date: Sep 2009
Posts: 165
Thanks: 5
Thanked 6 Times in 6 Posts
Arrow Monochrome Theme

Hello,
Once I ran your final site (available from code download) just to see how themes are working. It was working as it was intended for, no error was there.
But now it gets me problem with my own application. I do not have any theme in my own application yet that is why I ran your. But as soon as I run the application in IE (set to default) I get the following error message.
Code:
Theme 'Monochrome' cannot be found in the application or global theme directories.
I have cleared the browser history many times but I get the same error, however it runs fine in other browsers without error. What wrong is going on and how to get rid of it.
Thank you.
 
Old April 18th, 2010, 04:02 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Do you still have code in the BasePage and a cookie that tries to set the theme?

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
 
Old April 18th, 2010, 12:25 PM
Friend of Wrox
 
Join Date: Sep 2009
Posts: 165
Thanks: 5
Thanked 6 Times in 6 Posts
Arrow

Hello,
I removed the code under page_preinit and it did not raise any problem but as soon as I added it again it started giving same error.
This error I see only in IE and not in any other browser. Why it is happening and where cookies are being stored for IE, however I have deleted the history for this browser many times.
 
Old April 18th, 2010, 12:28 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

History != cookies.

In IE, choose Tools | Internet Options. Then click the Delete button, check Cookies and click Delete again.

Hope this helps,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
 
Old April 18th, 2010, 12:45 PM
Friend of Wrox
 
Join Date: Sep 2009
Posts: 165
Thanks: 5
Thanked 6 Times in 6 Posts
Arrow

Yes, Thank you.
Prior waiting for reply I looked at the code, as it was storing the theme in cookies so it was not making any sense to delete only history so I deleted the cookies as well. Now I do not get the error any more.
And perhaps it was the reason for error only for IE not in others because I ran your final project in IE (set to default) that is why it saved cookie in IE only and not in others. Is it so???
Anyways thank you sir, problem does not persist any more. You pointed out the root of error.
__________________
Jack: Founder, Developer & Owner Of JackAndGenieForever.Com





Similar Threads
Thread Thread Starter Forum Replies Last Post
page 221 - problems with Monochrome and dark grey css sarala BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 7 April 16th, 2010 02:35 AM
Exception of get theme JasonF430 ASP.NET 2.0 Basics 0 April 16th, 2008 01:31 AM
Theme Selector wont pick up other theme Tawanda BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 5 May 4th, 2007 08:44 AM
theme selector rav BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 3 February 12th, 2007 12:44 AM
page theme zhugeliang ASP.NET 2.0 Basics 1 January 9th, 2007 02:40 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.