自己写了一个上传文件的组件,将其复制到system32目录下并使用regsvr32注册后,在ASP中调用,结果出现错误,请高手指点!错误信息如下:Microsoft VBScript 编译器错误 错误 '800a03f6' 缺少 'End' /iisHelp/common/500-100.asp,行242 服务器对象 错误 'ASP 0196 : 80040154' 不能运行进程外组件 /wrt.asp,行4 只可使用 InProc 服务器组件。如果您想使用 LocalServer 组件,您必须修改 AspAllowOutOfProcComponents metabase设置。请参照帮助文件。 

解决方案 »

  1.   

    你写的是activex exe文件?详细一些
      

  2.   

    最好用activex.dll然后注册mts然后就能调用了
      

  3.   

    估计是写的activex exe,属于进程外组件
      

  4.   

    写的是Activex DLL ,用VB建了一个Activex dll工程,添了两个类,然后编译成的dll文件。to: zyg0(影子(努力吃饭中)) 
    "然后注册mts "
    -------------
    ??不明白
      

  5.   

    源代码见:http://community.csdn.net/Expert/topic/3285/3285864.xml?temp=.6083338
      

  6.   

    先把你的ASP运行环境介绍一下
    In IIS 4.0, the AspAllowOutOfProcComponents property specifies whether an ASP script is allowed to call out-of-process components, which are executables that are launched from within an application. This property was made obsolete in IIS 5.0 and its value is ignored. However, scripts using this property will continue to function normally.
      

  7.   

    蓝色理想 - Regsvr32 用法和错误消息的说明
    http://www.blueidea.com/computer/system/2004/1750.asp
      

  8.   

    楼上的兄弟,谢先。
    声明:Regsvr32注册UploadFileDll.dll成功了。
      

  9.   

    进程外组件   activex exe   建立独立的运行空间   
    进程内组件   activex dll  共享主程序的进程空间
      

  10.   

    不能运行进程外组件 /wrt.asp,行4 
    ----
    wrt.asp,行4 什么内容???
      

  11.   

    什么版的IIS?AspAllowOutOfProcComponents
    在 IIS 4.0 中,AspAllowOutOfProcComponents 属性指定是否允许 ASP 脚本调用进程外组件,这些组件是在应用程序内启动的可执行程序。在 IIS 5.0 中,该属性已过时,并且属性值将被忽略。但是,使用该属性的脚本仍然可以正常运行。
      

  12.   

    更改 VB 工程的 Threading Mode 属性试试