I need to get the current absolute url of my site from inside code-behind. I tried
SPContext.Current.Site.Url and get this error Value does not fall within the expected range.
The goal is to get this url: "http://myspweb.com/mypage.aspx" as result.