I recently upgraded a client from SharePoint v2.0 to v2010. The upgrade was successful, and the Business Portal implementation on SharePoint Server 2010 was also successful. Then, we installed Project Server on the same web application that Business Portal was installed on. After the Project installation, SharePoint stopped working and threw up the generic error of death. After turning on the errors on the page, I realized that there was a conflict in the <bindings> section of the web.config file. When I opened it up, I noticed the following:
<bindings>
<wsHttpBinding>
<binding name=”DynamicsGPWCFService” closeTimeout=”00:01:00″ openTimeout=”00:01:00″ receiveTimeout=”00:10:00″ sendTimeout=”00:01:00″ bypassProxyOnLocal=”false” transactionFlow=”false” hostNameComparisonMode=”StrongWildcard” maxBufferPoolSize=”524288″ maxReceivedMessageSize=”2147483647″ messageEncoding=”Text” textEncoding=”utf-8″ useDefaultWebProxy=”true” allowCookies=”false”>
<readerQuotas maxDepth=”32″ maxStringContentLength=”8192″ maxArrayLength=”16384″ maxBytesPerRead=”4096″ maxNameTableCharCount=”16384″ />
<reliableSession ordered=”true” inactivityTimeout=”00:10:00″ enabled=”false” />
<security mode=”Message”>
<message clientCredentialType=”Windows” negotiateServiceCredential=”true” algorithmSuite=”Default” />
</security>
</binding>
</wsHttpBinding>
</bindings>
<client>
<endpoint name=”DynamicsGPWCFService” address=”http://WEB01:48620/Dynamics/GPService/GPService” binding=”wsHttpBinding” bindingConfiguration=”DynamicsGPWCFService” contract=”Microsoft.Dynamics.GP.Proxy.WCF.DynamicsGP”>
<identity>
<servicePrincipalName value=”" />
</identity>
</endpoint>
</client>
<bindings>
<basicHttpBinding>
<binding name=”projectBasicHttpConf” closeTimeout=”00:01:00″ openTimeout=”00:01:00″ receiveTimeout=”00:10:00″ sendTimeout=”00:01:00″ allowCookies=”true” maxBufferSize=”4194304″ maxReceivedMessageSize=”500000000″ messageEncoding=”Text” transferMode=”StreamedResponse”>
<security mode=”TransportCredentialOnly”>
<transport clientCredentialType=”Windows” proxyCredentialType=”Windows” realm=”" />
</security>
</binding>
</basicHttpBinding>
</bindings>
Notice the duplicate <bindings> sections. When Business Portal is installed, it creates its own bindings for the DynamicsGPWCFService, that utilizes WCF for Business Portal needs. Now, when Project Server came along, it also required a binding for its projectBasicHttpConf service. Instead of realizing there was already a <bindings> section created, it decided to create a second one. SharePoint only wants one <bindings> section. So, I moved the Project binding in with the DynamicsGPWCFService, and it all worked well together!
<bindings>
<wsHttpBinding>
<binding name=”DynamicsGPWCFService” closeTimeout=”00:01:00″ openTimeout=”00:01:00″ receiveTimeout=”00:10:00″ sendTimeout=”00:01:00″ bypassProxyOnLocal=”false” transactionFlow=”false” hostNameComparisonMode=”StrongWildcard” maxBufferPoolSize=”524288″ maxReceivedMessageSize=”2147483647″ messageEncoding=”Text” textEncoding=”utf-8″ useDefaultWebProxy=”true” allowCookies=”false”>
<readerQuotas maxDepth=”32″ maxStringContentLength=”8192″ maxArrayLength=”16384″ maxBytesPerRead=”4096″ maxNameTableCharCount=”16384″ />
<reliableSession ordered=”true” inactivityTimeout=”00:10:00″ enabled=”false” />
<security mode=”Message”>
<message clientCredentialType=”Windows” negotiateServiceCredential=”true” algorithmSuite=”Default” />
</security>
</binding>
</wsHttpBinding>
<basicHttpBinding>
<binding name=”projectBasicHttpConf” closeTimeout=”00:01:00″ openTimeout=”00:01:00″ receiveTimeout=”00:10:00″ sendTimeout=”00:01:00″ allowCookies=”true” maxBufferSize=”4194304″ maxReceivedMessageSize=”500000000″ messageEncoding=”Text” transferMode=”StreamedResponse”>
<security mode=”TransportCredentialOnly”>
<transport clientCredentialType=”Windows” proxyCredentialType=”Windows” realm=”" />
</security>
</binding>
</basicHttpBinding>
</bindings>
1 ping
Project Server and Business Portal…let the fighting begin! » Summit Group Software Blog - DynamicAccounting.net - GP Technical Blogs - Microsoft Dynamics Community says:
December 5, 2011 at 11:24 am (UTC -6 )
[...] Comments 0 Joe Tews is all bound up with Project Server and Business Portal…let the fighting begin! [...]