RE: get spsite object in a different web application

2013-03-11 Thread Chris Grist
nope From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of Web Admin Sent: Monday, 11 March 2013 10:39 AM To: ozMOSS Subject: Re: get spsite object in a different web application Chris, did u resolve this? On 8 March 2013 15:47, Chris Grist chris.gr

Re: get spsite object in a different web application

2013-03-11 Thread Web Admin
:* Monday, 11 March 2013 10:39 AM *To:* ozMOSS *Subject:* Re: get spsite object in a different web application ** ** Chris, did u resolve this? ** ** On 8 March 2013 15:47, Chris Grist chris.gr...@beachenergy.com.au wrote: I have not written the code I need, as I know it’s

Re: get spsite object in a different web application

2013-03-10 Thread Web Admin
if there was a way to get it without iterating over them all. *From:* ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] *On Behalf Of *Web Admin *Sent:* Friday, 8 March 2013 2:49 PM *To:* ozMOSS *Subject:* Re: get spsite object in a different web application Get

get spsite object in a different web application

2013-03-07 Thread Chris Grist
Hi Guys, I have webapp1 with several Host name site collections I have webapp2 where some code is running. The code seems to die when I try to open a SPSite object based on the HNSC url. This works fine on webapp1, but on webapp2 it bombs out. Is there a neat way to get the site collection

Re: get spsite object in a different web application

2013-03-07 Thread Web Admin
Get the destination webapp object first, then the site. The site you're trying to access does not exist within the current context. On 8 March 2013 15:11, Chris Grist chris.gr...@beachenergy.com.au wrote: Hi Guys, ** ** I have webapp1 with several Host name site collections **

RE: get spsite object in a different web application

2013-03-07 Thread Chris Grist
: get spsite object in a different web application Get the destination webapp object first, then the site. The site you're trying to access does not exist within the current context. On 8 March 2013 15:11, Chris Grist chris.gr...@beachenergy.com.aumailto:chris.gr...@beachenergy.com.au wrote: Hi

Re: get spsite object in a different web application

2013-03-07 Thread Web Admin
all. ** ** *From:* ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] *On Behalf Of *Web Admin *Sent:* Friday, 8 March 2013 2:49 PM *To:* ozMOSS *Subject:* Re: get spsite object in a different web application ** ** Get the destination webapp object first, then the site

RE: get spsite object in a different web application

2013-03-07 Thread Chris Grist
...@ozmoss.com] On Behalf Of Web Admin Sent: Friday, 8 March 2013 3:06 PM To: ozMOSS Subject: Re: get spsite object in a different web application Can we see the code? Still sounds like context. Is this C# or Powershell...? On 8 March 2013 15:33, Chris Grist chris.gr