Skip to main content

SharePoint 2010 Search: Does not work when I’m offline…oh now it does!!!

Normally, for Specialists that are installing their SharePoint 2010 Demo environments, so as to demonstrate custom solutions to clients, they usually do their installations onto their machines (Laptops) that in most cases are connected to their company domains. So what happens when the Specialist goes home or is at a client site is that, their SharePoint 2010 Search fails to return any results, and the wonder why this is so when not only are there no errors being registered but they also have full permissions on anything they can think of, after all, they did the installation themselves using an account with admin privileges. ;)


In my opinion, it actually makes sense that an environment installed this way should actually have its SharePoint 2010 Search fail to return any results.

Unfortunately there are not so many solutions (if at all any) to this issue out there on the Internet, and so I thought I could write it down in an effort to help someone out there.

The Cause:

The cause is simple. It’s because you are not connected to the company domain. Remember that SharePoint 2010 now has service applications for each service, and each service application can have assigned credentials that it uses to run under. So basically, the domain\username account that is being used on the service application is practically trying to get authenticated from the company domain and this fails because there is no connection back to the domain, therefore, it won’t access the service application and search won’t work.

The Solution

1. Firstly, if you are going to set up a Demo SharePoint 2010 Environment, log in to the machine using the Local Account

2. Make sure that the Local account you are using has got the right permissions on the machine and your SQL Instance.

3. Once you finish the installation, make sure that the Search Service Application Pool uses a Local Account, NOT local Service.

4. Access Central Administration > Application Management > Manage Service Applications, and highlight the Search Service Application for your Web Application.

5. On the Ribbon, click Administrators and add the Local Account that the Search Service Application pool is running under.

6. And your SharePoint 2010 Search should now work when you are offline!!!

Cheers!

Comments

Popular posts from this blog

Zambia's first K2 BlackPoint roll-out

Reporting to you live from Code|Influence... My colleague and I have been managing our organization's SharePoint infrastructure for some time now and we have just rolled out the first K2 BlackPoint in the country, intended mostly for SharePoint workflow developments.

How to document your SharePoint Projects.

Here are the essential documents you need to complete… Initiation Business Case: To justify the financial investment in your SharePoint Project, you need to write a Business Case. It lists the costs and benefits, so everyone knows what the return on investment will be. Feasibility Study: Before you kick-off your SharePoint Project, you need to determine whether your project is feasible, using a Feasibility Study. SharePoint Project Charter: You then need to document the objectives, scope, team, timeframes and deliverables in a SharePoint Project Charter. Planning SharePoint Project Plan: You need to create a Project Plan listing all of the tasks required to undertake your SharePoint Project from start to finish. Every task must be scheduled, so you know what needs to be done and when. Resource Plan: Next, you need to plan your resources by documenting the money, equipment and materials needed for your SharePoint Project. Quality Plan: You then need to set quality targets, so that the S...

SharePoint: How to create a custom action to open Word Documents using "Edit in Microsoft Word".

Imagine you have a SharePoint custom search webpart, and on your search results, you return word documents, you will obviously want to at times be able to open them in your MS Word client program for editing. So basically, depending on your office client installed on your local machine, there are 2 different approaches that can be made for Office 2003 and Office 2007/10, using the same function " editDocumentWithProgID2 ". For Office 2003: - If your document libraries versioning settings have got "Require Check out" ticked, then you will first want to check out the document using: onclick ="CheckoutviaXmlhttp(‘{SiteURL}’, ‘{DocumentDownloadURL}’)" - Then to open the document, you use: onclick =" return editDocumentWithProgID2(‘ {DocumentDownloadURL} ’, ”, ‘SharePoint.OpenDocuments’, ’1′,’ {SiteURL} ’, ’0′);" href ="#" - and now combining the above 2 actions into one clickable action: onclick ="CheckoutviaXmlhttp(‘ {SiteURL} ’, ‘ {...