Shared hosting and sql express issue

  • Thread starter Thread starter OGG
  • Start date Start date
O

OGG

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

1) My website makes use of the Membership and Roles of asp.net 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 ?

Thanks,

Itye.
 
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]
http://msmvps.com/blogs/egoldin
http://usableasp.net
 
Back
Top