Welcome to the dBforums forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

If you prefer not to see double-underlined words and corresponding ads, place your cursor
here for ContentLink opt out.

Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > Parameter.append issue

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-12-07, 12:31
Shaun.McGuile Shaun.McGuile is offline
Registered User
 
Join Date: Jun 2007
Location: Under a desk hiding from SSIS
Posts: 23
Angry Parameter.append issue

This ones driving me crazy

I have a four stage release process - a webserver for each one

the website runs on each one;

development (passed/working)
staging (passed/working)
client acceptance testing (failed)
live public viewable (not yet deployed)

Have a corresponding database, SQL Server 2000, serving data to each.

Using javascript to build up an ADODB Command object.

When I append a parameter

Code:
cmdTemp.Parameters.Append(cmdTemp.CreateParameter("@IdString", adInteger, adParamInput, 4, productId));

it fails on the acceptance server but passes on the dev and staging platforms.

I have checked all of the connection strings, meta data of the databases and that data is present. All is as it should be.

Has anyone ever had a similar experience?

It appears as if the ADODB command object on the acceptance platform is refusing to work as expected.

The site has not yet been promoted to live.

Its very strange.
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

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