Wrox Programmer Forums
|
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 August 9th, 2004, 10:02 AM
Registered User
 
Join Date: Aug 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default ASP Error 0185

Hi,

I am trying to insert data into mysql with asp. But i get an error code 0185-Missing default property. I know the asp is connecting to mysql database because if i ask an query to obtain a result, i get some result.

I think my question is what property do i need to set up to allow me to insert data to an mysql table.

I am using mysql-4.0 and myodbc-3.5.

I tried looking the problem up on the internet but i did not find any approriate solutions for it.

Any advice will be helpful. Thanks in advance

Code:
Dim objConn, strSQL

Set objConn = Server.CreateObject("ADODB.Connection")
objConn.Open "dsn=mysql_dsn"

strSQL = "Some sort of insert statement"

objConn.Execute strSQL
 
Old August 10th, 2004, 12:09 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

Do you use any response object inbetween the code there?

_________________________
- Vijay G
Strive for Perfection





Similar Threads
Thread Thread Starter Forum Replies Last Post
Error in Migrating Project from ASP to ASP.NET hbansal ASP.NET 1.0 and 1.1 Professional 0 September 12th, 2008 05:48 AM
ASP error redski Classic ASP Basics 3 December 8th, 2005 10:29 PM
ASP "no right" error Edward King Classic ASP Basics 2 January 13th, 2005 06:55 AM
ASP error cudjoe83 Classic ASP Databases 2 August 26th, 2003 04:49 AM





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