Print Page | Close Window

Server object, ASP 0177 (0x800401F3) Error

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=27211
Printed Date: 28 March 2026 at 9:09pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Server object, ASP 0177 (0x800401F3) Error
Posted By: mukeshnt
Subject: Server object, ASP 0177 (0x800401F3) Error
Date Posted: 03 April 2009 at 4:00am
I have been using an ASP script for about a month without any problems. But now I get an error which is: "Server object, ASP 0177 (0x800401F3), Invalid class string , /login_db.asp, line 134" I have not changed the script in any way since it was working. Can someone please help.
 
A part of the script with the line where error appears is shown below:
---------------------------------------------------------------
'Open a connection; we use a DSN-less connection
  Dim objConn
  Dim objRs
  
  Set objConn = Server.CreateObject("ADODB.Connection")  <------- Error
  
  objConn.open "DRIVER={Microsoft Access Driver (*.mdb)};DBQ=" & Server.MapPath("bank.mdb")
  'create a record set
  Set objRs = Server.CreateObject("ADODB.RecordSet")
---------------------------------------------------------------

I am using Win XP, IIS is working properly as other scripts which donot require database connectivity are working allright.
Thanks for the time.

 



Replies:
Posted By: WebWiz-Bruce
Date Posted: 03 April 2009 at 8:51am
Try the following:-

Set objConn = CreateObject("ADODB.Connection")

The Server. part is only required for NT4 and not needed these days and can sometime course problems.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: mukeshnt
Date Posted: 03 April 2009 at 3:34pm

Did that as you suggested. Now I get the following error:

Microsoft VBScript runtime (0x800A01AD)
ActiveX component can't create object: 'ADODB.Connection'
 


Posted By: WebWiz-Bruce
Date Posted: 03 April 2009 at 4:07pm
I would try reinstalling the Microsoft MDAC database drivers, if that doesn't work try reinstalling IIS.

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: mukeshnt
Date Posted: 03 April 2009 at 5:12pm
Yes I reinstalled MDAC 2.8 again. That worked. Thanks a ton. I also got a step-by-step method of reinstalling MDAC 2.8 from this site:
http://www.macropool.com/en/products/index.html" rel="nofollow - http://www.macropool.com/en/products/index.html
 
Unfortunately, I could not find a way of reinstalling MDAC on Microsft sites; surely I missed it somewhere. This also came in handy: Component Checker from Microsoft.
 
Thanks a lot and I very much appreciate your help and time you gave
 
Mukesh NT
India
 



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net