Shared hosting and sql express issue

Discussion in 'ASP .Net' started by OGG, Jan 4, 2007.

  1. OGG

    OGG Guest

    Hi guys,
    I hope this is the correct place to post this question.

    1) My website makes use of the Membership and Roles of 2.
    2) I have uploaded my website to a shared hosting server, which doesn't
    support sql express (mdf files). It does support mysql, so I used a
    custom Membership provider for MySql.
    3) It worked greate on my local computer, however (!!) it still creates
    a aspnetbd.mdf file in the AppData folder.
    4) Obviously, when I tried to run it on the website, I got an error.

    My questions: Why my website sill creates a aspnetbd.mdf file even if I
    am not using it anymore for the Membership ?
    How can I disable it, in order for it to run on a server which does not
    support it ?


    OGG, Jan 4, 2007
    1. Advertisements

  2. Itye,

    It is created by default regardless if you are using it or no. You can just
    delete it. The very presence of the file shouldn't cause any errors. It is
    likely that you are still referring to it somehow from the code.

    Eliyahu Goldin,
    Software Developer & Consultant
    Microsoft MVP [ASP.NET]
    Eliyahu Goldin, Jan 4, 2007
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.