?
Solved

MAS200 - SWCOCX error printing report

Posted on 2011-03-18
7
Medium Priority
?
1,155 Views
Last Modified: 2012-05-11
Hi – We have MAS200 version 405 and receive crystal error: unable to open the specified report. (err/ret=5/0) error occurred on the line 170 in program SWCOCX when trying to print a invoice.

Was working fine and then the users can not use the form button and said something about wrong version of Crystal so installed crystal version 10 and the form started to work but now receive the error above.

Weird – no updates have been made to MAS200 or crystal prior to installing Crystal version 10.

Thanks in advance for your help!!!
0
Comment
Question by:cspeaker
[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
  • 4
  • 3
7 Comments
 
LVL 5

Expert Comment

by:SageMas90_200guy
ID: 35168432
Try re running workstation setup.  It appears something has changed in the Crystal files.

If this does not work, try the following.
If the error only occurs on one workstation and occurs with other reports, Crpe32.dll is the wrong version or is damaged.
Uninstall Sage MAS 90 Workstation Setup.
From Windows Explorer, browse to the ..\Windows\System32 or ..\WinNT\System32 folder.
Rename the CRPE32.DLL file to CRPE32.old, if it exists.
Reinstall Workstation Setup.

0
 

Author Comment

by:cspeaker
ID: 35168700
Thanks - but did a fresh install to test and received the same error and on a different station.
0
 
LVL 5

Expert Comment

by:SageMas90_200guy
ID: 35168739
Could be the report is damaged.  You can verify by installing a new standard form.  In invoice printing, generate a new standard form by typing TEST in the form code field.  From the Template pop up, select Plain.  Then do a test print.  If there are no errors, then your original form is damaged.  

If that is the case, then perform the following.

If the error occurs on all workstations or only occurs with that report, the report file (.RPT) is damaged.
Click the 'Design' or 'Form' button to open the report or form in Crystal Designer.
Select File / Save As. Note the path and file name.
In Windows Explorer, go to the path noted above and rename the file.
Restore the file from backup, or copy the default report from the ..\Mas90\Reports folder.
0
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

 

Author Comment

by:cspeaker
ID: 35169666
Thanks - The first answer helped with the first error - I copied the crpe32.ddl file from the Crystal folder to the system32 folder an that fixed it but now in a different mod we are getting the same error except the error is (err/ret=2/0).

Any ideas?
0
 
LVL 5

Accepted Solution

by:
SageMas90_200guy earned 2000 total points
ID: 35169884
Knowledge base is indicating that you should re do the Workstation setup to replace the MASCR.dll file.
0
 

Author Closing Comment

by:cspeaker
ID: 35183742
Finally got this resolved.
Un-installed MAS200, re-installed and copied the MASCR.dll from another location to the new MAS200 folder and everything works.

Thanks for your help!
0
 
LVL 5

Expert Comment

by:SageMas90_200guy
ID: 35183802
You are very welcome!!

kevin@reedcg.com
0

Featured Post

Does Your Cloud Backup Use Blockchain Technology?

Blockchain technology has already revolutionized finance thanks to Bitcoin. Now it's disrupting other areas, including the realm of data protection. Learn how blockchain is now being used to authenticate backup files and keep them safe from hackers.

Question has a verified solution.

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

This story has been written with permission from the scammed victim, a valued client of mine – identity protected by request.
Gift cards are not a new concept - it's been around for a very long time.  Undoubtedly, over the past you have received such a card or purchased one for a friend or relative.  Are you aware that you've been feeding the machine?  If not, read on :)
The Bounty Board allows you to request an article or video on any technical topic, or fulfill a bounty request to earn points. Watch this video to learn how to use the Bounty Board to get the content you want, earn points, and browse submitted bount…
Notifications on Experts Exchange help you keep track of your activity and updates in one place. Watch this video to learn how to use them on the site to quickly access the content that matters to you.
Suggested Courses

770 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