Jump to content
Fórum Script Brasil
  • 0

ADODB.Command erro '800a0bb9'


Question

Boa tarde amigos,

Estou com um problema e estou me virando pois não mexo com nenhuma programação. sei apenas o basíco.

 

o erro que esta dando e esse:

 

ADODB.Command erro '800a0bb9'

Os argumentos são incorretos, estão fora do intervalo aceitável ou estão em conflito.

/sistema/classes/Login.asp, linha 47

________________________________________________________________________________________________

 

Dim Cmd
        Dim rsLogin, strSQL

    Set Cmd = Server.CreateObject("ADODB.Command")
     Cmd.ActiveConnection = Cnxn

        strSQL =  "SELECT * FROM TBL_USUARIO WHERE USU_LOGIN = ? AND USU_SENHA= ? AND USU_STATUS = '1'"

        Cmd.CommandText = strSQL

        Cmd.Parameters.Append Cmd.CreateParameter("@PARAM1",adVarChar,adParamInput,255, pLogin )
        Cmd.Parameters.Append Cmd.CreateParameter("@PARAM2",adVarChar,adParamInput,255, pSenha )

 

OBS: Sistema está em ASP, e o banco de dados SQL SERVER

 

O que fazer ? *-*

Edited by viniciusvinicius
Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Forum Statistics

    • Total Topics
      148720
    • Total Posts
      644508
×
×
  • Create New...