如何在ASP.NET web.config中编写ELMAH连接字符串?

时间:2018-06-22 08:12:00

标签: asp.net elmah

您是否在asp.net web.config中为ELMAH提供完整的连接字符串?

  <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>

如何在asp.net web.config中创建connectionString?

0 个答案:

没有答案