Re: Why the .pdf can not be shown?

Tech-Archive recommends: Fix windows errors by optimizing your registry



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)


.



Relevant Pages

  • Re: 0x8001010e The application called an interface that was marshalled for a different thread.
    ... at the server. ... Microsoft MVP, MCSD ... MVP VC FAQ: http://www.mvps.org/vcfaq ... > creates a stream, CoMarshalInterface's this pointer to the stream, ...
    (microsoft.public.vc.atl)
  • VC++ FAQ moved
    ... With the help of Karl Petterson, we've moved tonight the old MVP VC++ FAQ ... over to the new MVPS.ORG server. ...
    (microsoft.public.dotnet.languages.vc)
  • Re: SQL SERVER 2000 or MDE
    ... Juan T. Llibre, asp.net MVP ... asp.net faq: http://asp.net.do/faq/ ... SERVER 2000. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Accessing Email
    ... >>You can disable the protocol at various levels, the user, ... >the server ... Mark Arnold MCSA MCSE+M MVP, ... FAQ: http://www.swinc.com/resource/exchange.htm & ...
    (microsoft.public.exchange.admin)
  • alt.2600 FAQ Revision .014 (1/4)
    ... The "Survival Guide" is a supplement to this FAQ and should be considered to be part of it. ... How do I attack a remote network across the Internet? ... This involves translations in which several different values are represented by the same character, which is why Unix passwords cannot be decrypted. ... The audit server database is called SYS$COMMON:VMS$AUDIT_SERVER.DAT and the audit log file is SYS$COMMON:SECURITY.AUDIT$JOURNAL. ...
    (alt.2600)