I have a VB.NET program (part of a ASP.NET web solution)that is designed to read through a table and generate reports (Crystal Reports) based on some parameters. This all works fine on the development box, but when we put it on the server, I get an "Unhandled exception...system.security.securityexception".
The vb program was created as it own project part of the overall solution. I have added the "CrystalDecisions.CrystalReports.Engine" & "CrystalDecisions.Shared" references in the reference section of the project. I also have the following in the code....
Imports CrystalDecisions.CrystalReports.Engine
Imports CrystalDecisions.Shared
Through a bit of testing, we have determined that the app fails at this statment....
'// Create an instance of the untyped report object
crReportDocument = New ReportDocument
Any help to get this working would be greatly appreciated.
Thanks!
Jeff
The vb program was created as it own project part of the overall solution. I have added the "CrystalDecisions.CrystalReports.Engine" & "CrystalDecisions.Shared" references in the reference section of the project. I also have the following in the code....
Imports CrystalDecisions.CrystalReports.Engine
Imports CrystalDecisions.Shared
Through a bit of testing, we have determined that the app fails at this statment....
'// Create an instance of the untyped report object
crReportDocument = New ReportDocument
Any help to get this working would be greatly appreciated.
Thanks!
Jeff