Hello chaps,
Hope you can help me! Im in the doo doo.
Woke this morning to find that my site had falled over due to lack of SQL database space.
I then ran the following script to try and reduce the size of the database...using the statement below...
TRUNCATE TABLE eventlog
TRUNCATE TABLE sitelog
DBCC SHRINKDATABASE (ibbd);
I have done this before with no problems...
But, when I visit the site
www.taxiroute.co.uk the text/html module is failing to work with the following error:
<span id="dnn_ctr1541_ctl00_lblMessage" class="Normal"><font size="2">DotNetNuke.Services.Exceptions.ModuleLoadException: The type initializer for 'DotNetNuke.Modules.HTML.DataProvider' threw an exception. ---> System.TypeInitializationException: The type initializer for 'DotNetNuke.Modules.HTML.DataProvider' threw an exception. ---> System.InvalidCastException: Unable to cast object of type 'DotNetNuke.Modules.HTML.SqlDataProvider' to type 'DotNetNuke.Modules.HTML.DataProvider'. at DotNetNuke.Modules.HTML.DataProvider.CreateProvider() at DotNetNuke.Modules.HTML.DataProvider..cctor() --- End of inner exception stack trace --- at DotNetNuke.Modules.HTML.DataProvider.Instance() at DotNetNuke.Modules.HTML.HtmlTextController.GetHtmlText(Int32 moduleId) at DotNetNuke.Modules.Html.HtmlModule.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---</font></span>
I have restarted the application using the HOST option but I am still getting the same error...
I have done nothing to the file system whatsoever only tried to shrink the database.
Can anyone please help me get this fixed?
Many thanks
Trevor