473,407 Members | 2,326 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

probs on asp_sql command

Expand|Select|Wrap|Line Numbers
  1. dim val 
  2. set rm = Server.CreateObject ("ADODB.Command") 
  3. rm.ActiveConnection=OBJdbConnection 
  4. rm.CommandText="exec get_user" 
  5.  
  6. rm.Parameters.Append rm.CreateParameter("RETURN",adInteger,adParamReturnValue,4) 
  7.  
  8. rm.Parameters.Append rm.CreateParameter("@user_id",adVarChar,adParamInput,8,NoStaf) 
  9.  
  10. rm.Parameters.Append rm.CreateParameter("@pwd",adVarChar,adParamInput,12,Pwd) 
  11. rm.Execute 
  12. val=rm.Parameters("RETURN").Value 


------------------------------------------------------------------------------------------------------------------ADODB.Command error '800a0bb9'

Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another.

/Intranet/MainVal2.asp, line 14
Sep 25 '08 #1
1 1288
DrBunchman
979 Expert 512MB
I think this is a problem with your parameters. What parameters is your stored procedure expecting and what types are they?

Dr B
Sep 25 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: david mcdade | last post by:
hello, i have recently installed & config'd mysql all seems to be fine with command line, however i have installed phpmyadmin and keep getting complaints about 'cant connect to local mysql...
1
by: Arijit Chatterjee | last post by:
Hi Everybody, I am facing another probs. I have created a trigger for table Tab1 for perticular column col1 for checking value ranges.But at time for using insert statement it is working fine but...
1
by: notbob | last post by:
Newb here! Using 4.0.20 on Slack. Slogging through the official manual. At 2.4.3 Securing the Initial MySQL Accounts, I'm finally stopped cold while trying to follow instructions. Here's what I...
2
by: andrewcw | last post by:
Seems it should be simple. I had problems with a larger class and the newsgroup suggested something I also tried. So I pruned my class to see if I could find out what could be wrong, Still dont...
4
by: David | last post by:
Hi all, I am doing this in a web page... I have a dropdownlist that autopostback. This sets me a filter criteria for items to display in a datalist. In the datalist, I have edit...
7
by: polecat | last post by:
Im new to .NET and I am having probs with this Every time I reload the form the same data is repeated again.... Done reading on msdn and another forum cant figure out why the...
1
by: coka4mee | last post by:
Hello =) I have a problem with a Microcontrolle and its programming in C. I trie to write some Registers on the command line, but I get the warning: "makes pointer from integer without a cast". Here...
2
by: Rob Eventine | last post by:
hi all, how does one go about changing the details in the aspnetdb dbase using the supplied stored procs? i am using vb as my language but i have no idea how to use them, how to call them or...
2
by: MATTXtwo | last post by:
dim val set rm = Server.CreateObject ("ADODB.Command") rm.ActiveConnection=OBJdbConnection rm.CommandText="exec get_user" rm.Parameters.Append...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.