Where is the best place to create ASP pages

  • Thread starter GhislainTanguay
  • Start date
G

GhislainTanguay

Hi everyone, i work on a ASP (Not .NET but version 3) project. This project
is on our server for development. I use SQL-SERVER, IIS and VB for DLL.
On the server i have create a folder with my project name "Aptitudes" under
inetpub/wwwroot/.


I recently talked with an external consultant and he told me that I did
something wrong when I created my Aptitudes folder.
He said that when we will be ready for transfering the project on a
commercial server everything will go wrong because I didn't put my project
directly under inetpub. Dll will not see my project, and so on...

Is it the truth? I don't understand why it will be so complicated.

Anyone have some good reading for me.

Tks buddy's
 
R

Ray at

If that is the case, that is a poorly designed and unconfigurable dll. Your
site should be able to exist ANYWHERE on the server and it should not
matter. This is more asinine as programs that want to install in C:\Program
Files when you're %programfiles% is D:\program files or your %systemdrive%
is D:.

If this dll only works if your site is in C:\inetpub\wwwroot (or even
%systemdrive%\inetpub\wwwroot), I would curse a refund from the person and
tell him to go fly a kite. That is just awful programming and the person
obviously works in a vacuum.

Ray at work
 
T

TomB

The best place to create an ASP page is on the beach in an equatorial region
;)

I don't see any problem with setting up your folders the way you have. You
may have to be aware of some changes.

For example: if you use a virtual include

<!--#Include Virtual="Aptitudes\IncludeFiles\theFile.asp"-->

then transfer to a "commercial server" without the "Aptitudes" folder.
You'll need to adjust those references.
 
G

GhislainTanguay

I created the Dll ( and put it in the COM+) and this is not my first one
but in th case of ASP yes.
This DLL doesn't have any "hardCode" string.
So, really i cannot see why creating my app right under inetpub is going to
be more easily tranferring than creating it in a subfolder.

I just want some informations if it's true or false to have some arguments
in future conversation with this guy.

If i'm wrong in my thingking ok but if, like I think there is no difference
then i want some arg.
 
A

Aaron Bertrand - MVP

It depends on what the DLL does. For example, it might (for some reason)
have hard-coded links to things based on the /root of your web site...
 
J

Jeff Cochran

Hi everyone, i work on a ASP (Not .NET but version 3) project. This project
is on our server for development. I use SQL-SERVER, IIS and VB for DLL.
On the server i have create a folder with my project name "Aptitudes" under
inetpub/wwwroot/.
I recently talked with an external consultant and he told me that I did
something wrong when I created my Aptitudes folder.
He said that when we will be ready for transfering the project on a
commercial server everything will go wrong because I didn't put my project
directly under inetpub. Dll will not see my project, and so on...

Is it the truth? I don't understand why it will be so complicated.

It may or may not be depending on what path coding you use. If you
duplicate the production paths in the development environement it's a
breeze, but sometimes it isn't possible and sometimes clients will
decide your stuff has to be somewhere else. The ASP DLL doesn't
really care, as long as the proper permissions are in place, and if
you use paths relative to your application's root it's trivial to make
work with any placement.

Many times I've used a simple config file for this purpose, with a
base URL or root designation to account for a client moving the
application somewhere else. It's easier in a database driven site,
but even an include works fine, similar to including a database
connection string for easy modification.

Jeff
 
J

Jeff Cochran

The best place to create an ASP page is on the beach in an equatorial region
;)

Hey! I resemble that remark! :)

Though I more often am found on the back deck than at the beach, I've
written code at the beach, and even sitting in Sloppy Joe's in Key
West. Laptops are great. WiFi is wonderful, and Bluetooth sets you
free. :)

Jeff
 
J

Jeff Cochran

Need a room mate?
That deck sounds nice, too much snow here.

I remember snow. Sort of. Got tired of scraping the windshield with
a credit card and moved to SW Florida.

Jeff
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,444
Messages
2,571,709
Members
48,796
Latest member
Greg L.
Top