声振论坛

 找回密码
 我要加入

QQ登录

只需一步,快速开始

查看: 8238|回复: 4

[Workbench] ansyswbu.exe encountered a problem错误

[复制链接]
发表于 2015-10-29 21:48 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?我要加入

x
ansyswbu.exe encountered a problem错误应该怎么解决?设置系统变量和环境变量,关闭防火墙都是试过了,还是不行

回复
分享到:

使用道具 举报

发表于 2015-10-30 08:42 | 显示全部楼层
看来需要重新安装软件。
发表于 2015-10-31 11:03 | 显示全部楼层
方案一:关闭所有防火墙,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
这个方法有的人有效,有的人无效,对我的电脑无效。此方法解决的原因就是
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 \ Ansys中V140文件夹名称(这个根据你的使用软件版本不同,如:15.0为V150),可以将文件夹V140更名为V140_old,这个随便更名。更改运行后我的文件夹成了这样的。问题迎刃而解。
这个方法能解决的原因:出现的错误是由于当你安装的操作系统(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.
 楼主| 发表于 2015-11-7 18:40 | 显示全部楼层
kkkttt 发表于 2015-10-31 11:03
方案一:关闭所有防火墙,360之类
对于这种解决方案,有人说他成功过,我则很苦逼,解决不了,还按照别人 ...

有时间试试,先用别的电脑做了,谢谢
 楼主| 发表于 2015-11-7 18:41 | 显示全部楼层
htbbzzg 发表于 2015-10-30 08:42
看来需要重新安装软件。

重装软件还是一样!
您需要登录后才可以回帖 登录 | 我要加入

本版积分规则

QQ|小黑屋|Archiver|手机版|联系我们|声振论坛

GMT+8, 2024-12-23 23:40 , Processed in 0.078878 second(s), 21 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表