on 04-07-2016 6:01 PM
Hello Lukas,
Please update your gui patch to patch 5 or higher,as there were some issues in previous patches.
Patch 7 is the most recent patch so we recommend this patch.
If the issue still persists, you might have to delete the .mdb file in the users workstation and a new one will be created with no entries.
If you wish to test the current .mdb file, you can try create this test program..(from note 1176026)
In this case the simple test program from the attachment to this note: history.exe can be tried. This small program just tries to create simple DB in C:\ with the name: SOMEDB.MDB.TMP. If the program output is "DB created", then the MDAC works fine for database creation. If the output of the program is "Error creating DB", then this is Microsoft problem and the issue has to be reported to Microsoft.
Here is the code of the program:
HRESULT hr;
ADOX::_CatalogPtr pCatalog = NULL;
CoInitialize(NULL);
try
{
hr = pCatalog.CreateInstance(__uuidof (ADOX::Catalog));
if (SUCCEEDED(hr))
{
pCatalog->Create("Provider='Microsoft.JET.OLEDB.4.0';Data Source=C:\\SOMEDB.mdb.tmp");
}
// Release the catalog so that JRO can access the database
pCatalog.Release();
pCatalog = NULL;
}
catch(_com_error &e)
{
printf("Error creating DB\n");
printf(e.Source());
printf(e.Description());
return FALSE;
}
printf("DB created\n");
// test the new ACE database driver
try
{
hr = pCatalog.CreateInstance(__uuidof (ADOX::Catalog));
if (SUCCEEDED(hr))
{
pCatalog->Create("Provider='Microsoft.ACE.OLEDB.12.0';Data Source=SOME_ACE_DB.mdb.tmp");
}
// Release the catalog so that JRO can access the database
pCatalog.Release();
pCatalog = NULL;
}
catch(_com_error &e)
{
printf("Error creating ACE DB\n");
printf(e.Source());
printf(e.Description());
return FALSE;
}
printf("ACE DB created\n");
Please note that there still might be other errors in MDAC installation, even if the database can be created. Reading/writing to DB, etc. may fail because of that, however such cases have to be extremely seldom.
Regards,
Jude
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is in the same history file as last entries.
What SAPgui version and patchlevel are you using?
Please check
http://service.sap.com/sap/support/notes/931540
and
http://service.sap.com/sap/support/notes/1176026
Regards,
Jude
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.