I have just finished creating a windows application with visual studio 2005 and have made the setup package for it. Everything works fine when I go to install this program on my own computer it works and don’t seem to have any problems, but when I do go to install the program in the user's PC there is a runtime error that does occur. Are there any settings that need to be changed in the application Setup package for this to work on a non development machine? I have already installed DotNet framework 2 on the user's pc as well and they are running windows XP and have service pack 2. I am not to sure if there is something that I have not done or installed to make this program work..
7 1135
What is the exact error message that comes up?
What is the exact error message that comes up?
I get a windows error asking if I would like to send an error report. So I am not to sure all I know is that I can install the program but i can't run the program from the machine. I think the error that it is throwing is System.invalido perationexcepti on .
cloud255 427
Recognized Expert Contributor
Not sure if this is the cause of your error but i have had similiar problems with client machines. Try to delete everything from your bin folder, the "vsHost.exe " might complain that you cant delete it, but thats not an issue, just delete everything else. Then from Visual Studio try to build again. If you get any errors then your build order and project dependencies are not right and the application will not work on the client.
If this is your problem you need to set the build order and project dependencies in the project, drop everything in the bin folder and try again. If the build fails and you build again without clearing the bin folder, the build might succeed as all the required files are in the bin folder from the first build attempt. so it is improtant that you empty the bin before every build.
Not sure if this is the cause of your error but i have had similiar problems with client machines. Try to delete everything from your bin folder, the "vsHost.exe " might complain that you cant delete it, but thats not an issue, just delete everything else. Then from Visual Studio try to build again. If you get any errors then your build order and project dependencies are not right and the application will not work on the client.
If this is your problem you need to set the build order and project dependencies in the project, drop everything in the bin folder and try again. If the build fails and you build again without clearing the bin folder, the build might succeed as all the required files are in the bin folder from the first build attempt. so it is improtant that you empty the bin before every build.
Thanks for all the Help the problem was so small and nothing major that you will all be shocked to know that I had forgot to install the SDK kit for the program that will allow the program to run.
cloud255 427
Recognized Expert Contributor
Thanks for all the Help the problem was so small and nothing major that you will all be shocked to know that I had forgot to install the SDK kit for the program that will allow the program to run.
I've had far more humaliaiting mistakes ;)
I've had far more humaliaiting mistakes ;)
Let's create a new topic with all humiliating mistakes :-D
cloud255 427
Recognized Expert Contributor
Let's create a new topic with all humiliating mistakes :-D
I'm sure there is space in the lounge for that ;)
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: dean4if |
last post by:
I have 4 Windows 2000 Servers. I have installed the DotNet Framework 2.0 on
all 4 servers.
Three of these servers show a tab for ASP.NET in the IIS MMC and are running
Visual Studio 2003.
One server that has Visual Studio 2005 installed does not show this ASP.NET
tab.
On this one server, when I use Visual Studio 2005 to try to create or open a
|
by: Poldie |
last post by:
I'm using Visual Studio 2005 SP1 on a Win2K SP4 system. VS is set up
to use "web development settings ". I use VB.
If I create a new web application project, then close the project and
exit VS I can see many files, including a .sln and a .vbproj file.
I can double click on the .vbproj file to load it, or I can load VS
and from within VS open the .sln. But if I double click on the .sln
from windows explorer I get the error message:
|
by: Bob |
last post by:
Hi,
I have some very simple code that I have been using for quite a while
that uses a streamwriter to write to a network file. I have never had
any problems with it. I recently updated Visual Studio 2005 with
Service Pack 1 and now it gives me the "Directory not found "
exception when I try to write to a network location. I am running it
on Vista as a standard user. However, I have opened Visual Studio
using the "run as...
|
by: =?Utf-8?B?YzY3NjIyOA==?= |
last post by:
Hi all,
I cut and paste the following code from msdn help page which it just
introduces view and multiview server controls.
Here is what I do:
in vs studio 2005, File --New Web Site, it brings me to the dir: C:\Visual
Studio 2005\WebSites\WebSite1, it creates default.aspx and default.aspx.vb
and I pasted the following code into default.aspx.
I go to build to build web site and it says:------ Build started: Project:
|
by: giovannino |
last post by:
Dear all,
I did a query which update a sequence number (column NR_SEQUENZA) in a table using a nice code (from Trevor !).
1) Given that I'm not a programmer I can't understand why numbering doesn't start always, running more times the update query, from the same starting parameter assigned (1000000000).
It seems to me that it takes memory last number calculated and running prox update it starts from last table row updated. I need...
| |
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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...
|
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();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
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
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
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...
| |