954,505 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

'System.Data.OleDb.OleDbPermission, System.Data, Version=2.0.0.0, Culture=neutral, Pu

I'm developing an inhouse application for my School Board. Visual Studio 2005 C# is a work in progress for me, so there's lot's I still don't know. The program I'm developing is meant to run on a network. Buy that I mean i execute the program from of a sever, not the local computer.

when i execue the program locally, I don't have a problem. When i run the program of a server, this is what I get

'System.Data.OleDb.OleDbPermission, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=#############' failed, (# replaces actual digits)

Help, and thanks for reading this

robertomason
Newbie Poster
2 posts since Feb 2008
Reputation Points: 10
Solved Threads: 0
 

I have the same problem as you have.
Did you solved it ? If so can you tell me how please.

29kiteman
Newbie Poster
1 post since Jan 2009
Reputation Points: 10
Solved Threads: 0
 

Check the version of the DLL on your dev box versus the machine it fails on

LizR
Posting Virtuoso
1,791 posts since Aug 2008
Reputation Points: 196
Solved Threads: 190
 

It is definitely a DLL problem. Your server and local machine may not be using the same version of Oledb.

virang_21
Light Poster
29 posts since Jan 2009
Reputation Points: 10
Solved Threads: 2
 

It is definitely a DLL problem. Your server and local machine may not be using the same version of Oledb.
how can i solve this problem

shekharojha
Newbie Poster
1 post since Mar 2009
Reputation Points: 10
Solved Threads: 0
 

http://bytes.com/groups/net-vb/542979-permission-problem

It looks like it is a .NET trust (security) issue...

sknake
Industrious Poster
4,954 posts since Feb 2009
Reputation Points: 1,764
Solved Threads: 735
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You