 |
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
|
|
|
|
|

September 27th, 2010, 12:01 PM
|
|
Authorized User
|
|
Join Date: May 2009
Posts: 21
Thanks: 0
Thanked 1 Time in 1 Post
|
|
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.
|
|

September 27th, 2010, 02:58 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
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
|
|

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

September 28th, 2010, 03:45 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
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
|
|

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

September 28th, 2010, 10:29 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
That makes sense; thanks for posting a follow up.
Cheers,
Imar
|
|
 |