I am also having this exact same problem with CSM5 R2 SP2. I got a new DLL with fileversion 5.2.375.238 that was supposed to fix this but it doesnt work anyway...
Has there been any resolution to this. I am also having the same problem.
Hi. I belive i had the same issue. the sql query that resturns the shortname uri only returns one entry. In an enterprise enviroment you can have the same simple uri for different domain names.
I have the same problem. "site.se" goes to a norwegian page.
web.config: <siteHosts> <add name="www.site.se" language="sv" /> <add name="www.site.no" language="no" /> <add name="site.se" language="sv" /> <add name="site.no" language="no" /> <add name="*" /> </siteHosts>
*EDIT: This turned out to be a problem with the so-called agressive caching, solved using hotfix*
Eskild: Can you give me a link to this hotfix since I have a similar problem. My danish site links to the swedish sometimes and vice versa. :/
I used this one:http://support.ep.se/upload/Hotfixes/EPiServer%20HotFix_R2SP2_SiteUrl_Cache.zip
And did it work correctly for you? I'm still having troubles after the hotfix. :/
Have you added it to the GAC in addition to adding it to the project? Worked for me.
Eskild: We got a new hotfix from EPiServer and added it to the GAC and it worked like a charm. :) Thanks for the help!