Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > PowerShell

Vista - not really remote access

Reply
 
Old 06-24-2008   #1 (permalink)
jws


 
 

not really remote access

I'm trying to script SharePoint, but am getting "Access is denied
0x80070005" when trying to do anything meaningful with my SPSite
object. I think it might relate to the fact that, although the scripts
are executing on the same server upon which SharePoint is installed,
the AD-DNS name(webserver.mydomain.net) is different from the Internet
DNS name (sharepoint.mydomain.com) needed for SharePoint access.

Would this cause Powershell to think this was a remote server and
therefore restrict access?

My System SpecsSystem Spec
Old 06-24-2008   #2 (permalink)
Marco Shaw [MVP]


 
 

Re: not really remote access

jws wrote:
Quote:

> I'm trying to script SharePoint, but am getting "Access is denied
> 0x80070005" when trying to do anything meaningful with my SPSite
> object. I think it might relate to the fact that, although the scripts
> are executing on the same server upon which SharePoint is installed,
> the AD-DNS name(webserver.mydomain.net) is different from the Internet
> DNS name (sharepoint.mydomain.com) needed for SharePoint access.
>
> Would this cause Powershell to think this was a remote server and
> therefore restrict access?
I see a few hits regarding this error on SharePoint, with no solid
resolution that I could find.

The error isn't come from PowerShell, but from SharePoint itself.

I would try pointing my script to both "names" to see what happens, but
I think any "local" connection should be basically going through your
loopback interface, so I think you have another problem...

Marco

--
Microsoft MVP - Windows PowerShell
http://www.microsoft.com/mvp

PowerGadgets MVP
http://www.powergadgets.com/mvp

Blog:
http://marcoshaw.blogspot.com
My System SpecsSystem Spec
Old 06-25-2008   #3 (permalink)
Oisin (x0n) Grehan [MVP]


 
 

Re: not really remote access

On Jun 24, 2:18*am, jws <jsackste...@xxxxxx> wrote:
Quote:

> I'm trying to script SharePoint, but am getting "Access is denied
> 0x80070005" when trying to do anything meaningful with my SPSite
> object. I think it might relate to the fact that, although the scripts
> are executing on the same server upon which SharePoint is installed,
> the AD-DNS name(webserver.mydomain.net) is different from the Internet
> DNS name (sharepoint.mydomain.com) needed for SharePoint access.
>
> Would this cause Powershell to think this was a remote server and
> therefore restrict access?
Can you reduce your problem to a couple of lines of script for me and
I'll try to reproduce your problem here.

- Oisin
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Remote Access Network & Sharing
Remote Access Vista General
Access is denied message when trying to access a remote printer Vista print fax & scan
remote access Vista networking & sharing
remote desktop connection? AKA remote access? Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46