; *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 wrote:
>
>
> I have not writ
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
mailto:chris.gr
get method supports int and site name I have the URL so was
> trying to see 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
-boun...@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
mailto:chris.gr...@beachenergy.c
em 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 d
: 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
mailto:chris.gr...@beachenergy.com.au>> wrote:
Hi Guys,
I have w
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 wrote:
> Hi Guys,
>
> ** **
>
> I have webapp1 with several Host name site collections
>
> ** **
>
> I have webapp2 wh
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 fro