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

Try our conversational search powered by Generative AI!

Edit mode "script not found" when usining "on page edit"

Vote:
 

Hello!

I have installed a dev-env for episerver 7 but I have problems to use the new on page edit gui because when browsning to:

http://http://localhost:8077/EPiServer/CMS/ I se "Dashboard" "CMS" in the top-div-wrapper but the content wrapper is all white i.e page dont seems to be loaded and if I check Networkactions and if resources are loaded there are some scripts that cant be found. Errors bellow are all errors occuring? I guess it has to be some mapping issues... How do I solve this?

If i browse to "old" edit view http://http://localhost:8077/EPiServer/CMS/edit/ everything is working.

 

---------------------- Requests 404 --------------------------

"NetworkError: 404 Not Found - http://localhost:8077/EPiServer/Shell/1.0.456/ClientResources/EPi/shell/ui/nls/sv-se/episerver.shared.js"

episer...ared.js
"NetworkError: 404 Not Found - http://localhost:8077/EPiServer/Shell/1.0.456/ClientResources/EPi/shell/ui/nls/sv-se/episerver.shell.ui.resources.datepicker.js"
episer...cker.js
"NetworkError: 404 Not Found - http://localhost:8077/EPiServer/Shell/1.0.456/ClientResources/EPi/shell/ui/nls/sv-se/episerver.shell.ui.resources.jqueryvalidate.js"
-----------------------------------------------------------
 
My EpiserverFramework looks like:
------------------------------------------------------------------

<episerver.framework>
<scanAssembly forceBinFolderScan="true" />
<siteHostMapping>
<siteHosts siteId="epipoc">
<add name="*" language="sv" />
<add name="localhost" />
<add name="localhost:8077" language="sv" />
</siteHosts>
</siteHostMapping>
<automaticSiteMapping>
<!--<add key="<SOME PATH I HAVE REMOVED WHEN POSTIN THIS TOPIC>" siteId="epipoc" /> -->
</automaticSiteMapping>
<virtualPathProviders>
<clear />
<add virtualPath="~/EPiServer/" physicalPath="[appDataPath]\Modules"
name="ProtectedAddons" type="EPiServer.Web.Hosting.VirtualPathNonUnifiedProvider, EPiServer.Framework" />
<add showInFileManager="true" virtualName="Page Files" virtualPath="~/PageFiles/"
bypassAccessCheck="false" indexingServiceCatalog="Web" useRouting="true"
customFileSummary="~/FileSummary.config" name="SitePageFiles"
type="EPiServer.Web.Hosting.VirtualPathVersioningProvider, EPiServer" />
<add showInFileManager="true" virtualName="Global Files" virtualPath="~/Global/"
bypassAccessCheck="false" indexingServiceCatalog="Web" useRouting="true"
customFileSummary="~/FileSummary.config" name="SiteGlobalFiles"
type="EPiServer.Web.Hosting.VirtualPathVersioningProvider, EPiServer" />
<add showInFileManager="true" virtualName="Documents" virtualPath="~/Documents/"
bypassAccessCheck="false" maxVersions="5" useRouting="true"
customFileSummary="~/FileSummary.config" name="SiteDocuments"
type="EPiServer.Web.Hosting.VirtualPathVersioningProvider, EPiServer" />
<add virtualPath="~/App_Themes/Default/" physicalPath="C:\Program Files (x86)\EPiServer\CMS\7.0.586.1\application\App_Themes\Default"
useRouting="true" name="App_Themes_Default" type="EPiServer.Web.Hosting.VirtualPathNonUnifiedProvider, EPiServer.Framework" />
<add virtualPath="~/EPiServer/CMS/" physicalPath="C:\Program Files (x86)\EPiServer\CMS\7.0.586.1\application\UI\CMS"
name="UI" type="EPiServer.Web.Hosting.VirtualPathNonUnifiedProvider, EPiServer.Framework" />
<add virtualPath="~/Util/" physicalPath="C:\Program Files (x86)\EPiServer\CMS\7.0.586.1\application\util"
name="UtilFiles" type="EPiServer.Web.Hosting.VirtualPathNonUnifiedProvider, EPiServer.Framework" />
<add virtualPath="~/WebServices/" physicalPath="C:\Program Files (x86)\EPiServer\CMS\7.0.586.1\application\webservices"
name="WebServiceFiles" type="EPiServer.Web.Hosting.VirtualPathNonUnifiedProvider, EPiServer.Framework" />
</virtualPathProviders>
<virtualRoles replacePrincipal="true">
<providers>
<add name="Administrators" type="EPiServer.Security.WindowsAdministratorsRole, EPiServer.Framework" />
<add name="Everyone" type="EPiServer.Security.EveryoneRole, EPiServer.Framework" />
<add name="Authenticated" type="EPiServer.Security.AuthenticatedRole, EPiServer.Framework" />
<add name="Anonymous" type="EPiServer.Security.AnonymousRole, EPiServer.Framework" />
<add roles="WebAdmins, Administrators" mode="Any" name="PackagingAdmins"
type="EPiServer.Security.MappedRole, EPiServer.Framework" />
<add roles="WebAdmins, Administrators" mode="Any" name="CmsAdmins"
type="EPiServer.Security.MappedRole, EPiServer.Framework" />
<add roles="WebEditors" mode="Any" name="CmsEditors" type="EPiServer.Security.MappedRole, EPiServer.Framework" />
<add name="Creator" type="EPiServer.Security.CreatorRole, EPiServer" />
</providers>
</virtualRoles>
<localization fallbackBehavior="Echo, MissingMessage, FallbackCulture"
fallbackCulture="en">
<providers>
<add virtualPath="~/lang" name="languageFiles"
type="EPiServer.Framework.Localization.XmlResources.FileXmlLocalizationProvider, EPiServer.Framework" />
</providers>
</localization>
<geolocation defaultProvider="maxmind">
<providers>
<add databaseFileName="C:\Program Files (x86)\EPiServer\Framework\7.0.859.1\Geolocation\GeoLiteCity.dat"
name="maxmind" type="EPiServer.Personalization.Providers.MaxMind.GeolocationProvider, EPiServer.ApplicationModules" />
</providers>
</geolocation>
<appData basePath="<SOME PATH I HAVE REMOVED WHEN POSTING THIS TOPIC>" />
</episerver.framework>

-------------

 

---------------- episerver.config looks like ----------------------

<?xml version="1.0" encoding="utf-8"?>

<episerver xmlns="http://EPiServer.Configuration.EPiServerSection">
<sites>
<site description="<SOME DESCRIPTION REMOVED>" siteId="epipoc">
<siteSettings enableEvents="false" enableRemoteEvents="false" enableScheduler="true" stringCompressionThreshold="0" stringDelayedLoadThreshold="0" remoteWebServiceCulture="0" indexingDelayAfterPublish="00:00:20" uiDefaultPanelTab="0" indexingTextRegExp="[\p{N}\p{L}]{1}[\p{N}\p{L}-\._]*[\p{N}\p{L}]{1}" uiImageTransparencyReplacement="White" globalErrorHandling="RemoteOnly" uiSafeHtmlTags="b,i,u,br,em,strong,p,a,img,ol,ul,li,style" uiOptimizeTreeForSpeed="false" sgmlParserDecodeCharEntities="false" enableXmlRpcHeader="false" disableVersionDeletion="false" remoteCacheListenerShortNames="" httpCacheVaryByCustom="path" httpCacheVaryByParams="id,epslanguage,recipeId,tab,_escaped_fragment_" httpCacheExpiration="00:00:00" httpCacheability="Public" pageCacheSlidingExpiration="12:00:00" remotePageCacheSlidingExpiration="02:00:00" uiEditorCssPaths="~/Templates/General/Views/Styles/Default/Editor.css" uiEditorColors="" urlRewriteExtension="" urlRebaseKind="ToRootRelative" pageUseBrowserLanguagePreferences="false" uiShowGlobalizationUserInterface="false" subscriptionHandler="EPiServer.Personalization.SubscriptionMail,EPiServer" mirroringRetries="5" mirroringRetryDelay="00:00:01" mirroringHtmlTextEncoding="Unicode" mirroringFileWriteRetryDelay="00:00:05" pageRootId="1" pageStartId="3" pageWastebasketId="2" pageOfficeStartId="0" uiMaxVersions="100" uiVersionMerging="true" pageValidateTemplate="false" uiKeepUserLoggedOn="true" siteUrl="http://localhost:8077/" uiUrl="~/EPiServer/CMS/" utilUrl="~/util/" siteDisplayName="Mitt ICA" errorMailHandler="~/util/SendErrorReport.aspx" pageFolderVirtualPathProvider="SitePageFiles" uiTheme="" operationCompatibility="LongStringLegacyControl" globalBlockFolderId="14131" siteBlockFolderId="14131" />
</site>
</sites>
<urlRewrite defaultProvider="HierarchicalUrlRewriteProvider">
<providers>
<clear />
<add name="EPiServerFriendlyUrlRewriteProvider" type="EPiServer.Web.FriendlyUrlRewriteProvider,EPiServer" />
<add description="EPiServer identity URL rewriter" name="EPiServerIdentityUrlRewriteProvider" type="EPiServer.Web.IdentityUrlRewriteProvider,EPiServer" />
<add description="EPiServer bypass URL rewriter" name="EPiServerNullUrlRewriteProvider" type="EPiServer.Web.NullUrlRewriteProvider,EPiServer" />
<add name="HierarchicalUrlRewriteProvider" type="EPiServer.Web.HierarchicalUrlRewriteProvider,EPiServer" />
</providers>
</urlRewrite>
<workflowSettings workflowDelayedLoading="false">
<workflowHost type="EPiServer.WorkflowFoundation.AspNetWorkflowManager,EPiServer.WorkflowFoundation" />
<definitions>
<definition type="EPiServer.WorkflowFoundation.Workflows.SequentialApproval,EPiServer.WorkflowFoundation" name="Sequential Approval" description="A sequential approval workflow for pages" />
<definition type="EPiServer.WorkflowFoundation.Workflows.ParallelApproval,EPiServer.WorkflowFoundation" name="Parallel Approval" description="A parallel approval workflow for pages" />
<definition type="EPiServer.WorkflowFoundation.Workflows.RequestForFeedback,EPiServer.WorkflowFoundation" name="Request for feedback" description="Assigns request for feedback tasks to users/roles" />
<definition type="EPiServer.WorkflowFoundation.Workflows.ReadyForTranslation,EPiServer.WorkflowFoundation" name="Ready for translation" description="Assigns translation tasks to users/roles" />
</definitions>
<externalServices>
<externalService type="EPiServer.WorkflowFoundation.Workflows.ApprovalService,EPiServer.WorkflowFoundation" />
<externalService type="EPiServer.WorkflowFoundation.Workflows.ReadyForTranslationService,EPiServer.WorkflowFoundation" />
<externalService type="EPiServer.WorkflowFoundation.Workflows.RequestForFeedbackService,EPiServer.WorkflowFoundation" />
</externalServices>
</workflowSettings>
<imageEditor enabled="true" windowWidth="900" windowHeight="600">
<sizePresets>
<preset width="320" height="240" />
<preset width="640" height="480" />
</sizePresets>
</imageEditor>
<dynamicContent>
<controls>
</controls>
</dynamicContent>
<tinyMCE mergedConfigurationProperties="valid_elements, extended_valid_elements, invalid_elements, valid_child_elements" />
</episerver>

------------------------------------------------

 

Would be very happy If someone could help me solving this.

Thanks in advance!

#75316
Sep 25, 2013 9:45
Vote:
 

I wonder if the files of your add-ons could be out of sync?

Could you compare the binaries in your /modulesbin folder to the modules folder in your VPP?
For example: there should be a folder in VPP/Modules/CMS that have the same name as the version of your /modulesbin/EPiServer.Cms.Shell.Ui.dll

#75317
Sep 25, 2013 10:06
Vote:
 

Hello

In VPP\epipoc\Modules\CMS\bin i find 

EPiServer.Cms.Shell.UI.dll

in \modulesbin i find

EPiServer.Cms.Shell.UI.dll

EPiServer.Packaging.dll

EPiServer.Packaging.UI.dll

EPiServer.Shell.UI.dll

 

#75319
Sep 25, 2013 11:43
Vote:
 

What I mean is that if your /modulesbin/EPiServer.Cms.Shell.UI.dll have the version number 2.0.79.0, there should be a folder in Modules\CMS called 2.0.79.

To find out what version a .dll file is, right click on it and click on "Properties".

Click on the tab "Details".

Here you can see what version your .dll file is. File version and Product version usually are the same in this case.

#75321
Sep 25, 2013 11:53
Vote:
 

What I did was updating EPiServer on test instead of locally, so I had different versions of dlls in VPPs and modulesbin folder in the solution.

After the update (if you haven't updated the project yet, you can do that by going to add-ons and clicking update - on local host, so that you can commit modulesbin), you should have:

  • vpp\Modules\CMS\2.1.82
  • vpp\Modules\CMS\bin\EPiServer.Cms.Shell.UI.dll should be 2.1.82.0
  • vpp\Modules\EPiServer.Packaging\bin - dlls should be 2.1.90.0 (except the nuget.core)
  • Similar with EPiServer.Packaging.UI and Shell

In the end, check modulesbin, the dlls should match.

 

#75323
Sep 25, 2013 12:20
Vote:
 

Alf: My version is 1.0.431.0

Marija: I will try your steps

 

#75324
Sep 25, 2013 12:29
Vote:
 

Do you also have a folder called 1.0.431?

#75325
Sep 25, 2013 12:30
Vote:
 

yes...in

VPP\epipoc\Modules\CMS\

I have a folder 1.0.431 that has a catalogue:

ClientResources that has some files/catalogues

 

 

 

#75327
Edited, Sep 25, 2013 12:50
Vote:
 

Sorry I think I was fokusing on wrong .dll,

Could you do the same check with the folder VPP/Modules/Shell and the binary /modulesbin/EPiServer.Shell.UI.dll

The version should be 1.0.456.0 and the folder name should be 1.0.456

#75330
Sep 25, 2013 13:08
Vote:
 

Yes they are of same version i.e 1.0.456 and foldername is 1.0.456

#75332
Edited, Sep 25, 2013 13:17
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* 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.