ClientProtocolManagers are not specified when using wcf inside web part
-
Friday, October 07, 2011 12:16 PM
I am trying to call a wcf function from within a web part. It works fine with the same code and config in a console app.
I get this error:
ClientProtocolManagers are not specified
Do I need to define my config in a different section?
Section Handler:
<?xml version="1.0" encoding="utf-8" standalone="yes"?> <configuration> <configSections> <section name="ClientConfig" type="DocuWare.Communication.AuthenticationServer.Config.ClientConfigHandler, DocuWare.Communication.AuthenticationServer" /> <section name="GapiConfig" type="DocuWare.Gapi.Client.GapiConfigHandler, DocuWare.Gapi" /> <sectionGroup name="SharePoint">
Section:<GapiConfig ObjectLifeTime="1000" /> <ClientConfig UseCustomSink="false" RestartDelay="10" CheckServerAccess="true"> <AuthenticationServers> <ConnectionSettings Name="Standard AS" Server="HOU-APP5" Port="9000" Organization="Diamond Offshore Company" Local="false" Active="true" /> </AuthenticationServers> <ClientProtocolManagers DefaultProtocol="tcp"> <ProtocolManager>DocuWare.Communication.AuthenticationServer.Remoting.TCPManager, DocuWare.Communication.AuthenticationServer</ProtocolManager> </ClientProtocolManagers> <Organizations> <System.String>XXXXXX</System.String> </Organizations> <SwitchClientProviderChannels> <SwitchSecurityChannel Name="SSPI" Active="true"> <System.String DictionaryEntryKey="securityPackage">ntlm</System.String> <System.String DictionaryEntryKey="impersonationLevel">identify</System.String> <System.String DictionaryEntryKey="type">DocuWare.Remoting.SSPIChannel.SecurityClientChannelSinkProvider, DocuWare.Remoting.SSPIChannel</System.String> <System.String DictionaryEntryKey="authenticationLevel">call</System.String> </SwitchSecurityChannel> <SwitchSecurityChannel Name="NotSecure" Active="true" /> </SwitchClientProviderChannels> </ClientConfig> </configuration>
All Replies
-
Friday, October 07, 2011 4:09 PM
Hi Nick,
Where is your system.serviceModel block ?
Ashraf ul Islam
Sharepoint Consultant- Marked As Answer by nick5454 Thursday, October 27, 2011 6:07 PM
-
Friday, October 07, 2011 6:55 PM
Hi Nick,
Where is your system.serviceModel block ?
Ashraf ul Islam
Sharepoint Consultantit's in the web.config:
<system.serviceModel> <serviceHostingEnvironment aspNetCompatibilityEnabled="true" /> </system.serviceModel>
-
Monday, April 16, 2012 6:42 PMI am having the same problem as solved?
-
Wednesday, April 18, 2012 4:21 PM
@Jhluz: Pretty sure you mean that you are still having trouble and that the post marked "Answer" (above) provided no help (I felt the same way). I did have some luck with switching the protocol manager like this:
<ClientProtocolManagers DefaultProtocol="gtcp">
<ProtocolManager>DocuWare.Communication.AuthenticationServer.Remoting.GenuineTCPManager, DocuWare.Communication.AuthenticationServer</ProtocolManager>
</ClientProtocolManagers>In truth, I am still having some troubles in other areas regarding this (that I am still working thru). I can connect to several instances of Docuware just fine (both 5.1b and 5.1c) but not another (5.1c).
-
Friday, November 09, 2012 3:09 PM
Was there any resolution with this issue? I'm just digging into Docuware SDK and having trouble with this same issue.
Thanks!

