Exception from app when installed on Win2K/Win98

  • Thread starter Thread starter Joe_Black
  • Start date Start date
J

Joe_Black

Hi all,

I'm fairly new to all this .net stuff so this question may have an
obvious answer.

I have my first app written in c#, I have installed the latest .net
redistributable on to a WinXP machine, I copy the required files for the
app to this machine and run it, the application runs and functions
perfectly.

Now I do exactly the same thing on a Win2K machine and I get the
following error:

"Application has generated an exception that could not be handled"

If I install everything on to a Win98 machine I get the same exception.

Does anyone know what could be the cause of this?

Cheers

Joe
 
Did you include any special DLL library's? Because some librarys can
contain other actions for other operating systems.

Do all .NEt applications have problems on the systems? Or only your own
application?
 
Did you include any special DLL library's? Because some librarys can
contain other actions for other operating systems.

Yes, I have a dll called commbase.dll which I got from the microsoft
website, it encapsulates the functionality required to use a RS232
serial port on a machine. I have written a small app with this before
when we first moved to .net, about a year and a half ago, and all seemed
to work on other machines running Win 2k, however my old machine had
Win2K on it and that was the OS I developed the app with. This time
round I have a new machine with XP Pro on it.
Do all .NEt applications have problems on the systems? Or only your own
application?

I must admit I haven't tried any other .net apps, I don't think I have
any third party ones that I can lay my hands on.

Joe
 
Gertjan said:
try Paint.NET

Hi Gertjan,

Got it working, I had not set the supported runtimes property in the
project options oops :(

Many thanks for your help though.

Joe
 
Back
Top