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..
Problem running Windows application created from Visual Studio 2005
Collapse
X
-
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 .Originally posted by r035198xWhat is the exact error message that comes up?Comment
-
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.Comment
-
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.Originally posted by cloud255Not 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.Comment
-
I've had far more humaliaiting mistakes ;)Originally posted by Sheena777Thanks 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.Comment
-
Let's create a new topic with all humiliating mistakes :-DOriginally posted by cloud255I've had far more humaliaiting mistakes ;)Comment
Comment