C# Windows Application using CAB won't run on Windows 2000 machines

  • Thread starter Thread starter Caroline88
  • Start date Start date
C

Caroline88

We have a C# Windows Forms application using the Decemeber 2005 CAB
that I can't get to run on some of our Windows 2000 machines.

The error is 'Exception has been thrown by the target of an invocation'
falling over at the System.RutimeTypeHandle.CreateInstance method call.

On the xp machines when we are running the Client we only install the
Dot Net framework and the client runs with no problems.

Any ideas?
 
We've narrowed it down a bit further to it being something to do with
the App.config file - perhaps not being properly parsed? Does anyone
know of any such issues on Windows 2000?
 
Make sure the Win 2000 boxes are running the correct version of the framework.
Is it possible you are using the 2.0 framework to compile, but they only
have the 1.x framework installed? There was a change in the config file structure
for 2.0 which could cause a 1.x version to choke on it at times.

Jim Wooley
http://devauthority.com/blogs/jwooley/default.aspx
 
Hi Jim

Thanks a lot for responding. Unfortunately, the dot net framework 2.0
is part of our install process, so it couldn't be this..

Thanks anyway.

Caroline
 
Back
Top