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

VB.NET Project Deployment

Env. : Win 2000, Visual Source Safe, VS.NET Ent. Arch.
Lang. : VB.NET
App Type : Windows Applications

I am trying to deploy my windows application on to a target machine
using a Visual Studio Setup Project. I am able to completely install
my application on my target machine along .NET framework. But my
application on the target m/c is not able to access the
"app.exe.config file" located in the /myapp directory. Is there
anything i need to do with
-the .NET framework or
-with the Project setup or
-with the .NET framework on the target system?

Any guidance will be of great help

Regards
Deepak
Nov 20 '05 #1
3 1104
2
Have you made sure the app config file is included in the install? And that
it gets copied ok to correct location on the client?

If you get this far then maybe a permissions problem...? What exactly is the
error message?

Cheers


"DNag" <de*****@yahoo.com> wrote in message
news:60**************************@posting.google.c om...
Env. : Win 2000, Visual Source Safe, VS.NET Ent. Arch.
Lang. : VB.NET
App Type : Windows Applications

I am trying to deploy my windows application on to a target machine
using a Visual Studio Setup Project. I am able to completely install
my application on my target machine along .NET framework. But my
application on the target m/c is not able to access the
"app.exe.config file" located in the /myapp directory. Is there
anything i need to do with
-the .NET framework or
-with the Project setup or
-with the .NET framework on the target system?

Any guidance will be of great help

Regards
Deepak

Nov 20 '05 #2
Well I made sure the Config file is present in the same directory as the
application file.
The applications does not recognize the config file at all. Its just
throws up a exception which i catch in my source code if the config file
is not present.

I have a hunch. My developement was on .NET Framework 1.03 and currently
loaded .NET framework 1.1 on my target machine would that create a
problem

thanks

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 20 '05 #3
It really shouldn't create a problem, not one that I'm familiar with.

I'm assuming that the install completes succesfully. Are you using a path
or something to try to load the config file? Or, are you using
AppSettingsReader class?

---
David Guyer - VBQA Deployment Testing
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
From: Deepak N <de******@yahoo.com>
References: <uz**************@TK2MSFTNGP10.phx.gbl>
X-Newsreader: AspNNTP 1.50 (ActionJackson.com)
Subject: Re: VB.NET Project Deployment
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Message-ID: <#w**************@tk2msftngp13.phx.gbl>
Newsgroups: microsoft.public.dotnet.languages.vb
Date: Wed, 03 Mar 2004 05:31:53 -0800
NNTP-Posting-Host: actionjackson133.dsl.frii.net 216.17.147.133
Lines: 1
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftn gp13.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.vb:186175
X-Tomcat-NG: microsoft.public.dotnet.languages.vb

Well I made sure the Config file is present in the same directory as the
application file.
The applications does not recognize the config file at all. Its just
throws up a exception which i catch in my source code if the config file
is not present.

I have a hunch. My developement was on .NET Framework 1.03 and currently
loaded .NET framework 1.1 on my target machine would that create a
problem

thanks

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!


Nov 20 '05 #4

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

Similar topics

0
by: Oleg Ogurok | last post by:
Hi all, It seems a Web Deployment Project always installs as "Just Me". I have a merge module project that has to install as "All Users" as part of my web application. This is because in "File...
1
by: Ofer Berkovich | last post by:
Hi, I have some projects (VS .NET C#), for each project I have a deployment project to produce msi. I want to make a deployment project that will include all the other msi project, to install...
7
by: dhussong | last post by:
I have created a Setup and Deployment project in Visual Studio.NET 2003. After my installation has completed running I'd like to launch the EXE that I just installed. I've found how to launch the...
4
by: Zany | last post by:
I added a Web Deployment Project so I can create a debug, staging, and release version. Each set is compiled and saved in a separate folder under the csproj_deploy folder. All works fine. Here's...
2
by: MarkusJNZ | last post by:
Hi, we have an existing solution which contains a bunch of C# projects and one weployment project. Initially I did not have the web deployment project installed on my computer so I downloaded...
10
by: =?Utf-8?B?Q2h1Y2sgUA==?= | last post by:
In a web deployment project I want to encrypt the connection strings. I use to do this with a batch file with something like this. aspnet_regiis.exe -pef "connectionStrings" ..\ -prov...
3
by: =?Utf-8?B?RHVrZSAoQU4yNDcp?= | last post by:
I've added a web deployment project and want to use the config section replacement but I'm obviously not understanding something. I have set up an alternate appSettings file,...
1
by: kirk.quinbar | last post by:
Have you ever used a .net deployment project to install a windows service? If so, then i ran into an issue recently that maybe you could shed some light on. I am sure I probably did something...
7
by: Cirene | last post by:
I used to use the Web Deployment Project with my VS2005 projects. Now I've fully upgraded to VS2008. Do I have to download a new version of the Web Deployment Project? If so where can I find...
0
by: dfrench | last post by:
I have a visual studio 2008 solution(win forms) I have a Deployment project with it to install the software I upgrade the version number on the deployment project and build it When I run this on...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
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...

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.