|
原来有一套asp的系统,需要把用户登录的方式改为直接使用x3系统来验证。
在delphi的例子中,使用如下的方法是可以的:
Business1:=TBusiness.Create(self);
Business1.Parent:=self;
Business1.ServerURL:='HTTP://127.0.0.1:8081' ;
Business1.Init;
Business1.Logon('RY1','aa');
//Business1.Run('Biz:\CSYWKJ\FUNC\CPJBXXWH.Func','','GGB','YG');
在相应的asp中也是直接使用x3x.ocx文件软下所示:
Set Business1 = Server.CreateObject("X3X.Business")
Business1.ServerURL="http://127.0.0.1:8081"
Business1.Init()
'Business1.Logon "RY1","aaa"
这里在asp系统中没有parent可以使用。
iis系统提示错误:
X3X.Business 错误 '8000ffff'
Invalid filename
/test.asp,行4
请问如何解决这个问题?
另外,你们上次提供的自动登录的方式的文档和我们的要求是相反的。故没有采用。 |
|