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 July 19th, 2007, 07:53 AM
Registered User
 
Join Date: Jun 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default ADODB.Parameters (0x800A0E7C)

I am getting the following error.

Error Type:
ADODB.Parameters (0x800A0E7C)
(dbStoredProcedureCall.ReturnRecordSet.GetRecordSe t) Stored Procedure Name: sp_Exec_SQL Error: Parameter object is improperly defined. Inconsistent or incomplete information was provided.
/emeeting/Find_Reservations.asp, line 638


Code is:


    parmArray(1,1) = adVarChar
    parmArray(3,1) = 8000
    parmArray(4,1) = SQL
    oDBCall_sp.GetRecordSet clsConn.Connection, "sp_Exec_SQL", parmArray ,oRS, returnValue

    If Err.Number = 0 then
        if oRS.State <> 0 then
            If Not (oRS.EOF = True And oRS.BOF = True) Then%>
                <table nowrap border="0" width="100%">
                    <th bgcolor="#003187" class="intranetLinks">Confirmation<br>Number</th>
                    <th bgcolor="#003187" class="intranetLinks">Meeting Date</th>
                    <th bgcolor="#003187" class="intranetLinks">Short Description</th>
                    <th bgcolor="#003187" class="intranetLinks">Status</th>



and Stored procedure is:

DECLARE @RC int
DECLARE @SQL varchar(8000)
SELECT @SQL = NULL
EXEC @RC = [eMeeting].[dbo].[sp_Exec_SQL] @SQL
DECLARE @PrnLine nvarchar(4000)
PRINT 'Stored Procedure: eMeeting.dbo.sp_Exec_SQL'
SELECT @PrnLine = ' Return Code = ' + CONVERT(nvarchar, @RC)
PRINT @PrnLine

I am not getting the reason. Please any one can help me.



Kishore Kumar
Software Engineer
TATA Consultancy Services.
 
Old July 19th, 2007, 11:20 AM
Friend of Wrox
 
Join Date: Jul 2003
Posts: 599
Thanks: 6
Thanked 3 Times in 3 Posts
Default

Which line of code is 638?

 
Old July 20th, 2007, 04:13 AM
Registered User
 
Join Date: Jun 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

oDBCall_sp.GetRecordSet clsConn.Connection, "sp_Exec_SQL", parmArray ,oRS, returnValue

is the 638 line

Kishore Kumar
Software Engineer
TATA Consultancy Services.





Similar Threads
Thread Thread Starter Forum Replies Last Post
How to update using ADODB jmhemadri Classic ASP Databases 1 September 9th, 2008 06:07 PM
Can we Inherit ADODB venki5star Visual Studio 2005 3 March 13th, 2006 10:50 AM
ADODB.Fields EricJ ASP.NET 1.x and 2.0 Application Design 6 May 5th, 2005 07:21 AM
How to get adodb.record from adodb.recordset John Pennington Pro VB Databases 1 November 20th, 2004 06:17 AM





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