471,318 Members | 1,865 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,318 software developers and data experts.

NullReferenceException at application startup

Hello All,

I'm facing a new problem since a while. Each new project I create in VB.NET
(Windows Forms application, console) crashes when I try to launch it. I've
got a NullReferenceException. When I try to debug, Visual says that no
source code is available. It seems that the crash occurs before the call of
any piece of my code. Even if I use a Main function the crash happens
before. The projects I have previously created continue to work well.
This problem occurs also in "empty" projects (project created from the
wizard and just compiled and runned without any addition).
I've noticed also that my new projects run properly if I change the name of
the main assembly (and so of the executable as well) to put the name of one
of my working project.

Thank you for your suggestions.


Jul 21 '05 #1
0 962

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Terrence | last post: by
5 posts views Thread by TT (Tom Tempelaere) | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.