Link to home
Create AccountLog in
Avatar of curiouswebster
curiouswebsterFlag for United States of America

asked on

Getting a "Crystal Reports Windows Forms Viewer" error on load

I have been given read/write permissions on a Windows server in my company's network. I have the program working on my machine, but I get an error on program load, and the Crystal Report is not shown subsequently.  This is a C#.NET WinForms application.

The error is:
Crystal Reports Windows Forms Viewer
Request for permission of type 'System.Security.Permissions.EnvironmentPermission
mscorlib
Version 2.0.0.0
Culture=neutral
PublicKeyToken=b77a5c561934e089 failed

Does anyone know what to do to solve this problem?

Do I need to copy the ".rpt" file to the drive?  I did, but that did not make a difference? Do I need to copy DLL's?

Hope to hear from you.


thanks,
newbieweb
ASKER CERTIFIED SOLUTION
Avatar of Éric Moreau
Éric Moreau
Flag of Canada image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
SOLUTION
Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.