Hi All,
i m getting an following error in my application asp.net with C#
The type initializer for 'Microsoft.Practices.EnterpriseLibrary.Data.Instrumentation.DataCommandFailedEvent' threw an exception.
I already added reference of Microsoft.Practices.EnterpriseLibrary.Data dll. also that dll i added in to the bin folder.
I m using windows 10 operating system. Visual studio 2012.
Please help me i stuck on that.

Shweta LodhaRank #31 · 39.8K reputationPosted Feb 6, 2016, 5:21 AM EST
Rahul Patil,
Please try to reset the IIS. If still it doesn't work then follow the steps given on below link:
Abhay ShankerRank #375 · 6.7K reputationPosted Feb 6, 2016, 7:17 AM EST
RAHUL PATIL128 reputationPosted Feb 7, 2016, 9:21 PM EST
RAHUL PATIL128 reputationPosted Feb 7, 2016, 9:23 PM EST