Problem with App path
From: Jims (biz_at_neocasa.net)
Date: 09/20/04
- Next message: Jeff Cochran: "Re: Error Sending mail using IIS6 SMTP"
- Previous message: hpux9_at_nospam.nospam: "iis 6 HTTP Compression and .class Files"
- Next in thread: David Wang [Msft]: "Re: Problem with App path"
- Reply: David Wang [Msft]: "Re: Problem with App path"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 20 Sep 2004 10:59:55 -0400
I have a simple asp app on a W2K server and am having trouble creating the
application path. The app sits in ..inetpub\wwroot\MyApp.
There is a folder called _support under \MyApp\ that has some include files.
The inc file are referenced in an asp file on the root of \MyApp\.
I've made the \MyApp\ directory an application in inetmgr and the properties
say the app path is <web root>\MyApp.
The problem is the asp code still sees the application root as wwroot
instead of wwroot\MyApp. So the asp code that calls the include files in
\_support returns a server error 500. If I modify the asp to include the
path \MyaApp\_support then everything works.
I thought making a directory an application in inetmgr would make that
directory (MyApp) the root of the app? How can I make MyApp be the root of
the app. We don't want to have to modify the paths in all the asp code and
it doesn't seem like a best practice.
Thanks,
Jim
- Next message: Jeff Cochran: "Re: Error Sending mail using IIS6 SMTP"
- Previous message: hpux9_at_nospam.nospam: "iis 6 HTTP Compression and .class Files"
- Next in thread: David Wang [Msft]: "Re: Problem with App path"
- Reply: David Wang [Msft]: "Re: Problem with App path"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|