hi
The type initializer for 'System.Transactions.Diagnostics.DiagnosticTrace' threw an exception. this is the Exception im getting while im fetching records from excel file
help me to solve thiz

Recommended Answers

Hi,

U can Try This

REgards
Veena

Jump to Post

How did you solve it. Never heard of that kind of exception?

Jump to Post

All 6 Replies

thank u
veena
but i solved it just now by the same method

How did you solve it. Never heard of that kind of exception?

Hi Arjun,

It is :
By Deleting the Config.app & rebuilding the project

REgards
Veena

Yes your correct!. Baskar just mailed me about it.

I too had the same error. Instead of deleting App.Config file, I looked into it. There was an error in the App.Config file. Upon correcting this error it worked fine.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.