﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » Business Objects and Data Access (How do I?)  » Access 2007 &amp; x64 Connections</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 09 Jun 2026 01:52:28 GMT</lastBuildDate><ttl>20</ttl><item><title>Access 2007 &amp; x64 Connections</title><link>http://forum.strataframe.net/FindPost15108.aspx</link><description>Just an FYI...&lt;br&gt;
&lt;br&gt;
Developing on Vista x64 and trying to establish a connection to an Access 2007 database generated this error:&lt;br&gt;
The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine.&lt;br&gt;
&lt;br&gt;
Access 2007 Connection String:&lt;br&gt;
Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\myFolder\myAccess2007file.accdb;Persist Security Info=False;&lt;br&gt;
Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\myFolder\myAccess2007file.accdb;Jet OLEDB:database Password=MyDbPassword;&lt;br&gt;
&lt;br&gt;
The Access 2007 Database Engine currently only has 32-bit support.&lt;br&gt;
&lt;br&gt;
For a .NET assembly built for "Any CPU" (the default platform setting in&lt;br&gt;
build configuration), when it's run on x64 system, the JIT compiler will&lt;br&gt;
compile it as 64-bit process; and we cannot load the 32-bit provider&lt;br&gt;
(driver) in a 64-bit process.&lt;br&gt;
&lt;br&gt;
The workaround is that you have to compile your assembly as a 32-bit&lt;br&gt;
process specificially:&lt;br&gt;
&lt;br&gt;
1) in VS2005, menu "Build/Configuration Manager"&lt;br&gt;
2) in the "Configuration Manager" dialog, select "&lt;New...&gt;"&lt;br&gt;
3) in the "New Solution Platform" dialog, select "x86", press OK&lt;br&gt;
&lt;br&gt;
Also, there does not appear any plans to create a x64bit version.&lt;br&gt;</description><pubDate>Mon, 19 May 2008 16:52:40 GMT</pubDate><dc:creator>Crones</dc:creator></item><item><title>RE: Access 2007 &amp; x64 Connections</title><link>http://forum.strataframe.net/FindPost16460.aspx</link><description>The steps for solving the issue applies to Windows XP Professional X64 too. ;)</description><pubDate>Mon, 19 May 2008 16:52:40 GMT</pubDate><dc:creator>Guillermo Vilas</dc:creator></item><item><title>RE: Access 2007 &amp; x64 Connections</title><link>http://forum.strataframe.net/FindPost15125.aspx</link><description>That's very good to know about the 32-bit version of the Access connector.&amp;nbsp; Thanks.&lt;/P&gt;&lt;P&gt;We ran into the same issues with the VFPOLEDB driver as well.&amp;nbsp; However, since it runs several pieces through separate processes, we haven't been able to use VFPOLEDB at all on a 64-bit machine.</description><pubDate>Mon, 24 Mar 2008 08:38:18 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item></channel></rss>