M
MJ
I have a strange (to me) problem with a c# forms application that I am
developing. The application is installed on approxmatly 30 Windows XP
machines and until recently they all worked perfectly. However since I have
updated the application to a new version one of the machines fails with an
unhandled exception when the application starts. The code in program.cs
works fine and anything before the InitializeComponent(); method in the main
form. As soon as the aplication enters the InitializeComponent method it
crashes with mention of a filenotfound exception.
I have copied the application folder from the failing PC to a good PC and it
works fine which leads me to believe that it must be a system file that is
missing. Likewise if I copy the program folder from a good PC to the failing
one it again fails.
I have reinstalled the app and the .Net 2 framework but to no avail.
Having only done "basic debugging" I'm now a bit stuck.
Any help would be appreciated
developing. The application is installed on approxmatly 30 Windows XP
machines and until recently they all worked perfectly. However since I have
updated the application to a new version one of the machines fails with an
unhandled exception when the application starts. The code in program.cs
works fine and anything before the InitializeComponent(); method in the main
form. As soon as the aplication enters the InitializeComponent method it
crashes with mention of a filenotfound exception.
I have copied the application folder from the failing PC to a good PC and it
works fine which leads me to believe that it must be a system file that is
missing. Likewise if I copy the program folder from a good PC to the failing
one it again fails.
I have reinstalled the app and the .Net 2 framework but to no avail.
Having only done "basic debugging" I'm now a bit stuck.
Any help would be appreciated