Re: Unable to cast object of type 'System.Byte[]' to type 'System.IConvertible'.
Hi Jens,
If you have a way to invoke this code:
mojoSetup.CreateInitialData();
it will create the data.
It is designed to invoke that in Application_OnStart if no rows exist in mp_Sites
modifying the web.config should cause the application to restart and therefore invoke Application_OnStart so I'm not sure why that is not working for you
The error is happening in Begin_Request which would fire after Application_OnStart. It almost seems as if there are rows in mp_SiteHosts. If there are rows in mp_SiteHosts and no rows in mp_Sites, try deleting the rows from mp_SiteHosts
Hope it helps,
Joe