locked
Help - Deploying ASPNETDB.MDF RRS feed

  • Question

  • User236698710 posted

    Hello,

    I built a web app in ASP.NET 2.0 and am using SQL Server Express on our server.

    It runs fine on my computer from within VBS 2005, but login fails after I deploy to our web server.

    What do I do with the ASPNETDB.MDF file that is in my project?

    I already have it in our SQL Server Express. I copied it to the data directory and than did an attach.

    Thanks for the help.

    Frank

    Thursday, May 25, 2006 12:57 PM

All replies

  • User1311891201 posted
    I have the same problem. After i deploy in iis, login doesnt work. It says wrong user/password. What should we do ?
    Wednesday, June 14, 2006 7:41 PM
  • User-1850438717 posted
    Hi, this might work for you as well. 1. Install SQL Server Management Studio Express 2. open it, under Security->Logins, create a new Login for the ASPNET Account 3. attach your ASPNET.MDF file to the sql server express (databases right click, Attach..) best regards Tobias
    Monday, July 3, 2006 6:17 AM
  • User970279637 posted

    tobi_2bee, it doesn't work. Maybe it's need to change something in ConnectionString?

    Wednesday, November 25, 2009 6:34 AM