Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.0 and 1.1 Professional
| Search | Today's Posts | Mark Forums Read
ASP.NET 1.0 and 1.1 Professional For advanced ASP.NET 1.x coders. Beginning-level questions will be redirected to other forums. NOT for "classic" ASP 3 or the newer ASP.NET 2.0 and 3.5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Professional 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 May 17th, 2006, 12:19 AM
Authorized User
 
Join Date: Dec 2005
Location: Bangalore, , .
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to kapi.goel
Default Check the strored procedure running in ASP code

I am trying to run a stored procedure resides in Informix Database.

I am using ASP code to run the stored procedure (Inserting one record in the database table)
Not getting any error while running the ASP page code given below

-----------------------------------------------------------------
''''''Paramerters Input
pRsrvtnRef = 1
pRsrvtnCode = "E"

Set connIS = Server.CreateObject("ADODB.Connection")
objConnIS.ConnectionString = "Dsn=ICacheDB;Driver={INFORMIX 3.2 BIT};"
connIS.Open

Set cmdSC = Server.CreateObject("ADODB.Command")
cmdSC.ActiveConnection = objConnInformixServer
cmdSC.CommandText = "p_AddRsrvtnV1"
cmdSC.CommandType = adCmdStoredProc


cmdSC.Parameters.Append cmdSC.CreateParameter("@pRsrvtnRef", adInteger, adParamInput, , pRsrvtnRef)

cmdSC.Parameters.Append cmdSC.CreateParameter("@pRsrvtnCode", adChar, adParamInput, 1, pRsrvtnCode)

cmdSC.Execute
connIS.Close

Response.Write("Executed")
Response.End
------------------------------------------------------
Page is runnning fine but not able to insert any record into the table used inside the procedure.

Same input data (2 input parameters) is running the stored procedure manually.

Can any body help me how to trace if the stored procedure is running or not ??? If yes, then where is the error.

Note: Stored procedure i am running is standard and full proof.



KG
__________________
KG




Similar Threads
Thread Thread Starter Forum Replies Last Post
strored procedure... ethantinder C# 1 May 5th, 2008 01:25 PM
Error while running javascript code in ASP.NET Pag fozia_izhar ASP.NET 1.0 and 1.1 Professional 2 December 20th, 2006 03:39 AM
ASP Code running Stored Procedure kapi.goel ASP.NET 1.0 and 1.1 Basics 0 May 17th, 2006 12:19 AM
how to use values returned by a Strored Procedure Feversoft Visual Studio 2005 1 May 7th, 2006 11:03 PM
Running procedure - code window! penta Access 12 February 1st, 2005 04:43 AM





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