Can I install CS 2007 in a directory of an existing ASP.NET 2.0 website?

rated by 0 users
This post has 2 Replies | 3 Followers

Not Ranked
Posts 7
Points 125
irelandk Posted: Wed, May 2 2007 5:32 PM

I have an existing ASP.NET 2.0 website in a shared hosting environment.  I want to add CS 2007 functionality to the site, eventually with the same look and feel of the rest of the site.

I have uploaded the web install files to a /cs directory on the existing site.  My hosting provider has set the /cs directory as an IIS application with Read and Run Scripts permissions; I have set the Full Control permissions for the necessary CS subdirectories.  I have edited the installer/default.aspx to allow installation.

When I attempt to navigate to the /cs/installer/ directory to run the install, it appears the installer is reading my root web.config instead of the /cs/web.config.  I receive the following error message:

Server Error in '/cs' 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 'Fixed' cannot be found in the application or global theme directories.

Source Error:

Line 37:     </compilation>
Line 38: 
Line 39:     <pages styleSheetTheme="Fixed">
Line 40:       <namespaces>
Line 41:         <clear/>

Source File: F:\WebSites\mydomain.com\web.config    Line: 39

(Domain name hidden above for privacy...)

Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210

 

The root site is working correctly and finds the fixed theme that it needs.  Why is the CS installer accessing this file?  How do I fix this?

Thanks! 

 

 

 

Top 25 Contributor
Posts 2,243
Points 44,790
CS Developers

Hello,

No that is currently not possible. Community Server needs to be installed in the site root or in its own virtual directory.

HTH,
Scott
 

  • | Post Points: 5
Not Ranked
Posts 27
Points 405
deztech replied on Mon, Jun 25 2007 1:53 PM

I am experiencing the EXACT same issue as described here and I have the CS files inside it's own CS Virtual Directory with the read/run checkboxes marked.  This is still causing errors from settings inside my root folder's web.config file, but I was able to perform a few workarounds and get the installer to run.  Basically had to copy a DLL in from the root's bin to the cs's bin and also set the <pages theme="" .../> to remove the default theme in the root's web.config, etc...

-Aaron

  • | Post Points: 5
Page 1 of 1 (3 items) | RSS
Powered by Community Server (Commercial Edition), by Telligent Systems

Copyright© 2008 Telligent Systems Inc. All rights reserved
CommunityServer.com  •  Telligent.com