Click here to Skip to main content
15,909,953 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Here is the error we are getting when trying
to use CrystalReportViewer with IIS....
but it works fine in development environment.......

OS: XP sp2 ASP.NET 2008
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CSS
Problem occurs when loading .rpt file...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Server Error in '/Production' Application.
Access is denied.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Runtime.InteropServices.COMException: Access is denied.

Source Error:

~~~~~~~~~~~~~~~~~~~~
Posted

1 solution

Sounds like the production environment does not;

a) Have all the necessary components installed or the correct revisions of components.
b) The service/username being used by the IIS username by the site is not authorised to access an area on disk
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900