Comments for Chris Coulson's Developer Notes https://blogs.visigo.com/chriscoulson Tips on .Net, SQL Server, Sharepoint & AI Mon, 26 Feb 2024 15:49:12 +0000 hourly 1 https://wordpress.org/?v=6.3.5 Comment on Configuring Forms Based Authentication in SharePoint 2013 – Part 1 – Creating the Membership Database by Chris Coulson https://blogs.visigo.com/chriscoulson/configuring-forms-based-authentication-in-sharepoint-2013-part-1-creating-the-membership-database/#comment-39527 Mon, 26 Feb 2024 15:49:12 +0000 http://blogs.visigo.com/chriscoulson/?p=132#comment-39527 In reply to Baju.

I think the actual error being generated will be in the event viewer. If not, you might have to change the error display settings in IIS/web.config.

Does the windows auth work if you change it back to using windows auth only in the Web Application settings?

Are you running this with HTTPS?

]]>
Comment on Configuring Forms Based Authentication in SharePoint 2013 – Part 1 – Creating the Membership Database by Baju https://blogs.visigo.com/chriscoulson/configuring-forms-based-authentication-in-sharepoint-2013-part-1-creating-the-membership-database/#comment-39526 Mon, 26 Feb 2024 11:56:16 +0000 http://blogs.visigo.com/chriscoulson/?p=132#comment-39526 Hi, I have configured the FBA as per this article and it is showing the “windows authentication and form based authentication” On the login page. However if I select the fba authentication it is asking the credentials which is fine.
When I select windows authentication it is giving runtime error.

Error: the current custom error settings for this application prevent the details of the application error from being viewed remotely(for security reasons). It could be browse in local servers. This error is coming. Can any one help plz

]]>
Comment on Configuring Forms Based Authentication in SharePoint 2016, SharePoint 2019 and SharePoint Subscription Edition – Part 1 – Creating the Membership Database by Bikram https://blogs.visigo.com/chriscoulson/configuring-forms-based-authentication-in-sharepoint-2016-sharepoint-2019-part-1-creating-the-membership-database/#comment-39237 Fri, 15 Dec 2023 05:11:57 +0000 http://blogs.visigo.com/chriscoulson/?p=297#comment-39237 In reply to Amardeep.

Hey Amardeep, how did you use FBA with AD. Did you make any additional database for that? thanks

]]>
Comment on About Me by Chris Coulson https://blogs.visigo.com/chriscoulson/about/#comment-39121 Tue, 31 Oct 2023 02:26:58 +0000 http://blogs.visigo.com/chriscoulson/?page_id=2#comment-39121 In reply to ermiyas belay.

It is – the instructions for SharePoint 2016/2019 and the FBA Pack for 2016/2019 still work for the latest version of SharePoint (SharePoint Subscription Edition).

]]>
Comment on About Me by ermiyas belay https://blogs.visigo.com/chriscoulson/about/#comment-39120 Mon, 30 Oct 2023 21:07:20 +0000 http://blogs.visigo.com/chriscoulson/?page_id=2#comment-39120 Hi Chris, is FBA supported in SharePoint 2022?

]]>
Comment on SSD Freezing Fix by Jul https://blogs.visigo.com/chriscoulson/ssd-freezing-fix/#comment-39020 Sun, 10 Sep 2023 18:41:49 +0000 http://blogs.visigo.com/chriscoulson/?p=125#comment-39020 In reply to ImplementingSolution.

hey man just find the solution, you just have to paste this line at the top of the file:

Windows Registry Editor Version 5.00

]]>
Comment on SSD Freezing Fix by Jul https://blogs.visigo.com/chriscoulson/ssd-freezing-fix/#comment-39019 Sun, 10 Sep 2023 18:37:42 +0000 http://blogs.visigo.com/chriscoulson/?p=125#comment-39019 i have the same problem, did u find any solution?

]]>
Comment on Configuring Forms Based Authentication in SharePoint 2016 and SharePoint 2019 – Part 2 – Editing the Web.Config Files by Mahmood https://blogs.visigo.com/chriscoulson/configuring-forms-based-authentication-in-sharepoint-2016-sharepoint-2019-part-2-editing-the-web-config-files/#comment-38977 Tue, 08 Aug 2023 07:57:06 +0000 http://blogs.visigo.com/chriscoulson/?p=314#comment-38977 In reply to Chris Coulson.

Hi Chris,
Thank you very much for your fast replies.
I have indeed configured both servers with the same configurations, going through this article. so both had the same configurations. however, I found the issue which seems to be strange to me.

I did the following:
1- Open IIS Manager.
2- Clicked on securityTokenServiceApplication -> features View -> Connection Strings.
3- Here I noticed that I have different Connection strings that are pointing to different server, once I fixed it everything worked fine.

I checked the web.config again and found that the connection strings have been added there.

Thank you so much for your time and effort.

]]>
Comment on Configuring Forms Based Authentication in SharePoint 2016 and SharePoint 2019 – Part 2 – Editing the Web.Config Files by Chris Coulson https://blogs.visigo.com/chriscoulson/configuring-forms-based-authentication-in-sharepoint-2016-sharepoint-2019-part-2-editing-the-web-config-files/#comment-38976 Mon, 07 Aug 2023 22:35:39 +0000 http://blogs.visigo.com/chriscoulson/?p=314#comment-38976 In reply to Mahmood.

My guess is that something is configured differently in web1 than web2. Have you checked to make sure all of the .config file changes are the same? Are you sure that the connection string properly connects to the sql server from web1? Shouldn’t be, but is it possible that the app pool account is different between the two servers and only the web2 account has permissions to the fba database?

Another possibility is if you are using the encrypted password format instead of hashed (you should use hashed). The encrypted password format requires the same machine key values set on all servers.

]]>
Comment on Configuring Forms Based Authentication in SharePoint 2016 and SharePoint 2019 – Part 2 – Editing the Web.Config Files by Mahmood https://blogs.visigo.com/chriscoulson/configuring-forms-based-authentication-in-sharepoint-2016-sharepoint-2019-part-2-editing-the-web-config-files/#comment-38975 Mon, 07 Aug 2023 19:40:39 +0000 http://blogs.visigo.com/chriscoulson/?p=314#comment-38975 Hi Chris,
Thank you for this amazing article. I have a multiple server environment and I did the FBA configuration on my WEB1 & WEB2 servers, but I’m facing an issue where FBA users are redirected to the login page repeatedly, and sometimes after getting redirected they would get an Error saying that the username/password are wrong.

I tried to turn off the WEB1 IIS and everything worked fine. but still I need both of them the stay up.

any thoughts?

]]>