Accessing database from network

0 views
Skip to first unread message

Nick

unread,
Dec 24, 2008, 4:22:25 AM12/24/08
to DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting
Hi guys,
I need help for following issue.
I got a project of VB.net with Access database on suppose 'x' pc on my
company network.
I want to run it's exe on network from 'y' pc on the same network.
both the pc are connected through LAN. Since the project is on x pc it
runs fine on it, but when I run the same exe on y (on My Network
Places) it starts running. But it could not able to connect to it's
Access database. It shows the following error :-
Request for permission of type 'System.Data.Oledb.Oledbpermission,
System.data, Version=2.0.0.0, Culture=neutral,
PublicKueyToken=b77a5c561934e089' failed.

It doesn't matter if your database is access or sql it throws this
similar error.

The_Fruitman

unread,
Dec 24, 2008, 6:45:03 PM12/24/08
to DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting
Does the user have rights to access the database from the network?

http://msdn.microsoft.com/en-us/library/system.data.oledb.oledbpermission.aspx

Are you using the correct connection string?

www.connectionstrings.com

Have you Googled for solutions?
Reply all
Reply to author
Forward
0 new messages