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)
I find this very interesting, but how can someone deploy the membership information database with the setup.msi. I have try to manual add the App_Data, but not working. My application was confused to identify the database when running IIS 6.0 , since I also have connectionstring to ODBC in my web config file.What should I do to accomplish this.
Also I want to know if it is possible to use web site administrative tool in window 3003 server or other OS without installing VS 2005.
Last Visit: 31-Dec-99 19:00 Last Update: 17-Dec-14 9:56