Java Script Bridge Error
Issue
Client is unable to properly load XV Capture / X-Ray Vision.
When opening the imaging screen, the following error appears in the bottom-left corner:
javascript:diagnosticimaging(4,0,'X-Ray Vision');
The client has already completed the bridge setup, but the error persists.
Symptoms
- XV Capture or X-Ray Vision fails to fully initialize
- JavaScript error appears in the bottom-left of the application window
- Imaging module may not load or function correctly
- Issue occurs even after bridge configuration
Cause
This error typically indicates a failure in the JavaScript bridge or initialization process between the application UI and the X-Ray Vision imaging components.
Common causes include:
- Missing or incomplete launch/bridge configuration
- Corrupted or missing XV Capture/X-Ray Vision components
- Improper Internet Explorer (IE) or embedded browser settings
- Blocked or disabled Active scripting / ActiveX controls
- Communication failure between imaging services and the application
- User permissions or environment issues
Resolution
Follow the steps below to resolve the issue:
1. Verify Bridge & Launch Configuration
- Confirm the bridge setup is complete and correct
- Validate that the launch configuration includes X-Ray Vision components
- Ensure all required paths and executable references are correct
2. Check Internet Explorer Settings
XV Capture relies on embedded IE components.
- Open Internet Options
- Go to Security → Trusted Sites
- Add the application/server URL
- Click Custom Level and ensure:
- Active Scripting = Enabled
- ActiveX Controls = Enabled
3. Reset IE Settings
- Open Internet Options
- Go to Advanced
- Click Reset
- Restart the workstation
4. Verify Services & Connectivity
- Ensure all XV / Imaging services are running
- Confirm:
- Database connectivity
- Server accessibility
- Imaging paths are reachable
5. Repair or Reinstall XV Capture / X-Ray Vision
- Corrupted files can prevent JavaScript functions from loading
- Perform:
- Application repair (preferred first step)
- Full reinstall if issue persists
6. Test User Permissions
- Run the application as Administrator
- Test with a different Windows user profile
7. Clear Cache and Temporary Files
- Clear:
- Windows Temp folders
- Internet cache
- Reboot the machine
Additional Notes
- This error is not a standalone JavaScript issue, but rather a symptom of a failed UI-to-imaging bridge initialization
- Most commonly tied to environment configuration or missing components, not the bridge setup alone
Summary
The Java Script Bridge Error (diagnosticimaging(4,0,'X-Ray Vision')) occurs when XV Capture cannot properly initialize its imaging interface.
Resolution typically involves correcting:
- Bridge/launch configuration
- Browser security settings
- Application components or services
If the issue persists after completing all steps, escalate with:
- Local IT
Article Version 1.0 5/11/2026