I downloaded the file "ELMAH-1.0-Beta2-src". Placed the release
version of Elmah.dll in my Bin directory. I'm running Vista in dev,
and ran the "APPCMD.EXE migrate config" command to fix the web.config
settings to play nice in IIS7.0.
On restarting the web app, I receive the following error:
String was not recognized as a valid Boolean.
Description: An unhandled exception occurred during the execution of
the current web request. Please review the stack trace for more
information about the error and where it originated in the code.
Exception Details: System.FormatException: String was not recognized
as a valid Boolean.
Source Error:
An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of
the exception can be identified using the exception stack trace below.
Stack Trace:
[FormatException: String was not recognized as a valid Boolean.]
System.Boolean.Parse(String value) +2772264
Elmah.ErrorMailModule.OnInit(HttpApplication application) +176
Elmah.HttpModuleBase.System.Web.IHttpModule.Init(HttpApplication
context) +39
System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr
appContext) +256
System.Web.HttpApplication.InitSpecial(HttpApplicationState state,
MethodInfo[] handlers, IntPtr appContext, HttpContext context) +178
System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr
appContext, HttpContext context) +270
System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr
appContext, IntPtr& errorMessage) +260
[HttpException (0x80004005): String was not recognized as a valid
Boolean.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context)
+3540923
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context)
+69
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest
wr, HttpContext context) +669
Any & all help is appreciated.
-m+b
http://www.mattbirmingham.com