ASP.Net获取Aras连接,并获取Innovator实例

首先需要在自己的项目bin目录下引入Aras的dll(../Aras\Innovator\Innovator\Server\bin)。

注意:在引入Aras的dll时。需要注意自己的操作系统的位数。因为有些dll是区分32bit,64bit的。例如:IOM.dll

HttpServerConnection cnx = IomFactory.createHttpServerConnection(url,db,user,pwd);
Item login_result = cnx.Login();
if(!login_result.isError()){
    Innovator inn = IomFactory.createInnovator();
}

 

posted @ 2018-04-08 19:20  明年六月  阅读(403)  评论(0编辑  收藏  举报