Error upon launch with PageFile provider

Issue #1 resolved
Michael Paulukonis created an issue

I've configured SunHorizonWiki to run with the files provider config (per the download), but I get the default error page.

Looking at the log (via the .sdf file, since I can't get into admin) I see that the wiki has launched, created groups, loaded providers, and then we get two message "Wiki root is ready", "SunHorizon Wiki is ready", and then the following error:

http://localhost/sunhorizon/Default.aspx
System.Web thrown System.Web.HttpUnhandledException
Exception of type 'System.Web.HttpUnhandledException' was thrown.
   at System.Web.UI.Page.HandleError(Exception e)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest()
   at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
   at System.Web.UI.Page.ProcessRequest(HttpContext context)
   at ASP.default_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\sunhorizon\856b9a7a\4706feb0\App_Web_ds0n5n2b.2.cs:line 0
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)System.Runtime.Caching thrown System.ArgumentNullException
Value cannot be null.
Parameter name: value
   at System.Runtime.Caching.MemoryCacheEntry..ctor(String key, Object value, DateTimeOffset absExp, TimeSpan slidingExp, CacheItemPriority priority, Collection`1 dependencies, CacheEntryRemovedCallback removedCallback, MemoryCache cache)
   at System.Runtime.Caching.MemoryCache.Set(String key, Object value, CacheItemPolicy policy, String regionName)
   at System.Runtime.Caching.MemoryCache.Set(String key, Object value, DateTimeOffset absoluteExpiration, String regionName)
   at ScrewTurn.Wiki.CacheBase.GetCachedItem(String cacheKeyName, GetData dataMetod)
   at ScrewTurn.Wiki.CacheBase.GetCachedItem(String cacheKeyPrefix, String cacheKeyName, GetData dataMetod)
   at ScrewTurn.Wiki.Settings.GetDefaultTimezone(String wiki)
   at ScrewTurn.Wiki.Preferences.AlignWithTimezone(String wiki, DateTime dateTime)
   at ScrewTurn.Wiki.DefaultPage.SetupLabels()
   at ScrewTurn.Wiki.DefaultPage.Page_Load(Object sender, EventArgs e)
   at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
   at System.Web.UI.Control.OnLoad(EventArgs e)
   at ScrewTurn.Wiki.BasePage.OnLoad(EventArgs e)
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

I would presume that all relavent libraries and server configs are present, as I can build and run ScrewTurnWiki 4 without issues (well, without major issues. I had to get the SQL CE databases working using some of your code. Go figure!).

Comments (1)

  1. Log in to comment