SQL 2005 Connection

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
 
W

W.G. Ryan - MVP

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top