Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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?

like image 690
aruni Avatar asked Oct 18 '12 00:10

aruni


2 Answers

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
like image 82
Manish Prajapati Avatar answered Jan 02 '23 23:01

Manish Prajapati


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

like image 34
James Drinkard Avatar answered Jan 03 '23 00:01

James Drinkard