Home > database >  Tests on a computer, link database error Unknown error 0 x800a0e7a
Tests on a computer, link database error Unknown error 0 x800a0e7a

Time:10-09

VS2008 write programs, access accdb Access2010 file, on the development of the computer running normally, the test computer can't link database,
Error message "Unknown error 0 x800a0e7a links to open the database error"
Test computer and development are 64 - bit Windows 7 ultimate, test computer installed only office2010 (word, excel, access, PowerPoint), not installed VS2008,
-
The method of tried:
Method 1:
Regsvr32 "C:/Program Files/Common Files/System/Ole DB/oledb32 DLL"
Regsvr32 "C:/Program Files/Common Files/System/Ole DB/sqloledb DLL"
To register the above two files, still no,
Tried, 64 (% systemroot % \ SysWoW64 \ regsvr32 regsvr32 "... "),
The Ole DB full registration also not line,
Method 2:
Will test the machine's msado15. DLL replacement for msado15 on the development machine. The DLL, also not line,
Method 3:
Accdb file without password, user access to fully control, also not line,

Source code, the import of ado statement
# pragma warning (4146) disable:
# import "C: \ Program Files \ Common Files \ System \ ado \ msado15 DLL" no_namespace rename (" EOF ", "adoEOF") \
Rename (" DataTypeEnum adoDataTypeEnum ", ""),
Rename (" FieldAttributeEnum adoFielAttributeEnum ", ""),
Rename (" EditModeEnum adoEditModeEnum ", ""),
Rename (" LockTypeEnum adoLockTypeEnum ", ""),
Rename (" RecordStatusEnum adoRecordStatusEnum ", ""),
Rename (" ParameterDirectionEnum adoParameterDirectionEnum ", "")

CodePudding user response:

Problem solved, the test computers before installing the 32-bit office, for 64 is ok, if not yet installed accessDatabaseEnginx64
  • Related