Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MAS 90 Error 65 CANT PRINT!!

Status
Not open for further replies.

NPRI

Technical User
Oct 19, 2006
1
US
When I try to print an invoice from MAS 90 the Crystal report box opens up and then the following error message appears:

Error 65 in program SWCOCX at line 8460.

I am running windows XP.

Any help would be great!

Nick
 
A) Sage MAS 90 Workstation Setup failed to register MASCR.DLL in the workstation's system registry.

Try to register MASCR.DLL manually:

1. Open a command prompt at the workstation by clicking on Start, selecting Run and typing COMMAND
2. Change to the ..\MAS90\Home directory:
a) Sage MAS 90: Change to the ..\MAS90\Home on the server's drive
b) Sage MAS 200: Change to the workstation's local ..\MAS90\Home directory (created by Workstation Setup)
3. Enter the following at the command prompt and press 'Enter':
a) "REGSVR32 MASCR.DLL" (no quotes)
Note: The full path to REGSVR32 might be necessary on Windows 95/98/Me (for example, "C:\Windows\System\REGSVR32 MASCR.DLL" (no quotes))
Note: The path to MASCR.DLL may be needed to locate the file (eg. c:\90cs\Mas90\Home)
4. The message "DllRegisterServer in mascr.dll succeeded" (or similar) should appear.

If the registration fails, troubleshoot based on the following errors:

1. "Unable to Register Mascr.dll" or similar:
a) The user may not have sufficient rights to write to the local system Registry. Log onto the system as an Administrator and run the command. Another possibility is that the following registry keys being dimmed out (greyed out):

HKEY_CLASSES_ROOT\TypeLib\{89F96EA0-1D72-11D5-B14D-00C04F50D575}

If this is the case, review the following articles:
a) Crystal Decisions KB article c2008211
b) Microsoft KB article Q269383.
2. "The Procedure Entry Point PE3Demomode could not found in Dynamic Link Library CRPE32.DLL":
a) The file CRPE32.DLL (in ..\Windows\System\ or Winnt\System32\ ) may be the wrong version. Rename the file and run Workstation Setup.
Note: Running Workstation Setup should properly register MASCR.DLL this time. If the error 65 still occurs, try registering MASCR.DLL manually again to verify whether it can be registered.
3. "REGSVR32 MASCR.DLL is not recognized as an internal/external operable command" (or similar):
a) Verify that REGSVR32.EXE exists in the local ..\Windows\System or Winnt\System32 directory.
1) If it does not exist, then re-run the Sage MAS 90 or 200 Workstation Setup.
2) If it does exist, go to a command prompt (DOS prompt) and type one of the following:
a) PATH=C:\WINDOWS (for Windows 95/98/ME)
b) PATH=C:\WINNT (Windows NT/2000/XP)
Note: The default Windows folder may differ, depending on the workstation's configuration.

B) The Crystal Reports 8.0 Designer may restrict access to ODBC data sources, on Windows NT or Windows 2000 workstations.

1. This is discussed in the following two Crystal Decisions Knowledge Base articles and two Microsoft Knowledge Base articles. Other MS KB articles exist but are not cited here.
a) 1) Article c2008211
2) Article c2007581
b) 1) Article Q269383
2) Article Q268553

Note: The steps in the first Crystal Decisions article should be applied. They reference error messages with Microsoft Visual Basic but it applies to Sage MAS 90 and 200 as well.

D) The user may not have sufficient rights to read and execute MASCR.DLL on the server from the workstation despite the fact MASCR.DLL is properly registered the workstation's system registry.

1. Log on as Administrator at the workstation. Start Sage MAS 90 and run a graphical form or Crystal report. If the error does not appear, grant the normal user account at a minimum, Read and Execute permissions on MASCR.DLL. In general, Sage MAS 90 users should be granted Change or Full Control permissions to the ..\MAS90\ directory and all subdirectories.
2. If Error 65 still occurs despite sufficient permissions, delete the following records from the Window's Registry:

Note: Extreme caution should be taken when editing the Registry. Windows may not function properly or may not run at all if the Registry is not edited properly. Always back up the Registry before accessing. Sage Software Customer Support is not responsible for assisting in this task. Assistance by a qualified Computer Technician may be necessary.

HKEY_CLASSES_ROOT\CLSID\{89F96EA3-1D72-11D5-B14D-00C04F50D575}
HKEY_CLASSES_ROOT\TypeLib\{89F96EA0-1D72-11D5-B14D-00C04F50D575}
HKEY_CLASSES_ROOT\mascr.Report
HKEY_LOCAL_MACHINE\Software\CLASSES\CLSID\{89F96EA3-1D72-11D5-B14D-00C04F50D575}
HKEY_LOCAL_MACHINE\Software\CLASSES\TypeLib\{89F96EA0-1D72-11D5-B14D-00C04F50D575}

Note: a permissions error may occur when deleting any of the above records. Should this occur, contact the System Administrator.With records successfully deleted, reregister the MASCR.DLL once again using the above steps.

E) CRPE32.DLL might be an old version.

If registering MASCR.DLL succeeds, but the error still occurs, try converting the report with the Crystal Conversion Wizard (..\Mas90\Home\MASCRCW.EXE).
a) If the error "MASCRCW.EXE is linked to missing export crpe32.dll: PES set event callback a device to system is not working" occurs, rename CRPE32.DLL and run Sage MAS 90 Workstation Setup (..\MAS90\Wksetup\AUTORUN.EXE).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top