deploy to a different directory

  • Thread starter Thread starter Paul Bearden
  • Start date Start date
P

Paul Bearden

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
(e-mail address removed)
 
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.
 
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.
 
Back
Top