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? On Dec 24, 2:22 am, Nick <[email protected]> wrote: > 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.
