The times I've seen reports of programs failing only on one of many machines, almost always it was resolved by repairing the .NET framework installation.
On Mon, 29 Jan 2007 15:31:21 -0500, Knowlton, Gerald F. <[EMAIL PROTECTED]> wrote: >Hello everyone, > > I have this application that I built using VS2005. It runs OK on my >development machine using either the IDE or the exe that VS2005 >produces. > > It, however, does not run on my test machine. As soon as I launch >the application on the test machine, I get the Microsoft "<program> has >encounted an error and needs to be closed...." error message. The >initial error is a System.InvalidOperationException. > >I put some code in the source that would print out to a text file what >methods had work and where it stopped working. It appears that it stops >working in the application's first form's InitializeComponent method. In >other words, I don't believe it gets inside the method. > > Anyone seen anything like this and if so, any suggestions on how >to solve this problem. > > >BTW - I move the executable and all files to another machine that has >VS2005 installed and the program works flawlessly. It just doesn't on >the client's machine. What a bugger! =================================== This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com