Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 4 : in C# and VB
This is the forum to discuss the Wrox book Beginning ASP.NET 4: in C# and VB by Imar Spaanjaars; ISBN: 9780470502211
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 4 : in C# and VB 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 October 20th, 2011, 09:51 AM
Authorized User
 
Join Date: Aug 2010
Posts: 50
Thanks: 7
Thanked 0 Times in 0 Posts
Default Help with deploying site.

Hi Imar,

I went through your book Beginning ASP.NET 4 and I really learned a lot. Thank you!

Since finishing the book I created another website to practice on. I created a test domain However,the site I have put on there is giving me issues. I was wondering if you can help me with it.

The structure of my test site has a folder and then the site. When I go to the URL I get the following error. I think the issue has to do with the site not being in the root of the domain. I can send you the URL if you would like privately. Thanks for your help.

Server Error in '/' Application.
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Theme 'granite' cannot be found in the application or global theme directories.

Source Error:

Line 28:
Line 29: <system.web>
Line 30: <pages theme="granite"></pages>
Line 31: <compilation debug="false" targetFramework="4.0" />
Line 32:
 
Old October 20th, 2011, 10:43 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,

Themes need to be in the application's root. This means you'll need to either move the site to the root, or mark it's folder as an Application in IIS. For the latter you may need helpmfrom your ISP or they may providenan online control panel so you can do it yourself.

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 October 20th, 2011, 11:09 AM
Authorized User
 
Join Date: Aug 2010
Posts: 50
Thanks: 7
Thanked 0 Times in 0 Posts
Default

Thank you. That makes sense. I will try and let you know. Thanks again.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Deploying to Production Site DragonLEG BOOK: Beginning ASP.NET 4 : in C# and VB 1 July 1st, 2011 04:22 PM
Deploying Web Site majeedkhan BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 1 February 25th, 2010 05:06 AM
Deploying the site Rachel BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 11 March 21st, 2009 11:24 AM
Deploying the Site SoloEng BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 8 September 9th, 2007 09:39 PM
Deploying the site MoeShall BOOK: ASP.NET Website Programming Problem-Design-Solution 3 April 20th, 2005 07:06 AM





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