Re: Why the .pdf can not be shown?
- From: "Juan T. Llibre" <nomailreplies@xxxxxxxxxxx>
- Date: Wed, 22 Feb 2006 12:43:39 -0400
The problem is :
src="c:\DeptFiles\shs_test.pdf"></iframe>
Try using a valid virtual path for the file.
i.e., for example :
src="/somevirtualdirectory/shs_test.pdf"></iframe>
Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Andrew" <Andrew@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:79EB9987-9DCA-4C46-9A24-DE39CAF55DFA@xxxxxxxxxxxxxxxx
Hello, friends,
I developed a web page with the following statement as part of it:
<td width="80%" height="800" valign="top">
<iframe width="100%" height="100%"
src="c:\DeptFiles\shs_test.pdf"></iframe>
</td>
It worked fine in dev machine (in a local network).
However, after deploying it to the server and running it on server IE, to my
surprise, this <td></td> cell was blank!
I then run it through internet, I got a message saying "Action Cancelled:
Internet Explorer was unable to link to the Web page you requested. The page
might be temporarily unavailable.", I could not even see the rest of the web
page.
Any ideas? Help please! Thanks a lot.
(I thought it could be IE security setting issue, but not sure and not to
know how/why)
.
- Prev by Date: Re: Not getting values from DropDownLists in User Controls
- Next by Date: Re: how did a singleton object achieve application scope in asp.net when it was declared a page variable?
- Previous by thread: ASP .NET and client's MAC address
- Next by thread: Re: Why the .pdf can not be shown?
- Index(es):
Relevant Pages
|