Server.CreateObject Failed in Classic ASP

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

    You have to register your DLL first, and if the problem persists, do this:

    • Locate and then click the following registry subkey: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\MAIN\ FeatureControl\FEATURE_IGNORE_ZONES_INITIALIZATION_FAILURE_KB945701
    • Note If the FEATURE_IGNORE_ZONES_INITIALIZATION_FAILURE_KB945701 subkey does not exist, you must manually create it. If you're using a 64 bit OS, you may need to use HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Internet Explorer\MAIN\ FeatureControl\FEATURE_IGNORE_ZONES_INITIALIZATION_FAILURE_KB945701 instead
    • Right-click FEATURE_IGNORE_ZONES_INITIALIZATION_FAILURE_KB945701, point to New, and then click DWORD Value
    • Type w3wp.exe to name the new registry entry, and then press ENTER.
    • Right-click w3wp.exe, and then click Modify.
    • In the Value data box, type 1, and then click OK.

    After setting this registry key, a simple app pool restart will apply the change. No longer will your .NET COM components randomly stop working with no real solution except shuffling application pools!

提交回复
热议问题