Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Error : Response oject error, help..
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Error : Response oject error, help..

 Post Reply Post Reply
Author
woodja View Drop Down
Newbie
Newbie


Joined: 18 March 2003
Location: United States
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote woodja Quote  Post ReplyReply Direct Link To This Post Topic: Error : Response oject error, help..
    Posted: 18 March 2003 at 6:18pm

I'm trying to recieve values from an access database, and this is the error message i get :

Response object error 'ASP 0185 : 8002000e'

Missing Default Property

/woodya/PicRate.asp, line 0

A default property was not found for the object.

I've tried alot to fix it, can't figure it out, but her is the code :

<%
dim conn, lpicid, lpicrate, lpicavg, filepath, rspic

set conn = Server.CreateObject("ADODB.Connection")

filepath = Server.MapPath("/woodya/db/LDBPIC.mdb")
conn.Open "Driver={Microsoft Access Driver (*.mdb)}; DBQ=" & FilePath & ";"

lpicid = conn.execute ("SELECT lphotoid FROM tbllastpic WHERE id = 99")
lpicrate = conn.execute ("SELECT lphotorate FROM tbllastpic WHERE id = 99")
lpicavg = conn.execute ("SELECT lphotoavg FROM tbllastpic WHERE id = 99")
 %>

Any help, would be great, thanks in advance.

Back to Top
MorningZ View Drop Down
Senior Member
Senior Member
Avatar

Joined: 06 May 2002
Location: United States
Status: Offline
Points: 1793
Post Options Post Options   Thanks (0) Thanks(0)   Quote MorningZ Quote  Post ReplyReply Direct Link To This Post Posted: 18 March 2003 at 8:15pm
<%
dim conn, lpicid, lpicrate, lpicavg, filepath, rspic

set conn = Server.CreateObject("ADODB.Connection")

filepath = Server.MapPath("/woodya/db/LDBPIC.mdb")
conn.Open "Driver={Microsoft Access Driver (*.mdb)}; DBQ=" & FilePath & ";"

Set lpicid = conn.execute ("SELECT lphotoid FROM tbllastpic WHERE id = 99")
Set lpicrate = conn.execute ("SELECT lphotorate FROM tbllastpic WHERE id = 99")
Set lpicavg = conn.execute ("SELECT lphotoavg FROM tbllastpic WHERE id = 99")
%>
Contribute to the working anarchy we fondly call the Internet
Back to Top
woodja View Drop Down
Newbie
Newbie


Joined: 18 March 2003
Location: United States
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote woodja Quote  Post ReplyReply Direct Link To This Post Posted: 19 March 2003 at 11:42am
Thank You for replying but still no luck, any other ideas.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.