Hi All
I have a .pdf file in my VS2010 ASP.net web application thats located in a folder off the project folder called "CV" like
project\CV\MyFile.pdf
When I run the Web app and select the page to display the .pdf all works well.
When I publish the project the .pdf file cannot be found. Ive located the physical folder and .pdf file on the inetpub\wwwroot\project\CV\MyFile.pdf
so I know the file and folder have been created and exist.
Heres the code I use to display the .pdf:-
<object width="900" height="1200" type="application/pdf" data="../CV/Profile.pdf?#zoom=85&scrollbar=2&toolbar=0&navpanes=0©ing contents=0" id="pdf_content"><p>Sorry, but I cant find the document.</p></object>
Any ideas why my live app cant find the file even though the location and file exist?
Hope that makes sense.
tia