Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Works in Development, but not on the SERVER

Status
Not open for further replies.

jsblakley

Programmer
Jun 25, 2003
14
US
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
 
Have you tried something as simple as setting that project's settings ready for deployment and not debugging? Usually, if something works on the development machine and not the the production server, it is usually something as overlooked as the setting set for debugging or deployment...

Let me know...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top