Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Setup Project & NullReferenceException Error

Status
Not open for further replies.

PsychoCoder

Programmer
May 31, 2006
140
US
I started a new Setup Project, added my exe file to it, added all the files I need, built, installed and everything went smooth until I tried to run the application. I clicked the icon in the start menu and got this error:

Code:
System.InvalidOperationException was unhandled
  Message="An error occurred creating the form. See Exception.InnerException for details. The error is: Object reference not set to an instance of an object."
  Source="AmadeusInterface"
  StackTrace:
       at AmadeusInterface.My.MyProject.MyForms.Create__Instance__[T](T Instance)
       at AmadeusInterface.My.MyProject.MyForms.get_frmStart()
       at AmadeusInterface.My.MyApplication.OnCreateMainForm()
       at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()
       at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
       at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine)
       at AmadeusInterface.My.MyApplication.Main(String[] Args)
rmsApplicationBase.Run(String[] commandLine)
       at AmadeusInterface.My.MyApplication.Main(String[] Args)


And I cant figure out why I'm getting this error. Unfortunately this doesn't tell me WHERE my application is blowing up, anyone have any ideas on how I can find this so I can fix the problem?

Senior Qik III, ASP.Net, VB.Net ,SQL Programmer

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SELECT * FROM Users WHERE clue > 0
0 Rows Returned

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top