Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Access Denied to pdf

Access Denied to pdf

Scheduled Pinned Locked Moved ASP.NET
helpwindows-adminquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    IamAmit
    wrote on last edited by
    #1

    Hello friends, I am displaying my reports in pdf format..This reports are opened in Acrobat Reader 7.0..This is working right on my pc..but on client machine it is giving error..of 'Access Denied'..Is there any setting in IIS to allow pdf file to show or it is the problem of the Acrobat REader? Help me..guys...Thank you..

    C 1 Reply Last reply
    0
    • I IamAmit

      Hello friends, I am displaying my reports in pdf format..This reports are opened in Acrobat Reader 7.0..This is working right on my pc..but on client machine it is giving error..of 'Access Denied'..Is there any setting in IIS to allow pdf file to show or it is the problem of the Acrobat REader? Help me..guys...Thank you..

      C Offline
      C Offline
      Colin Angus Mackay
      wrote on last edited by
      #2

      It is most likely a file permission problem. On your development machine you will be running as yourself (if you are running Visual Studio's built in web server). On IIS your web application will be running in a protected/restricted account. Does the directory that contain the PDFs permit IIS to read its contents? (You can find out which account IIS is using by going to the properties for the website/virtual directory in IIS and selecting the "Directory Security" tab. Then pressing the "Edit..." button in "Anonymous access and authentication control" and seeing what the settings are.

      * Developer Day Scotland 2 - Free community conference * The Blog of Colin Angus Mackay


      Vogon Building and Loan advise that your planet is at risk if you do not keep up repayments on any mortgage secured upon it. Please remember that the force of gravity can go up as well as down.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups