I am trying to access a different site collection through an Event receiver. Event receiver does what i want but it does in the same site collection. i have following code
using (SPSite destsite = new SPSite("http://man:8787/ONE/"))
{
string currentURL = destsite.Url.ToString()
}
i always get currentURL = http://man:8787
i never get currentURL = http://man:8787/ONE
I have a working site collection at http://man:8787/ONE
is there anything changed in 2013, am i doing anything wrong.