Help | Site Map
Connecting Tech Pros Worldwide
Reply
 
LinkBack Thread Tools
  #1  
Old September 24th, 2008, 09:58 AM
Member
 
Join Date: Sep 2006
Posts: 70
Default probs on asp-sql command

Expand|Select|Wrap|Line Numbers
    dim val set rm = Server.CreateObject ("ADODB.Command") rm.ActiveConnection=OBJdbConnection rm.CommandText="exec get_user" rm.Parameters.Append rm.CreateParameter("RETURN",adInteger,adParamReturnValue,4) rm.Parameters.Append rm.CreateParameter("@user_id",adVarChar,adParamInput,8,NoStaf) rm.Parameters.Append rm.CreateParameter("@pwd",adVarChar,adParamInput,12,Pwd) rm.Execute 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

Last edited by acoder; September 24th, 2008 at 02:44 PM. Reason: Added [code] tags
Reply
  #2  
Old September 24th, 2008, 02:45 PM
acoder's Avatar
Site Moderator
 
Join Date: Nov 2006
Location: UK
Posts: 12,596
Default

Moved from the Feedback forum to the ASP forum. Please post you questions in the correct forum and remember to use code tags when posting code.

Moderator.
Reply
  #3  
Old September 25th, 2008, 01:00 AM
Member
 
Join Date: Sep 2006
Posts: 70
Default

Hi Hi, Gomenasai(Sorry)
Reply
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles