rajgithub123 / google-enterprise-connector-sharepoint

Automatically exported from code.google.com/p/google-enterprise-connector-sharepoint
0 stars 0 forks source link

SharePoint version detection fails in certain environments #81

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The SharePoint connector uses HTTP HEAD request to identify the SharePoint 
version from the value returned for "MicrosoftSharePointTeamServices" in the 
response to identify the SharePoint type.

For this to work, IIS needs to return the same in its header. There are 
certain installations where this is not set in the IIS response header by 
default. Need to identify the environments and check how they can be 
addressed.

One such environment:

WSS environment built upon 32-Bit Windows 2003 w/WSS SP2

Original issue reported on code.google.com by rakeshs101981@gmail.com on 20 Jul 2009 at 4:53

GoogleCodeExporter commented 9 years ago
This is related to Issue 43 
(http://code.google.com/p/google-enterprise-connector-
sharepoint/issues/detail?id=43)

Original comment by rakeshs101981@gmail.com on 20 Jul 2009 at 4:56

GoogleCodeExporter commented 9 years ago

Original comment by rakeshs101981@gmail.com on 20 Jul 2009 at 6:00

GoogleCodeExporter commented 9 years ago

Original comment by rakeshs101981@gmail.com on 7 Aug 2009 at 2:18

GoogleCodeExporter commented 9 years ago

Original comment by rakeshs101981@gmail.com on 25 Sep 2009 at 2:09

GoogleCodeExporter commented 9 years ago

Original comment by rakeshs101981@gmail.com on 9 Dec 2009 at 9:52

GoogleCodeExporter commented 9 years ago

Original comment by shashank...@gmail.com on 17 Mar 2011 at 11:56

GoogleCodeExporter commented 9 years ago
You need to set the HTTP Header for your IIS web sites:

1. Open IIS (You probably want to repeat this for ALL your web servers in the 
farm.)  
2. Click on the website that hosts your target web app.  Click on 'HTTP 
Response Headers' (In IIS 7) or properties / HTTP Headers (in IIS 6).

You should see two headers - "X-Powered-By : ASP.NET" and 
"MicrosoftSharePointTeamServices : 12.0.0.6318"

12.x.x.xxxx indicates SP 2007/MOSS, 6.x.x.xxxx indicates SP 2003 and 
14.x.x.xxxx indicates SP 2010.

The connector detects the SP type by comparong against this header value: 

startsWith("6") --> SP 2003
startsWith("12") --> SP 2007
startsWith("14") --> SP 2010

Refer for more details:

http://social.technet.microsoft.com/Forums/en/sharepointsearch/thread/0e5205a5-3
7eb-4cf0-8397-51906e74c2fd
http://sharepointlogics.com/2010/02/how-to-check-sharepoint-2007-versions.html
http://social.msdn.microsoft.com/Forums/en/sharepointinfopath/thread/d2acfa81-14
d6-4830-8518-34f61eaf77b7

Original comment by rakeshs101981@gmail.com on 29 Apr 2011 at 9:13