When I try to connect to a data base I am getting the following error. Please help me.

Request for the permission of type 'system.Data.OleDb.OleDbPermission,system.Data, Version = 2.0.0.0, Culture = neutral, PublicKeyToken = b77a5c561934e089'failed.

DotNetAmat

post your code to get better help from here

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.