1
Vote

2nd App in Virtual Directory not working

description

Rickard,
 
I am getting an error, when I try and browse to another asp.net 2.0 application located in a virtual directory called control panel in the root where eps is located. When i browse to www.mydomain.com/contolpanel/ which is my hosting control panel portal, I get an error relating to the EPS app:
 
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: Could not load file or assembly 'App_Code' or one of its dependencies. The system cannot find the file specified. (E:\HostingSpaces\tjn\1worldhost.com\wwwroot\web.config line 53)
 
Source Error:
 
 
Line 51: <httpModules>
Line 52: <!--Section rewriter-->
Line 53: <add type="MyWebPagesStarterKit.Rewriter.SectionRewriter, App_Code" name="SectionRewriter"/>
Line 54: </httpModules>
Line 55: <httpHandlers>

 
Source File: E:\HostingSpaces\tjn\1worldhost.com\wwwroot\web.config Line: 53

comments

xotj123 wrote Feb 28, 2010 at 5:57 PM

Ok, I solved the issue by rapping the <system.web></system.web> in:

<location path="." inheritInChildApplications="false">
  <system.web>
   .........................................
   </system.web>
</location>

Regards,
Tommy

wrote Feb 13, 2013 at 6:52 PM