This project is read-only.

Unexpected node type Element

Topics: ASP.NET 2.0
Nov 20, 2009 at 1:19 AM
Edited Nov 20, 2009 at 1:46 AM

I'm able to get BlogEngine.NET 1.5 up and running using XML (I'm using the source version).  Where I'm running into problems is when I try to switch to a SQL database.  I switched out the SQLServerWeb.Config with the XMLWeb.Config.  I put in the connection string and boom, it breaks.  I have been able to get it to work by changing the defaultProvider="DbBlogProvider" to defaultProvider="XmlBlogProvider".  Of course that kind of defeats the whole purpose, except my original reasoning for going SQL was so I could integrate accounts with YAF (Yet Another Forum) and with the defaultProvider set as XmlBlogProvider it does populate the user table with accounts that I create in the control panel.

Here is a little more information.  



Line 32: 			WidgetSettings ws = new WidgetSettings("be_WIDGET_ZONE");
Line 33: 			ws.SettingsBehavior = new XMLDocumentBehavior();
Line 34: 			XmlDocument doc = (XmlDocument)ws.GetSettings();
Line 35: 			return doc;
Line 36: 	
Any help would be greatly appreciated and if I need to post more info, let me know.
Thanks In Advance.