Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trying to Redirect To a .PDF file
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01060026
Message ID:
01060052
Vues:
18
Just a SWAG, but have you tried doing Response.Clear before doing the Redirect? Maybe there's something going on in your code before the Redirect that's causing a problem.

If that doesn't help, what's the HTTP error code?


>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
Rick Borup, MCSD

recursion (rE-kur'-shun) n.
  see recursion.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform