Click here to Skip to main content
15,888,273 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Execute javascript before page_Load Pin
jkirkerx10-Nov-12 20:12
professionaljkirkerx10-Nov-12 20:12 
QuestionRe: Execute javascript before page_Load Pin
jojoba201110-Nov-12 20:21
jojoba201110-Nov-12 20:21 
AnswerRe: Execute javascript before page_Load Pin
jkirkerx11-Nov-12 12:08
professionaljkirkerx11-Nov-12 12:08 
QuestionRe: Execute javascript before page_Load Pin
jojoba201111-Nov-12 17:24
jojoba201111-Nov-12 17:24 
AnswerRe: Execute javascript before page_Load Pin
jkirkerx11-Nov-12 18:28
professionaljkirkerx11-Nov-12 18:28 
QuestionLogin control doesn authenticate user after closing/changing database Pin
thes@int10-Nov-12 10:02
thes@int10-Nov-12 10:02 
AnswerRe: Login control doesn authenticate user after closing/changing database Pin
jkirkerx10-Nov-12 20:04
professionaljkirkerx10-Nov-12 20:04 
GeneralRe: Login control doesn authenticate user after closing/changing database Pin
thes@int10-Nov-12 22:11
thes@int10-Nov-12 22:11 
What you didn't understand mate ? I tried to explain as simple as i could, but let me try to explain it again.

As i told you i have this application. The user can register, login, log out, change password, etc.

I am able to register new users from the registration form(ASP.NET CreateUserWizard). After having registered them, i can also log in successfully if i give the credentials of any of those users i registered.

But If i do one of the two steps below the error appears.

1. If i close the project and the database server(SQL Server Express 2008 R2)and after open it again, i cannot log in anymore with some of the registered users, as i could before closing the project.

2. If i try to:
i)change database(i have two DB, with different names but exactly the same
tables and columns inside)
ii)point my application in the connection string to the second database.
iii)run the application
iv) after put back the first database in the connection string
v) run the application
vi) try to log in with some user that is already registered
vii) Baam !! The user doesn't get authenticated. I get message that the password
and username are not correct, when before changing the database name,i could log in without
any problem.


And here is the strange thing that makes me crazy. After having done one of the two steps above, i still am able to register new users. The only thing i cannot do anymore, is log in with some user that already exists in the database.


I do not thing that it has to do anything with the Trim, because when i registered the users, i used very simple usernames and passwords without any white spaces, just for testing purposes.

I hope i made it more clear here now.

Thank you very much for taking the time to see this !

Regards,

Pier
GeneralRe: Login control doesn authenticate user after closing/changing database Pin
jkirkerx11-Nov-12 11:32
professionaljkirkerx11-Nov-12 11:32 
GeneralRe: Login control doesn authenticate user after closing/changing database Pin
thes@int13-Nov-12 2:14
thes@int13-Nov-12 2:14 
GeneralRe: Login control doesn authenticate user after closing/changing database Pin
jkirkerx13-Nov-12 6:57
professionaljkirkerx13-Nov-12 6:57 
QuestionIt takes too long to execute a query in aspx page Pin
Abdul Rahman Hamidy9-Nov-12 20:10
Abdul Rahman Hamidy9-Nov-12 20:10 
AnswerRe: It takes too long to execute a query in aspx page Pin
jkirkerx10-Nov-12 19:58
professionaljkirkerx10-Nov-12 19:58 
GeneralRe: It takes too long to execute a query in aspx page Pin
David Mujica13-Nov-12 3:53
David Mujica13-Nov-12 3:53 
QuestionProblem with MapPageRoute Pin
Jassim Rahma9-Nov-12 8:50
Jassim Rahma9-Nov-12 8:50 
AnswerRe: Problem with MapPageRoute Pin
fjdiewornncalwe9-Nov-12 9:46
professionalfjdiewornncalwe9-Nov-12 9:46 
GeneralRe: Problem with MapPageRoute Pin
Jassim Rahma9-Nov-12 9:50
Jassim Rahma9-Nov-12 9:50 
Question{36D27C48-A1E8-11D3-BA55-00C04F72F325} failed due to the following error: 80010001 Call was rejected by callee. Pin
Member 95859818-Nov-12 23:55
Member 95859818-Nov-12 23:55 
AnswerRe: {36D27C48-A1E8-11D3-BA55-00C04F72F325} failed due to the following error: 80010001 Call was rejected by callee. Pin
jkirkerx10-Nov-12 20:09
professionaljkirkerx10-Nov-12 20:09 
QuestionHi friends i want to create a web application Pin
VinothData8-Nov-12 23:52
VinothData8-Nov-12 23:52 
Questionlarger file uploading issue Pin
silentspeaker8-Nov-12 3:17
silentspeaker8-Nov-12 3:17 
QuestionUnable to cast object of type 'System.Web.HttpInputStream' to type 'System.IO.FileStream' Pin
silentspeaker8-Nov-12 1:55
silentspeaker8-Nov-12 1:55 
AnswerRe: Unable to cast object of type 'System.Web.HttpInputStream' to type 'System.IO.FileStream' Pin
Richard Deeming8-Nov-12 2:26
mveRichard Deeming8-Nov-12 2:26 
GeneralRe: Unable to cast object of type 'System.Web.HttpInputStream' to type 'System.IO.FileStream' Pin
silentspeaker8-Nov-12 2:34
silentspeaker8-Nov-12 2:34 
GeneralRe: Unable to cast object of type 'System.Web.HttpInputStream' to type 'System.IO.FileStream' Pin
Richard Deeming8-Nov-12 2:44
mveRichard Deeming8-Nov-12 2:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.