473,387 Members | 1,899 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,387 software developers and data experts.

Access DB (& .ldb file) does not close after crystal reports

Hi! We have a VB application using Crystal Reports 6 that has worked
successfully on hundreds of systems for over 10 years. Now, on one
network, the application and access database does not close. It seems
to hang on the [.Close] command.

When we open the application an peruse the screens without opening up
a report (using crystal reports), the application and access db closes
fine. But as soon as we run a report and then close the report and try
to close the application, the access db does not close. Many of the
screens open the db and grab data from the access db, but it's only
after running crystal reports that we have this problem. (Please see
more information below.)

Setup: Application and data (access 97 db) reside on a server in the
same folder, but application shortcut is kicked off on client PC.
Kicking off the shortcut on the client PC means that the image/process
runs on the client PC (not on the server). In this problem case, the
application shortcut is on a Windows XP Pro Version 2002 SP2 PC with
the app & data on a Windows 2003 server. Users are local Admins on
their PCs with "Full Control"over the directory and files on the
server where the data (access 97 db) resides. This type of setup is
typical and has worked without any problems for clients.

The application is written in Visual Basic, using Crystal Reports 6
(using DAO). We close the recordset, set it to zero and then it hangs
on closing the db (.Close command).

A few key pieces of information:

- The application closes fine if the app & data (access 97 db) are on
a local PC. This includes closing fine if the application is run
directly on the Windows 2003 server where the data is stored.

- It worked on this client's network until sometime in the last few
weeks.

- One thing that changed is that the company is using VMWare on its
servers. Not sure if they started using VMWare at the same time as it
started failing. This may be unrelated. Possibly other things changed,
but can't get any more information ... yet.

- It works fine running the application from a Windows Vista PC with a
user who is a domain admin.

- The access db and application hang for about 10-20 minutes and then
eventually closes. It appears that somehow

Crystal Reports is keeping the db open, but I'm not sure why.The
application doesn't quit and the database doesn't close even if I try
to end the task with the Task Manager.

- The Crystl32.ocx version being used is 8.0.0.4 (if that matters).

- I copied 6 month old program files and database files to a test
folder on the Windows 2003 server. It fails using these files that
worked fine 6 months ago.

Any ideas or help would be greatly appreciated! If you know of another
good place to post this, please let me know.

Thanks!

- Mark
Jun 27 '08 #1
0 2299

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

Similar topics

3
by: Gheaci Maschl | last post by:
Hi all! I would like to have your opinion about my problem and my proposal how to solve it: Ingredients: - BTriev database - Crystal Reports - maybe MS Access - Liinos6 (small ERP software)
7
by: dog | last post by:
I've seen plenty of articles on this topic but none of them have been able to solve my problem. I am working with an Access 97 database on an NT4.0 machine, which has many Access reports. I...
11
by: Grasshopper | last post by:
Hi, I am automating Access reports to PDF using PDF Writer 6.0. I've created a DTS package to run the reports and schedule a job to run this DTS package. If I PC Anywhere into the server on...
0
by: Goran | last post by:
Hi I have created a very simple ASP.Net application that only consists of a CrystalReports Viewer, that has been connected to a .rpt file. When the page is loaded in the browser, the following...
0
by: Robert Warnestam | last post by:
Hello, I have some problems deploying Crystal Reports. I'm using Visual Studio 2005 Beta 1. In this version Crystal Reports (9.7.3500.0) is included. I created a small test application...
2
by: Stan Smith | last post by:
I couldn't decide which newsgroup to post this in so I thought I would start here. I can create an "OLE Object" field manually in Microsoft Access and insert an Excel spreadsheet or a Word...
3
by: Parasyke | last post by:
I see a lot of jobs advertized for people knowing Crystal Reports. I tried to use this platform 6 years ago and found it awkward and difficult. I find Access, using ODBC, to grab data and build...
16
by: JoeW | last post by:
I'm utilizing a database that I created within MS Access within a program I've created in VB.NET. I am using the VB front end to navigate the information, but want to be able to print a report,...
0
by: Wayne Deleersnyder | last post by:
I've been looking on the web trying to find a solution to converting a PDF Form from v.1.6(Acrobat 7) to PDF v1.4(Acrobat 5). It's one of those weird situations where one of the applications I'm...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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,...

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.