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();
}
原文地址:https://www.cnblogs.com/OraCursor/p/8746829.html