Avatar of curiouswebster
curiouswebster
Flag 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
.NET ProgrammingCrystal ReportsASP.NET

Avatar of undefined
Last Comment
Mike McCracken

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Éric Moreau

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
SOLUTION
Mike McCracken

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck