Request for the permission of type xxxx failed.

  • Thread starter Thread starter Marius Horak
  • Start date Start date
M

Marius Horak

I have a window application written in c#.
It connects to a remote SQL Server but it fails to execute any store
procedure.

The error is:
"Request for the permission of type
System.Data.SqlClient.SqlClientPermission, System.Data, Version=1.0.5000.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089 failed."

I'm a new to dotnet and after reading a number of MSDN pages I have no idea
how to make it work.
And I'm desperate.

Thanks

MH
 
How are you running the application? This sounds like you are running it
using no-touch deployment, but haven't given the application the permissions
it needs to connect to SQL server.

Robert
 
Back
Top