Wrong ReturnUrl on login page for ui/edit

Vote:
 

When I try to login to edit mode on my test server
http://test.yyyy.no/ui/edit/
the ReturnUrl is missing the "default.aspx" page part:
http://test.yyyy.no/Util/login.aspx?ReturnUrl=%2fui%2fedit

ReturnUrl should have been %2fui%2fedit%2fdefault.aspx

On localhost it all works fine and the default.aspx is a part of the ReturnURL:
http://localhost:6666/Util/login.aspx?ReturnUrl=%2fui%2fedit%2fdefault.aspx

Doesn anyone know what is wrong?

 

 

#32062
Aug 20, 2009 19:24
Vote:
 
Adding default.aspx under IIS' default documents section should fix it.
#32064
Aug 20, 2009 22:09
Vote:
 

We have done that already so there must be an other reason why this fails.

And the strange thing is that it works fine locally but not when deployed to the test server.

 

#32094
Aug 21, 2009 15:18
Vote:
 
We just found out what was wrong. The global.asax file wasnt included in the project. When we included it and deployed it all worked fine Laughing
#32095
Aug 21, 2009 15:36