1
Answer

Login Problem-Subquery returned more than 1 value

Ask a question
r p

r p

15y
2.7k
1

 I am getting the following error:-

Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression.
Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression.
 

 protected IDataReader ExecuteReader(DbCommand cmd, CommandBehavior behavior)

{

    return cmd.ExecuteReader(behavior);

 }

This happens when I try to login and I have noticed that if the user closes the window without logging out this happens. If it happens with a username once, that username can never be used. Whenever I try to login with that username I will get this error.

So, it  is a serious problem. Can anyone help me to fix this?

I am using create userwizard to create user and login view to login into the site. 

Thanks

 

 


Answers (1)