I create a SPWeb object with a relative url to my SPSite
using (SPWeb web = SPContext.Current.Site.OpenWeb(url))
{
SPList centralManagementList = web.Site.RootWeb.Lists["mylist"];
string id = web.ID.ToString();
}
With this object I can create new object like a SPList (no errors)
When i access the ID of the SPWeb object, i get the error, that the site does not exists?! But it does - I tried relative to the SPSite and relative to the SPServer.
What's wrong?