473,406 Members | 2,620 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,406 software developers and data experts.

Deployment doesn't works in other machine

18
Hi,

I am having an issue with the deployment. I created msi(vb.net project) setup file using .net setup project. The application works fine if I deploy it in my machine (where I created the setup file).

However, I tried to deploy the project in another machine. The installation goes fine and I didn’t got any errors while installing. But, when I open the application, the application window open and closes immediately. Not sure why this happens.

Any help?
Jan 3 '07 #1
7 3689
bplacker
121 100+
I had a problem with this also; my problem came about because the .Net framework was not installed on the other machine, and this caused major problems.
Jan 3 '07 #2
Anish G
18
I had a problem with this also; my problem came about because the .Net framework was not installed on the other machine, and this caused major problems.

Thanks for you reply.

I checked, .net framework is installed in that machine. Intially I created the setup file a month back, and it was working fine in that machine. Yesteraday, i did some changes in source code and re-created the setup file. As I said earlier this setup file deployment works in my machine but doesnt work in other machine(deployment goes without any error, but application window closes immediately when I open).

Any idea...?
Jan 4 '07 #3
bplacker
121 100+
maybe try rebuilding the solution again, and re-deploying it. Maybe some error occured during the build process.
Jan 4 '07 #4
Anish G
18
maybe try rebuilding the solution again, and re-deploying it. Maybe some error occured during the build process.
Hi,

I found another issue. I copied the whole application (Not the setup file) to another machine and run the application from there. The application complies without any error but when I run that, the application window opens and closes immediately.

This happens only other machines, in my machine it works fine.

Also, when I add a setup project to my application (Add—>New Project), near the Setup file, there is tool tip saying “Not under User Control” with a yellow color plus sign.

Any idea why this happens in other machines, where as it works in my machine?
Jan 5 '07 #5
Anish G
18
Hi again,

I got the following error when i put a break point while running the application in another machine.

*Entering break mode failed for the following reason: Source file 'C:\Documents and Settings\Administrator\Desktop\Coding app\Coding Tools\SharedComponents\UiThreadCaller\UiThreadCall er.cs' does not belong to the project being debugged.

Usually, this condition occurs when the project was not rebuilt prior to starting the debugging session, when the assembly file for the project is out of date, or when the project source files were moved to a different disk location between the time the project was built and the debugging session was started.

Edit and Continue will be disabled for this debugging session.*

The source file path(Source file 'C:\Documents and Settings\Administrator\Desktop\Coding app\Coding Tools\SharedComponents\UiThreadCaller\UiThreadCall er.cs') mentioned here is my machine path(machine where the application was running). As per the Message, I rebuilt the application. But still no luck.

Please help me.
Jan 5 '07 #6
kenobewan
4,871 Expert 4TB
Are there any differences between the machines - OS, ASP.NET or IIS? Suggests something is different about the setup of the two machines.
Jan 5 '07 #7
bplacker
121 100+
'C:\Documents and Settings\Administrator\Desktop\Coding app\Coding Tools\SharedComponents\UiThreadCaller\UiThreadCall er.cs'

does this path exist on the second machine you moved to?

Try Publishing the application, then copying the produced setup file to a second machine, and running it from here. I had much difficulty with creating setup files, etc... and found this path much easier to take for the time being. You just go to Build -> Publish
Jan 5 '07 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Vishwanathan Raman | last post by:
I am trying to deploy my Smart Client (it accesses a Web Service) on to a server.It works fine in my machine and also works when others access it from my machine But when deployed to another server...
5
by: Arun Bhalla | last post by:
I'm working with VS.NET 2003 and .NET 1.1 (not SP1) on Windows XP SP1. My application is using the Windows Installer Bootstrap. (I may have also installed a module which detects requirements (.NET...
4
by: Dmitri Shvetsov | last post by:
Hi, What could be a reason? I wrote a Windows Application on C#. It works with a remote database through the Internet. It works excellent on my developer's machine. When the application is moved...
1
by: Steve | last post by:
I am having an issue deploying an ActiveX control. This is a .NET project in C#. The ActiveX control is written in VB6. I use the PDW (Package and Deployment Wizard) to create a .CAB for the...
5
by: DEWright_CA | last post by:
I have a app that I built for a client. I was able to deploy it to a test server without any real issue. I copied the bin folder to my server, copied over the aspx pages and made the virtual...
4
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The...
1
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The...
3
by: One Handed Man | last post by:
Trying to get No Touch Deployment working, which is having a .net exe application on a webserver. My Asp.net page links to the .exe and when the user clicks on the hyper link, the exe is downloaded...
0
by: Mike165 | last post by:
I am using ASP.net 2.0 Web Deployment projects to deploy a local machine ASP.net 2.0 website to another machine running IIS. The deployment project correctly copies the files to the other machine,...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.