Answered by:
Windows 7 not recognising the OLEDB connection to a .MDB data base

Question
-
I am using OLEDB to connect to a .MDB database.
If the code is run in an XP or Vista machine, it works no problem.
However with a Windows 7 machine it does not recognise the connection.
- Moved by Alexander Sun Monday, November 21, 2011 5:42 AM Off topic (From:.NET Framework Setup)
Friday, November 18, 2011 1:29 AM
Answers
-
This forum supports .NET Framework installation and setup.
Your database connection problem may be best addressed here:
http://social.msdn.microsoft.com/Forums/en-US/vstsdb/threads
As your issue is Win 7 specific, you might also try the Technet Win 7 forums:
http://social.technet.microsoft.com/Forums/en-us/category/w7itpro
- Proposed as answer by Alexander Sun Monday, November 21, 2011 5:32 AM
- Marked as answer by Ed Price - MSFTMicrosoft employee Wednesday, November 30, 2011 9:16 AM
Friday, November 18, 2011 2:15 PM -
if you have OleDB as your provider... it is discontinued... but still works with legacy OS.
Try using ACE.
sample from: http://www.connectionstrings.com/access-2007
"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\myFolder\myAccess2007file.accdb;Persist Security Info=False;"
it applies to MS Access 2003 and higher.
- Marked as answer by Ed Price - MSFTMicrosoft employee Wednesday, November 30, 2011 9:16 AM
Friday, November 18, 2011 2:20 PM -
Hi MurrayS,
Welcome to the MSDN forum.
I am sorry that this queue is about .NET Framework Setup. Your problem is related to OLEDB, so I also recommend you go to ASP.NET forum for better support.
ASP.NET forum: http://forums.asp.net/
Sorry for any inconvenience.
Best Regards,
Alexander Sun [MSFT]
MSDN Community Support | Feedback to us
- Marked as answer by Ed Price - MSFTMicrosoft employee Wednesday, November 30, 2011 9:16 AM
Monday, November 21, 2011 5:40 AM
All replies
-
This forum supports .NET Framework installation and setup.
Your database connection problem may be best addressed here:
http://social.msdn.microsoft.com/Forums/en-US/vstsdb/threads
As your issue is Win 7 specific, you might also try the Technet Win 7 forums:
http://social.technet.microsoft.com/Forums/en-us/category/w7itpro
- Proposed as answer by Alexander Sun Monday, November 21, 2011 5:32 AM
- Marked as answer by Ed Price - MSFTMicrosoft employee Wednesday, November 30, 2011 9:16 AM
Friday, November 18, 2011 2:15 PM -
if you have OleDB as your provider... it is discontinued... but still works with legacy OS.
Try using ACE.
sample from: http://www.connectionstrings.com/access-2007
"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\myFolder\myAccess2007file.accdb;Persist Security Info=False;"
it applies to MS Access 2003 and higher.
- Marked as answer by Ed Price - MSFTMicrosoft employee Wednesday, November 30, 2011 9:16 AM
Friday, November 18, 2011 2:20 PM -
Hi MurrayS,
Welcome to the MSDN forum.
I am sorry that this queue is about .NET Framework Setup. Your problem is related to OLEDB, so I also recommend you go to ASP.NET forum for better support.
ASP.NET forum: http://forums.asp.net/
Sorry for any inconvenience.
Best Regards,
Alexander Sun [MSFT]
MSDN Community Support | Feedback to us
- Marked as answer by Ed Price - MSFTMicrosoft employee Wednesday, November 30, 2011 9:16 AM
Monday, November 21, 2011 5:40 AM