nlog using the connectionStringName for database logging

后端 未结 1 764
逝去的感伤
逝去的感伤 2021-01-02 06:22

here is my nlog.config file. I have turned on the throwsException.



        
1条回答
  •  抹茶落季
    2021-01-02 06:39

    Add System.Data.SqlClient to attribute ProviderName in your connection string in web.config/app.config:

    
    

    0 讨论(0)
提交回复
热议问题