Getting a permission error when trying to connect to sql database

Posted by Matt on Stack Overflow See other posts from Stack Overflow or by Matt
Published on 2010-03-31T11:02:57Z Indexed on 2010/03/31 11:13 UTC
Read the original article Hit count: 219

I have a sql server on a dedicated machine, running SQL 2008. I have the IP of the box, a database setup on it.

I've built a small script that just does a connection test, and when I run it, I get the following error.

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

I've been told by the admin that SQL remote access has been granted for my IP address.

Anybody know what's wrong?

© Stack Overflow or respective owner

Related posts about sql

Related posts about sql-server-2008