FBA - Login issue
Hi, I have configured the FBA on my stand alone development server with the help of this MSDN article (http://msdn.microsoft.com/en-us/library/bb975136.aspx). I'm using SQL DB to store the user authentication information. After I have configured the user and access the extranet site(http://sharepoint.extranet.org), it redirects to login page but when I enters user name and password it does not redirect anywhere. Also it does not show any error message on the login form or in the windows event viewer. What could be the problem? Thanks in advance, Sanban
May 4th, 2010 9:28pm

When you say 'it does not redirect anywhere', then what does it do after you've provided credentials? Does it display a blank page, display an error page - please describe the exact behavior. Did you create a site collection via the Central Admin page underneathe the web application that uses FBA?
Free Windows Admin Tool Kit Click here and download it now
May 4th, 2010 10:35pm

maybe u did not correctly mentioned the reference to your DB when u set up your FBA, can u be more precise what actually happens their must be some error msg ?
May 5th, 2010 2:46am

Hi Tracy, Thanks for replying.. No it does not display blank or error page, it just stays there in _layouts/login.aspx page. I get this behaviour for both valid or invalid credentials. Also I do not see any error log in both 12 Hive log or event viewer, so not sure whats wrong with this. I followed exactly the same steps thats mentioned in this article. Any clue?
Free Windows Admin Tool Kit Click here and download it now
May 5th, 2010 4:00pm

As I mentioned before there is no error message gets logged any where. I use the same connection string format as mentioned in the article to conect to DB: <add name="fbaSQL" connectionString="server=myservernamehere;database=aspnetdb;Trusted_Connection=true" />
May 5th, 2010 4:02pm

Hi Sanban, Sometimes when this happened to me I just shut down the server and turn on again and the problem disappeared. Regards, Silvina A. Pizzarulli. http://www.silvinapizzarulli.blogspot.com
Free Windows Admin Tool Kit Click here and download it now
May 5th, 2010 4:06pm

Oh really ..I have not tried this though ..will update if this resolve this issue. Thanks ..
May 5th, 2010 4:17pm

Hi Silvina, After I restarted the server, I started getting the error message. On the login page I'm getting "Unknown Error" and in 12 hive log the error mssage says: Exception Type: System.Data.SqlClient.SqlException Exception Message: EXECUTE permission denied on object 'aspnet_CheckSchemaVersion', database 'aspnetdb', schema 'dbo'. Whats the issue here?
Free Windows Admin Tool Kit Click here and download it now
May 5th, 2010 4:38pm

Hi Sanban, You should check if the application pool user of your web application, has execute permissions in aspnetdb. And if you want to see the proper error page, edit the web.config and change this: callstack="true" and customErrors mode="Off" Regards,Silvina A. Pizzarulli. http://www.silvinapizzarulli.blogspot.com
May 5th, 2010 4:47pm

Thanks Silvina, yes giving execute permission to application pool account for that database worked. But as per the Microsoft article it says we just need to give READ permission not EXECUTE.. Anyway Thanks a lot again, Sanban
Free Windows Admin Tool Kit Click here and download it now
May 6th, 2010 11:28am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics