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

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

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

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

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.