Solved

Illegal Operation...

Posted on 1998-09-01
2
231 Views
Last Modified: 2010-04-30
I recently created a VB 6.0/Access 7.0 application that uses the Crystal Reports 4.6 control.  When I ran the executable, it performed as expected.  However, after I exited the app and the form unloaded, I received an Illegal Operation error caused by either the Crystal Reports control or dll (I cannot remember the extension).  

Please note that when I ran the setup, it could not copy the file MSVCRT20.DLL due to an access violation.  I am not sure what the function of this DLL is, though it appears to be used for version 2.0 of Crystal Reports and I would not think it would cause this error.

Any thoughts would be greatly appreciated.

Thank you,
David
0
Comment
Question by:dfhaines
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 9

Accepted Solution

by:
cymbolic earned 30 total points
ID: 1432273
The MSVCRTxx.dll's are support dlls to Microsoft Visual C.  I believe the rt stands for run time.  These modules will cause problems on your system if they are not the proper release leve, since they are used by so many different developed products, all created using VC++.  I have had problems in the past with installation of VB programs that had a setup created on a system that had had VC++ also installed on it, since the install picked up a back versioned MSVC...dll, causing the 95 system to hack.  Usually you get an access violation becuase these modules are almost always in use by some system routine developed with MS VC++.  A good install will restart your machine to be able to install over a system dll that is always in use.  I'm sure though that the msvc dll is a culprit.  Check out your versions and compare them to some other machine that works!
0
 
LVL 4

Expert Comment

by:mcix
ID: 1432274
I had a problem very similar to this a while back...

As it turns out, either MSVCRT20.DLL is not in the App Path or (WINNT)Windows/System path.

OR

The version of MSVCRT20.DLL is out of date.  

I have not tried Crystal with VB6 as yet, but hopefully this points you in a direction.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
bit defender blocks good applications 2 106
Best way to parse out a json string in VB6? 10 286
MsgBox 4 71
VB6 - Scroll Mouse wheel on Picturebox 13 95
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question