Response.Redirect Not Working After XP Service Pack 2 Install

C

cchisholm

I have a web page in which I am displaying a .pdf file by way of
response.redirect. The pdf file is on my machine along with IIS that
is running the web page. As soon as I upgraded XP pro to service pack
2 the web page was unable to display the pdf file. It is saying that
the page cannot be displayed.

Here is the line of code:
Response.Redirect("c:\Appdev\Ultipro\Ulti_Reports\" & btnS.Text)
 
J

Juan T. Llibre

You can't redirect to drive-based files.
You need to redirect to virtual URLs.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,239
Members
46,827
Latest member
DMUK_Beginner

Latest Threads

Top