473,806 Members | 2,611 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Exception from app when installed on Win2K/Win98

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:

"Applicatio n 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
Jul 21 '05 #1
4 1417
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?

Jul 21 '05 #2
ge************@ gmail.com wrote:
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
Jul 21 '05 #3
try Paint.NET

Jul 21 '05 #4
Gertjan wrote:
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
Jul 21 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
4904
by: Bruce W...1 | last post by:
I've got MySQL running as a service on my Windows 2000 box. And I can work with it using a command window (DOS box). I used the default install of MySQL and here's what status says: mysql> status -------------- mysql Ver 12.21 Distrib 4.0.15, for Win95/Win98 Connection id: 5 Current database:
4
2539
by: Alan Pong | last post by:
access97, win98 or win2k adv. server sp2 I try compact the mdb file in above OSs. (sometimes i compact it in win98 and sometimes i compact it in win2k) The result surprises me, say in two different scenarios: i) if it is compacted in win2k, the original 125Mb file changes to 120Mb. ii) if it is compacted in win98, the original 125Mb file changes to 150Mb. Then if the 150Mb file is compacted in win2k again, it will
3
1745
by: DD | last post by:
I am testing a software with Wise Installer on Win 98 In a field i recieve this error # I do not recieve this error in this field when i test on Win2k or xp the calculation is as follows (Val(DSum("bankedPayment","qryReconciliation","<=""" & & """"))) Can any one advise if the above has something in it that win98 does not like
2
1675
by: DD | last post by:
I have developed a a nice little software package(Packaged with Wise and SageKey) My product works great in a clean enviroment on Win98 and Win2k and XP As soon as i introduce Office 2000 Pro onto either Win98 or Win2K i get an error on certian forms "Undefined Function DlookUp" or "undefined Function Nz expression". If i remove the Nz from expressions on an affending form it opens with out a problem. I however have lots of Nz in...
4
1690
by: Mac | last post by:
Hello Anyone has a list of software needed to be installed on below Operating systems to be able to run C# applications. a. Win98 b. Win2000 Pro Regards, Mac
5
3447
by: Nick Flandry | last post by:
I'm running into an Invalid Cast Exception on an ASP.NET application that runs fine in my development environment (Win2K server running IIS 5) and a test environment (also Win2K server running IIS 5), but fails on IIS 6 running on a Win2003 server. The web uses Pages derived from a custom class I wrote (which itself derives from Page) to provide some common functionality. The Page_Load handler the failing webpage starts out like this: ...
14
2327
by: frostalicious | last post by:
Used VB.NET (on my client PC) to convert VB6 executable to .NET executable. Placed the .exe file on a network drive on my server. From client, ran .NET Wizards "Trust an Assembly" to make the .exe (on the network drive, on the server) "Full Trust." From the client, double-click on the ..exe (on the network drive, on the server) and it runs fine. So far, so good, but... On the server, where I've installed not VB.NET but .NET
4
261
by: Joe_Black | last post by:
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.
8
5549
by: ThM | last post by:
Hi, I'd like to know if Visual C++ 1.5/1.52 (old 1993 version !) is Win 2K compatible. If so, is there any ressource where I can buy/download this version ? Many thanks
0
9598
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10111
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9192
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6877
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5546
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5683
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4330
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3852
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3010
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.