Web application works locally, but config error on upload
Posted: Mon 27 Oct 2008 14:42
Hi there. My local machine is running this fine, but if I upload (not deploy, just copy) to one of our Web servers I get the following error:
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: Exception has been thrown by the target of an invocation.
Source Error:
Line 64:
Line 65: <add name="AspNetMySqlMembershipProvider"
Line 66: type="CoreLab.MySql.Web.Providers.MySqlMembershipProvider"
Line 67: description="MyDirect membership provider"
Line 68: applicationName="GPv3"
Source File: D:\Test sites\Sulis clients\gpv3\web.config Line: 66
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
I've tried removing default membership providers from Machine.config, but it hasn't helped. Sometimes a refresh gets past these lines but generates the same error further down web.config on the role provider info.
I'm really at a loss as to what to try as the error message is so vague. Any help, please? Thanks!
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: Exception has been thrown by the target of an invocation.
Source Error:
Line 64:
Line 65: <add name="AspNetMySqlMembershipProvider"
Line 66: type="CoreLab.MySql.Web.Providers.MySqlMembershipProvider"
Line 67: description="MyDirect membership provider"
Line 68: applicationName="GPv3"
Source File: D:\Test sites\Sulis clients\gpv3\web.config Line: 66
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
I've tried removing default membership providers from Machine.config, but it hasn't helped. Sometimes a refresh gets past these lines but generates the same error further down web.config on the role provider info.
I'm really at a loss as to what to try as the error message is so vague. Any help, please? Thanks!