S
sumguyb
I've written a Windows application using VB and Visual Studio 2005.
I've used the Data Application Block in the Microsoft Enterprise
Library 2.0 to make all of my SQL calls.
The application runs fine on my local machine but throws a CAS error
on client machines that says:
Request for the permission of type
System.Data.SqlClient.SqlClientPermission
I've read some posts that advise steps to take on the client machine
to overcome this such as granting more rights to different zones or
running caspol, but I have no control over settings on the client
machine. I can't make any changes whatsoever to the client machines
that run the code.
I can only make changes in my program. Is there a way to get around
this?
I've used the Data Application Block in the Microsoft Enterprise
Library 2.0 to make all of my SQL calls.
The application runs fine on my local machine but throws a CAS error
on client machines that says:
Request for the permission of type
System.Data.SqlClient.SqlClientPermission
I've read some posts that advise steps to take on the client machine
to overcome this such as granting more rights to different zones or
running caspol, but I have no control over settings on the client
machine. I can't make any changes whatsoever to the client machines
that run the code.
I can only make changes in my program. Is there a way to get around
this?