J
James Crosswell
I have a custom role provider and custom membership provider in my
ASP.NET app. These work fine on my local box. When deploying the app I'm
getting the following 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: The type initializer for 'Tax.Core.TaxService'
threw an exception.
Source Error:
Line 52: <providers>
Line 53: <clear />
Line 54: <add name="TaxServiceRoleProvider"
type="Web.Public.TaxServiceRoleProvider" />
Line 55: </providers>
Line 56: </roleManager>
Source File: c:\inetpub\wwwroot\web.config Line: 54
So I'm pretty sure it's a problem that's occuring in the constructor of
the Web.Public.TaxServiceRoleProvider class but I'd like to know exactly
what the error/exception message is so that I know how to fix it, rather
than just shooting in the dark.
Is there any way to grab that information and spit it out to the Windows
Event Logs or something?
TIA.
Best Regards,
James Crosswell
Microforge.net LLC
http://www.microforge.net
ASP.NET app. These work fine on my local box. When deploying the app I'm
getting the following 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: The type initializer for 'Tax.Core.TaxService'
threw an exception.
Source Error:
Line 52: <providers>
Line 53: <clear />
Line 54: <add name="TaxServiceRoleProvider"
type="Web.Public.TaxServiceRoleProvider" />
Line 55: </providers>
Line 56: </roleManager>
Source File: c:\inetpub\wwwroot\web.config Line: 54
So I'm pretty sure it's a problem that's occuring in the constructor of
the Web.Public.TaxServiceRoleProvider class but I'd like to know exactly
what the error/exception message is so that I know how to fix it, rather
than just shooting in the dark.
Is there any way to grab that information and spit it out to the Windows
Event Logs or something?
TIA.
Best Regards,
James Crosswell
Microforge.net LLC
http://www.microforge.net