473,387 Members | 1,481 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,387 software developers and data experts.

Deploying application got error

I try deploying a very simple (very simple indeed) Vb.net application by
following the basic steps according to some tutorials.

My pc runs Visual Studio 2005 and it reports "Build successful" but I build
my application. Then I run setup.exe from the debug folder on the same
machine that develops this application, it went through all early steps but
when coming to the appeared-to-be last step, it gave out the following error
message:

Error reading from file
C:\..\mysetupPath\debug\myAppn.msi Verify that the file exists and that you
can
access it.

My debug directory does contains both the msi file and setup.exe

I can't see anything to do with "having no access" or file not exists. Then
I copied these two files to another PC and run the setup. Setup works and my
application runs normally at the other machine.

So it got to have something to do with my PC (Windows XP). I know I don't
really need setup to run on my own PC but I would like to learn why.

I am not sure what other information are helpful. It has Windows installer
3.1 (KB893803) isntalled and the these dotnet programs are found installed:
- .net Compact Framework 1.0 SP3 Developer
- .net compact Framework 2.0
- .net Framework 1.1
- .net Framework 1.1 Hotfix ( KB886903)
- .net Framework 2.0

I am not sure if I need to remove any installed program. What else do you
suggest me to check for now? Thank you.

Jan 31 '08 #1
3 1536
Do you have a setup and deployment project to create this setup? If you
rebuild that project, what output does it give?

I've seen this error sometimes when the MSI file wasn't created properly.

--
Browse http://connect.microsoft.com/VisualStudio/feedback/ and vote.
http://www.peterRitchie.com/blog/
Microsoft MVP, Visual Developer - Visual C#
"ykffc" wrote:
I try deploying a very simple (very simple indeed) Vb.net application by
following the basic steps according to some tutorials.

My pc runs Visual Studio 2005 and it reports "Build successful" but I build
my application. Then I run setup.exe from the debug folder on the same
machine that develops this application, it went through all early steps but
when coming to the appeared-to-be last step, it gave out the following error
message:

Error reading from file
C:\..\mysetupPath\debug\myAppn.msi Verify that the file exists and that you
can
access it.

My debug directory does contains both the msi file and setup.exe

I can't see anything to do with "having no access" or file not exists. Then
I copied these two files to another PC and run the setup. Setup works and my
application runs normally at the other machine.

So it got to have something to do with my PC (Windows XP). I know I don't
really need setup to run on my own PC but I would like to learn why.

I am not sure what other information are helpful. It has Windows installer
3.1 (KB893803) isntalled and the these dotnet programs are found installed:
- .net Compact Framework 1.0 SP3 Developer
- .net compact Framework 2.0
- .net Framework 1.1
- .net Framework 1.1 Hotfix ( KB886903)
- .net Framework 2.0

I am not sure if I need to remove any installed program. What else do you
suggest me to check for now? Thank you.
Jan 31 '08 #2
When you say "it gave out this error", at which point in the process is this
happening? Does "through the early steps" mean that it shows the usual
wizard dialogs, then it fails? I ask because one of the issues that
occasionally arises is when the SYSTEM account does not have access to that
directory/file, and you get the error after the UI wizard sequence (which
runs with your credentials) when the actual installation switches to the
msiexec service to do the actual install (whichj runs with the system
account). So check that the SYSTEM account has access to that directory.
--
Phil Wilson
[MVP Windows Installer]

"ykffc" <yk***@discussions.microsoft.comwrote in message
news:5D**********************************@microsof t.com...
>I try deploying a very simple (very simple indeed) Vb.net application by
following the basic steps according to some tutorials.

My pc runs Visual Studio 2005 and it reports "Build successful" but I
build
my application. Then I run setup.exe from the debug folder on the same
machine that develops this application, it went through all early steps
but
when coming to the appeared-to-be last step, it gave out the following
error
message:

Error reading from file
C:\..\mysetupPath\debug\myAppn.msi Verify that the file exists and that
you
can
access it.

My debug directory does contains both the msi file and setup.exe

I can't see anything to do with "having no access" or file not exists.
Then
I copied these two files to another PC and run the setup. Setup works and
my
application runs normally at the other machine.

So it got to have something to do with my PC (Windows XP). I know I don't
really need setup to run on my own PC but I would like to learn why.

I am not sure what other information are helpful. It has Windows
installer
3.1 (KB893803) isntalled and the these dotnet programs are found
installed:
- .net Compact Framework 1.0 SP3 Developer
- .net compact Framework 2.0
- .net Framework 1.1
- .net Framework 1.1 Hotfix ( KB886903)
- .net Framework 2.0

I am not sure if I need to remove any installed program. What else do you
suggest me to check for now? Thank you.

Jan 31 '08 #3
Phil Wilson, brilliant answer.

It worths puting this in my notes: the actual installation switches to the
msiexec service to do the actual install (whichj runs with the system
account).

Problem solved.
"Phil Wilson" wrote:
When you say "it gave out this error", at which point in the process is this
happening? Does "through the early steps" mean that it shows the usual
wizard dialogs, then it fails? I ask because one of the issues that
occasionally arises is when the SYSTEM account does not have access to that
directory/file, and you get the error after the UI wizard sequence (which
runs with your credentials) when the actual installation switches to the
msiexec service to do the actual install (whichj runs with the system
account). So check that the SYSTEM account has access to that directory.
--
Phil Wilson
[MVP Windows Installer]

"ykffc" <yk***@discussions.microsoft.comwrote in message
news:5D**********************************@microsof t.com...
I try deploying a very simple (very simple indeed) Vb.net application by
following the basic steps according to some tutorials.

My pc runs Visual Studio 2005 and it reports "Build successful" but I
build
my application. Then I run setup.exe from the debug folder on the same
machine that develops this application, it went through all early steps
but
when coming to the appeared-to-be last step, it gave out the following
error
message:

Error reading from file
C:\..\mysetupPath\debug\myAppn.msi Verify that the file exists and that
you
can
access it.

My debug directory does contains both the msi file and setup.exe

I can't see anything to do with "having no access" or file not exists.
Then
I copied these two files to another PC and run the setup. Setup works and
my
application runs normally at the other machine.

So it got to have something to do with my PC (Windows XP). I know I don't
really need setup to run on my own PC but I would like to learn why.

I am not sure what other information are helpful. It has Windows
installer
3.1 (KB893803) isntalled and the these dotnet programs are found
installed:
- .net Compact Framework 1.0 SP3 Developer
- .net compact Framework 2.0
- .net Framework 1.1
- .net Framework 1.1 Hotfix ( KB886903)
- .net Framework 2.0

I am not sure if I need to remove any installed program. What else do you
suggest me to check for now? Thank you.


Feb 1 '08 #4

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

Similar topics

10
by: Gerben van Loon | last post by:
Hi there, hope someone can help me on this: I'm planning to deploy several ASP.NET projects to a production server. Normally I used the "Project / Copy project" option in VS.NET, but to this...
3
by: Johnny | last post by:
Hi, I have created an ASP.NET application (let's call it FooBar) with VS.NET on my local machine, residing in http://localhost/FooBar. Deploying it to another folder on my machine works well...
3
by: Rachel | last post by:
Hi, I am using the data access application block successfully in our development environment, however when I deploy to our testing server as Private Assemblies I keep getting the following ...
3
by: Rachel | last post by:
Hi, I am using the data access application block successfully in our development environment, however when I deploy to our testing server as Private Assemblies I keep getting the following ...
5
by: Richard Mintz | last post by:
Hi, I am trying to deploy a C# application to a Windows 2000 machine. When I try to run the app after the install i get a runtime error. the setup works on both XP and windows 2003 server...
1
by: Duncan | last post by:
Guys a little please, I'm creating a windows application that uses a webservice and WSE1.0 to talk to a database, currently this works fine when using localhost, I now want to test the...
0
by: Amit | last post by:
Hi,I am new to .net 2.0 and have just built one web application and deployed the application on web server. The problem which i am facing is that if i make any changes in the .cs files or aspx...
8
by: =?Utf-8?B?V2hpc2tleVJvbWVv?= | last post by:
I am trying to copy files and folders onto a production machine (Windows 2003 web edition -- we had to install the .NetFramework 2.0 on it). I wasn't even sure which files to copy for a ASP.NET...
4
by: HabibBhutto | last post by:
Hi Guys, Thanks in advance...! :) I am developing a web application for IPhone using componentOne IPhone and ASP.Net 3.5 there is problem into deploying the site after deplying when a...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.