PROBLEM:
When launching 'Data Reporting and Analysis / Data Reports' from the Vision Task Panel, the following error is received:
**STEPS TO REPLICATE**
- Launch Vision
- Select Data Reporting and Analysis from the side bar
- Click on Data Reports from under the Task Panel
**ERROR MESSAGE**
INITIALIZE REPORT CLASS
FailedInitialization: VSPrinter
component can't create object:(380)
CAUSE:
Typically results from a failed registration of the vsprint7.ocx file. This issue is likely the result of an update to an environment as it usually affects all workstations.
CORRECTION:
Either of the two options below will resolve the issue. Both are listed, as some may not be able to perform a re-installation of the Vision client but can perform a Registry Edit, while others can only re-install the client.
OPTION 1. from the command line
- From Start, click Run and type CMD then hit ENTER
- Copy the following text: cd C:\Program Files (x86)\I.D. Systems, Inc\Vision 05.07.07
- Right-click in the CMD prompt and choose Paste
- Hit Enter
- Type the following as is: regsvr32 vsprint7.ocx
- Hit Enter
- Test print functionality in Vision
OPTION 2. Repair installation
- Go to Start and type 'regedit' (without the quotes) in Run... and click OK
- Drill down to the following: \HKEY_LOCAL_MACHING\SOFTWARE\Wow6432Node\VB and VBA Program Settings\Vision\General
- Right-click on the General folder, choose Export and save as Vision.reg (will default to .reg) to a location accessible to all workstations (for later access from those workstations)
- Close the Registry Editor
- Right-click on Vision.reg, from saved location, and choose Edit (you will copy and paste these values later)
- Go back to Start and in 'Search Programs and Files', type Program
- Click on Programs and Features
- When it opens click on Vision (if there are more than one, chose the most recent installation) and choose Change from the menu bar
- Choose the Repair option and click Next
- When prompted to specify, DSN_AC, paste the corresponding value found (without the quotes) in the Vision.reg file
- Click Next
- Click Next to accept SQL Server Auth
- Click Next to accept the default User
- Enter value from Vision.reg corresponding to DSN_PWD (without quotes) and click Next
- Click Next
- Following the installation, click Finish
- Launch Vision and test Reports