An unhandled exception of type 'System.TypeInitializationException' occurred in System.ServiceModel.

異常「數據庫

An unhandled exception of type 'System.TypeInitializationException' occurred in System.ServiceModel.dllorm

Additional information: The type initializer for 'System.ServiceModel.DiagnosticUtility' threw an exception.blog

it

 

緣由:配置文件中有以下數據庫鏈接。io

  <connectionStrings >
    <add name ="ConnStrHQ" connectionString ="Data Source=.;Initial Catalog=HeadQ;Persist Security Info=True;User ID=sa;Password=sa;Max Pool Size=512" />
  </connectionStrings>form

 

 

 

 

相關文章
相關標籤/搜索