Hi,
I have many site collection and many web under that site collection. I just have the web id or web url(don't have the site collection url ). I have to access the document library of the webs.
I have the following code.
using (SPSite oSPSite = new SPSite(Guid.Parse("XXX"))) { using (SPWeb oSPWeb = oSPSite.OpenWeb()) { } }Its giving one error. No web found with that guid.
Shubho