Solved

Using DataFactory With An Access Database

Posted on 2007-11-23
5
327 Views
Last Modified: 2008-02-01
Just can't seem to find the information needed for this. Currently developing a vb.net application using the DataFactory to access different types of databases (MSAccess, sql server, oracle etc..). However, not sure how to setup the provider detail to access an MS Access database. Any help would be great.
0
Comment
Question by:cehrnow
  • 3
  • 2
5 Comments
 
LVL 65

Expert Comment

by:rockiroads
ID: 20338701
Havent got that object, and not sure if you are referring to RDS Data Factory.

Does this access go thru ODBC?

Would you be using ADO ?

This is an example using ADO (not ADO.Net) but I expect the provider would be a similar string?

rs.Open "SELECT * FROM mytable", _
      "Provider=MS Remote;Remote Server=http://MyServer;DSN=MyODBC"
0
 
LVL 65

Expert Comment

by:rockiroads
ID: 20338733
I checked MSDN and found this, has more info that what Ive given.

http://msdn2.microsoft.com/en-us/library/ms677519.aspx
0
 

Author Comment

by:cehrnow
ID: 20340243
This is not RDS but basically trying to get a local connection. Using the DataFactory provider "OleDb Data Provider" and the following connection string..

"Provider=Microsoft.Jet.OLEDB.4.0;Data Source="C:\test.mdb";UserName=;Password="

..I get the error: Could not find installable ISAM when trying to access a table.

Any idea how to get connected to this MSAccess database ?
0
 
LVL 65

Accepted Solution

by:
rockiroads earned 500 total points
ID: 20340868
That string looks right. Ive used that in OleDbConnection, didnt bother specifying username and password though as I didn thave security setup.

Have you had a look at the connection strings in here to see if there is anything helpful for datafactory?

http://www.connectionstrings.com/
http://www.carlprothman.net/Default.aspx?tabid=81

0
 

Author Comment

by:cehrnow
ID: 20342847
Problem was with the connection string - I had UserName instead of User Id !!
Many thanks rockiroads.
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question