G
Guest
How do I deploy my Win Form application to other computers on the network. I
tried "Build Solution" and "Build ProjectName", and then I run the exe out of
the bin folder and get the error about "not allowed by the security policy…..
Request for the permission of type System Data.SqlClient.SqlClientPermission,
System.Data…." : "
System.Security.SecurityException: Request for the permission of type
System.Data.SqlClient.SqlClientPermission, System.Data, Version=1.0.5000.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089 failed.
at System.Security.CodeAccessSecurityEngine.CheckHelper(PermissionSet
grantedSet, PermissionSet deniedSet, CodeAccessPermission demand,
PermissionToken permToken)"
My Win Form application connects to MS SQL 2000, the connection string is in
App.config file.
tried "Build Solution" and "Build ProjectName", and then I run the exe out of
the bin folder and get the error about "not allowed by the security policy…..
Request for the permission of type System Data.SqlClient.SqlClientPermission,
System.Data…." : "
System.Security.SecurityException: Request for the permission of type
System.Data.SqlClient.SqlClientPermission, System.Data, Version=1.0.5000.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089 failed.
at System.Security.CodeAccessSecurityEngine.CheckHelper(PermissionSet
grantedSet, PermissionSet deniedSet, CodeAccessPermission demand,
PermissionToken permToken)"
My Win Form application connects to MS SQL 2000, the connection string is in
App.config file.