用asp远程调用com+。。。在线等待(20分)

  • 主题发起人 主题发起人 风花雪叶
  • 开始时间 开始时间
Sachow:
那为何set objSimple = server.CreateObject("mzsf_dll_logic.GetServerDateTime", "127.0.0.1")
为何也不行呢?我在本机上以注册了组件.而set objSimple = server.CreateObject("mzsf_dll_logic.GetServerDateTime")这样是正确的
 
是将服务器建立为主域控制器,那我有多台组件服务器呢?不能每台都作主域控制器
 
我也没有搞通,根据我的判断,这是由于权限验证未通过,但我也不知道在ASP里该怎么搞
了。
下面是MSDN中的帮助:
Creating an object on a remote server can only be accomplished when Internet
security is turned off. You can create an object on a remote networked computer
by passing the name of the computer to the servername argument of CreateObject.
That name is the same as the machine name portion of a share name. For a network
share named "//myserver/public", the servername is "myserver". In addition, you
can specify servername using DNS format or an IP address.
The following code returns the version number of an instance of Excel running on
a remote network computer named "myserver":
Function GetVersion
Dim XLApp
Set XLApp = CreateObject("Excel.Application", "MyServer")
GetVersion = XLApp.Version
End Function
An error occurs if the specified remote serverdo
es not exist or cannot be found.
 
接受答案了.
 
后退
顶部