No content appears in edit mode after chaging website url in EpiServer 8


Hi, there,

So I need to set up a copy of our production site as the stage site. Production has the url Stage is After editing the site url in Admin, the site runs correctly, but I am getting error messages in edit mode.

I suspect that there must be some kind of identifier that tells the system that each page belongs to a specific url. Is this right? If I am wrong, any ideas on how to fix it?

Jul 05, 2016 22:17

Map url to correct language and have one mapping for * might help.

Jul 05, 2016 23:02

Turn on log4net logging on info and check what they say. Need a bit more specific errors I think to pinpoint it.

Jul 06, 2016 2:02

Thanks for the suggestions. Let me try those.

Jul 06, 2016 16:31

Accually there are not so much more you need to do (or might need to add that star mapping like Erik suggested)

When I do stuff like that I always updates it directly in the database like descibed here:

All you need to do is run a SQL-skript like this:

use MySite
update dbo.[tblSiteDefinition]
   set SiteUrl = ''
 where Name = 'MySite';
update dbo.[tblHostDefinition]
   set Name = ''
 where Name = '';
Jul 06, 2016 17:30

I added the correct language and I added the mapping for *. That didn't seem to work.

I turned on log4Net on Info.  The INFO entries give me this

2016-07-06 11:00:55,940 INFO [33] ?.? - cacheKey=EP:LanguageBranch, returning an object of type TObject
2016-07-06 11:00:55,940 INFO [33] ?.? - cacheKey=EP:LanguageBranch
2016-07-06 11:00:55,940 INFO [33] ?.? - cacheKey=EP:LanguageBranch
2016-07-06 11:00:55,940 INFO [33] ?.? - cacheKey=EP:LanguageBranch, retry 1, calling CacheManager.Get for key
2016-07-06 11:00:55,940 INFO [33] ?.? - cacheKey=EP:LanguageBranch, retry 1, CacheManager.Get returned object of type EPiServer.DataAbstraction.LanguageBranchCollection[] for key
2016-07-06 11:00:55,940 INFO [33] ?.? - cacheKey=EP:LanguageBranch, retry 1, returning object of type TObject

Jul 06, 2016 17:36

Nothing rings a bell on that log unfortunately. What error message do you get in edit mode? Does console log in browser complain on anything? Did you copy appData folder and www/modules folder as well?

...and the "when in doubt, IIS reset...😀"

Jul 06, 2016 20:20

Le me try your fix, Henrik.

The server is the golden copy that we use to spin off production machines. Everything is exactly the same except for the database it points at and the hosting changes.

Jul 06, 2016 21:35

Update on the issue.

I used the query that Henrik sent me. I did the replacement, the pages appear, but I am not seeing the edit tree. I am getting 500 errors with several calls on scripts from the shell module. I am going to investigate more in that direction now.

Thanks so much for helping. :)

Jul 13, 2016 21: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.