Hi Joe,
I do not know if this a bug, but when I install mojoportal from within Visual studio run (f5) it give me an error as below, the same while it works fine from IIS:
Operating system windows 7 64 bit
file dbPageSettings.cs line131
sph.DefineSqlParameter("@IncludeInChildSiteMap", SqlDbType.Bit, ParameterDirection.Input, includeInChildSiteMap);
project: mojoPortal.Data.MSSql
---- Assert Short Message ----
parameter's name doesn't match cached parameters
Error Details:
> mojoPortal.Data.DLL!mojoPortal.Data.DBPageSettings.Create(int siteId, int parentId, string pageName, string pageTitle, string skin, int pageOrder, string authorizedRoles, string editRoles, string draftEditRoles, string createChildPageRoles, string createChildDraftRoles, bool requireSsl, bool allowBrowserCache, bool showBreadcrumbs, bool showChildPageBreadcrumbs, string pageKeyWords, string pageDescription, string pageEncoding, string additionalMetaTags, bool useUrl, string url, bool openInNewWindow, bool showChildPageMenu, bool hideMainMenu, bool includeInMenu, string menuImage, string changeFrequency, string siteMapPriority, System.Guid pageGuid, System.Guid parentGuid, bool hideAfterLogin, System.Guid siteGuid, string compiledMeta, System.DateTime compiledMetaUtc, bool includeInSiteMap, bool isClickable, bool showHomeCrumb, bool isPending, string canonicalOverride, bool includeInSearchMap, bool enableComments, bool includeInChildSiteMap, bool expandOnSiteMap, System.Guid pubTeamId, string bodyCssClass, string menuCssClass) Line 131 C#
Error details:
A first chance exception of type 'System.InvalidOperationException' occurred in System.Data.dll
A first chance exception of type 'System.InvalidOperationException' occurred in System.Data.dll
A first chance exception of type 'System.InvalidOperationException' occurred in System.Data.dll
A first chance exception of type 'System.Threading.ThreadAbortException' occurred in mscorlib.dll
An exception of type 'System.Threading.ThreadAbortException' occurred in mscorlib.dll but was not handled in user code
A first chance exception of type 'System.InvalidOperationException' occurred in System.Data.dll
A first chance exception of type 'System.InvalidOperationException' occurred in System.Data.dll
A first chance exception of type 'System.NullReferenceException' occurred in mojoPortal.Web.DLL
A first chance exception of type 'System.InvalidOperationException' occurred in System.Data.dll
'WebDev.WebServer40.EXE' (Managed (v4.0.30319)): Loaded 'C:\Users\Ghalib\AppData\Local\Temp\Temporary ASP.NET Files\root\2f8660fe\65ff9b7c\App_Web_eiubszb4.dll', Symbols loaded.
'WebDev.WebServer40.EXE' (Managed (v4.0.30319)): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Numerics\v4.0_4.0.0.0__b77a5c561934e089\System.Numerics.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
A first chance exception of type 'System.InvalidOperationException' occurred in System.Data.dll
A first chance exception of type 'System.InvalidOperationException' occurred in System.Data.dll
---- DEBUG ASSERTION FAILED ----
---- Assert Short Message ----
parameter's name doesn't match cached parameters
---- Assert Long Message ----
at SqlParameterHelper.DefineSqlParameter(String paramName, SqlDbType type, String typeName, Int32 size, Byte precision, ParameterDirection dir, Object value, Boolean sizeProvided, Boolean precisionProvided) C:\inetpub\AlJidara Site\AlJidara\mojoPortal.Data.MSSQL\SQLParameterHelper.cs(135)
at SqlParameterHelper.DefineSqlParameter(String paramName, SqlDbType type, ParameterDirection dir, Object value) C:\inetpub\AlJidara Site\AlJidara\mojoPortal.Data.MSSQL\SQLParameterHelper.cs(91)
at DBPageSettings.Create(Int32 siteId, Int32 parentId, String pageName, String pageTitle, String skin, Int32 pageOrder, String authorizedRoles, String editRoles, String draftEditRoles, String createChildPageRoles, String createChildDraftRoles, Boolean requireSsl, Boolean allowBrowserCache, Boolean showBreadcrumbs, Boolean showChildPageBreadcrumbs, String pageKeyWords, String pageDescription, String pageEncoding, String additionalMetaTags, Boolean useUrl, String url, Boolean openInNewWindow, Boolean showChildPageMenu, Boolean hideMainMenu, Boolean includeInMenu, String menuImage, String changeFrequency, String siteMapPriority, Guid pageGuid, Guid parentGuid, Boolean hideAfterLogin, Guid siteGuid, String compiledMeta, DateTime compiledMetaUtc, Boolean includeInSiteMap, Boolean isClickable, Boolean showHomeCrumb, Boolean isPending, String canonicalOverride, Boolean includeInSearchMap, Boolean enableComments, Boolean includeInChildSiteMap, Boolean expandOnSiteMap, Guid pubTeamId, String bodyCssClass, String menuCssClass) C:\inetpub\AlJidara Site\AlJidara\mojoPortal.Data.MSSQL\dbPageSettings.cs(129)
at PageSettings.Create() C:\inetpub\AlJidara Site\AlJidara\mojoPortal.Business\PageSettings.cs(628)
at PageSettings.Save() C:\inetpub\AlJidara Site\AlJidara\mojoPortal.Business\PageSettings.cs(794)
at mojoSetup.CreatePage(SiteSettings siteSettings, ContentPage contentPage, PageSettings parentPage) C:\inetpub\AlJidara Site\AlJidara\Web\Components\mojoSetup.cs(798)
at mojoSetup.SetupDefaultContentPages(SiteSettings siteSettings) C:\inetpub\AlJidara Site\AlJidara\Web\Components\mojoSetup.cs(738)
at SetupHome.RunSetup() C:\inetpub\AlJidara Site\AlJidara\Web\Setup\Default.aspx.cs(214)
at SetupHome.Page_Load(Object sender, EventArgs e) C:\inetpub\AlJidara Site\AlJidara\Web\Setup\Default.aspx.cs(88)
at Control.OnLoad(EventArgs e)
at Control.LoadRecursive()
at Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at Page.ProcessRequest()
at Page.ProcessRequestWithNoAssert(HttpContext context)
at Page.ProcessRequest(HttpContext context)
at setup_default_aspx.ProcessRequest(HttpContext context) c:\Users\Ghalib\AppData\Local\Temp\Temporary ASP.NET Files\root\2f8660fe\65ff9b7c\App_Web_eiubszb4.0.cs
at CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
at ApplicationStepManager.ResumeSteps(Exception error)
at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)
at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
at HttpRuntime.ProcessRequestNoDemand(HttpWorkerRequest wr)
at HttpRuntime.ProcessRequest(HttpWorkerRequest wr)
at Request.Process()
at Host.ProcessRequest(Connection conn)
---- DEBUG ASSERTION FAILED ----
---- Assert Short Message ----
parameter's name doesn't match cached parameters
---- Assert Long Message ----
at SqlParameterHelper.DefineSqlParameter(String paramName, SqlDbType type, String typeName, Int32 size, Byte precision, ParameterDirection dir, Object value, Boolean sizeProvided, Boolean precisionProvided) C:\inetpub\AlJidara Site\AlJidara\mojoPortal.Data.MSSQL\SQLParameterHelper.cs(135)
at SqlParameterHelper.DefineSqlParameter(String paramName, SqlDbType type, ParameterDirection dir, Object value) C:\inetpub\AlJidara Site\AlJidara\mojoPortal.Data.MSSQL\SQLParameterHelper.cs(91)
at DBPageSettings.Create(Int32 siteId, Int32 parentId, String pageName, String pageTitle, String skin, Int32 pageOrder, String authorizedRoles, String editRoles, String draftEditRoles, String createChildPageRoles, String createChildDraftRoles, Boolean requireSsl, Boolean allowBrowserCache, Boolean showBreadcrumbs, Boolean showChildPageBreadcrumbs, String pageKeyWords, String pageDescription, String pageEncoding, String additionalMetaTags, Boolean useUrl, String url, Boolean openInNewWindow, Boolean showChildPageMenu, Boolean hideMainMenu, Boolean includeInMenu, String menuImage, String changeFrequency, String siteMapPriority, Guid pageGuid, Guid parentGuid, Boolean hideAfterLogin, Guid siteGuid, String compiledMeta, DateTime compiledMetaUtc, Boolean includeInSiteMap, Boolean isClickable, Boolean showHomeCrumb, Boolean isPending, String canonicalOverride, Boolean includeInSearchMap, Boolean enableComments, Boolean includeInChildSiteMap, Boolean expandOnSiteMap, Guid pubTeamId, String bodyCssClass, String menuCssClass) C:\inetpub\AlJidara Site\AlJidara\mojoPortal.Data.MSSQL\dbPageSettings.cs(130)
at PageSettings.Create() C:\inetpub\AlJidara Site\AlJidara\mojoPortal.Business\PageSettings.cs(628)
at PageSettings.Save() C:\inetpub\AlJidara Site\AlJidara\mojoPortal.Business\PageSettings.cs(794)
at mojoSetup.CreatePage(SiteSettings siteSettings, ContentPage contentPage, PageSettings parentPage) C:\inetpub\AlJidara Site\AlJidara\Web\Components\mojoSetup.cs(798)
at mojoSetup.SetupDefaultContentPages(SiteSettings siteSettings) C:\inetpub\AlJidara Site\AlJidara\Web\Components\mojoSetup.cs(738)
at SetupHome.RunSetup() C:\inetpub\AlJidara Site\AlJidara\Web\Setup\Default.aspx.cs(214)
at SetupHome.Page_Load(Object sender, EventArgs e) C:\inetpub\AlJidara Site\AlJidara\Web\Setup\Default.aspx.cs(88)
at Control.OnLoad(EventArgs e)
at Control.LoadRecursive()
at Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at Page.ProcessRequest()
at Page.ProcessRequestWithNoAssert(HttpContext context)
at Page.ProcessRequest(HttpContext context)
at setup_default_aspx.ProcessRequest(HttpContext context) c:\Users\Ghalib\AppData\Local\Temp\Temporary ASP.NET Files\root\2f8660fe\65ff9b7c\App_Web_eiubszb4.0.cs
at CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
at ApplicationStepManager.ResumeSteps(Exception error)
at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)
at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
at HttpRuntime.ProcessRequestNoDemand(HttpWorkerRequest wr)
at HttpRuntime.ProcessRequest(HttpWorkerRequest wr)
at Request.Process()
at Host.ProcessRequest(Connection conn)