A user is unable to add a Sharepoint Web Application via DataInsight 2.5 GUI.

Article:TECH175133  |  Created: 2011-11-22  |  Updated: 2011-11-22  |  Article URL http://www.symantec.com/docs/TECH175133
Article Type
Technical Solution


Environment

Issue



A user is unable to add a Sharepoint Web Application via DataInsight 2.5 GUI.

 


Error



 

2011-11-01 02:00:32 INFO: Discover all sitecollections from webapp http://foo-shareweb/sites/FOO/SiteDirectory/RM
2011-11-01 02:00:35 INFO: It took 2.921875 secs to complete the last operation
2011-11-01 02:00:35 INFO: Exitcode : 0
2011-11-01 10:22:41 INFO: Discover all sitecollections from webapp foo-shareweb:16765
2011-11-01 10:22:41 ERROR: Unable to get sitecollections for webapp foo-shareweb:16765
2011-11-01 10:22:41 ERROR: System.NotSupportedException: The URI prefix is not recognized.
   at System.Net.WebRequest.Create(Uri requestUri, Boolean useUriBase)
   at System.Web.Services.Protocols.WebClientProtocol.GetWebRequest(Uri uri)
   at System.Web.Services.Protocols.HttpWebClientProtocol.GetWebRequest(Uri uri)
   at System.Web.Services.Protocols.SoapHttpClientProtocol.GetWebRequest(Uri uri)
   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
   at sharepoint_utilclient.SDIWebSvc.SDIWebService.getSiteCollections(String url)
   at sharepoint_utilclient.sharepoint_utilclient.discoverSiteCollections(Cmdline cmd)
2011-11-01 10:22:42 INFO: It took 0.421875 secs to complete the last operation
2011-11-01 10:22:42 ERROR: Exitcode : 200
2011-11-01 10:22:56 INFO: Discover all sitecollections from webapp http://foo-shareweb:16765
2011-11-01 10:22:59 ERROR: Unable to get sitecollections for webapp http://foo-shareweb:16765
2011-11-01 10:22:59 ERROR: System.Net.WebException: The request failed with HTTP status 401: Unauthorized.  
   at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
   at sharepoint_utilclient.SDIWebSvc.SDIWebService.getSiteCollections(String url)
   at sharepoint_utilclient.sharepoint_utilclient.discoverSiteCollections(Cmdline cmd)
2011-11-01 10:23:00 INFO: It took 3.5 secs to complete the last operation
2011-11-01 10:23:00 ERROR: Exitcode : 200

Cause



The cause for unauthorized access is the user's lack of full permissions to access the SharePoint Web Application.


Solution



The user that is used in configuring the Web Application Policy for DataInsight,  has incorrect permission 'Full Read' of the SharePoint Web Application, whereas DataInsight requires such a user with 'Full Control'. Please follow the steps from 'DataInsight Administrators Guide'.

 
Configuring a Web application policy
When configuring SharePoint from the Data Insight console, you must specify an account for monitoring the configured site collections. This account must be a site collection administrator for the configured sites and it must be in the same domain as the SharePoint server. It must have full control permissions not only on the configured Web applications, but also on the Web applications that are added to SharePoint subsequently. The account should have the necessary privileges to set the appropriate audit flags, gather metadata about site collection content, and gather audit data from SQL Server databases for SharePoint.
 
To enable Data Insight to gather audit and metadata from multiple site collections using a single user account, you must configure a policy for each Web Application from the SharePoint Central Administration Console.
 
To configure a policy for Web Application in SharePoint 2007
1 In the Central Administration Web site, click Application Management.
2 Under the Application Security section, click Policy for Web application.
3 Click Add Users.
4 In the Web Application drop-down list, select the Web application that
contains the site collections that you want Data Insight to monitor.
5 Select the appropriate zone. You can select (All Zones) if you want the user
to be given permissions on all zones for the Web application.
6 Click Next.
7 Choose the user account that will have Full Control.
8 In the Choose Permissions section, select Full Control - Has full control
9 Specify whether this account operates as SharePoint System account. If you
select the Account operates as System check box, all accesses made by this
user account are recorded with the user name, SharePoint System



Article URL http://www.symantec.com/docs/TECH175133


Terms of use for this information are found in Legal Notices