Activating Adobe LiveCycle Connector for SharePonit feature on multiple Site Collections

You may encounter an error failed to apply web.config modifications to Web application on activating Adobe LiveCycle Connector for multiple Site Collections. This issue occurs when you have already activated Adobe LiveCycle Connector on another site collection.

Activating Adobe LiveCycle connector on a site collection adds some code to web.config file. To activate Adobe LiveCycle Connector feature on multiple Site Collections, remove activation code from web.config file and then activate the connector on other site collections:

  1. Open web.config file for editing.
  2. Locate and remove following code: <bindings>
    <basicHttpBinding>        <binding name=”DirectoryManagerServiceSoapBinding” closeTimeout=”00:01:00″ openTimeout=”00:01:00″ receiveTimeout=”00:10:00″ sendTimeout=”00:05:00″ allowCookies=”false” bypassProxyOnLocal=”false” hostNameComparisonMode=”StrongWildcard” maxBufferSize=”2147483647″ maxBufferPoolSize=”524288″ maxReceivedMessageSize=”2147483647″ messageEncoding=”Text” textEncoding=”utf-8″ transferMode=”Buffered” useDefaultWebProxy=”true”>
    <readerQuotas maxDepth=”32″ maxStringContentLength=”81920000″ maxArrayLength=”16384000″ maxBytesPerRead=”40960000″ maxNameTableCharCount=”16384″ />
    <security mode=”TransportCredentialOnly”>
    <transport clientCredentialType=”Basic” proxyCredentialType=”None” realm=”” />
    </security>
    </binding>
    <binding name=”FormsServiceSoapBinding” closeTimeout=”00:01:00″ openTimeout=”00:01:00″ receiveTimeout=”00:10:00″ sendTimeout=”00:05:00″ allowCookies=”false” bypassProxyOnLocal=”false” hostNameComparisonMode=”StrongWildcard” maxBufferSize=”2147483647″ maxBufferPoolSize=”524288″ maxReceivedMessageSize=”2147483647″ messageEncoding=”Text” textEncoding=”utf-8″ transferMode=”Buffered” useDefaultWebProxy=”true”>
    <readerQuotas maxDepth=”32″ maxStringContentLength=”81920000″ maxArrayLength=”16384000″ maxBytesPerRead=”40960000″ maxNameTableCharCount=”16384″ />
    <security mode=”TransportCredentialOnly”>
    <transport clientCredentialType=”Basic” proxyCredentialType=”None” realm=”” />
    </security>
    </binding>
    <binding name=”MSSharePointConfigServiceSoapBinding” closeTimeout=”00:01:00″ openTimeout=”00:01:00″ receiveTimeout=”00:10:00″ sendTimeout=”00:05:00″ allowCookies=”false” bypassProxyOnLocal=”false” hostNameComparisonMode=”StrongWildcard” maxBufferSize=”2147483647″ maxBufferPoolSize=”524288″ maxReceivedMessageSize=”2147483647″ messageEncoding=”Text” textEncoding=”utf-8″ transferMode=”Buffered” useDefaultWebProxy=”true”>
    <readerQuotas maxDepth=”32″ maxStringContentLength=”81920000″ maxArrayLength=”16384000″ maxBytesPerRead=”40960000″ maxNameTableCharCount=”16384″ />
    <security mode=”TransportCredentialOnly”>
    <transport clientCredentialType=”Basic” proxyCredentialType=”None” realm=”” />
    </security>
    </binding>
    <binding name=”ReaderExtensionsServiceSoapBinding” closeTimeout=”00:01:00″ openTimeout=”00:01:00″ receiveTimeout=”00:10:00″ sendTimeout=”00:05:00″ allowCookies=”false” bypassProxyOnLocal=”false” hostNameComparisonMode=”StrongWildcard” maxBufferSize=”2147483647″ maxBufferPoolSize=”524288″ maxReceivedMessageSize=”2147483647″ messageEncoding=”Text” textEncoding=”utf-8″ transferMode=”Buffered” useDefaultWebProxy=”true”>
    <readerQuotas maxDepth=”32″ maxStringContentLength=”81920000″ maxArrayLength=”16384000″ maxBytesPerRead=”40960000″ maxNameTableCharCount=”16384″ />
    <security mode=”TransportCredentialOnly”>
    <transport clientCredentialType=”Basic” proxyCredentialType=”None” realm=”” />
    </security>
    </binding>
    <binding name=”TaskManagerQueryServiceSoapBinding” closeTimeout=”00:01:00″ openTimeout=”00:01:00″ receiveTimeout=”00:10:00″ sendTimeout=”00:05:00″ allowCookies=”false” bypassProxyOnLocal=”false” hostNameComparisonMode=”StrongWildcard” maxBufferSize=”2147483647″ maxBufferPoolSize=”524288″ maxReceivedMessageSize=”2147483647″ messageEncoding=”Text” textEncoding=”utf-8″ transferMode=”Buffered” useDefaultWebProxy=”true”>
    <readerQuotas maxDepth=”32″ maxStringContentLength=”81920000″ maxArrayLength=”16384000″ maxBytesPerRead=”40960000″ maxNameTableCharCount=”16384″ />
    <security mode=”TransportCredentialOnly”>
    <transport clientCredentialType=”Basic” proxyCredentialType=”None” realm=”” />
    </security>
    </binding>
    <binding name=”TaskManagerServiceSoapBinding” closeTimeout=”00:01:00″ openTimeout=”00:01:00″ receiveTimeout=”00:10:00″ sendTimeout=”00:05:00″ allowCookies=”false” bypassProxyOnLocal=”false” hostNameComparisonMode=”StrongWildcard” maxBufferSize=”2147483647″ maxBufferPoolSize=”524288″ maxReceivedMessageSize=”2147483647″ messageEncoding=”Text” textEncoding=”utf-8″ transferMode=”Buffered” useDefaultWebProxy=”true”>
    <readerQuotas maxDepth=”32″ maxStringContentLength=”81920000″ maxArrayLength=”16384000″ maxBytesPerRead=”40960000″ maxNameTableCharCount=”16384″ />
    <security mode=”TransportCredentialOnly”>
    <transport clientCredentialType=”Basic” proxyCredentialType=”None” realm=”” />
    </security>
    </binding>
    </basicHttpBinding>
    </bindings>
    <client>      <endpoint address=”http://alfresco-server:8080/soap/services/DirectoryManagerService” binding=”basicHttpBinding” bindingConfiguration=”DirectoryManagerServiceSoapBinding” contract=”DirectoryManagerService.DirectoryManagerService” name=”DirectoryManagerService” />
    <endpoint address=”http://AdobeLiveCycleServer:8080/soap/services/FormsService” binding=”basicHttpBinding” bindingConfiguration=”FormsServiceSoapBinding” contract=”FormsService.FormsService” name=”FormsService” />
    <endpoint address=”http://AdobeLiveCycleServer:8080/soap/services/MSSharePointConfigService” binding=”basicHttpBinding” bindingConfiguration=”MSSharePointConfigServiceSoapBinding” contract=”MSSharePointConfigService.MSSharePointConfigService” name=”MSSharePointConfigService” />
    <endpoint address=”http://AdobeLiveCycleServer:8080/soap/services/ReaderExtensionsService” binding=”basicHttpBinding” bindingConfiguration=”ReaderExtensionsServiceSoapBinding” contract=”LiveCycleReaderExtensions.ReaderExtensionsService” name=”ReaderExtensionsService” />
    <endpoint address=”http://AdobeLiveCycleServer:8080/soap/services/TaskManagerQueryService” binding=”basicHttpBinding” bindingConfiguration=”TaskManagerQueryServiceSoapBinding” contract=”TaskManagerQueryService.TaskManagerQueryService” name=”TaskManagerQueryService” />
    <endpoint address=”http://AdobeLiveCycleServer:8080/soap/services/TaskManagerService” binding=”basicHttpBinding” bindingConfiguration=”TaskManagerServiceSoapBinding” contract=”TaskManagerService.TaskManagerService” name=”TaskManagerService” />
    </client>
  3. Save and close web.config file.
  4. Click Activate. Adobe LiveCycle Connector is activated and the activation code gets added to the web.config file again.

Sometimes, you may be required to deactivate Adobe LiveCycle connector from a Site Collection, while keeping it active for others. Deactivating the feature from any site collection, results in removing the activation code from web.config file and it renders Adobe LiveCycle Connector on other site collections useless. The solution to this problem is to deactivate and then reactivate Adobe LiveCycle Connector for any one of the other site collections:

  1. Open any one Site Collection that you want to keep active.
  2. Deactivate Adobe LiveCycle Connector.
  3. Click Activate.

Note: You do not need to repeat this step for all the other site collections.

 

Thanks

Pankaj Gakhar

VN:F [1.9.22_1171]
Was this helpful? Please rate the content.
Rating: 0.0/10 (0 votes cast)
This entry was posted in Adobe LiveCycle ES3 and tagged , , . Bookmark the permalink.

Comments are closed.