5
Vote

Not working when list is not on root web

description

Hi Bart,
Generation tools are not working when site is not at the root. for example http://localhost/site/MyPublishingSite gives an error "cannot connect to sharepoint". The site must be at the root "http://localhost"

comments

bdesmet wrote Feb 7, 2008 at 7:33 AM

Thanks for the feedback. Do you have a repro with an outline of the WSS setup and site structure you're using?

-Bart

danleis wrote Mar 17, 2008 at 10:07 PM

Hi Bart,
I had the same situation, so I had to modify the ObjectModelSharePointDataProvider constructor to support SPWeb as a parameter. I also changed the related class members and the generator code, so now I can work on lists not on the root site of the site collection. Actually I would be happy to share my improvements and ideas with the community, but I do not know how I could join the project.
Thanks
Daniel

dolan wrote Mar 18, 2010 at 5:49 PM

I have this working on a subsite actually. I think this is an incorrect geenralization