I have a WPF web app and I\"m trying to access a SQL 2000 database, but I\'m getting the following error:
Request for the permission of type \'System.
Your application lacks the necessary permissions to connect to the SQL database. Try running it as an administrator (it may be easiest to simply launch Visual Studio as admin).
Try switching to full trust application.
Full trust + Enable ClickOnce Security Settings make code conect server again.
Curious this PublicKeyToken=b77a5c561934e089', I thoug was the signing my applications, seems MS uses for a generic security setting