Note that there are some explanatory texts on larger screens.

plurals
  1. POSharepoint Crawler is denied access to sites
    primarykey
    data
    text
    <p>We create all our site collections programatically with a custom site def/template. Everything works as expected, except for the crawler. It's apparently denied access to the sites. The crawl logs says:</p> <blockquote> <p><a href="http://server.localnetwork.lan/somesites/siteName" rel="nofollow noreferrer">http://server.localnetwork.lan/somesites/siteName</a> The object was not found. (The item was deleted because it was either not found or the crawler was denied access to it.)</p> </blockquote> <p>And in the log files I'm getting this:</p> <blockquote> <p>08/11/2009 14:20:34.01 OWSTIMER.EXE (0x0674)<br> 0x1560 Search Server Common<br> MS Search Administration<br> 7hmh High exception in SearchUpgradeProvisioner Keyword Config System.InvalidOperationException: jobServerSearchServiceInstance is null at Microsoft.Office.Server.Search.Administration.SearchUpgradeProvisioner..ctor(SearchServiceInstance searchServiceInstance) at Microsoft.Office.Server.Search.Administration.OSSPrimaryGathererProject.ProvisionContentSources()</p> </blockquote> <p>If I create a site collection manually the crawler is able to access it. The same users/accounts have the same access on both sites, so that shouldn't be the issue.</p> <p>The code we use to actually create the site collection looks a little like this:</p> <pre><code>SPWebApplication app = SPWebApplication.Lookup(new Uri("WebApplicationUrl")); app.FormDigestSettings.Enabled = false; app.Sites.Add("url", "title", "description", "language code", "SiteTemplateName", "Owner.Username", "Owner.Fullname", "Owner.Email"); app.FormDigestSettings.Enabled = true; </code></pre> <p>The code has been slightly altered to protect the innocent... ;)</p> <p>Any idea what we're doing wrong?</p> <p>(Please note, I'm not sure if this is a programming error or a config/setup error, so I'm cross-posting with <a href="https://serverfault.com/questions/52695/sharepoint-crawler-is-denied-access-to-sites">Serverfault</a>)</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload