troubleshooting Question

Cannot access Module from Project. The type initializer for 'MyProject.modCons' threw an exception.

Avatar of Mikal613
Mikal613Flag for United States of America asked on
Programming Languages-Other.NET ProgrammingVisual Basic.NET
37 Comments3 Solutions1743 ViewsLast Modified:
I have a simple project that contains a Module so i can hold my global connection (Thats how it was when i got it). When i access any method or property i get an exception.
The type initializer for 'MyProject.modCons' threw an exception.

I eben tried a simple helloworld method and still i get the same error.
Join our community to see this answer!
Unlock 3 Answers and 37 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 3 Answers and 37 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros