KB Article: Java Script Bridge Error
Issue
Client is unable to properly load XV Capture
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 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
If the issue persists after completing all steps, escalate with:
- Local IT
Apteryx Version 1.0 5/8/2026