以梦为马,不负韶华

搜索
查看: 30945|回复: 34
收起左侧

creating config.aem failed,无法创建config.aem 解决办法

[复制链接]
发表于 1970-1-1 08:00:00 显示全部楼层 |阅读模式
本帖最后由 2010litong 于 2015-7-30 15:51 编辑

DATETIME Thu Jul 30 12:24:20 2015

Failed to initialize the Aspen PropertiesEnterprise Database.

Configuration file can not be found in C:\ProgramData\AspenTech\APEDV8.4\config.aem

Please use the Aspen Properties DatabaseConfiguration Tester to diagnose and fix the problem.  问题解决办法


:Aspen PropertiesDatabase Configuration Tester测试出现错误,creating config.aem failed,无法创建config.aem 解决办法

1.PNG


a'sa捕获.PNG 捕获.PNG


如图所示,在打开DatabaseConfiguration Tester进行测试出现上图错误: Creating config.aem failed。Configuration filecan not be found in C:\ProgramData\AspenTech\APED V8.4\config.aem。
要知道,aspen出现的许多错误都是有关SQL sever数据库的,有时明明已经安装好了sql sever还会出现各种错误!有很多童鞋会选择重装一遍sql,aspen,甚至是系统!太麻烦了!
问题的关键在于:SQL sever数据库服务是否开启!
如下图所示,只要在服务里面将SQL sever相关项由禁用改为自动就可以解决问题!也就是说,就算安装了SQL sever而把服务禁用,同样会出错不管你用的哪个账户,就算administrater超级管理员也不行!
因此,只要打开了SQL服务,其他很多问题都会迎刃而解,本人在最新的windows 10 X64系统上安装的aspen v8.4,同样没有出现兼容性问题。
2.PNG
6.PNG

本帖被以下云收藏推荐:

  • · 1|主题: 1, 订阅: 0

 成长值: 37675

发表于 1970-1-1 08:00:00 显示全部楼层
本帖最后由 april_dsz 于 2016-11-27 13:51 编辑

我找到的一个好方法  大家可以试试   我已经测试两次了   这个是在数据库下有一个readme文件  具体方法如下  大家可以试试   


1、以管理员权限进入命令提示行 CMD.exe
2、进入目录C:\ProgramData\AspenTech\APED V8.6
3、运行批处理文件DeleteDBInstance.bat
4、运行 "Aspen Properties Database Configuration Tester" 从 "所有程序| AspenTech
   | Process Modeling V8.6 | Aspen Properties".
5、静候佳音。


附上原文:

First part: Aspen Properties Database Configuration
===================================================

This file contains steps to fix the process for restoring Aspen system databases with LocalDB.
It applies to Vista and Windows 7 and 8 only.

1) Open a Command Prompt Window (run administrator).

2) Go to the shared folder: C:\ProgramData\AspenTech\APED V8.6.

3) Run DeleteDBInstance.bat. This batch file will drop any database from restoring that is
   incomplete. It also deletes the instance of LocalDB you own and the folder named by your
   Window logon.
   
4) Start "Aspen Properties Database Configuration Tester" from "All Programs | AspenTech
   | Process Modeling V8.6 | Aspen Properties". This will start the process for restoring
   Aspen system databases again. If the process is successful and complete, config.aem will
   be created. This is a one-time process only on the same machine.
   
5) Now you can start a product (A+, Hysys, etc.). The main window should come up without seeing
   "Aspen Properties Database Configuration" again.

If you still fail to restore databases with LocalDB, you can go through the above steps again
with running DBCreate.bat in 3) instead of running DeleteDBInstance.bat.


Second part: mmc.exe.config for Aspen Properties Database Manager
=================================================================

mmc.exe.config only applies to releases starting with V7.3.2. It is delivered to
"C:\Windows\System32" on 32-bit and "C:\Windows\SysWOW64" on 64-bit.

If V7.3 or earlier releases are also installed, launching some controls or forms
from Aspen Properties Database Manager V7.3 (or earlier releases) may result in
an exception error due to the existence of mmc.exe.config. The workaround is to
delete mmc.exe.config first before start Aspen Properties Database Manager.

Start with V8.0, mmc.exe.config will also be delivered to "C:\ProgramData\AspenTech\APED V8.0".
The user can again copy it to "C:\Windows\System32" on 32-bit and "C:\Windows\SysWOW64" on 64-bit
for Aspen Properties Database Manager V8.0 (or newer releases).

点评

太感谢您了,这是我发现最好,最可行的办法  详情 回复 发表于 2020-3-3 21:36
回复 支持 1 反对 0

使用道具 举报

发表于 1970-1-1 08:00:00 显示全部楼层
我也是win10x64安装仍然不行,求指导?我的2012SP1 QSL,怕是系统问题,装了好几次。给我一个简单教程呗,主要是QSL那个模式怎么选,和后面装好后test...提前谢谢大神

点评

不好意思,很久内有上论坛了  详情 回复 发表于 2015-12-19 13:44
回复 支持 反对

使用道具 举报

发表于 1970-1-1 08:00:00 显示全部楼层
好资料好东西
回复 支持 反对

使用道具 举报

 楼主| 发表于 1970-1-1 08:00:00 显示全部楼层
yeris 发表于 2015-11-3 12:50
我也是win10x64安装仍然不行,求指导?我的2012SP1 QSL,怕是系统问题,装了好几次。给我一个简单教程呗, ...

不好意思,很久内有上论坛了

2010litong 于 2015-12-19 13:45:13 补充以下内容:
谢谢支持
回复 支持 反对

使用道具 举报

 楼主| 发表于 1970-1-1 08:00:00 显示全部楼层
本帖最后由 2010litong 于 2015-12-20 16:45 编辑

Failed to initialize the Aspen Properties Enterprise Database.png
Failed to initialize the Aspen PropertiesEnterprise Database.
Configuration file can not be found in C:\ProgramData\AspenTech\APEDV8.4\config.aem
Please use the Aspen Properties DatabaseConfiguration Tester to diagnose and fix the problem.  问题解决办法
另一个导致此问题的原因就是:SQL数据库安装时没有选择"混合验证模式“,选了仅通过”windows“验证.
这个在aspen V7.2安装时有提示:
aspen要求SQL以混合模式验证.png

安装SQL是选混合验证模式即可:
SQL 混合验证模式安装.png
俄语版SQL2005:
SQL俄语版混合验证.jpg

点评

@yeris ,需要注意这个  详情 回复 发表于 2015-12-20 16:52
回复 支持 反对

使用道具 举报

 楼主| 发表于 1970-1-1 08:00:00 显示全部楼层
2010litong 发表于 2015-12-20 16:37
Failed to initialize the Aspen PropertiesEnterprise Database.
Configuration file can not be found ...

@yeris ,需要注意这个
回复 支持 反对

使用道具 举报

发表于 1970-1-1 08:00:00 显示全部楼层
你好,请问「如下图所示,只要在服务里面将SQL sever相关项由禁用改为自动就可以解决问题!」中的「服务」是在哪里打开的?谢谢!

点评

运行,然后输入“ services.msc ”,回车就可以打开  详情 回复 发表于 2015-12-22 09:46
回复 支持 反对

使用道具 举报

发表于 1970-1-1 08:00:00 显示全部楼层
Joyh 发表于 2015-12-22 09:22
你好,请问「如下图所示,只要在服务里面将SQL sever相关项由禁用改为自动就可以解决问题!」中的「服务」 ...

运行,然后输入“ services.msc ”,回车就可以打开
回复 支持 反对

使用道具 举报

发表于 1970-1-1 08:00:00 显示全部楼层
本帖最后由 Joyh 于 2015-12-22 16:20 编辑
1592203609 发表于 2015-12-22 09:46
运行,然后输入“ services.msc ”,回车就可以打开

谢谢你。
另外运行SLM license profiler 后出现图中的结果,请问该如何解决?

locking criteria:0x236F8:hostname,lock mask:license file not found

5.PNG

点评

目录不对吗?这个lic不行的话就再生成一个  详情 回复 发表于 2015-12-24 19:08
回复 支持 反对

使用道具 举报

 楼主| 发表于 1970-1-1 08:00:00 显示全部楼层
Joyh 发表于 2015-12-22 16:18
谢谢你。
另外运行SLM license profiler 后出现图中的结果,请问该如何解决?

目录不对吗?这个lic不行的话就再生成一个
回复 支持 反对

使用道具 举报

发表于 1970-1-1 08:00:00 显示全部楼层
  可是,我把所有SQL服务都改为自动了,可是还是一样的问题,打开ASPEN8.4的时候还是出现这些东西
Failed to initialize the Aspen PropertiesEnterprise Database.
Configuration file can not be found in C:\ProgramData\AspenTech\APEDV8.4\config.aem
Please use the Aspen Properties DatabaseConfiguration Tester to diagnose and fix the problem.
-这又改怎么办啊?求各位大神们出出手,解决一下吧~~~感激啊

点评

我遇到的问题跟你的也一样啊,急等高人出手啊!  发表于 2016-11-3 20:34
config.aem无法创建也可能是用户权限问题,以管理员身份运行试试,或者对那个目录文件夹取得管理员权限  详情 回复 发表于 2016-6-12 10:04
回复 支持 反对

使用道具 举报

 楼主| 发表于 1970-1-1 08:00:00 显示全部楼层
青古 发表于 2016-5-20 15:14
可是,我把所有SQL服务都改为自动了,可是还是一样的问题,打开ASPEN8.4的时候还是出现这些东西
Failed  ...

config.aem无法创建也可能是用户权限问题,以管理员身份运行试试,或者对那个目录文件夹取得管理员权限
回复 支持 反对

使用道具 举报

发表于 1970-1-1 08:00:00 显示全部楼层
Failed to initialize the Aspen Properties Enterprise Database.

Configuration file can not be found in C:\ProgramData\AspenTech\APED V8.4\config.aem

Please use the Aspen Properties Database Configuration Tester to diagnose and fix the problem.


同样的问题,解决不了,求大神帮忙!!!
无标题.png
回复 支持 反对

使用道具 举报

发表于 1970-1-1 08:00:00 显示全部楼层
QQ截图20170605134138.png 我 window10 安装 v8。8 的,按照您说的方法,运行出现这个错误,怎么处理?
回复 支持 反对

使用道具 举报

发表于 1970-1-1 08:00:00 显示全部楼层
april_dsz 发表于 2016-11-27 13:48
我找到的一个好方法  大家可以试试   我已经测试两次了   这个是在数据库下有一个readme文件  具体方法如下 ...

你好,如何“以管理员权限进入命令提示行 CMD.exe”
回复 支持 反对

使用道具 举报

发表于 1970-1-1 08:00:00 显示全部楼层
你好,我的SQL有两个是禁用的,并且无法启动,选项是灰色的,这是什么情况,如何处理这个
回复 支持 反对

使用道具 举报

发表于 1970-1-1 08:00:00 显示全部楼层
今天遇到运行Database Configuration Tester的时候没有选择管理员模式也会出现这种错误提示的情况,心累。
回复 支持 反对

使用道具 举报

发表于 1970-1-1 08:00:00 显示全部楼层
Underdog 发表于 2017-1-21 20:55
Failed to initialize the Aspen Properties Enterprise Database.

Configuration file can not be fou ...

老兄,我和你的一个样子,server下面都没有选项,还有就是config.aem这个文件压根没有;这个文件dbTesterAdv.exe和别人说的也不一样。不知道你已经解决了没有,给我讲讲
回复 支持 反对

使用道具 举报

发表于 1970-1-1 08:00:00 来自手机 显示全部楼层
2010litong 发表于 2015-12-20 16:37
Failed to initialize the Aspen PropertiesEnterprise Database.
Configuration file can not be found ...

?{:1106_362:}????????!{:1106_364:}
回复 支持 反对

使用道具 举报

不想打字就选择快捷回复吧
您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|以梦为马,不负韶华

GMT+8, 2025-2-28 12:13

Powered by 以梦为马,不负韶华

© 2024-2099 Meng.Horse

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