Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trying to Redirect To a .PDF file
Message
General information
Forum:
Visual FoxPro
Category:
Internet applications
Title:
Trying to Redirect To a .PDF file
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01060026
Message ID:
01060026
Views:
56
I have a VFP 8 app that interacts with an ASP web.

I am running into trouble when I try to do an ASP response.redirect to an adobe PDF file.

For example:
Response.Redirect("http://localhost/mypages/myReport.PDF")
The browser returns "Page cannot be displayed" error.

If I copy the exact same URL into the address location field in IE it works fine, and Acrobat reader opens up to view the file. So I know the URL is correct, but for some reason ASP won't let me redirect to a URL that points to a .PDF file.

Any help would be greatly appreciated.

Thanks,

-Steve Kanski
Next
Reply
Map
View

Click here to load this message in the networking platform