473,395 Members | 1,535 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Repair an Access database from .NET

Roy
Hi all,
With use of Microsoft Jet and Replication Objects 2.x Library, I can compact
an Access database. But is there any way to Repair an Access database from
VB.NET?
Thanks in advance.
Roy
Nov 21 '05 #1
5 7190
Hi Roy,

This page shows how to compact/repair an Access Database with VB.NET:

http://support.microsoft.com/default...b;en-us;306287

I hope this helps

Crouchie1998
BA (HONS) MCP MCSE
Nov 21 '05 #2
Roy
I just need to make sure repairing is also done along with the compacting.

"Crouchie1998" wrote:
Hi Roy,

This page shows how to compact/repair an Access Database with VB.NET:

http://support.microsoft.com/default...b;en-us;306287

I hope this helps

Crouchie1998
BA (HONS) MCP MCSE

Nov 21 '05 #3
On Tue, 5 Jul 2005 11:27:02 -0700, Roy <Ro*@discussions.microsoft.com> wrote:

¤ I just need to make sure repairing is also done along with the compacting.
¤

Yes, JRO does both.
Paul
~~~~
Microsoft MVP (Visual Basic)
Nov 21 '05 #4
J L
Paul,
When you add JRO to the project, will that necessitate registering the
component at install time? I am trying to keep with XCOPY deploy and
wonder if JRO is compatible with that? Hope that question makes sense.

TIA.
John

On Tue, 05 Jul 2005 14:49:30 -0500, Paul Clement
<Us***********************@swspectrum.com> wrote:
On Tue, 5 Jul 2005 11:27:02 -0700, Roy <Ro*@discussions.microsoft.com> wrote:

¤ I just need to make sure repairing is also done along with the compacting.
¤

Yes, JRO does both.
Paul
~~~~
Microsoft MVP (Visual Basic)


Nov 21 '05 #5
On Tue, 05 Jul 2005 20:18:57 -0700, J L <jo**@marymonte.com> wrote:

¤ Paul,
¤ When you add JRO to the project, will that necessitate registering the
¤ component at install time? I am trying to keep with XCOPY deploy and
¤ wonder if JRO is compatible with that? Hope that question makes sense.
¤

Well MDAC should be installed (a .NET framework requirement for version 1.0 and 1.1) so that will
take care of the JRO COM registration. The only other file you should need is the interop assembly
(Interop.JRO.dll) that is created when you add JRO to your project. Just XCOPY that file to the bin
folder with your other assemblies.
Paul
~~~~
Microsoft MVP (Visual Basic)
Nov 21 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Medved | last post by:
Hi, We have not a smallest access database (30 tables, 160 queries,35 forms,40 reports,15 pages) with some links to other databases and some sql queries from other databases.The databse is not...
4
by: Brian | last post by:
Good morning, I have a client with an Access 2002 database that is giving an Error 3197 upon open (The Microsoft Jet database engine stopped the process because you and another user are...
4
by: Frank | last post by:
I have coded a compress/repair routine (VB6) which, upon an open failure of the Access 97 database, will run to attempt a repair before giving up and reporting the error to a user. My problem is -...
3
by: Paolo | last post by:
Hi, I am trying to compact and repair my database, however every time I try it comes up a message saying: Table: "TempMSysAccessObject already exists", whenever I try to look for this table I...
11
by: ritenah | last post by:
I am running this command from a .bat file. "C:\pathToAccess\MSACCESS.EXE" "C:\pathToDatabase\db.mdb" /REPAIR Database repairs as expected, then shows the messge: "Successfully repaired the...
2
by: Mark G. King | last post by:
I have Access 2003 SP2. When I open any database annd choose Tools / Database Utilities the menu item Compact And Repair is missing. I have re-installed Office 2003 using Detect and Repair but...
2
by: Ron | last post by:
Hi All, Using WinXP pro/Access 2000. I have a database that's been used for about 5 months. Transferred lots of data from a dos based program, then the users have been using it for that 5...
9
by: Ron | last post by:
New discovery. If I take a perfectly good database, and "compact/repair" on it with Access 2000 (seems to be at multiple sites--I've tried it with my system here, at another office on an...
3
by: Bizmark | last post by:
Access2003, Windows XP Pro OEM user OS, Windows Sever 2000 server OS. Not-so-recently I inherited 3 Access DB's from another company merging with our own. Our own system works off of SQL...
4
by: zufie | last post by:
When I Repair/Compact my Access databse. I get icons/copies of a database named db1.mdb, db2.mdb, db3.mdb, etc... How else may I repair this database? Thanks!, Zuf
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.