thank you christopher.
Ihave my connection string set (i think)
here's how it looks like:
DataBase=master; Trusted_Connection=Yes;
Network Address=***. *** . *** . ***,1433\SQLEXPRESS ;Network Library = dbmssocn
the application works just fine on my computer using this string.
now the new error, when i try to open it remotly from another computer, is the following:
'''''''''''''''''''''''
Application attempted to perform an operation not allowed by the security policy. To grant this application the required permission, contact your system administrator, or use the microsoft .NET Framework Configuartion tool.
************** Exception Text **************
System.Security.SecurityException: Request for the permission of type 'System.Data.SqlClient.SqlClientPermission, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet)
at System.Security.PermissionSet.Demand()
at System.Data.Common.DbConnectionOptions.DemandPermission()
.....
******************
'''''''''''''''''''''
I tryed different things to adjust the security policy on the server but it always gives me the same error.
what i need to knowis the following:
- first of all is theresomething wrong withmy connection string?
- if anyone had a similar problem, how did you solve it
- a simple walkthrough on how to adjust my security
- could it be the security on the clients computer that cause this problem?
thank you all for your help.
regards