Are you trying to run this app from a network share? If so then you'll need to set the security level correctly. The utility is called "caspol". Here is an article that helps explain how to set up the different security levels. Just scroll down to the Security section.
http://www.andymcm.com/dotnetfaq.htm>All
>
>I'm trying to learn how to work with Crystal Reports and VB.NET. I'm using SQL Server to connect. I was able to create a windows app with a CrystalReportViewer plus an actual Crystal Report. But I received the following error when I tried running the form.
>
>"An unhandled exception of type 'System.Security.Security.Exception' occured in Test1.exe Additional information: Security error."
>
>What am I doing wrong? Anyone out there that can help, please respond either here or click on the envelope to send me a direct email.
>
>Thanks in advance!
>
>Nicky
-----------------------------------------
Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.comwww.prenia.comWeblog: blogs.prenia.com/cathi