Solved

Using DataFactory With An Access Database

Posted on 2007-11-23
5
321 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Recently while returning home from work my wife (another .NET developer) was murmuring something. On further poking she said that she has been assigned a task where she has to serialize and deserialize objects and she is afraid of serialization. Wha…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

743 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now