6

I'm using Classic 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?

stealthyninja
  • 10,343
  • 11
  • 51
  • 59
aruni
  • 2,664
  • 10
  • 44
  • 68
  • 1
    Did you try running an `regsvr32` on the Persits Upload DLL? Look at this: http://support.persits.com/show.asp?code=PS01032622 – Ofer Zelig Oct 18 '12 at 02:23

3 Answers3

8

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

Registering a 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

regsvr32 -u <filename>.dll

or

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

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.

Here is a list of items to check:

  • You really didn't run regsvr32 on the server after all.
  • You ran regsvr32 but it reported an error.
  • 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.
  • 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

Castrohenge
  • 8,525
  • 5
  • 39
  • 66
James Drinkard
  • 15,342
  • 16
  • 114
  • 137
0

Comprehensive Check-list I posted here

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

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

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

Community
  • 1
  • 1
user692942
  • 16,398
  • 7
  • 76
  • 175