new appl and db added to existing website

Discussion in 'Classic ASP' started by mary.a.b, May 9, 2007.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Looking for any ideas...I have uploadeda newapplication into a subdirectory on my existing site, made that subdirectory a web application folder, anduploaded the relateddatabase tables into a new sql2005 account.When I optimistically try to launch thenew survey application from the web, the below erroris what I get...any wisdom?
    Server Error in '/MPSCTEstudentsurvey' 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: Could not load type 'Microsoft.Web.Services.ScriptModule'. (E:\web\alwaysthere\htdocs\web.config line 95)

    Source Error:





    Code:
    Line 93: 		</httpHandlers>
    Line 94: 		<httpModules>
    Line 95: 			<add name="ScriptModule" type="Microsoft.Web.Services.ScriptModule"/>
    Line 96: 			<add name="BridgeModule" type="Microsoft.Web.Services.BridgeModule"/>
    Line 97: 			<add name="WebResourceCompression" type="Microsoft.Web.Services.WebResourceCompressionModule"/>
    Source File: E:\web\alwaysthere\htdocs\web.config Line: 95



    Version Information:Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210 <!--
    [ConfigurationErrorsException]: Could not load type 'Microsoft.Web.Services.ScriptModule'. (E:\web\alwaysthere\htdocs\web.config line 95) (E:\web\alwaysthere\htdocs\web.config line 95)
    at System.Web.Configuration.HttpModuleAction.get_Entry()
    at System.Web.Configuration.HttpModulesSection.CreateModules()
    at System.Web.HttpApplication.InitModules()
    at System.Web.HttpApplication.InitInternal(HttpContext context, HttpApplicationState state, MethodInfo[] handlers)
    at System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext context)
    at System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context)
    at System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
    --><!--
    This error page might contain sensitive information because ASP.NET is configured to show verbose error messages using <customErrors mode="Off"/>. Consider using <customErrors mode="On"/> or <customErrors mode="RemoteOnly"/> in production environments.-->
     
  2. Make sure you have the the required dll's in your sub-application's bin directory . Most probably ,your sub-application is inheriting the root application web.config settings.Try copying over the contents of root bin directory into your sub-application's bin directory.

    Vikram

    DiscountASP.NET
    www.DiscountASP.NET
     
  3. Thanks a lot - copying the Bin file worked.
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page