close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Document-relative parent path being ignored by web server - Classic ASP, include files

Thread began 4/01/2015 7:59 pm by Lon Winters | Last modified 4/16/2015 11:47 am by Ray Borduin | 1951 views | 3 replies |

Lon WintersBeta Tester

Document-relative parent path being ignored by web server - Classic ASP, include files

I've been working with ASP and Windows servers for over a decade and this is the first time I've encountered this. I also posted over at the Adobe site, but this may impact WA users who still use ASP extensions.

GoDaddy informed us that our current hosting platform was on its way out and we should migrate to the new servers. This involved a site built with classic ASP and MSSQL. I migrated the database using SQL Server Management Studio without any problems.

But on the new site, I noticed that ASP include files did not work when they were a level or more above the host file. FOr example, a file in a 1st-level sub-folder referenced the Connections folder via the typical include using "../Connections/". The page produced an internal server error (the server is also ignoring the web config file that is supposed to display detailed error messages). I verified this by copying the Connections folder to the same level and editing the include path accordingly and it worked.

This also affected all include files that were placed by WA extensions. I also noticed some other issues that seemed to be either due to the web server, or, the current version of DW CC.

I'd like to know if anyone else has migrated or built a site in ASP on the GoDaddy Windows Plesk hosting accounts and if you noticed similar issues. And yes, this was the last site I built using ASP - I switched over to PHP and MySQL and haven't looked back.

Sign in to reply to this post

Lon WintersBeta Tester

One source I came across indicated that parent paths are not enabled by default in a Windows server.

This affects all WA extensions I've used, as well as the typical include to the Connections folder placed by Dreamweaver itself.

My solution was too install DW CS6 which is available with the CC membership. This version of DW is much for WA extension friendly, and I don't see any reason to use any of the CC versions at this point

Question: When setting up a site definition, one of the settings is whether to use document or root relative links. Does this setting affect how WA configures it's include files? I can see where it affects simple things like the typical hyperlinks and insert image paths, but then are are various include files for ASP and PHP and paths to CSS files like what are used in Menu Writer.

I've always used docuent relative paths but what are the pros and cons which to use, especially when it comes to WA extensions?

Sign in to reply to this post

Ray BorduinWebAssist

Both the default Dreamweaver server behaviors as well as WebAssist's will change the syntax of include files based on that setting. It is best to use document relative paths in almost all cases unless specifically required to use absolute for some reason.

Sign in to reply to this post
Did this help? Tips are appreciated...

Lon WintersBeta Tester

Thanks Ray for the confirmation.

I was also able to confirm that I had to manually enable Parent Paths in the Plesk Control panel. This, as mentioned above, is on GoDaddy Windows. I can't say whether its the same for other hosts, Linux or whatever else.

The solution was to go under "Virtual Directories" and select the host directory, and the option was in there.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...