简体   繁体   English

使用regsvr32部署到com + / MTS有什么区别?

[英]What is the difference between deploying to com+/MTS using regsvr32?

We have a legacy VB6 component that was com+/MTS and is used by asp classic. 我们有一个旧的VB6组件,它是com + / MTS,并且被asp classic使用。 Staff is having trouble with deployment. 员工在部署时遇到麻烦。

Would there be any harm in just using regsvr32 to register the DLL, which will be used by IIS? 仅使用regsvr32注册DLL(IIS将使用它)会不会有任何危害?

Alternatively---I won't touch COM+ with a 10 foot pole--so is there a suitable one line command to register a VB6 component with COM+/MTS using a 11 foot pole? 或者-我不会用10英尺长的杆接触COM +-那么是否有合适的单线命令使用11英尺长的杆向COM + / MTS注册VB6组件? My google fu is failing me. 我的Google Fu使我失败。

Problems that I can see: 我可以看到的问题:

  • With regsvr32 registering your component will run with the same privileges IUSR have. 通过regsvr32注册,您的组件将以IUSR拥有的相同特权运行。 If the component need privileges to connect to the DB or touch the file system, it might fail. 如果组件需要特权才能连接到数据库或触摸文件系统,则它可能会失败。
  • The component might expect the MTS enviroment (as transactions) 该组件可能期望MTS环境(作为事务)

I don't know any suitable command line, being doing it drag-droping the component. 我不知道任何合适的命令行,正在拖放组件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM