Ask the Expert

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

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: