Error:
Server object error 'ASP 0177 : 800401f3' Server.CreateObject Failed
C:\INETPUB\WWWROOT\TestApp\AUTHENTICATION\../serverlib/global.asp, line 190
800401f3
Solution with Sample code:
if (!sleep.waiter) sleep.waiter = Server.CreateObject("WaitFor.Comp"); // error line
sleep.waiter.WaitForSeconds(sleepSeconds);
Note: WaitFor is a component used here.
Server object error 'ASP 0177 : 800401f3' Server.CreateObject Failed
C:\INETPUB\WWWROOT\TestApp\AUTHENTICATION\../serverlib/global.asp, line 190
800401f3
Solution with Sample code:
- Open the error file and go to the corresponding line (here 190)
if (!sleep.waiter) sleep.waiter = Server.CreateObject("WaitFor.Comp"); // error line
sleep.waiter.WaitForSeconds(sleepSeconds);
- Get the Waitfor component file location.
- Run command prompt as Administrator.
- Execute the below command
C:\Windows\system32> regsvr32 "C:\inetpub\wwwroot\TestApp\serverlib\components\WaitFor\waitfor.dll"
Note: WaitFor is a component used here.