Server.CreateObject Failed in Classic ASP

前端 未结 8 908
抹茶落季
抹茶落季 2021-01-05 21:34

I created the ASP.NET dll with one function that i need to use in Classic ASP page.

I used the below code for creating object in classic asp page

set         


        
相关标签:
8条回答
  • 2021-01-05 22:23

    I just had this error appear on a site that had been running perfectly for years. It seems a DLL had somehow become unregistered. It was an unmanaged DLL so I was able to re-register it using regsvr32:

    %SystemRoot%\Microsoft.NET\Framework\v2.0.50727\regsvr32 "C:\path\to\myAssembly.dll"
    

    (Also see the difference between regasm and regsvr32)

    0 讨论(0)
  • 2021-01-05 22:31

    I had this problem. When you register .NET COM modules you must use regasm and if you want to call them from applications like IIS you must use /codebase with this command:

    regasm yourfilename.dll /codebase
    
    0 讨论(0)
提交回复
热议问题