Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
2
Answers
Connecting to Access MS 2013 issue
Mohammed Rizk
10y
2.7k
1
Reply
I am trying to connect to an access Data base MS 2013 through the code and here is the code that i used
"
OleDbConnection MyAccessConn = new OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=|DataDirectory|\\Test.accdb;");
MyAccessConn.Open(); "
and when i run the programmed it gives me this Error
"
An unhandled exception of type 'System.InvalidOperationException' occurred in System.Data.dll
Additional information: The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine. "
Please Help
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
print a line after 10 rows of the first line in c#
sms