Configuration Error when accessing sub-application

Discussion in 'ASP.NET 2.0' started by martinhn, Jun 15, 2008.

  1. Hi.

    I have this setup:

    Root / -My website. My own CMS system. ASP.NET 2.0.
    /blog - BlogEngine.NET. ASP.NET 2.0

    the root works fine. www.hellofellaz.com

    But when i access www.hellofellaz.com/blogi get a configuration error:

    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 'Behind40.BusinessLogic' or one of its dependencies. The system cannot find the file specified. (E:\web\hellofellaz\htdocs\web.config line 60)

    Source Error:






    Code:
    Line 58: 		</pages>
    Line 59: 		<httpModules>
    Line 60: 			<add name="UrlRewriteModule" type="Behind40.BusinessLogic.Web.HttpModules.UrlRewriteModule, Behind40.BusinessLogic"/>
    Line 61: 		</httpModules>
    Line 62: 	</system.web>
    This Web.config is the Web.config of the root app. I've installed /blog as an application. Any idea why these two apps are note seperated properly?
     
  2. Hi,
    Try copying all of the files in the Blog's /bin/ folder to your site's root /bin/ folder.
    Salute,
    Mark
     
  3. I can't see any reason why this should work?

    The error messeage points to the web.config of the root application, instead of the web.config of the blog.

    I tried it, and it doesn't help.
     

Share This Page