Dinamico custom theme loading

Oct 27, 2011 at 8:39 AM

Hi,

I'm experiencing some strange things in the N2 Dinamico package.  Sometimes the sites loads ultra fast, other times, it's taking a while.  When it takes a while, I often get the blue theme loaded (half).  When I refresh, our custom template comes up immediately...  

Is there anything I can do about that?

 

I also get the following error by mail quit often;

Lucene.Net.Store.LockObtainFailedException: Lock obtain timed out: SimpleFSLock@D:\Web\aqua-lounge\www\App_Data\SearchIndex\Pages\write.lock

   at Lucene.Net.Store.Lock.Obtain(Int64 lockWaitTimeout) in c:\prg\lucene.net\2.9.2\src\Lucene.Net\Store\Lock.cs:line 107

Although I was able to fix that by adding 

<n2>
    <database>
        <search enabled="false" />
    </database>
</n2>

according to this thread ; http://n2cms.codeplex.com/discussions/272441

Maybe this has something to do with it?

Coordinator
Oct 27, 2011 at 6:19 PM

Have you implemented custom views? A thory is that some exception occurs while rendering the views for discovering the definitions.

Are you using 2.2.1.1?

Oct 28, 2011 at 7:55 AM
Edited Nov 2, 2011 at 2:06 PM

I'm having some custom views and I use your latest Dinamico download found on codeplex.  But I guess that's version 2.2.1.0 ?  Do you have any upgrade instructions?

---

I'm also getting the following error quite often;

Url: http://.../ContentPages/Index?page=0
Referrer: http://.../fancybox/fancy_loading.png
User Address: ...
User: 
System.NullReferenceException: Object reference not set to an instance of an object.
   at Dinamico.Controllers.ContentPagesController.Index() in X:\...\www\Dinamico\Controllers\ContentPagesController.cs:line 13
   at lambda_method(Closure , ControllerBase , Object[] )
   at System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters)
   at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters)
   at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
   at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass15.<InvokeActionMethodWithFilters>b__12()
   at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)
   at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass15.<>c__DisplayClass17.<InvokeActionMethodWithFilters>b__14()
   at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodWithFilters(ControllerContext controllerContext, IList`1 filters, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
   at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)
   at System.Web.Mvc.Controller.ExecuteCore()
   at System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext)
   at System.Web.Mvc.ControllerBase.System.Web.Mvc.IController.Execute(RequestContext requestContext)
   at System.Web.Mvc.MvcHandler.<>c__DisplayClass6.<>c__DisplayClassb.<BeginProcessRequest>b__5()
   at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass1.<MakeVoidDelegate>b__0()
   at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass8`1.<BeginSynchronous>b__7(IAsyncResult _)
   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`1.End()
   at System.Web.Mvc.MvcHandler.<>c__DisplayClasse.<EndProcessRequest>b__d()
   at System.Web.Mvc.SecurityUtil.<GetCallInAppTrustThunk>b__0(Action f)
   at System.Web.Mvc.SecurityUtil.ProcessInApplicationTrust(Action action)
   at System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult)
   at System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult result)
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

does this have anything to do with my custom views also?