473,404 Members | 2,178 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

Exe only runs on development machine...

I created an exe file on my Win2000 machine with VB.NET 2003 and it
runs fine. I tried copying the file to a computer with WinXP and the
NET Framework installed. I get the error "Application has generated
an acception that could not be handled."

What else do I need to do?
Nov 21 '05 #1
2 925
Does the executable depend on some other thing that didnt get copied over? A
file that you assumed would be there or a registry entry??

--
Bob Powell [MVP]
Visual C#, System.Drawing

Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm

All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.

"Kevin" <ke****@cfl.rr.com> wrote in message
news:lp********************************@4ax.com...
I created an exe file on my Win2000 machine with VB.NET 2003 and it
runs fine. I tried copying the file to a computer with WinXP and the
NET Framework installed. I get the error "Application has generated
an acception that could not be handled."

What else do I need to do?

Nov 21 '05 #2
I found the problem. The program was converted from a VB6 project
that I had made lots of changes to. There were some uneeded
references.

But still, I can't just copy the executable onto a computer with the
NET framework installed and have it run. I have to copy some
dependencies into the app path before it will run. What's the point
of the framework then?
On Thu, 26 May 2005 23:12:07 +0200, "Bob Powell [MVP]"
<bob@_spamkiller_bobpowell.net> wrote:
Does the executable depend on some other thing that didnt get copied over? A
file that you assumed would be there or a registry entry??


Nov 21 '05 #3

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

Similar topics

2
by: Debbie | last post by:
Hi I have developed an application that access an SQL database and installed it on a different machine The installation is successful but when I try to run the application I get the following...
4
by: Jared Thirsk | last post by:
== Introduction to DAF == I am interested in the next generation of approaches to software development. Over the last decades, there has been an obvious shift in how our most complex software...
23
by: craig | last post by:
This is a little off topic, but I thought it couldn't hurt to ask... I am about to purchase a new development laptop computer. Before I do, I thought I might ask the C# development community if...
10
by: Scott | last post by:
I have a simple asp.net app which works fine in debug mode, but crashes on the following line when I run it on the production server: Dim dt As DataTable I have tried the following variations...
0
by: Peter Row | last post by:
Hi, BACKGROUND: Win2K Server SP4, ASP.NET 1.1 Win2K Pro SP4, ASP.NET 1.1 I have a wrapper class around all the asp objects. Website physical directory structure (phoney names) Server:...
8
by: Rod | last post by:
I have been working with ASP.NET 1.1 for quite a while now. For some reason, opening some ASP.NET applications we wrote is producing the following error message: "The Web server reported...
5
by: Shawn Berg | last post by:
I have just finished reading the "Team Development with Visual Studio .NET and Visual SourceSafe" patterns & practices white paper. I just wanted to get a good feel from others if what they suggest...
23
by: Steve Barnett | last post by:
Ok, I've never done n-Tier development and I'm getting confused... Assuming I have a business layer and a data access layer that may be running on different machines, how does my business layer...
10
by: Joe Befumo | last post by:
I'm trying to deploy a asp.net app that I developed in Visual Studio 2003 on an XP Professional machine. It runs fine on the development machine, but when I try to run it locally on the server...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...
0
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,...

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.