I'm working on a CMS 6 R2 project and after setting up the envirnonment i'm encountering this problem. The site runs and when I try to enter the CMS i get to the login page and can actually login succesfully. However the redirection instead of pointing me to [siteUrl]/[relativePathToUI]/Admin[or Edit]/default.aspx just sends me to [siteUrl]/[relativePathToUI]/Admin[or Edit] and then I get an "Incorrect link " error on the browser. However if I manually add the "default.aspx" to the URL then i can access both admin and edit mode without problems. What am I missing here?
Check that your IIS site has default.aspx in its default documents setting.
Checked, it's on the list and it actually works for the site itself, but not for CMS admin and edit mode...
Could it be that the Global class doesn´t inherit from EPiServer.Global (look here for inspiration)?
That was exactly the problem! Changed the global.asax and now it works perfect. Tusen tack!