Problem
If SOLIDWORKS Visualize experiences issues with the viewport being black and crashes when selecting in the viewport. This can be an issue with the prerequisite DirectX End-User Runtimes not being installed or not installing correctly when installing Visualize.
Solution 1: Install DirectX
Follow the steps below to resolve the issue:
-
When the crash log is displayed, click on 'Copy to Clipboard'
- Open Notepad and paste the clipboard into it by pressing CTRL + V on the keyboard
- Look for the following exact text:
'System.Runtime.InteropServices.SEHException = "External component has thrown an exception."
Stack Trace:
at D3DPreprocess(Void* , UInt64 , SByte* , _D3D_SHADER_MACRO* , ID3DInclude* , ID3D10Blob** , ID3D10Blob** )
at SlimDX.D3DCompiler.ShaderBytecode.Preprocess(Byte[] shaderSource, ShaderMacro[] defines, Include include, String& compilationErrors)
at SlimDX.D3DCompiler.ShaderBytecode.Preprocess(String shaderSource, ShaderMacro[] defines, Include include)
at Bunkspeed.UDrive.Drawing.Shader.Manage.ShaderTextConstructor.HandleInitialize()
at Bunkspeed.UDrive.Drawing.Shader.Manage.ShaderTextConstructor..ctor(IContext context, IGlobalDrawingSettings globalDrawingSettings, IDeviceManager deviceManager, IDeviceContext deviceContext)' - If this is in the log, continue with the following steps
- Close SOLIDWORKS Visualize
- Download the DirectX End-User Runtimes (June 2010) from: Download DirectX End-User Runtimes (June 2010) from Official Microsoft Download Center
- Right-click on directx_jun2010_redist.exe and run as administrator
- Extract files to the folder when prompted
- Right-click "DXSETUP.exe", run as administrator, and install the runtimes.
- Launch SOLIDWORKS Visualize to retest the issue
Note: If you have a SOLIDWORKS DVD or FULL download, you do not need to download the runtimes. Instead, you can run 'DXSETUP.exe' from the ‘\prereqs\DirectX9’ folder of the DVD or download media.
Solution 2: Repair SOLIDWORKS Visualize
Run a Repair of SOLIDWORKS Visualize and then launch the program again to see if that resolved the issue. This article goes over how to perform a repair: How to Repair SOLIDWORKS – Hawk Ridge Systems
For additional support, existing customers can submit a ticket or new customers can contact Hawk Ridge Systems.
Comments
Article is closed for comments.