简体   繁体   English

Server.CreateObject使用chiliupload组件失败

[英]Server.CreateObject Failed with chiliupload component

I get the following error with a legacy asp application that I have been asked to help out with. 我得到了一个遗留的asp应用程序,我得到了以下错误,我被要求帮忙。

Server object error 'ASP 0177 : 800401f3'

Server.CreateObject Failed

/site_manager/image_upload.asp, line 27

800401f3 

The line ofcode that throws the error is shown below: 抛出错误的代码行如下所示:

Set fbase = Server.CreateObject("chili.upload.1")

As you ahve probably guessed oldschool asp isn't my strong point but from the research I have done it seems as if a component hasn't been registered on the server (I only have FTP access). 你可能已经猜到了oldschool asp不是我的强项,但是从我做过的研究看来,似乎一个组件还没有在服务器上注册(我只有FTP访问权限)。

What component needs to be regsistered? 哪个组件需要注册?

Thanks for the help... 谢谢您的帮助...

You're missing the registration of the DLL that creates the chili.upload.1 object. 您错过了创建chili.upload.1对象的DLL的注册。 Are you trying to run this on a Linux machine? 你想在Linux机器上运行吗?

You need to register the Sun Chili!Soft ASP components. 您需要注册Sun Chili!Soft ASP组件。 Here's the manual on this from 2003: http://ns7.webmasters.com/caspdoc/html/running_the_setup_program_sun_chili_soft_asp_for_windows.htm . 以下是2003年的手册: http//ns7.webmasters.com/caspdoc/html/running_the_setup_program_sun_chili_soft_asp_for_windows.htm Note that this only works if you still have the original setup. 请注意,这仅在您仍具有原始设置时才有效。 Otherwise you're out of luck. 否则你运气不好。 Sun Chili!Soft ASP is no longer available and very, very dead. Sun Chili!软ASP不再可用,非常非常死。

If you're just interested in file upload functionality on ASP, I can recommend Free ASP Upload . 如果您只对ASP上的文件上传功能感兴趣,我可以推荐免费的ASP上传 It requires no registration of any components and generally works. 它不需要注册任何组件,通常可以工作。 I can also recommend this article on the topic of ASP uploads. 我也可以推荐这篇关于ASP上传主题的文章 If you're willing to shell out some money there are hundreds of components that do the same thing too. 如果你愿意支付一些钱,那么有数百个组件也会做同样的事情。

Register the DLL on your computer, and then do this: 在您的计算机上注册DLL,然后执行以下操作:

  • Locate and then click the following registry subkey: HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Internet Explorer\\MAIN\\ FeatureControl\\FEATURE_IGNORE_ZONES_INITIALIZATION_FAILURE_KB945701 找到并单击以下注册表子项: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. 注意如果FEATURE_IGNORE_ZONES_INITIALIZATION_FAILURE_KB945701子项不存在,则必须手动创建它。 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 如果您使用的是64位操作系统,则可能需要使用HKEY_LOCAL_MACHINE \\ SOFTWARE \\ Wow6432Node \\ Microsoft \\ Internet Explorer \\ MAIN \\ FeatureControl \\ FEATURE_IGNORE_ZONES_INITIALIZATION_FAILURE_KB945701
  • Right-click FEATURE_IGNORE_ZONES_INITIALIZATION_FAILURE_KB945701, point to New, and then click DWORD Value 用鼠标右键单击FEATURE_IGNORE_ZONES_INITIALIZATION_FAILURE_KB945701,指向新建,然后单击DWORD值
  • Type w3wp.exe to name the new registry entry, and then press ENTER. 键入w3wp.exe以命名新的注册表项,然后按Enter。
  • Right-click w3wp.exe, and then click Modify. 右键单击“w3wp.exe”,然后单击“修改”。
  • In the Value data box, type 1, and then click OK. 在“数值数据”框中,键入1,然后单击“确定”。

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! 除了改组应用程序池之外,您的.NET COM组件不再随机停止使用没有真正的解决方案!

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

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