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 September 27th, 2010, 12:01 PM
bpl bpl is offline
Authorized User
 
Join Date: May 2009
Posts: 21
Thanks: 0
Thanked 1 Time in 1 Post
Default Monochrome cannot be found

I finished work with the book "Beginning ASP.NET 3.5" several month ago.
But now, when I try to create or open any my own application, I get error:
Monochrome cannot be found in the application or global theme directories.
(C:\BegASPNET\Release\web.config line 85)

I deleted from IE cookies and temporary internet files, but still get this error.
Please help.
 
Old September 27th, 2010, 02:58 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

Where / when do you get this error? Do you have something like <pages theme="Monochrome" ... /> in your site's web.config file?

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 September 27th, 2010, 04:05 PM
bpl bpl is offline
Authorized User
 
Join Date: May 2009
Posts: 21
Thanks: 0
Thanked 1 Time in 1 Post
Default

I created brand new web site with new web.config, so there is no Monochrome theme in web.config.
Something happenned with my Visual Studio 2008 environment after I finished to work with Planet Wrox program and as result, all my programs looking now C:\WebASPNET\Release\web. config file instead of their own web.config. Might be, global.asax file was changed during my job with Planet Wrox, which could cause this problem? But I did not find global.asax file in my windows\microsoft.net\framework\v3.5 folder and subfolders to check it.
If I can't find reason, might be I need reinstall Visual Studio 2008 to fix problem?
All my another environments on this PC, Visual Studio 2010 and Visual Studio 2005 works fine.
 
Old September 28th, 2010, 03:45 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

Not sure what you mean with this:
Quote:
all my programs looking now C:\WebASPNET\Release\web. config file instead of their own web.config.
When / where? In Visual Studio? At run-time? Using IIS or the built-in web server? Can you describe the behavior in more detail?

Maybe this is just a template issue where the initial site is not correct? Try resetting your templates as explained here:

http://msdn.microsoft.com/en-us/libr...(v=VS.90).aspx

Cheers,

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 September 28th, 2010, 09:19 AM
bpl bpl is offline
Authorized User
 
Join Date: May 2009
Posts: 21
Thanks: 0
Thanked 1 Time in 1 Post
Default

Imar,

I found the problem. After you asked me if I using IIS or the built-in web server, I found that built-in web server works fine and error was only when using IIS.
In chapter 18: "Deploying Your Web Site" when installing and configuring ASP.NET, on page 648, according to your book, I changed in IIS server Default Web Site in Home Directory tab Local Path from c:\Inetpub\wwwroot to C:BegASPNET\Release and forgot to change back to c:\Inetpub\wwwroot after I finished work with Planet WROX. That is why
for all my programs when running with IIS default path still was C:\BegASPNET\Release instead of c:\Inetpub\wwwroot. After I changed back everything works fine.
Thank you for your help!
 
Old September 28th, 2010, 10:29 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

That makes sense; thanks for posting a follow up.

Cheers,

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!





Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 14-Photo Album Pages Monochrome vs Dark Grey jlransford BOOK: Beginning ASP.NET 4 : in C# and VB 3 August 3rd, 2010 12:08 PM
Monochrome Theme jack_hilary BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 4 April 18th, 2010 12:45 PM
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
Code not found Fragic BOOK: Ivor Horton's Beginning Visual C++ 2005 1 July 17th, 2006 08:41 PM
workbook not found! timoma Access VBA 2 January 17th, 2005 08:47 PM





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