Blank Page on CMS Edit page (Failed to load resource: the server responded with a status of 404 )

Vote:
 

Hello Guys,

Need some help here. I was playing around removing and installing packages to set up Content Delivery API. While I was able to set that up and get it working, not sure what happened to my CMS Edit. The page comes up all blank with just navigation. Everything else works but the CMS Edit.

Even if i switch to a different branch with no changes, I still have this issue. 

I see following errors in console 

Failed to load resource: the server responded with a status of 404 (Not Found) :55179/EPiServer/Shell/11.23.0/ClientResources/powerslice/components/ContentSlice.js:1  
dojo.js:15 Error: scriptError
at _f (dojo.js:15)
at HTMLScriptElement.<anonymous> (dojo.js:15)
(anonymous) @ dojo.js:15
widgets.js:2 Error: scriptError
at _f (dojo.js:15)
at HTMLScriptElement.<anonymous> (dojo.js:15)
(anonymous) @ widgets.js:2
widgets.js:2 Error: scriptError
at _f (dojo.js:15)

Tried uninstalling and reinstalling Powerslice, CMS UI but no luck.

#217746
Edited, Feb 28, 2020 22:33
Vote:
 

Hi Dileep,

This this ContentSlice.js:1 exist on your webroot folder?

If not then try to delete the all the files and then republish the solution.

#217789
Mar 01, 2020 12:22
Dileep D - Mar 01, 2020 23:14
So I don't see the file in my existing application that is deployed in DXC. The error path from the console is shown as
http://localhost:55179/EPiServer/Shell/11.22.1/ClientResources/powerslice/components/ContentSlice.js.
When I search for this path on DXC I get 404. From the branch where headless is installed the shell version shows 11.23. This is the only different but now irrespective of wherever I am I cannot access CMS Edit and i see the js file missing error. Have no idea what to do next.
Vote:
 

I am not sure if the site is not loading correctly in Edit mode is due to contentslice.js not found or is it an issue with dojo.js or widget.js because in the console along with the 404 for contentslice.js i see script errors for dojo and widget.js.

Error: "scriptError"
    Dojo 2
    
    _f
    
    _10c

_f@http://localhost:55179/EPiServer/Shell/11.22.1/ClientResources/dojo/dojo.js:15:436 req.injectUrl/_10c<@http://localhost:55179/EPiServer/Shell/11.22.1/ClientResources/dojo/dojo.js:15:17745
    _6e7 http://localhost:55179/EPiServer/Shell/11.22.1/ClientResources/epi/shell/widgets.js:2
    Dojo 4

_f@http://localhost:55179/EPiServer/Shell/11.22.1/ClientResources/dojo/dojo.js:15:436 req.injectUrl/_10c<@http://localhost:55179/EPiServer/Shell/11.22.1/ClientResources/dojo/dojo.js:15:17745 

    loadComponents http://localhost:55179/EPiServer/Shell/11.22.1/ClientResources/epi/shell/widgets.js:2
    Dojo 6
    _6e7 http://localhost:55179/EPiServer/Shell/11.22.1/ClientResources/epi/shell/widgets.js:2
#217811
Mar 02, 2020 2:22
Vote:
 

For some reason there was only one branch which was having this issue. I started everything from scratch about the content delivery API and didn't observer this issue. Strangely I didnt found contentslice.js anywhere even in the new working branch too. No idea what was wrong.

#218034
Mar 04, 2020 16:11
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.