AnsysWBU.exe encountered a problem.最新最全方案

blob.png


ansys/workbench使用一段時間后,因為系統更新、操作不當、系統錯誤等原因出現AnsysWBU.exe encountered a problem.A diagnostic has been written具體如圖所示:

blob.png



雖然這類問題出現很少,但是出現了就很痛苦,網上搜尋的方法介紹也很少,本人也曾遇到此問題,痛苦過程自不多說,到處搜尋各種解決辦法,現將所有解決辦法分類如下,希望對各位遇到此問題有所幫助。

事先說明本方案來自學習交流網站CFD Online.,以及網上搜尋.

方案一:關閉所有防火墻,360之類

對于這種解決方案,有人說他成功過,我則很苦逼,解決不了,還按照別人說的把顯卡驅動給卸載了,結果很無語,不過有人試了說卸載顯卡也成功!想試,自己可以試試

方案二:刪文件

刪除AnsysWBU.exe encountered a problem.A diagnostic file has been written .即提示的生成的.dmp文件,也有人說成功了,我查了一下,也試了,反正我的不行,至于不行的原因:

.dmp是系統生成的系統錯誤文件,刪了沒用,每次打開workbench DM模塊會生成新的.dmp

方案三:重裝系統,重裝軟件

對于這種解決方案,也有人說他成功過,大部分人對此方法無語,耗時費力,還解決不了問題。

方案四:添加regsvr32 scrrun.dll

開始--cmd,選擇右鍵以管理員身份運行“ ----輸入 regsvr32 scrrun.dll 確定就可以了。原因是因為你電腦里少了一個dll沒激活。

此方法有一些人成功了。

方案五:增加系統環境變量ANS_OLD_ATTACH = 1

>>START
>>COMPUTER (Right Click)
>>Properties
>>Advanced System Settings
>>Environment Variables
Then 
On System variables select -> New 
On variable name -> ANS_OLD_ATTACH
On variable value -> 1
OK & Save

翻譯過來就是

計算機/我的電腦(右鍵)-屬性-高級系統設置-高級-環境變量-系統變量-新建ANS_OLD_ATTACH = 1

blob.png

這個方法有的人有效,有的人無效,對我的電腦無效。此方法解決的原因就是

On the WB messages also it says:
‘Unable to attach the geometry file... An existing connection was forcibly closed by the remote host’. 
Attaching geometry occurs if the mesh was created when the machine is on network (or connected to Ethernet switch). 
To avoid this happening we simply set the environment variable ANS_OLD_ATTACH = 1.

方案六:

改變安裝文件夾的ansys文件名,在C: \Users \Username\Temp \AppData \ Roaming \ Ansys文件夾或者AppData \ Local /Temp Ansys夾的名字,如:將ansys改為.ansys/_ansys ,同時有時需要修改C: \Users \Username\Temp \AppDataRoaming \ AnsysV140文件夾名稱(這個根據你的使用軟件版本不同,如:15.0V150),可以將文件夾V140更名為V140_old,這個隨便更名。更改運行后我的文件夾成了這樣的。問題迎刃而解。

blob.png

這個方法能解決的原因:出現的錯誤是由于當你安裝的操作系統(windows) 更新時,改變了的原本屬于Ansys有關程序的文件

Hey,we solved the problem (or to be more precise, ANSYS Support Team sorted me out). In my case, it turned out, the error occured due to overwriting of some files after my operating system installed a couple of updates. The updates triggered the script error that hindered mechanical in the workbench to open.How we solved it? We got rid of the old Workbench 12.0 profile and allowed it to reconstruct a new one. How: 1. renamed the '.ansys' directory in %temp% to 'ansys_old' 2. renamed the 'ansys12.0' and 'v120' directories in %appdata% directory to 'ansys12.0_old' and 'v120_old' resp. 3. restarted simulation in workbench 4. carry on simulations like nothing happenedHave a lot of fun!"
-only diference was I reoved the 3 ansys realted folders that I saw in the "temp" folder. Seems like windows updates disrupt this folder

方案七:

對照下面不走一步一步來吧

1.
Check to make sure the following folders exist 
C:\WINDOWS
C:\WINDOWS\System32
C:\WINDOWS\System32\wbem
2.
Press your "start" button and type "cmd" (Command Prompt DOS) right click and run as administrator'. 
You should have "c:\windows\system32>_" in the black window
Type in the following one after the other and press enter.
regsvr32.exe ole32.dll
regsvr32.exe atl.dll
regsvr32.exe oleaut32.dll
regsvr32.exe scrrun.dll
regsvr32.exe jscript.dll
regsvr32.exe vbscript.dll
Between step 2 and 3, you might have to restart your system OR use the task manager. When you open the task manager, end every process related to ansys (hint: they will usually be at the top and ansys will be visible in the name and/or descripition section Under "processes" tab in the task bar.
3.
Rename v150 from %APPDATA%\ansys\v150 to v150.old (where %APPDATA% is where your APPDATA variable is set to - 'Just type %APPDATA% in the Explorer Address bar' and it will take you there).
Rename .ansys from %TEMP% to old.ansys (same as above, just type: %TEMP% in the address bar)
4.
Run the ProductConfig.exe from C:\Program Files\ANSYSInc\v150\commonfiles \tools\ winx64and configure the application again, by right-clicking the productconfig. exe file and select 'Run as Administrator', 
First click on "Add .Net security exception for ANSYS, Inc products"
Secondly click on "configure products" and select everything..
5.
Run the CLIENT ANSLIC_ADMIN Utility > Set license preferences for user... > v150 and make sure that the license options are set correctly here, (license order you want to have and that is showing the features you will use with ANSYS), so that the new preferences file is created.
6.
Check the graphics driver for the card installed on the machine and make sure it is running the latest driver. If not, update the driver.
Many part of this tread has offered the solution prescribed here in bits, essentially this is everything combined together.
Enjoy Ansys.

-長大巧毛


登錄后免費查看全文
立即登錄
App下載
技術鄰APP
工程師必備
  • 項目客服
  • 培訓客服
  • 平臺客服

TOP

39
18
20