Crystal Reports images not visible in web viewer

前端 未结 5 1059
广开言路
广开言路 2021-01-19 14:31

I have some Crystal Reports (V10) in an application (.NET 1.1) I inherited that is deployed in four \"identical\" environments. In three of the environments, they are workin

5条回答
  •  [愿得一人]
    2021-01-19 15:23

    I recently experienced this very issue: although my resolution was a little different:

    • I tried setting the handler in the web.config but that didn't fix it.
    • I tried setting scripts & executables in IIS but that didn't fix it.

    Once I went into the C:\Program Files\Common Files\Crystal Decisions\2.5\crystalreportviewers10 folder and turned off custom errors I could see the error was coming from an access denied issue on C:\Windows\Temp\

    The solution was then to not and handlers or alter IIS to run scripts and executables, it was to allow the Network Service to read permission on C:\Windows\Temp\

    EDIT: Think I've found another solution which doesn't require permission changes... just set a virtual directory for aspnet_client; the level at which you select this will very much depend on your IIS layout.

提交回复
热议问题