문제

We recently began using a load balancer to force HTTPS on our SharePoint, and the PowerShell code below can no longer find the site. I've tried using both https://mysite and //mysite, with the same results.

    [void][System.reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint")
    $site    =     new-Object Microsoft.SharePoint.SPSite("http://mysite")
    $web     =    $site.rootweb
    $list    =    $web.Lists["mylist"]
도움이 되었습니까?

해결책 2

Thanks for all your help. We were able to fix the farm account's permissions by logging in with an admin account.

다른 팁

Check if you can ping this site proper, otherwise create record in HOST file, do ipconfig /flushdns and try access with Internet Browser on Server. You can also try $wa = Get-SPWebApplication and list all Sites Here $wa.Sites if its listed here.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 sharepoint.stackexchange
scroll top