Turn on log4net logging on info and check what they say. Need a bit more specific errors I think to pinpoint it.
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:
http://world.episerver.com/Modules/Forum/Pages/Thread.aspx?id=86450
All you need to do is run a SQL-skript like this:
use MySite update dbo.[tblSiteDefinition] set SiteUrl = 'http://test.site.com/' where Name = 'MySite'; update dbo.[tblHostDefinition] set Name = 'test.site.com' where Name = 'www.site.com';
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
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...😀"
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.
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. :)
Hi, there,
So I need to set up a copy of our production site as the stage site. Production has the url www.oursite.com. Stage is stage.oursite.com. 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?