SQL 2005 Connection

  • Thread starter Thread starter Steven
  • Start date Start date
S

Steven

I am new to VS2005 and I am creating a VB.NET app that connects to SQL
Server
2005 using ADO.NET. When I try my connection I get:

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

From what I can gather, this has something to do with the "Visual Studio
Hosting Process" in VS2005, but I do not know how to work around this or how
to use the correct settings.

Can anyone shed some light?

Steve
 
Make sure the SqlClientPermission is available - what zone are you rnning
under?
 
Back
Top