Server.CreateObject Failed in Classic ASP

前端 未结 8 1081
抹茶落季
抹茶落季 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: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
    

提交回复
热议问题