reading data frm aspnetdb.mdf

Discussion in 'ASP.NET / ASP.NET Core' started by Merv Norton, Mar 15, 2010.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. I have entered more than 50 User Names and Passwords into ASPNETDB.MDF. All are active and working on my site, 1stSigBdeAssn.org. I need to read the User Name, Password and Email addresses from this database. Visual Studio only allows me to see the User Name. If I try to read this file with Visual Studio I get an old file with only two test entries that I deleted more than three weeks ago. How can I read the current data from the ASPNETDB file?
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    Aspnetdb file is used only by SQL Express.
     
  3. Then what file did I create with Visual Studio? It was aspnetdb.mdf, which I uploaded to my web site and am able to allow over 50 individuls to access the Members section web site. There is a file on my web site that contains all this information. If it is not aspnetdb.mdf, what is it?
     
  4. Hi,
    Something here is odd...
    (If you want me to take a look at your server to investigate let me know, no charge.)

    SQL Server DB's are not supported on DASP servers but there is a great Attach feature you can use to get your Express DB onto a DASP SQL Server.

    Locally you can work with your Express DB and then sync with your live DASP SQL Server as needed, it's all very quick.
    There's a video for this on dasptv.com
    All the best,
    Mark
     
  5. I have a question. As you make the login page. You upload the data base contains the user names and password to the ftp. How to config it, It said "
    Line 146: <membership>
    Line 147: <providers>
    Line 148: <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="LocalSqlServer" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="true" applicationName="/" requiresUniqueEmail="false" passwordFormat="Hashed" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="7" minRequiredNonalphanumericCharacters="1" passwordAttemptWindow="10" passwordStrengthRegularExpression=""/>
    Line 149: </providers>
    Line 150: </membership>"
    I am new at this. Hope you guys can help me out. Thanks again.
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page