Click to See Complete Forum and Search --> : How a s/w in c# working in n/w accesses access db from other comp not having access


cheecky_sach
May 19th, 2009, 05:12 AM
hi, my project code works in network when i place my database of access in the computer which has ms-access, but wht to do when the other comp, with which i want to connect doesn't have ms-access, then how will i connect to it and run my project

Shuja Ali
May 19th, 2009, 08:00 AM
I believe MS Access is not required when you are accessing the access mdb file from your C# code. Have you tried it?

cheecky_sach
May 22nd, 2009, 02:08 AM
It throws an exception. MS Access MIGHT not be required, But some files are & thats what I wanna know!!

Shuja Ali
May 22nd, 2009, 02:36 AM
I don't think any files are required. It has been a long time since I worked on MS Access, however I am pretty sure in order to connect to Access Database from C#, we do not need Access installed.

What is the error that your application throws? And in what part of the code does this exception occur.

shaleve
May 25th, 2009, 02:33 AM
I had a simillar problem where I needed to connect many access clients (also written in access) to a master DB. The client computers did not have access. I downloaded "access 2007 runtime":

http://www.microsoft.com/downloads/details.aspx?familyid=d9ae78d9-9dc6-4b38-9fa6-2c745a175aed&displaylang=en

This let me run access clients on those computers. Maybe it also includes the files that you need for c# apps usng access.