Elmah on a WebServer
- by Subbarao
I Setup Elmah to work on a website. It works fine on my local machine but when I moved it to a web server I get this exception
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: Unrecognized configuration section elmah/security.
Source Error:
Line 110: </connectionStrings>
Line 111: <elmah>
Line 112: <security allowRemoteAccess="1" />
Line 113: <errorLog type="Elmah.SqlErrorLog, Elmah" connectionStringName="CadaretGrantConnectionString"/>
Line 114: <!-- Don't log 404 -->
It shows me a error at Line 112.
What should be done in order to get Elmah to work with remote access?
Below is my configuration
<elmah>
<security allowRemoteAccess="1" />
<errorLog type="Elmah.SqlErrorLog, Elmah" connectionStringName="ConnectionString"/>
<!-- Don't log 404 -->
<errorFilter>
<test>
<equal binding="HttpStatusCode" value="404" valueType="Int32"/>
</test>
</errorFilter>
</elmah>