Do you SharePoint?

Let's talk about it.
posts - 19, comments - 8, trackbacks - 0

May 2009 Entries

CustomMasterUrl, MasterUrl, default.master, custom.master and ChromeMasterUrl

When changed through the API or ONET.XML, the following is true: Site Master Page is set via SPWeb.CustomMasterUrl (Publishing Pages use this) System Master Page is set via SPWeb.MasterUrl (Forms and Views pages use this) Try it at home (the code below doesn't work with sub sites): In Visual Studio, create a new C# Windows Project, Console Application. Add a reference to the Microsoft.SharePoint namespace. In the Program.cs file, paste this just inside the static void Main(string[] args): try {       string siteURL = "http://changethistoyoursite";        string newCustomMasterUrl = "/_catalogs/masterpage/???.master"; //replace ??? with your master     string newMasterUrl = "/_catalogs/masterpage/???.master";  //replace ??? with your master       using (SPSite site = new SPSite(siteURL))     {          ...

posted @ Tuesday, May 26, 2009 8:19 PM | Feedback (0) |

More MOSS search crawler issues

"The crawler could not communicate with the server. Check that the server is available and that the firewall access is configured correctly.." This error sometimes shows up in the Crawl Log in the SSP. The issue in my case was a custom database that the crawler account did not have access to. Of course an easy way to figure this out is to login to the website as the crawler account -- to see what it sees...  It worked. A quick adjustment of SQL permissions and voila, we're crawling again.

posted @ Saturday, May 09, 2009 3:45 PM | Feedback (1) | Filed Under [ Development MOSS 2007 ]

MOSS Search Crawler not crawling content on Devevelopment machine

Pesky little thing. MS introduced a loopback security check for websites accessed locally on the server. To fix:http://support.microsoft.com/kb/896861 Click Start, click Run, type regedit, and then click OK. In Registry Editor, locate and then click the following registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa Right-click Lsa, point to New, and then click DWORD Value. Type DisableLoopbackCheck, and then press ENTER. Right-click DisableLoopbackCheck, and then click Modify. In the Value data box, type 1, and then click OK. Quit Registry Editor, and then restart your computer.  

posted @ Saturday, May 09, 2009 3:09 PM | Feedback (0) | Filed Under [ Development MOSS 2007 ]

Powered by: