Permissions error when connecting .NET

When I try to connect a project developed in .NET with SQL Server as back end in the client system, the following error is displayed.
"Request for the permission of type system.security.permissions.fileopermission, mscorlib, version = 1.0.3300.0, culture = neutral, public key = b77a5c561934e089 failed".

    Requires Free Membership to View

I'm presuming this error actually says system.security.permissions.fileiopermission. In that case, this won't be due to accessing SQL Server, at least the direct cause of the error. This error relates to your program not being able to perform I/O operations on a file on the disk. Check your CAS (code access security) settings for the program.

This was first published in January 2006

Join the conversationComment

Share
Comments

    Results

    Contribute to the conversation

    All fields are required. Comments will appear at the bottom of the article.