application name - Elmah applicationName="myApplication" isn't working -
I have received many posts about this issue, although I have not received any resolution or even the signal Not even that the "ApplicaitonName" attribute function still shows the application column as the blank value. I tried to do it with many projects and new projects and I got the same results. Elma logs everything correctly, but never by any name.
Any thoughts?
& lt; Elmah & gt; & Lt; Security permissionsmax = "incorrect" /> & Lt; ErrorLog type = "Elmah.SqlErrorLog, Elmah" connection StringName = "MyConnectionString" applicationName = "MyApplication" />
I just created a new database in SQL Server Express Yes, Elmaha was run. The SQLServer.sql build script, created a new web project, installed the NuGet package: ELMAH and elmah.sqlserver.
The Web In Configure, ELMAH configuration looks like this:
& lt; ErrorLog type = "Elmah.SqlErrorLog, Elmah" connectionStringName = "elmah-sqlserver" applicationName = "HelloWald" />
While compelling 404 errors on the new website, new errors are logged in the Application column with HelloWorld in SQL Server Express.
Please note that in order to see the name of the application not shown anywhere in the ELMAH UI (/elmah.axd), you should check the database or the XML / See Raw / source data in JSON
Comments
Post a Comment