服务器对象错误'ASP 0177: 800401f3'服务器。CreateObject失败

时间:2022-06-17 05:10:02

I'm using Classic ASP.

我用经典ASP。

Set theForm = Server.CreateObject("Persits.Upload")
theForm.OverwriteFiles = True

Running the above code produces the error:

运行上述代码会产生错误:

Server object error 'ASP 0177 : 800401f3' Server.CreateObject Failed

How can I solve this?

我怎么解决这个问题呢?

3 个解决方案

#1


7  

Unregister the Persits Upload DLL and re-register it by using regsvr32. below are the steps to register and unregister the DLL

取消注册持久化上传DLL,并使用regsvr32重新注册。下面是注册和注销DLL的步骤。

Registering a DLL

注册一个DLL

regsvr32 <filename>.dll

or

regsvr32 <path>\<filename>.dll

where is the path to the file, and is the name of the file.

文件的路径在哪里,是文件的名称。

Unregistering a DLL

取消注册一个DLL

regsvr32 -u <filename>.dll

or

regsvr32 -u <path>\<filename>.dll

#2


0  

In Classic ASP I was getting this error when the code was moved to a new server. From my little experience with Classic ASP it looked like another DLL registration issue. In my case was the DLL was missing, so it couldn't have been registered. Once it was registered it fixed the problem.

在经典的ASP中,当代码被移动到一个新的服务器时,我得到了这个错误。从我对经典ASP的经验来看,这看起来像是另一个DLL注册问题。在我的例子中,DLL丢失了,所以它不可能被注册。一旦注册成功,问题就解决了。

Here is a list of items to check:

以下是要检查的项目清单:

  • You really didn't run regsvr32 on the server after all.
  • 毕竟,你根本没有在服务器上运行regsvr32。
  • You ran regsvr32 but it reported an error.
  • 您运行regsvr32,但它报告了一个错误。
  • Someone modified security on part of the registry that's preventing the OLE subsystem from reading all or part of the HKEY_CLASSES_ROOT tree.
  • 有人修改了部分注册表的安全性,这阻止了OLE子系统读取所有或部分HKEY_CLASSES_ROOT树。
  • The name of the object you are trying to create was mispelled or is incorrect.
  • 您试图创建的对象的名称是拼写错误或不正确的。
  • Determine if it's a permissions problem
  • 确定它是否是权限问题。

Here are is a link for more information:

以下是更多信息的链接:

Using the correct version of MSXML

使用正确的MSXML版本。

#3


0  

Comprehensive Check-list I posted here

我贴在这里的综合检查表。

Error ASP 0177: 8007007e Server.CreateObject fails for COM DLL

错误ASP 0177: 8007007e服务器。CreateObject在COM DLL中失败。

Deals with the issues of registering DLLs for use in Classic ASP for both 32 and 64 bit and common problems encountered.

处理在经典ASP中注册dll的问题,包括32位和64位,以及遇到的常见问题。

Would post it here but don't want to duplicate the answer.

把它贴在这里,但不想重复这个答案。

#1


7  

Unregister the Persits Upload DLL and re-register it by using regsvr32. below are the steps to register and unregister the DLL

取消注册持久化上传DLL,并使用regsvr32重新注册。下面是注册和注销DLL的步骤。

Registering a DLL

注册一个DLL

regsvr32 <filename>.dll

or

regsvr32 <path>\<filename>.dll

where is the path to the file, and is the name of the file.

文件的路径在哪里,是文件的名称。

Unregistering a DLL

取消注册一个DLL

regsvr32 -u <filename>.dll

or

regsvr32 -u <path>\<filename>.dll

#2


0  

In Classic ASP I was getting this error when the code was moved to a new server. From my little experience with Classic ASP it looked like another DLL registration issue. In my case was the DLL was missing, so it couldn't have been registered. Once it was registered it fixed the problem.

在经典的ASP中,当代码被移动到一个新的服务器时,我得到了这个错误。从我对经典ASP的经验来看,这看起来像是另一个DLL注册问题。在我的例子中,DLL丢失了,所以它不可能被注册。一旦注册成功,问题就解决了。

Here is a list of items to check:

以下是要检查的项目清单:

  • You really didn't run regsvr32 on the server after all.
  • 毕竟,你根本没有在服务器上运行regsvr32。
  • You ran regsvr32 but it reported an error.
  • 您运行regsvr32,但它报告了一个错误。
  • Someone modified security on part of the registry that's preventing the OLE subsystem from reading all or part of the HKEY_CLASSES_ROOT tree.
  • 有人修改了部分注册表的安全性,这阻止了OLE子系统读取所有或部分HKEY_CLASSES_ROOT树。
  • The name of the object you are trying to create was mispelled or is incorrect.
  • 您试图创建的对象的名称是拼写错误或不正确的。
  • Determine if it's a permissions problem
  • 确定它是否是权限问题。

Here are is a link for more information:

以下是更多信息的链接:

Using the correct version of MSXML

使用正确的MSXML版本。

#3


0  

Comprehensive Check-list I posted here

我贴在这里的综合检查表。

Error ASP 0177: 8007007e Server.CreateObject fails for COM DLL

错误ASP 0177: 8007007e服务器。CreateObject在COM DLL中失败。

Deals with the issues of registering DLLs for use in Classic ASP for both 32 and 64 bit and common problems encountered.

处理在经典ASP中注册dll的问题,包括32位和64位,以及遇到的常见问题。

Would post it here but don't want to duplicate the answer.

把它贴在这里,但不想重复这个答案。