Thanks you. It is really useful.
I want to save data ASPNETDB in SqlServer.
I attach this data to sqlserver and add connectionstring in webconfig
Then I create some user, I open table aspnet_Users but I can't see user that I created .
Can you tell me the Why?
I'm using asp membership authentication, few days i created it it was working fine, lately i cannot log in anymore i recieve the invalid password error even if the password is correct. But other operations work's fine like creating new user and password recovery. Nothing is a problem on the database i check columns no account IsLockedOut then true.
I have this code on web config file which i realise is the one not allowing users to log in
<add name="connString1" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\ASPNETDB.MDF;Integrated Security=True;User Instance=True"/>
<credentials passwordFormat="Clear" />
<add connectionStringName="connString1" applicationName="Application1"
minRequiredPasswordLength="5" minRequiredNonalphanumericCharacters="0" name="Provider1" type="System.Web.Security.SqlMembershipProvider" />
Any help will be highly appreciated
When I run the website on my Pc, works fine, but when the website is uploaded in a remote server I get this error:
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)