This is for every SP person who is configuring search i the environment.
Here is a very excellent article on dng that and explainng all the components of the search.
http://sharepointgeorge.com/2010/configuring-enterprise-search-sharepoint-2010/
Thursday, November 13, 2014
The search service is not able to connect to the machine that hosts the administration component. Verify that the administration component ‘ ′ in search application ‘Search Service Application’ is in a good state and try again
There is an issue when you configure serach service application but do not see admini components running in search service administartion and you cannot go to content sources and any other parts of it.
Use below to fix the issue. there is very nice article on this:-
http://blogs.technet.com/b/poojk/archive/2011/11/28/sharepoint-2010-search-service-is-not-able-to-connect-to-administration-component-server.aspx
Run below PowerShell command:
$varInstance = Get-SPEnterpriseSearchServiceInstance -local (Assuming that you have only one SSA in farm)
If you type $varInstance and hit Enter key, you should see SharePoint Server Search instance details.
If you see it disabled then run another PS command -----> Start-SPEnterpriseSearchServiceInstance -Identity <servername>
Once above runs successfully, execute below:
$varSearchApp = get-spenterprisesearchserviceapplication
Now set search Admin component:
set-spenterprisesearchadministrationcomponent –searchapplication $varSearchApp –searchserviceinstance $varInstance
After it gets completed successfully, you need to wait for sometime, may be about 10 minutes.(It took 10 min in my case) Make sure you restart search service and then wait. Admin component should be ready and you should be able to browse SSA.
Use below to fix the issue. there is very nice article on this:-
http://blogs.technet.com/b/poojk/archive/2011/11/28/sharepoint-2010-search-service-is-not-able-to-connect-to-administration-component-server.aspx
Run below PowerShell command:
$varInstance = Get-SPEnterpriseSearchServiceInstance -local (Assuming that you have only one SSA in farm)
If you type $varInstance and hit Enter key, you should see SharePoint Server Search instance details.
If you see it disabled then run another PS command -----> Start-SPEnterpriseSearchServiceInstance -Identity <servername>
Once above runs successfully, execute below:
$varSearchApp = get-spenterprisesearchserviceapplication
Now set search Admin component:
set-spenterprisesearchadministrationcomponent –searchapplication $varSearchApp –searchserviceinstance $varInstance
After it gets completed successfully, you need to wait for sometime, may be about 10 minutes.(It took 10 min in my case) Make sure you restart search service and then wait. Admin component should be ready and you should be able to browse SSA.
Failed to retrieve RS configuration information: System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException
This is the issue where you configure report server in SharePoint integrated mode and runs fine opening the web service url which shows that reports are configured properly. But you get into an issue when you try to use the web service url in CA and report server configuration settings.
1) Open Central admin adn go to general settings- report server configuration
2) Open the settings and add the web service url to the page and choose the trusted account (should be the same taht you user while configuring report server on Sql side) and click OK. It takes a while and then thorw the error "Failed to retrieve RS configuration information: System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException"
To fix this, in our case it was related to our sql server side where port 80 was blocked and thats why SP was not able to make connection to the sql side.
Go to Sql server and open configuration manager- under report web service url- change the url to port 8080 or whatever you want and reconfigure again.Then once done, use that url and go back to CA and it should work
How you can check whether port is blocked. Use Telent client feature on your server
Open cmd and type:-
Telnet "ServerName" port
If it gets black out, it means port is open if not then its blocked and you will see a message.
1) Open Central admin adn go to general settings- report server configuration
2) Open the settings and add the web service url to the page and choose the trusted account (should be the same taht you user while configuring report server on Sql side) and click OK. It takes a while and then thorw the error "Failed to retrieve RS configuration information: System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException"
To fix this, in our case it was related to our sql server side where port 80 was blocked and thats why SP was not able to make connection to the sql side.
Go to Sql server and open configuration manager- under report web service url- change the url to port 8080 or whatever you want and reconfigure again.Then once done, use that url and go back to CA and it should work
How you can check whether port is blocked. Use Telent client feature on your server
Open cmd and type:-
Telnet "ServerName" port
If it gets black out, it means port is open if not then its blocked and you will see a message.
Wednesday, September 17, 2014
The Unattended Service Account cannot be set for the service application. The Secure Store Service key might not have been generated or properly refreshed after the service was provisioned.
This is the error when you get it while configuring the Performance point service application in SharePoint 2010. Once we are done creating Performance Point application, we need to do the configuration part where we need to define the unattanted service account for the application. It is linked to secure store service. Follow the below steps to resolve this issue:-
1) Go to central admin- Manage service applications and check for secure store service. if its not there, create a new one.
2) Once its created, select the services and click on the top ribbon for generating new Key. Once its done, go back to Manage service application page.
3) Under Performance service, click configuration and add the unattended account again and click ok. It should not throw error as the encrypted key was not created. You are ggod to go now and go ahead and create a new site using Business intelligence template.
1) Go to central admin- Manage service applications and check for secure store service. if its not there, create a new one.
2) Once its created, select the services and click on the top ribbon for generating new Key. Once its done, go back to Manage service application page.
3) Under Performance service, click configuration and add the unattended account again and click ok. It should not throw error as the encrypted key was not created. You are ggod to go now and go ahead and create a new site using Business intelligence template.
Thursday, September 4, 2014
Powershell script to backup all the site collections in the sharePoint Farm.
Below is the link to powershell script that does the backup of all the site collections in the SP farm.
http://practicalkungfu.net/2011/11/14/sharepoint-2010-backup-all-site-collections-in-all-web-applciations/
I have tested this script and works great. you just need to change your path where you will be running the backups and make sure you provide adequate access to the user.
It also does the deletion after certain no of days. It has 30 days by default but you can change it accordingly to your needs.
http://practicalkungfu.net/2011/11/14/sharepoint-2010-backup-all-site-collections-in-all-web-applciations/
I have tested this script and works great. you just need to change your path where you will be running the backups and make sure you provide adequate access to the user.
It also does the deletion after certain no of days. It has 30 days by default but you can change it accordingly to your needs.
Sql server reporting services integration within Sharepoint integration mode
There are couple of things we need to understand while configuring the reporting services integration with SharePoint 2010. Below are two amazing and very helpful links for doing the integration.
a) http://technet.microsoft.com/en-us/library/bb677365%28v=sql.105%29.aspx#bkmk_Computer2_ToinstallaSharePointwebserverfontendontheSSRSserver
b) http://technet.microsoft.com/en-us/magazine/ff686706.aspx
These 2 articles explained what is required to do the integration and what components must be present and what architecture is needed?
I did my production configuration using above links and is working great.
a) http://technet.microsoft.com/en-us/library/bb677365%28v=sql.105%29.aspx#bkmk_Computer2_ToinstallaSharePointwebserverfontendontheSSRSserver
b) http://technet.microsoft.com/en-us/magazine/ff686706.aspx
These 2 articles explained what is required to do the integration and what components must be present and what architecture is needed?
I did my production configuration using above links and is working great.
system.web.httpexception maximum request length exceeded sharepoint 2010
Users get an error while uploading a document bigger than 50mb.
SP has a default upload setting of 50mb document. If we need to incrase the size to allow up to 200mb of documents, below are the places where we do it:-
1) In central admin, go to Manage web applications- Click on web app and click general settings- scroll down to and put 200 at place of 50 and save it.
2) Next we need to update web app web.config file under c:\intepub directoru. open the web.config file and search for timout. Now edit the following entries:-
Increase the maxrequestlength to 215200 and execution time to 9999 and save it.
It should be good to go now. Please try to upload again and it should work.
SP has a default upload setting of 50mb document. If we need to incrase the size to allow up to 200mb of documents, below are the places where we do it:-
1) In central admin, go to Manage web applications- Click on web app and click general settings- scroll down to and put 200 at place of 50 and save it.
2) Next we need to update web app web.config file under c:\intepub directoru. open the web.config file and search for timout. Now edit the following entries:-
Increase the maxrequestlength to 215200 and execution time to 9999 and save it.
It should be good to go now. Please try to upload again and it should work.
Subscribe to:
Posts (Atom)