---
title: "Problem in forms authentication"  
description: "Problem in forms authentication"  
author: "Anonymous User"  
published: 2014-08-27  
updated: 2014-08-27  
canonical: https://www.mindstick.com/forum/2158/problem-in-forms-authentication  
category: "asp.net"  
tags: ["asp.net", ".net", "c#", "authentication", "forms authentication", "Problem in forms authentication", "issue in forms authentication"]  
reading_time: 1 minute  

---

# Problem in forms authentication

I am using [forms authentication](https://www.mindstick.com/forum/311/forms-authentication-and-authorization) in my [web site](https://www.mindstick.com/articles/12285/the-finest-web-site-design-trends-you-may-expect-in-2017) and I defined this in my config.

Therefore I have an ASPNETDB.MDF. So do I need to have a [database](https://www.mindstick.com/articles/12226/use-of-database-in-sencha-extjs-and-insert-record-from-user-form-using-ajax) called ASPNETDB.MDF in my web [host](https://yourviews.mindstick.com/view/85456/foreign-direct-investment-fdi-and-its-impacts-on-host-countries)?

If that is the case then how do I [connect](https://www.mindstick.com/articles/12810/how-to-connect-tablet-to-external-monitor-or-flat-screen-tv-using-computer-adapters) this so that my site uses this to verify [users](https://www.mindstick.com/news/2244/issue-preventing-users-from-accessing-facebook-s-social-networking-platforms-has-been-resolved)?

## Replies

### Reply by Sumit Kesarwani

Hi Chintoo,\

<connectionStrings>

<clear />

<add name="NewConnectionString" connectionString="Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|aspnetdb.mdf" providerName="System.Data.SqlClient" />

</connectionStrings>

<membership>

<providers>

<clear/>

<add name="AspNetSqlMembershipProvider"

connectionStringName="NewConnectionString"

type="System.[Web](https://www.mindstick.com/articles/12783/the-ultimate-bunch-of-free-web-design-resources).Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />

</providers>

</membership>


---

Original Source: https://www.mindstick.com/forum/2158/problem-in-forms-authentication

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
