After I published my website on the local server,the login always fails the first time,then it works the second time.But on develpment machine,it works normally.
I suspect that you are attaching the sql express membership db in the connection string. The first error is because you are getting a timeout error the first time you run the website membership functions.
moe_caruso
Member
9 Points
41 Posts
The login attempt fails on the first time but it works the second time??!!
May 06, 2012 08:34 AM|LINK
Hello guys,
After I published my website on the local server,the login always fails the first time,then it works the second time.But on develpment machine,it works normally.
Any idea why does that happen?
Thanks in advance.
Ken Tucker
All-Star
16797 Points
2608 Posts
MVP
Re: The login attempt fails on the first time but it works the second time??!!
May 06, 2012 10:50 AM|LINK
I suspect that you are attaching the sql express membership db in the connection string. The first error is because you are getting a timeout error the first time you run the website membership functions.
Space Coast .Net User Group
moe_caruso
Member
9 Points
41 Posts
Re: The login attempt fails on the first time but it works the second time??!!
May 06, 2012 12:14 PM|LINK
I am using Oracle Memeberhsip Provider,what should I do to make it work normally?
viknesh_a
Member
2 Points
7 Posts
Re: The login attempt fails on the first time but it works the second time??!!
Nov 29, 2012 03:29 AM|LINK
Hi,
I faced the same issue, I changed the Application Pool of the site to DefaultAppPool, it worked fine.