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

deploy to a different directory

I built a web application in C#.Net. It compiles and runs
fine however...

I need to move some of the files to a directory (actually
another web site on the same server) to use the SSL
capabilities. My company is trying to save money by not
paying for any more SSL than absolutely necessary.

When I move the data collection files I
can 'Response.Redirect()' to them but the DLL is trying to
access the 'code behind' from the old location. I am using
runtime variables that use the 'Request.Url.Authority',
etc... to determine what path to use.

Is there some way to tell the application where to find
files outside the web directory that the application
started from?

Thanks!

Paul Bearden
pa*********@sbcglobal.net

Jul 21 '05 #1
2 1380
JV
Project menu -> Copy project

Also, it's quite easy to create a deployment executable so you could run
SETUP.EXE to install or uninstall on separate boxes. There are walkthroughs
in the online help.
"Paul Bearden" <an*******@discussions.microsoft.com> wrote in message
news:17****************************@phx.gbl...
I built a web application in C#.Net. It compiles and runs
fine however...

I need to move some of the files to a directory (actually
another web site on the same server) to use the SSL
capabilities. My company is trying to save money by not
paying for any more SSL than absolutely necessary.

When I move the data collection files I
can 'Response.Redirect()' to them but the DLL is trying to
access the 'code behind' from the old location. I am using
runtime variables that use the 'Request.Url.Authority',
etc... to determine what path to use.

Is there some way to tell the application where to find
files outside the web directory that the application
started from?

Thanks!

Paul Bearden
pa*********@sbcglobal.net

Jul 21 '05 #2
Neither of these options (as far as I can tell) all me
distribute some of the file to a different path than the
rest of the application.

I think this may be a bust... When I use the 'src='
directive instead of 'code behind' I get an error telling
me this is not allowed.

I guess it makes sense. I'm trying to deploy part of one
web application to the path of another. This may create
problems with Application and Session variables.
-----Original Message-----
Project menu -> Copy project

Also, it's quite easy to create a deployment executable so you could runSETUP.EXE to install or uninstall on separate boxes. There are walkthroughsin the online help.
"Paul Bearden" <an*******@discussions.microsoft.com> wrote in messagenews:17****************************@phx.gbl...
I built a web application in C#.Net. It compiles and runs
fine however...

I need to move some of the files to a directory (actually another web site on the same server) to use the SSL
capabilities. My company is trying to save money by not
paying for any more SSL than absolutely necessary.

When I move the data collection files I
can 'Response.Redirect()' to them but the DLL is trying to access the 'code behind' from the old location. I am using runtime variables that use the 'Request.Url.Authority',
etc... to determine what path to use.

Is there some way to tell the application where to find
files outside the web directory that the application
started from?

Thanks!

Paul Bearden
pa*********@sbcglobal.net

.

Jul 21 '05 #3

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

Similar topics

4
by: Larry Brindise | last post by:
I have an asp.net application. I have used VStudio Web Deployment Project to create the MSI file. I copy the MSI file from my developer PC to my test server running Win2003Server Web Edition. I...
2
by: Marcus | last post by:
I have seen many posts of people with the same problem as me (attached below), but I have yet to see any solutions posted. Has anyone figured out how to deploy an Asp.net web site to the webserver...
2
by: Nils Hedström | last post by:
I have a ASP.NET 1.1 project that I want to be able to deploy on my web-servers while they have real traffic (40 requests/second). When I copy the projects assembly in the bin-directory of the...
4
by: bob lambert | last post by:
Help I am trying to deploy to another pc a vb.net std 2002 windows form application. I am confused. I created a project - windows form I built form, compiled and debugged. I created a...
2
by: Paul Bearden | last post by:
I built a web application in C#.Net. It compiles and runs fine however... I need to move some of the files to a directory (actually another web site on the same server) to use the SSL...
2
by: Mike9900 | last post by:
We need to deploy 2 or more projects that share the same assemplies , such as common.dll. And so we need to put all these files in the same //bin directory in the server with common files. But the...
8
by: news.microsoft.com | last post by:
I have two completely distinct ASP.NET (2.0) web applications. They share no code, they have distinct web.config files, they don't even link to each other. During development, they have lived...
4
by: arkgroup | last post by:
I have "MyApp.EXE.config". The file is in my EXE's directory, This directory is my deploy directory and it different then my development directory. I read value and display on the form for...
5
by: Ron | last post by:
Hi all, I am new at .net 2.0 deployment so can any one recommend me a good way or article to follow? What I want to do is (1)to deploy the website on the server2003 with IIS6 (2)we have...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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...
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
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
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...

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.