Jump to content
Fórum Script Brasil
  • 0

Usando O Serve Behavior Log In User Do Dreamweaver


Guest Antonio Paim

Question

Guest Antonio Paim

Pessoal, estou com um problema com server behavior Log in user do Dreamweaver. Crio o formulario usando esse recurso, mas ao colocar o login e senha recebo mensagem:

Tipo de erro:

Microsoft OLE DB Provider for ODBC Drivers (0x80040E07)

[Microsoft][Driver ODBC para Microsoft Access] Tipo de dados imcompatível na expressão de critério.

/fhr/cefhr/login2.asp, line 35

A linha 35 começa com o codigo abaixo.

MM_rsUser.Open

If Not MM_rsUser.EOF Or Not MM_rsUser.BOF Then

' username and password match - this is a valid user

Session("MM_Username") = MM_valUsername

If (MM_fldUserAuthorization <> "") Then

Session("MM_UserAuthorization") = CStr(MM_rsUser.Fields.Item(MM_fldUserAuthorization).Value)

Else

Session("MM_UserAuthorization") = ""

End If

if CStr(Request.QueryString("accessdenied")) <> "" And false Then

MM_redirectLoginSuccess = Request.QueryString("accessdenied")

End If

MM_rsUser.Close

Response.Redirect(MM_redirectLoginSuccess)

End If

MM_rsUser.Close

Response.Redirect(MM_redirectLoginFailed)

End If

alguém poderia me ajudar?

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0
Guest - Douglas Barbosa -

David,

Já achou o problema, estou com o mesmo problema. Apresenta a mesma mensagem. A linha 35 referese a MM_rsUser.Open.

Douglas

caracaswebsite@ig.com.br

Link to comment
Share on other sites

  • 0
Guest - Douglas Barbosa -

Descobri o problema, na tabela access a coluna senha estava configurado como alfa numerico tem que ser como texto.

Descobri na raça.

Douglas

Link to comment
Share on other sites

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
      152.1k
    • Total Posts
      652k
×
×
  • Create New...