We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

System.Data.SqlClient.SqlClientPremission Error, Help~~~

I have been all over and have no clue how to make my WinForm.exe program run on every computer. I am connecting to a SQL2000 server database and my program has been working fine on my computer. When anyone else in my office tries to run the .exe I get this error: System.Security.SecurityException: 型別 System.Data.SqlClient.SqlClientPremission, System.Data, Version=1.0.5000.0, culture=neutral, PublicKeyToken=b77a5c561934e089 的使用權限要求失敗。 Is there a way inert something to my program so that is can be run in anywhere of my network? Any help is greatly appreciated! Thanks!

1 Reply

AD Administrator Syncfusion Team January 14, 2004 04:03 AM UTC

I have found the solution and talk you gay. The configuration tool and .net admin wizards can be found in the Administrative tools section. Walking though the Trust an Assembly wizard and pointing it at your application should take care of the problem.

Live Chat Icon For mobile
Up arrow icon