By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,407 Members | 2,842 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,407 IT Pros & Developers. It's quick & easy.

TypeInitialization Exception

P: n/a
Hi,
I am receiving an exception each time I open one of my projects in VB.net.
I do not have to run it, I just open the project and a Message box pops up
with the message:

TypeInitializationException: The type initializer for "MyProjectName.Module"
threw an exception.

This message box reopens each time I close it, so the only way to get rid of
it is to go to task manager and End Visual Studio.NeT.

I have noticed that when I remove my "bin" and "obj" folders before opening
the project, everything works fine.

Any help will be appreciated,

Dino

--
-------------------------------------------------------------------------
FIGHT BACK AGAINST SPAM!
Download Spam Inspector, the Award Winning Anti-Spam Filter
http://mail.giantcompany.com

Jul 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
I fixed this one, thanks anyways

--
-------------------------------------------------------------------------
FIGHT BACK AGAINST SPAM!
Download Spam Inspector, the Award Winning Anti-Spam Filter
http://mail.giantcompany.com
"Dino M. Buljubasic" <dino.buljubasic([no spam])@rivusglobal.com> wrote in
message news:RESPb.40836$Eq.26867@clgrps12...
Hi,
I am receiving an exception each time I open one of my projects in VB.net.
I do not have to run it, I just open the project and a Message box pops up
with the message:

TypeInitializationException: The type initializer for "MyProjectName.Module" threw an exception.

This message box reopens each time I close it, so the only way to get rid of it is to go to task manager and End Visual Studio.NeT.

I have noticed that when I remove my "bin" and "obj" folders before opening the project, everything works fine.

Any help will be appreciated,

Dino

--
-------------------------------------------------------------------------
FIGHT BACK AGAINST SPAM!
Download Spam Inspector, the Award Winning Anti-Spam Filter
http://mail.giantcompany.com

Jul 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.