Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
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.

Reply With Quote
  #2 (permalink)  
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
Reply With Quote
  #3 (permalink)  
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



Reply With Quote
  #4 (permalink)  
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")



Reply With Quote
  #5 (permalink)  
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
Reply With Quote
  #6 (permalink)  
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.

Reply With Quote
  #7 (permalink)  
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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 07:06 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.