Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 17th, 2004, 02:14 PM
Registered User
 
Join Date: Jul 2004
Location: Largo, FL, USA.
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default ASP 0177 error creating database

I am getting the ASP 0177 (0x800401F3) error when attempting
to do a simple server create object statement for a connection.
Says invalid class string. From what I read others get this error
for other object creations. The just of the responses seems to be
to check file permissions and register the dll. What dll needs
registered for a ADODB.connection object? I think my permissions
are ok on the folder.

 
Old July 18th, 2004, 01:24 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: Bangalore, KA, India.
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

Can you post your code here?

_________________________
- Vijay G
Strive for Perfection
 
Old July 22nd, 2004, 09:17 PM
Friend of Wrox
 
Join Date: Sep 2003
Location: Mentiri, Muara, Brunei.
Posts: 363
Thanks: 0
Thanked 1 Time in 1 Post
Default


   generally u need msado15.dll

u can use this statement to create connection object

set conn=server.createobject("ADODB.connection")
set rs=server.createobject("ADODB.recordset")

to use all constants, you include the dll to this page using METADATA

For further info...

http://www.4guysfromrolla.com/webtech/110199-1.shtml



 
Old August 7th, 2004, 03:42 PM
Registered User
 
Join Date: Jul 2004
Location: Largo, FL, USA.
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I found the code worked under Windows 98 with personal web server.
There must be something wrong with XP pro.
The line it bombs on follows:
set db=server.createobject("ADODB.connection")

If I comment that line out it bombs on:
set rs=server.createobject("ADODB.recordset")



 
Old August 8th, 2004, 01:12 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: Bangalore, KA, India.
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

Yes, it looks like your msado15.dll is not properly installed and registered on your webserver.

Use this in your page and see if that fixes the problem.


C:\Program Files\CommonFiles\System\ado\msado15.dll - This is where this dll is supposed to be, but if you have insallted all your program files in other drive then better confirm the path in your system and use the same.

If you still face the error, you will have to download MDAC 2.8 and install on your server, that could fix the problem.

Hope that helps.
Cheers!

_________________________
- Vijay G
Strive for Perfection
 
Old February 26th, 2005, 04:08 PM
Registered User
 
Join Date: Jul 2004
Location: Largo, FL, USA.
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

MDAC fixed the error. Thanks.

 
Old March 3rd, 2005, 01:43 PM
Registered User
 
Join Date: Feb 2005
Location: , , .
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
quote:Originally posted by happygv
 Yes, it looks like your msado15.dll is not properly installed and registered on your webserver.

Use this in your page and see if that fixes the problem.


C:\Program Files\CommonFiles\System\ado\msado15.dll - This is where this dll is supposed to be, but if you have insallted all your program files in other drive then better confirm the path in your system and use the same.

If you still face the error, you will have to download MDAC 2.8 and install on your server, that could fix the problem.

Hope that helps.
Cheers!

_________________________
- Vijay G
Strive for Perfection
Another solution is to find the dll file and place it somewhere in your webpage - that way you know exactly where it is, and then use the full physical path to that file.

John Cramer
Sgt    USMC




Similar Threads
Thread Thread Starter Forum Replies Last Post
Server object error 'ASP 0177 : 800401f3' lizmorley BOOK: Beginning ASP 3.0 0 February 11th, 2008 07:48 AM
Server Object error 'ASP 0177 : 800401f3' geeta Classic ASP Professional 16 July 23rd, 2007 09:41 AM
Error : Server Object, ASP 0177(0x800401F3) InsouciantCoquette Classic ASP Components 2 February 21st, 2006 09:26 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.