2
I am developing a system with C# (MVC) and Mysql. Everything works perfectly well when using my local database instance.
I duplicated this database on Uolhost and that’s when something bizarre happens.
When I change the Connection string (only the address) to connect to the Uolhost database, when trying to log into the system, all the database tables are deleted and new tables are created AspNetUsers
automatically.
Why is the system erasing the database and building only these tables? And because this only happens in the server database, while on the machine it works normally?
Someone, please, would have a hint?
You are using Simple Membership?
– Leonel Sanches da Silva
Does this situation occur after you publish the site? Make sure you are not sending the database more than once.
– Luiz Vichiatto
I don’t even get to publish... just from running on VS it already happens...
– Felipe Bulle
Gypsy, I’m using the authentication that VS itself puts on when you create the project...
– Felipe Bulle