I have two massive programs which have different, very large Access 2007 .accdb databases. One is Natural Language Processing and the other is a bridge game. I've been working on these programs for 20+ years as a retirement hobby; unlikely ever to be finished in my lifetime, but still important to me as a hobby.
I installed MS OneNote recently because I read that it can perform OCR, but I couldn't get it to work, so I uninstalled it, after which neither program would run any more. Long story, short: all the selections in "Project - Reference" and " - Components" were wiped out somehow.
I was able to reselect them all except "Microsoft Office 12.0 Access Database Engine Object Library". It is no longer in the Reference list. Instead, it has "Microsoft Office 16.0 Access Database Engine Object Library", but it points to a file in "C:\Program Files (x86)\Microsoft Office\root\vfs\ProgramFiles...". (That is all that is shown.) The "vfs" folder is now empty.
I don't know the actual filename which the Engine lines pointed to. In "C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12" is a file named "ACEDAO.DLL" but when I Browse in References and select that file, it does not show up in the Reference list.
When I load the bridge program and open a form with the Adodc data controls on it, I get the following message for each control:
"Provider cannot be found. It may not be properly installed."
In the Adodc controls' Properties window, "Use Connection String" is
Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Programming\VB98\Bridge\BidBase.accdb;Mode=ReadWrite;Persist Security Info=False
When I "Test Connection", it says:
Test connection failed because of an error in initializing provider.
[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified.
At first I got a message about the Registry not being right (didn't write down the message), so that may be related, though I never got the message again and I wouldn't know what to do in the Registry anyway.
The program's .vbp file has the following at the start:
Reference=*\G{3D5C6BF0-69A3-11D0-B393-00A0C9055D8E}#1.0#0#Package\Support\MSDERUN.DLL#Microsoft Data Environment Instance 1.0
Reference=*\G{4AC9E1DA-5BAD-4AC7-86E3-24F4CDCECA28}#c.0#0#..\..\..\PROGRA~2\COMMON~1\MICROS~1\OFFICE12\ACEDAO.DLL#Microsoft Office 12.0 Access database engine Object Library
Reference=*\G{E0E270C2-C0BE-11D0-8FE4-00A0C90A6341}#1.5#409#..\..\..\Windows\SysWOW64\simpdata.tlb#Microsoft OLE DB Simple Provider 1.5 Library
Reference=*\G{56BF9020-7A2F-11D0-9482-00A0C91110ED}#1.0#0#..\..\..\WINDOWS\SysWOW64\msbind.dll#Microsoft Data Binding Collection VB 6.0 (SP4)
Reference=*\G{B691E011-1797-432E-907A-4D8C69339129}#6.1#0#..\..\..\Program Files (x86)\Common Files\System\ado\msado15.dll#Microsoft ActiveX Data Objects 6.1 Library
Reference=*\G{06E83385-1A9A-46B1-B94F-D6CAFEAC6A51}#1.0#0#BidBaseDB.dll#BidBaseDB
Object={F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0; ComDlg32.ocx
Object={FAEEE763-117E-101B-8933-08002B2F4F5A}#1.1#0; DBLIST32.OCX
Object={831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.2#0; Mscomctl.ocx
Object={6FBA474E-43AC-11CE-9A0E-00AA0062BB4C}#1.0#0; SYSINFO.OCX
Object={67397AA1-7FB1-11D0-B148-00A0C922E820}#6.0#0; MSADODC.OCX
Object={CDE57A40-8B86-11D0-B3C6-00A0C90AEA82}#1.0#0; MSDATGRD.OCX
Object={5E9E78A0-531B-11CF-91F6-C2863C385E30}#1.0#0; MSFLXGRD.OCX
The database works fine when I open it in Access 2007.
I upgraded this program from Access 1997 to Access 2007 in mid-2018, but I can no longer find the DVD, so reinstalling Access isn't an option. I see "OfficeSetup.exe" (6.6MB) dated 11/24/2020 in my Downloads folder, which must be what OneNote installed when I thought I was getting a simple app.
I had a terrible time getting Access 2007 to work with my program back then, and I documented all the problems and fixes for future reference, but I never had this particular problem.
I know that this is a lot of stuff to wade through, but I wanted to provide all the relevant info I could think of.
I've tried using backups. I've searched the Web. I'm stuck.
Thanks for any help.
I installed MS OneNote recently because I read that it can perform OCR, but I couldn't get it to work, so I uninstalled it, after which neither program would run any more. Long story, short: all the selections in "Project - Reference" and " - Components" were wiped out somehow.
I was able to reselect them all except "Microsoft Office 12.0 Access Database Engine Object Library". It is no longer in the Reference list. Instead, it has "Microsoft Office 16.0 Access Database Engine Object Library", but it points to a file in "C:\Program Files (x86)\Microsoft Office\root\vfs\ProgramFiles...". (That is all that is shown.) The "vfs" folder is now empty.
I don't know the actual filename which the Engine lines pointed to. In "C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE12" is a file named "ACEDAO.DLL" but when I Browse in References and select that file, it does not show up in the Reference list.
When I load the bridge program and open a form with the Adodc data controls on it, I get the following message for each control:
"Provider cannot be found. It may not be properly installed."
In the Adodc controls' Properties window, "Use Connection String" is
Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Programming\VB98\Bridge\BidBase.accdb;Mode=ReadWrite;Persist Security Info=False
When I "Test Connection", it says:
Test connection failed because of an error in initializing provider.
[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified.
At first I got a message about the Registry not being right (didn't write down the message), so that may be related, though I never got the message again and I wouldn't know what to do in the Registry anyway.
The program's .vbp file has the following at the start:
Reference=*\G{3D5C6BF0-69A3-11D0-B393-00A0C9055D8E}#1.0#0#Package\Support\MSDERUN.DLL#Microsoft Data Environment Instance 1.0
Reference=*\G{4AC9E1DA-5BAD-4AC7-86E3-24F4CDCECA28}#c.0#0#..\..\..\PROGRA~2\COMMON~1\MICROS~1\OFFICE12\ACEDAO.DLL#Microsoft Office 12.0 Access database engine Object Library
Reference=*\G{E0E270C2-C0BE-11D0-8FE4-00A0C90A6341}#1.5#409#..\..\..\Windows\SysWOW64\simpdata.tlb#Microsoft OLE DB Simple Provider 1.5 Library
Reference=*\G{56BF9020-7A2F-11D0-9482-00A0C91110ED}#1.0#0#..\..\..\WINDOWS\SysWOW64\msbind.dll#Microsoft Data Binding Collection VB 6.0 (SP4)
Reference=*\G{B691E011-1797-432E-907A-4D8C69339129}#6.1#0#..\..\..\Program Files (x86)\Common Files\System\ado\msado15.dll#Microsoft ActiveX Data Objects 6.1 Library
Reference=*\G{06E83385-1A9A-46B1-B94F-D6CAFEAC6A51}#1.0#0#BidBaseDB.dll#BidBaseDB
Object={F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0; ComDlg32.ocx
Object={FAEEE763-117E-101B-8933-08002B2F4F5A}#1.1#0; DBLIST32.OCX
Object={831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.2#0; Mscomctl.ocx
Object={6FBA474E-43AC-11CE-9A0E-00AA0062BB4C}#1.0#0; SYSINFO.OCX
Object={67397AA1-7FB1-11D0-B148-00A0C922E820}#6.0#0; MSADODC.OCX
Object={CDE57A40-8B86-11D0-B3C6-00A0C90AEA82}#1.0#0; MSDATGRD.OCX
Object={5E9E78A0-531B-11CF-91F6-C2863C385E30}#1.0#0; MSFLXGRD.OCX
The database works fine when I open it in Access 2007.
I upgraded this program from Access 1997 to Access 2007 in mid-2018, but I can no longer find the DVD, so reinstalling Access isn't an option. I see "OfficeSetup.exe" (6.6MB) dated 11/24/2020 in my Downloads folder, which must be what OneNote installed when I thought I was getting a simple app.
I had a terrible time getting Access 2007 to work with my program back then, and I documented all the problems and fixes for future reference, but I never had this particular problem.
I know that this is a lot of stuff to wade through, but I wanted to provide all the relevant info I could think of.
I've tried using backups. I've searched the Web. I'm stuck.
Thanks for any help.