Runtime error on Application.Run(mainForm):Lab2

Topics: CAB & Smart Client Software Factory
Aug 17, 2005 at 10:56 AM
originally posted by: Toonces

Running both the exercise completed and the finished solution from Lab 2, BankTellerEx01, the debugger returns the following error at the Application.Run statement in Program.cs:

"Value does not fall within the expected range."

- This happens in both the 1.0.0 and 1.0.3 versions of the lab.
- I've installed both the CAB and the lab in the same directory structure without the ampersand in the path.
- My version of Visual Studio is Beta 2: 8.0.50215.44 (beta2.050215-4400)

A couple of my peers trying the labs have the same problem, running the same version of VS2005.
Aug 19, 2005 at 3:36 AM
originally posted by: BradWilsonMSFT

If you can, can you please provide the full stack trace from the exception?