Hi, I've written a fairly simple app that connects to a SQL server and pulls data to a DataGridView with a few textboxes that are also databound. When running on the Dev PC, it works fine. When running on any other PC (with .NET3.5 etc etc) it crashes at startup with the default 'do you want to send to Microsoft' error.

The details of the error are:

EventType: clr20r3 P1: <app name> P2: 4.0.0.0 P3: 489b45dc5 P4: <app name> P5: 4.0.0.0 P6: 489b4dc5 P7: 2b P8: c6 P9: system.invalidoperationexception.

I can't find the cause of the problem. There are no errors or warnings in the application and I have error handling on the form startup event.

Anyone know why this is happening?

Saw some articles about stack traces etc and adding exceptions but this is way beyond my capabilities. I'll be pretty jarred off if this app won't work on other PC's as it's a waste of 2 months work (sigh).

Thanks.
Shifty.