Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 SQL Server 2005 Express Assemblie Error

Author  Topic 

womalley
Starting Member

2 Posts

Posted - 2006-03-11 : 12:54:19
Please help on this. I have looked all over and can not find a solution; Here is the error message:

Request for the permission of type 'System.Data.SqlClient.SqlClientPermission, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

What the assemblie is trying to do is connect back to the server, hit a table and list the results.

Using C# 2005 Expresss:
Here is the Connection string:

ConnectionString = "packet size=32767;integrated security=SSPI;data source=SERVERNAME\\SQLEXPRESS;persist security info=False;initial catalog=Production;application name=test;pooling=false";

As I have said I am having serious trouble here.
Any help would be great!

Thanks
Will

womalley
Starting Member

2 Posts

Posted - 2006-03-13 : 12:40:17
no one can help?

Will
Go to Top of Page
   

- Advertisement -