manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject svn commit: r961644 - /incubator/lcf/trunk/modules/connectors/sharepoint/connector/org/apache/lcf/crawler/connectors/sharepoint/
Date Thu, 08 Jul 2010 08:53:45 GMT
Author: kwright
Date: Thu Jul  8 08:53:44 2010
New Revision: 961644

For SharePoint, interpret a 302 error when attempting to access MCPermissions web service
as meaning that the service is not installed, and return an appropriate message.


Modified: incubator/lcf/trunk/modules/connectors/sharepoint/connector/org/apache/lcf/crawler/connectors/sharepoint/
--- incubator/lcf/trunk/modules/connectors/sharepoint/connector/org/apache/lcf/crawler/connectors/sharepoint/
+++ incubator/lcf/trunk/modules/connectors/sharepoint/connector/org/apache/lcf/crawler/connectors/sharepoint/
Thu Jul  8 08:53:44 2010
@@ -1179,6 +1179,8 @@ public class SPSProxyHelper {
             throw new LCFException("Crawl user did not authenticate properly, or has insufficient
permissions to access "+baseUrl+site+": "+e.getMessage(),e);
           else if (httpErrorCode.equals("403"))
             throw new LCFException("Http error "+httpErrorCode+" while reading from "+baseUrl+site+"
- check IIS and SharePoint security settings! "+e.getMessage(),e);
+	  else if (httpErrorCode.equals("302"))
+	    throw new LCFException("LCF's MCPermissions web service may not be installed on the
target SharePoint server.  MCPermissions service is needed for SharePoint repositories version
3.0 or higher, to allow access to security information for files and folders.  Consult your
system administrator.");
             throw new LCFException("Unexpected http error code "+httpErrorCode+" accessing
SharePoint at "+baseUrl+site+": "+e.getMessage(),e);

View raw message