X
Tap here to go to the mobile version of the site.
Your Firefox is out of date and may contain a security risk! Upgrade Firefox

Support Forum

Links created by an ASP page to files in a directory on a web site do not work. The path of the files is not the path in the ASP page.

Posted

When accessing an ASP page on a web site, links are dynamically created for each file in the directory. Normally you can click on the link to open the file. This works correctly in Internet Explorer, Chrome, Safari and Opera. It appears what is taking place is the path of the files links are added to the directory the ASP page is located in instead of the root directory of the web site. So when the links are clicked on to access the files, you get a 404 file not found error.

I am fairly new to using Firefox. Is there a setting that will change how this is handled?

Thanks.

Additional System Details

Installed Plug-ins

  • Shockwave Flash 11.5 r502
  • Adobe PDF Plug-In For Firefox and Netscape 11.0.01
  • The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more information, visit the QuickTime Web site.
  • npsitesafety
  • iTunes Detector Plug-in
  • Next Generation Java Plug-in 1.6.0_37 for Mozilla browsers
  • NPRuntime Script Plug-in Library for Java(TM) Deploy
  • Google Update
  • SiteAdvisor
  • GEPlugin
  • Google Updater pluginhttp://pack.google.com/
  • McAfee Virtual Technician plugin for Mozilla (Gecko Version: 1.8b1)
  • Windows Presentation Foundation (WPF) plug-in for Mozilla browsers
  • DRM Netscape Network Object
  • Npdsplay dll
  • DRM Store Netscape Plugin

Application

  • User Agent: Mozilla/5.0 (Windows NT 5.1; rv:18.0) Gecko/20100101 Firefox/18.0

More Information

Application Basics
Name
Firefox
Version
18.0.1
User Agent
Mozilla/5.0 (Windows NT 5.1; rv:18.0) Gecko/20100101 Firefox/18.0
Build Configuration
about:buildconfig
Extensions
Name
Version
Enabled
ID
cssUpdater
0.5.2
true
info@cssUpdater.com
Firebug
1.11.1
true
firebug@software.joehewitt.com
Illuminations for Developers
1.1.22
true
sroussey@illumination-for-developers.com
Web Developer
1.2.2
true
{c45c406e-ab73-11d8-be73-000a95be3b12}
As You Wish
0.5
false
jid1-9Ddk7IgYYaBCAw@jetpack
AVG Security Toolbar
13.2.0.5
false
avg@toolbar
Java Console
6.0.37
false
{CAFEEFAC-0016-0000-0037-ABCDEFFEDCBA}
Java Quick Starter
1.0
false
jqs@sun.com
LocalLink
0.5
false
{15756614-ffb8-498b-b961-bce537ea94fe}
McAfee ScriptScan for Firefox
15.1.0
false
{D19CA586-DD6C-4a0a-96F8-14644F340D60}
Microsoft .NET Framework Assistant
0.0.0
false
{20a82645-c095-46ed-80e3-08825760534b}
Important Modified Preferences
Name
Value
browser.cache.disk.capacity
358400
browser.cache.disk.smart_size.first_run
false
browser.cache.disk.smart_size.use_old_max
false
browser.cache.disk.smart_size_cached_value
358400
browser.places.smartBookmarksVersion
4
browser.startup.homepage_override.buildID
20130116073211
browser.startup.homepage_override.mstone
18.0.1
dom.mozApps.used
true
extensions.lastAppVersion
18.0.1
network.cookie.prefsMigrated
true
places.database.lastMaintenance
1358881222
places.history.expiration.transient_current_max_pages
87179
privacy.donottrackheader.enabled
true
privacy.sanitize.migrateFx3Prefs
true
privacy.sanitize.timeSpan
0
security.disable_button.openCertManager
false
security.disable_button.openDeviceManager
false
security.warn_viewing_mixed.show_once
false
Graphics
Adapter Description
NVIDIA Quadro FX 5600
Adapter Drivers
nv4_disp
Adapter RAM
Unknown
Device ID
0x019d
Direct2D Enabled
Blocked for your graphics driver version. Try updating your graphics driver to version 182.65 or newer.
DirectWrite Enabled
false (0.0.0.0)
Driver Date
12-17-2008
Driver Version
6.14.11.7864
GPU #2 Active
false
GPU Accelerated Windows
0/1 Basic Blocked for your graphics driver version. Try updating your graphics driver to version 182.65 or newer.
Vendor ID
0x10de
WebGL Renderer
Blocked for your graphics driver version. Try updating your graphics driver to version 182.65 or newer.
AzureCanvasBackend
cairo
AzureContentBackend
none
AzureFallbackCanvasBackend
none
JavaScript
Incremental GC
true
Accessibility
Activated
false
Prevent Accessibility
0
Library Versions
Expected minimum version
Version in use
NSPR
4.9.4
4.9.4
NSS
3.14.1.0 Basic ECC
3.14.1.0 Basic ECC
NSSSMIME
3.14.1.0 Basic ECC
3.14.1.0 Basic ECC
NSSSSL
3.14.1.0 Basic ECC
3.14.1.0 Basic ECC
NSSUTIL
3.14.1.0
3.14.1.0

cor-el
  • Top 10 Contributor
  • Moderator
10756 solutions 96811 answers

Such an issue can be caused by the presence of one or more backslashes in the link text.
Backslashes show up as %5C in links.

Question owner

Thanks for your reply.

There were two backslashes at the root of the link text. When I remove the backslashes there, the page causes a 500 server error. There must be something else causing the problem.

Thanks.

Question owner

I found a workaround for now. I added ".." into the construction of the path to the file, which gets back to the root directory of the web site from where the ASP page is located. I tested this in Internet Explorer and it still works ok.

Thanks.