943,568 Members | Top Members by Rank

Ad:
  • C# Discussion Thread
  • Unsolved
  • Views: 4770
  • C# RSS
Feb 29th, 2008
0

Running program of a network drive

Expand Post »
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
Last edited by robertomason; Feb 29th, 2008 at 11:32 am.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
robertomason is offline Offline
2 posts
since Feb 2008
Jan 16th, 2009
0

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

I have the same problem as you have.
Did you solved it ? If so can you tell me how please.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
29kiteman is offline Offline
1 posts
since Jan 2009
Jan 16th, 2009
0

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

Check the version of the DLL on your dev box versus the machine it fails on
Reputation Points: 196
Solved Threads: 190
Posting Virtuoso
LizR is offline Offline
1,735 posts
since Aug 2008
Jan 18th, 2009
0

Re: Running program of a network drive

It is definitely a DLL problem. Your server and local machine may not be using the same version of Oledb.
Reputation Points: 10
Solved Threads: 2
Light Poster
virang_21 is offline Offline
29 posts
since Jan 2009
Mar 7th, 2009
0

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

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
Last edited by shekharojha; Mar 7th, 2009 at 10:30 am.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
shekharojha is offline Offline
1 posts
since Mar 2009
Mar 7th, 2009
0

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

http://bytes.com/groups/net-vb/54297...ission-problem

It looks like it is a .NET trust (security) issue...
Featured Poster
Reputation Points: 1749
Solved Threads: 735
Senior Poster
sknake is offline Offline
3,948 posts
since Feb 2009

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C# Forum Timeline: Multiple controls progamming
Next Thread in C# Forum Timeline: Execute Stored Procedure From Form





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC