Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Failed to load resource contenttypes.js

Vote:
 

So I got a weird problem that I randomly got when I uppdated the page (F5).

I didn't do enything (as far as I know) when I was refreshing the page.

It appears that I am missing a EPi js file: contettypes.js

The error that I get is

Failed to load resource: the server responded with a status of 500 (Internal Server Error)
dojo.js:15 Error: scriptError(…)(anonymous function) @ dojo.js:15
http://bbgruppen.local/episerver/Shell/9.4.4.0/ClientResources/EPi/shell/ui/nls/sv-se/contenttypes.js Failed to load resource: the server responded with a status of 500 (Internal Server Error)
dojo.js:15 Error: scriptError(…)(anonymous function) @ dojo.js:15

My project is no different than the ones I work with.

This issue blocks me from geoing do "edit" in CMS, I only get a blank page, everyting else seems to work.

Anyone who might have a clue of what's going on?

Much appreciated!

#148670
May 19, 2016 18:00
Vote:
 

It looks like there is something up with the translation files so that it cannot ceate the js-version of them.

Could you post what the response of the 500 error is?

#148686
May 20, 2016 8:05
Vote:
 

Seems to be something in the start or before the contentblock translation.

Exception information: 
    Exception type: ApplicationException 
    Exception message: Resource key exists both as a leaf and as a parent. Key: /contenttypes/ContentBlock/properties/Image/caption
   at EPiServer.Shell.UI.Controllers.EPiResourcesController.GetResourceDictionary(String resourceKey, CultureInfo culture)
   at EPiServer.Shell.UI.Controllers.EPiResourcesController.DojoResources(String pathInfo)
   at lambda_method(Closure , ControllerBase , Object[] )
   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.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)
   at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)
   at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)
   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 EPiServer.Shell.Web.Mvc.ModuleMvcHandler.ProcessController(IController controller)
   at EPiServer.Shell.Web.Mvc.ModuleMvcHandler.BeginProcessRequest(HttpContextBase httpContext, AsyncCallback callback, Object state)
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
#148688
May 20, 2016 8:42
Vote:
 

Solved it, I did an extra ">" in the translation file! :)

It's now removed and working.

Thank you!

#148691
May 20, 2016 8:53
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.