MSSQL Error

Feb 1, 2008 at 6:42 PM
Edited Feb 1, 2008 at 6:43 PM
When trying to use MSSQL with this I get the following error. This is with build 6475.
Any help would be great

Thanks

ERROR:

Server Error in '/blogtest' Application.
--------------------------------------------------------------------------------

Unknown interface type returned.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Exception: Unknown interface type returned.

Source Error:


Line 42: {
Line 43: int number = BlogSettings.Instance.NumberOfRecentPosts;
Line 44: if (number > Post.Items.Count)
Line 45: number = Post.Items.Count;
Line 46:


Source File: d:\hosting\sean25us\blogtest\App_Code\Controls\RecentPosts.cs Line: 44

Stack Trace:


Exception: Unknown interface type returned.
BlogEngine.Core.Provider.BlogProviderBase.GetInterface() in BlogProviderBase.cs:36
BlogEngine.Core.Post..cctor() in Post.cs:218

TypeInitializationException: The type initializer for 'BlogEngine.Core.Post' threw an exception.

TargetInvocationException: Exception has been thrown by the target of an invocation.
System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck) +0
System.Activator.CreateInstance() +122
BlogEngine.Core.BlogBase`1.get_Items() in BlogBase.cs:117
Controls.RecentPosts.BuildPostList() in d:\hosting\sean25us\blogtest\App_Code\Controls\RecentPosts.cs:44
Controls.RecentPosts..cctor() in d:\hosting\sean25us\blogtest\App_Code\Controls\RecentPosts.cs:22

TypeInitializationException: The type initializer for 'Controls.RecentPosts' threw an exception.
Controls.RecentPosts..ctor() +0
ASP.themesstandardsidepanelascx._BuildControl__control3() in d:\hosting\sean25us\blogtest\themes\Standard\SidePanel.ascx:56
ASP.themesstandardsidepanelascx._BuildControlTree(themesstandardsidepanel_ascx __ctrl) in d:\hosting\sean25us\blogtest\themes\Standard\SidePanel.ascx:1
ASP.themesstandardsidepanel_ascx.FrameworkInitialize() in d:\hosting\sean25us\blogtest\themes\Standard\SidePanel.ascx.cs:912306
System.Web.UI.UserControl.InitializeAsUserControlInternal() +31
System.Web.UI.UserControl.InitializeAsUserControl(Page page) +14
ASP.themesstandardsitemaster._BuildControlInfoBox1() in d:\hosting\sean25us\blogtest\themes\Standard\site.master:87
ASP.themesstandardsitemaster._BuildControl__control5() in d:\hosting\sean25us\blogtest\themes\Standard\site.master:76
ASP.themesstandardsitemaster._BuildControlTree(themesstandardsite_master __ctrl) in d:\hosting\sean25us\blogtest\themes\Standard\site.master:1
ASP.themesstandardsite_master.FrameworkInitialize() in d:\hosting\sean25us\blogtest\themes\Standard\site.master.cs:912307
System.Web.UI.UserControl.InitializeAsUserControlInternal() +31
System.Web.UI.MasterPage.CreateMaster(TemplateControl owner, HttpContext context, VirtualPath masterPageFile, IDictionary contentTemplateCollection) +2025712
System.Web.UI.Page.get_Master() +48
System.Web.UI.Page.ApplyMasterPage() +18
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +543