ASPNETDB.MDF problem

Discussion in 'Databases' started by Jugs0101, Sep 17, 2006.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Hi

    I'm fairly new to ASP.Net and SQL Server Express etc. I hope someone can help.
    the problem below is causing a problem when I try attaching the ASPNETDB.MDF using the discountasp.net attach tool.

    I'm trying to setup the website admin side of things. I've used the .Net built in Login control etc, and everything works fine.
    The trouble comes when I try separating the ASPNETDB.MDF file from it's default place (App_Data folder).

    I move ASPNETDB.MDF to another folder
    I've modified the web.config file accordingly (under the <membership> tag)
    I open the ASP.Net Configuration form inside Studio
    It recognises the fact that I'm using the moved database

    but...
    As soon as I click on the 'Security' link, a new ASPNETDB.MDF is then created in the App_Data folder.
    The tool then referes to this database and so does my application

    I've tried numerous things, but seem to keep going round in circles /emoticons/turn.gif

    Can anyone help. I'm probably doing something stupid.....

    Cheers,

    Jugs
     
  2. Bruce

    Bruce DiscountASP.NET Staff

  3. waaahhh. Bruce you star. Where did that knowledge base article come from. I searched and searched but couldn't find one before. Following it to the letter worked perfectly. Thanks very much.
    Jugs
     
  4. Yup, he does a great job here.

    What do you want Bruce, Espresso or Cola? [​IMG]
     
  5. Bruce

    Bruce DiscountASP.NET Staff

    What about a bottle of 1982 Chateau Lafite??
     
  6. You deserve it bro. [​IMG]
     
  7. Where is http://kb.discountasp.net/article.aspx?id=10413

    I have a ASPNETDB.MDF problem. In this forum, I saw that you recommended this link http://kb.discountasp.net/article.aspx?id=10413. Somebody followed this link and he/she solved his/her problem. I have the same problem, but right now after I click this link, the page already gone. Could you please recommend me some link like this one to solve my problem?

    Thank you very mcuh!
     
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