Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

ASP Error 0131

LEGEND ,
May 24, 2006 May 24, 2006
How do you guys handle this?

I develop on an XP Pro machine. As you know, XP Pro can support only one
website, so all other websites must be in subfolders of wwwroot.

Inserting a database connection onto a page will generate a <!--#include
file="../Connections/file.asp" --> on line 2. This works fine on localhost,
but when I copy the files to the production server, the path is no longer
correct, because parent paths are (supposedly) disabled.

I can change the include to virtual, but then it doesn't work on localhost
because the path isn't right anymore.

How do you guys handle managing multiple sites on one XP Pro machine?


TOPICS
Server side applications
369
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
May 24, 2006 May 24, 2006
Ted,

This TechNote explains how to update DW to generate Site Root relative
paths for Conenction include files:

http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_16573

HTH,
Randy


> Inserting a database connection onto a page will generate a <!--#include
> file="../Connections/file.asp" --> on line 2. This works fine on localhost,
> but when I copy the files to the production server, the path is no longer
> correct, because parent paths are (supposedly) disabled.
>
> I can change the include to virtual, but then it doesn't work on localhost
> because the path isn't right anymore.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
May 25, 2006 May 25, 2006
Thank you. I have seen this article. It does not address how to make the
include or virtual file paths the same in both the development machine as
well as the production server.

How do you handle developing multiple sites on XP Pro?




"Randy Edmunds" <redmunds_nospam@adobe.com> wrote in message
news:e53frl$s0s$1@forums.macromedia.com...
> Ted,
>
> This TechNote explains how to update DW to generate Site Root relative
> paths for Conenction include files:
>
> http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_16573
>
> HTH,
> Randy
>
>
>> Inserting a database connection onto a page will generate a <!--#include
>> file="../Connections/file.asp" --> on line 2. This works fine on
>> localhost, but when I copy the files to the production server, the path
>> is no longer correct, because parent paths are (supposedly) disabled.
>>
>> I can change the include to virtual, but then it doesn't work on
>> localhost because the path isn't right anymore.


Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
May 25, 2006 May 25, 2006

"Ted Dawson" <screamer48@hotmail.com> wrote in message
news:e544ra$ohh$1@forums.macromedia.com...
> Thank you. I have seen this article. It does not address how to make the
> include or virtual file paths the same in both the development machine as
> well as the production server.
>
> How do you handle developing multiple sites on XP Pro?
>

what I do is have a folder where I put all my sites... like websites\site01
and website\site02

I then go into the IIS Manager and right-click on the "default web site"
(since as you know it can only do 1 at a time), and then choose Properties
from the popup menu. On the HOME DIRECTORY tab, just go in and point the
default site Local Path to the another folder that contains your other site
you're working on.


Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
May 25, 2006 May 25, 2006
LATEST
You have to define a "DW Site" for each "web site". Each DW Site has
it's own Connections folder, so if you are sharing connections, then
you'll have to make copies.

HTH,
Randy


> I have seen this article. It does not address how to make the
> include or virtual file paths the same in both the development machine as
> well as the production server.
>
> How do you handle developing multiple sites on XP Pro?
>
>
>> http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_16573
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines