473,406 Members | 2,217 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Response.Redirect Not Working After XP Service Pack 2 Install

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)

Nov 19 '05 #1
2 1455
you need to Response.Redirect() to a valid URL

--
Curt Christianson
site: http://www.darkfalz.com
blog: http://blog.darkfalz.com

"cc*******@noblecorp.com" wrote:
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)

Nov 19 '05 #2
You can't redirect to drive-based files.
You need to redirect to virtual URLs.


Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

<cc*******@noblecorp.com> wrote in message
news:11**********************@g47g2000cwa.googlegr oups.com...
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)

Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: RL | last post by:
On a Windows XP Pro system Using Windows Update I let it scan for updates - the only one it finds is "Microsoft .NET Framework Service Pack 2, English Version". (I have already installed Service...
2
by: Don Peters | last post by:
In spite of trying various ways of loading .NET Framework 1.1 Service Pack 1 under my new WinXP Service pack 1, I was unable to get it to install. Typically, the installation would hang after a...
1
by: tilak.negi | last post by:
Hello!!! I want to switch to SQL SERVER 2000, Service Pack 4 from Service Pack 3. So please advice, what all points need to consider. Also please share the experience, if someone have done...
0
by: InstallAware | last post by:
Dear Group If you want to perform a slipstreamed install of .NET Framework 1.1, including Service Pack 1, here's how. First, what do we mean by slipstreamed install? It means that version 1.1...
18
by: jayderk | last post by:
a customer was trying to install some of our software after they installed the windows XP service pack 2 and he is getting a message that says something about it not being compatable with windows...
1
by: AspDotNetDeveloper | last post by:
Hello, I have Windows 2003 Server with .Net Framework 1.1 installed (part of the OS), and have used Windows Update to install the Service Pack 2 (the only way you can install it). The install...
16
by: Bruce A. Julseth | last post by:
I have VS 2002 and have NOT installed XP SP 2 on my XP Professional system. I seem to recall that SP 2 would mess up VS. Is this true? Thank you...
15
by: KBuser | last post by:
I recently developed an internal website with various queries against our SQL server. I added buttons with Response.Redirect. These buttons do not work with Internet Explorer, however when using...
5
by: yoinks | last post by:
Have vs.net 2005 loaded and am trying to install service pack 1 for 2.0 and get the following error. What do I have to un-install to install the service pack. Another verison of this product...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.