Last post Jun 10, 2010 10:34 AM by mr.ister
Jun 10, 2010 02:59 AM|mr.ister|LINK
Im using the MySql Membership-,Role- and ProfileProvider. If the mysql-server goes offline the site crashes (ofcourse). But when the mysql-server gets back online the site still crashes, complaining that the Role provider cant get initialized because of
missing or incorrect schema. If I then make a meaningless change to the web.config (like adding a space somewhere) the site works again.
What is the problem and how do i solve it?
Jun 10, 2010 06:18 AM|SharpeCoder|LINK
The meaningless change to web.config actually restarts the site so the problem is with some roleprovider caching.
A simple site restart should fix your problem.
Jun 10, 2010 10:34 AM|mr.ister|LINK
Okey, but how can i disable this caching or make it automatically restart?
I dont want to have to restart the site manually everytime.