Integrated Security

angelo34jj

New member
Joined
Sep 24, 2004
Messages
1
Programming Experience
10+
I am trying to access SQL database from a VB.NET application using integrated security. When I execute it, I get an error saying

An unhandled exception of type 'System.Security.SecurityException' occurred in mscorlib.dll
Additional information: Request for the permission of type System.Data.SqlClient.SqlClientPermission, System.Data, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 failed.

Any help is appreciated.

thanks
 

Matrixmatrix

Member
Joined
Sep 30, 2004
Messages
7
Programming Experience
1-3
Hi

This error occurs also without itegrated security. I think you store your application on a server and try to access it from netdrive....
Try to trust this assembly or set the local network security to full trust...........(not really secure :cool:)
 
Top Bottom