close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Login from Table works, not from Query

Thread began 1/21/2010 1:32 pm by Yazzy | Last modified 1/21/2010 6:01 pm by Yazzy | 735 views | 4 replies |

Yazzy

Login from Table works, not from Query

Hi,

This is a very strange problem.

SA works well when I'm checking the username and password from a ms access database. But not when I access those field from a database query.

Has anyone had the same issue ?
I'm using ASP/VbScript.

Thanks

Sign in to reply to this post

Jason ByrnesWebAssist

I have used Access queries with Security Assist before without a problem. Are you 100% certain the user you are trying to login with is being returned by the query?

Sign in to reply to this post

Yazzy

Yes. I have even tested with a new query also where only the contact table is included.
All the fields and users are returned by the query.

I have a feeling that the form values are not sent are received properly when using a query in access.

The error I get is:

Runtimefout Microsoft VBScript error '800a005e'
invalid use of Null: 'cStr'

Sign in to reply to this post

Jason ByrnesWebAssist

This error means that one of the values being compared is a NULL Value. Most likely one of the Columns you selected to be stored in session variables. make sure there are no NULL Values in the columns you select to store in session variables.

Sign in to reply to this post

Yazzy

solved

yes, that is it. The query contains also other that do not require to login and have no password set.

thanks for your help !

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...