Shared hosting and sql express issue

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.
 
E

Eliyahu Goldin

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
 

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. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,576
Members
45,054
Latest member
LucyCarper

Latest Threads

Top