This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.
When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:
I deployed the release version of Mojoportal 2.2.3.3 for SQLite; browsing Default.aspx I get the following error:
Server Error in '/MojoPortal' Application. -------------------------------------------------------------------------------- Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. Parser Error Message: Exception has been thrown by the target of an invocation. Source Error: Line 453: <providers> Line 454: <clear /> Line 455: <add name="mojoRoleProvider" type="mojoPortal.Web.mojoRoleProvider" /> Line 456: </providers> Line 457: </roleManager> Source File: C:\Inetpub\wwwroot\MojoPortal\web.config Line: 455 -------------------------------------------------------------------------------- Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832
--
I set log level to DEBUG and this is the outcome:
2007-08-13 20:25:17,406 [2752] INFO mojoPortal.Web.Global [(null)] - Global.asax.cs Application_Start 2007-08-13 20:25:19,140 [2752] DEBUG mojoPortal.Web.Framework.WebUtils [(null)] - ApplicationPath is /MojoPortal 2007-08-13 20:25:19,359 [2752] DEBUG mojoPortal.Web.Framework.WebUtils [(null)] - ApplicationPath is /MojoPortal 2007-08-13 20:25:19,453 [2752] DEBUG mojoPortal.Web.Global [(null)] - Global.asax.cs Application_AuthenticateRequest 2007-08-13 20:25:19,500 [2752] DEBUG mojoPortal.Business.WebHelpers.CacheHelper [(null)] - CacheHelper.cs LoadSiteSettings 2007-08-13 20:25:19,562 [2752] DEBUG mojoPortal.Web.Framework.WebUtils [(null)] - ServerName= localhost 2007-08-13 20:25:19,562 [2752] DEBUG mojoPortal.Web.Framework.WebUtils [(null)] - serverPort= 80 2007-08-13 20:25:19,562 [2752] DEBUG mojoPortal.Web.Framework.WebUtils [(null)] - host= localhost 2007-08-13 20:25:19,562 [2752] DEBUG mojoPortal.Web.Framework.WebUtils [(null)] - ApplicationPath is /MojoPortal 2007-08-13 20:25:19,562 [2752] DEBUG mojoPortal.Web.Framework.WebUtils [(null)] - ServerName= localhost 2007-08-13 20:25:19,562 [2752] DEBUG mojoPortal.Web.Framework.WebUtils [(null)] - serverPort= 80 2007-08-13 20:25:19,562 [2752] DEBUG mojoPortal.Web.Framework.WebUtils [(null)] - host= localhost 2007-08-13 20:25:19,562 [2752] DEBUG mojoPortal.Web.Framework.WebUtils [(null)] - ApplicationPath is /MojoPortal 2007-08-13 20:25:19,656 [2752] ERROR mojoPortal.Web.Global [(null)] - System.Configuration.ConfigurationErrorsException: Exception has been thrown by the target of an invocation. (C:\Inetpub\wwwroot\MojoPortal\web.config line 455) at System.Web.Security.Roles.Initialize() at System.Web.Security.RoleManagerModule.OnEnter(Object source, EventArgs eventArgs) at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) 2007-08-13 20:25:19,687 [2752] ERROR mojoPortal.Web.Global [(null)] - System.Configuration.ConfigurationErrorsException: Exception has been thrown by the target of an invocation. (C:\Inetpub\wwwroot\MojoPortal\web.config line 455) at System.Web.Security.Roles.Initialize() at System.Web.Security.RoleManagerModule.OnLeave(Object source, EventArgs eventArgs) at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Unfortunately I have not VS205 (except the Express Edition, would you consider making it usable?), so I can't check the debug version.
Can you try the new 2.2.3.4 files? The setup process is a lot more improved.
Joe
Hi Joe, I tied the 2.2.3.4 release, and the installation went "quite" smooth: I now am seeing the Welcome page, but first had to face a minor issue:
in my first attempt I got:
Server Error in '/MojoPortal' Application. -------------------------------------------------------------------------------- Could not find a part of the path 'C:\Inetpub\wwwroot\MojoPortal\Data\Sites\1\systemfiles\sitesettingscachedependecy.config'. 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.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Inetpub\wwwroot\MojoPortal\Data\Sites\1\systemfiles\sitesettingscachedependecy.config'. Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [DirectoryNotFoundException: Could not find a part of the path 'C:\Inetpub\wwwroot\MojoPortal\Data\Sites\1\systemfiles\sitesettingscachedependecy.config'.] System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +1971376 System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy) +998 System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options) +115 System.IO.StreamWriter.CreateFile(String path, Boolean append) +58 System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize) +91 System.IO.StreamWriter..ctor(String path, Boolean append) +31 System.IO.File.CreateText(String path) +34 mojoPortal.Business.WebHelpers.CacheHelper.TouchCacheFile(String pathToCacheFile) +67 mojoPortal.Business.WebHelpers.CacheHelper.EnsureCacheFile(String pathToCacheFile) +27 mojoPortal.Business.WebHelpers.CacheHelper.RefreshSiteSettingsCache(String cacheKey, Int32 cacheTimeout) +179 mojoPortal.Business.WebHelpers.CacheHelper.GetSiteSettingsFromCache() +168 mojoPortal.Business.WebHelpers.CacheHelper.GetCurrentSiteSettings() +5 mojoPortal.Web.mojoBasePage.OnPreInit(EventArgs e) +76 mojoPortal.Web.UI.Pages.SiteHome.OnPreInit(EventArgs e) +14 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +521 --
I saw that the systemfiles folder is present in the zip archive but empty; my zip manager did not extract it; after creating manually the application started correctly. May I suggest you to Directory.Create() it anyway?
Yes, good suggestion, I will try to find a good place to check that and create the folder if it did not get deployed for some reason. Glad the installation was smoother this time.
Thanks,