Re: CompactDatabase
- From: "Bob Barrows [MVP]" <reb01501@xxxxxxxxxxxxxxx>
- Date: Fri, 30 Nov 2007 09:17:45 -0500
ghigno wrote:
hi all,Sorry, but you'll probably have more success asking in a newsgroup
i'm tying to compact an access2007 (.accdb) db with CompactDatabase
method
i use "provider=Microsoft.ACE.OLEDB.12.0" driver
srting srcConn = provider+ "Data Source" + pathFileName + ";Jet
OLEDB:Engine Type=5"
JRO.JetEngine jet = new JetEngine();
jet.CompactDatabase ( srcConn, dstConn); // dstConn is similar than
srcConn less engineType
but an error occours qhen i'm trying to compact a database that has
some attachments inside...
code error: 2147467259
Message: (-> traduction from italian ) Unable to complete opration.
Database uses attachments or multivalor fields.
devoted to Access. I don't even know what "attachments" are, and I
vaguely remember reading something about multi-value fields ...
Maybe there's an updated version of the JRO library you need to obtain
....
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
.
- References:
- CompactDatabase
- From: ghigno
- CompactDatabase
- Prev by Date: CompactDatabase
- Next by Date: ADO ConnectionTimeout taking 2.3s rather than 1.0s
- Previous by thread: CompactDatabase
- Next by thread: ADO ConnectionTimeout taking 2.3s rather than 1.0s
- Index(es):
Relevant Pages
|
|