Pankaj Kumar

Pankaj Kumar

  • NA
  • 112
  • 10.3k

How write ELMAH connectionstring in the in the web.config?

Jun 22 2018 3:02 AM
Are you providing ELMAH with a full connection string in the asp.net web.config?
 
<elmah>
<errorLog type="Elmah.SqlErrorLog, Elmah" connectionStringName="conStr"/>
</elmah>
<connectionStrings>
<add key="conStr" value="initial catalog=ansitsdev_MFTemp; Data Source=DESKTOP-T3SKQH9; integrated security=true"/>
</connectionStrings>

Answers (1)