Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Response.Redirect problem

Status
Not open for further replies.
Joined
Nov 29, 2001
Messages
72
Location
US
I am trying to use Response.Redirect to navigate to a shared folder on another server. When I use the direct route, i.e. "F:\ReportData\blah blah blah" it works fine.

However, I will need to use the network name for it because it is part of our company Intranet. When I use the network share "\\pobnt378\ReportData\blah.htm" Response.Redirect preceeds it with a " which is the actual web location of that particular page and then appends the location I passed it. Naturally I get a "page not found" error.

Is there another way to navigate to a network shared folder to display a .htm file without using Response.Redirect?

Thanks in advance,
Dave
 
U have to get the html and then Response.Write with that html code. ________
George, M
 
Thanks shadow but I figured it out.
Actually, I was trying to do a response.redirect to a .htm file on network shared folder. I needed to tell the redirect that this was a file and not a URL to prevent the reformatting of it. Therefore, I had to make sure the path looked like:
file:\\\pobnt378\ReportData\blah.htm

This works perfectly.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top