473,387 Members | 1,812 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.

Solution Deployment Folder Issue

Hi,

I have a problem with the deployment of my software. I have built my
system using the following structure c:\inetpub\wwwroot\Myfolder.

When I deploy my system i do not really deploy my folder but the
contents of it to my directory on the host website.

Stupidly ive built the system with path names that include the MyFolder
reference. E.g. /Myfolder/images/test1.gif. My issue is how i replace
this pathname with a relative path that will allow my application to
run on both my development pc and the server.

My second issue is regarding this :-

<%@ Page Language="vb" AutoEventWireup="false" aspcompat=true
Codebehind="frm_AmendProposal.aspx.vb"
Inherits="Myfolder.frm_AmendProposal"%>

Im sure this is probably straight forward but do i also remove the
MyFolder reference in the top part of the HTML also ????

Just looking for some advice on this before i try it later - im sure
someone out there has had this problem previously.

CG

Nov 19 '05 #1
1 1138
CG,

You will be able to replace your paths a few different ways depending on
where the paths are coded. If you are assigning a path in the code behind
you can use the tilde to indicate the base directory "~/images".

Most often for image paths you'll want to use a virtual reference, just use
"/images" or depending on your code / site structure you may need to
indicate moving up in the directory "../images" or up two directories
"../../images"

The most likely solution for what you've shown is using "/images".

As for your second question Myfolder becomes a namespace. Leave that.

Also, you shouldn't be deploying all of the files in Myfolder out to your
site. A lot of the files are unecessary for a production site and are only
there for the development environment.

I have an explanation of the most common steps to take for deploying only
the necessary files for a website from Visual Studio.Net on my website,
www.aboutfortunate.com. If you click the "Code Library" link at the top and
then use the search box that will appear to search for: "Necessary Files"
you'll get a short step-by-step tutorial for deployment.

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
"csgraham74" <cs********@hotmail.com> wrote in message
news:11*********************@g44g2000cwa.googlegro ups.com...
Hi,

I have a problem with the deployment of my software. I have built my
system using the following structure c:\inetpub\wwwroot\Myfolder.

When I deploy my system i do not really deploy my folder but the
contents of it to my directory on the host website.

Stupidly ive built the system with path names that include the MyFolder
reference. E.g. /Myfolder/images/test1.gif. My issue is how i replace
this pathname with a relative path that will allow my application to
run on both my development pc and the server.

My second issue is regarding this :-

<%@ Page Language="vb" AutoEventWireup="false" aspcompat=true
Codebehind="frm_AmendProposal.aspx.vb"
Inherits="Myfolder.frm_AmendProposal"%>

Im sure this is probably straight forward but do i also remove the
MyFolder reference in the top part of the HTML also ????

Just looking for some advice on this before i try it later - im sure
someone out there has had this problem previously.

CG

Nov 19 '05 #2

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

Similar topics

3
by: Cuperman | last post by:
Hi all, I have an XML file that I reference in my windows application I access it using - Application.StartupPath & "/ini.xml" During development this resides in the Bin folder, it appears...
1
by: Sunny | last post by:
Hi I have a Database Application that i am trying to install on the Clients machine, the application uses three custom Ms access Databases. Those database i added in the correct folder in the SETUP...
4
by: Vai2000 | last post by:
Hi All, I have a doubt on WS. Initial deployment of an asp.net app which calls a websvc includes copying all the webreferences and proxy files (including the .cs files of the proxy) If I build a...
3
by: Boxman | last post by:
Hi I have been asked to migrate a long-standing and stable asp.net application from a W2k server on one NT domain on our intranet to another W2k server on another NT domain also on our intranet....
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...
5
by: Tim Marsden | last post by:
HI, I am developing a application in vb.net. I split down my functionality into several separate DLL's. The solution is becoming very large, nearly 100 projects, each project a dll's. There is...
0
by: blkwebman | last post by:
I'm trying to create a "standalone" install package (without any of the dialog boxes that a standard setup package would have). I think I understand how to do it in VB6 (using PDCmdLn.exe); I have...
4
by: | last post by:
I have learned about compartmentalizing my code base using Class Libraries. I have my common code such as my ORM framework broken out into their own Class Libraries, which are referenced as...
1
by: Blau | last post by:
While trying to learn from some sample projects i'm running into a problem. The setup that I have is One Solution with two projects. (usually a library that is being developed along side an...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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: 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.