web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Dynamics 365 Community / Blogs / Nishant Rana’s Weblog / The type initializer for ‘S...

The type initializer for ‘System.Data.SqlClient.SqlConnection’ threw an exception

Nishant Rana Profile Picture Nishant Rana 11,325 Microsoft Employee

I was getting the above error in one of my windows application. Was because of some section getting repeated in the app.config file.

Removing the duplicate section information from the app.config resolved the issue.


Filed under: Windows Application Tagged: Windows Application

This was originally posted here.

Comments

*This post is locked for comments