none
CCF 2009 SP1 with : Options.svc service RRS feed

  • Question

  • Hi,

    I have installed CCF 2009 SP1 with DCS  and ,when I run AgentDesktop , I received an error from IsVersionMatched() method in AD.
    This method calls Options Service, the method GetCCFversions().

    The Error is: Parameter Name 'Uri'. System.ArgumentException : The specified Uri must be absolute.  (the Url value is: http://dcs/)

    Thanks,

    Simone.
    Tuesday, October 13, 2009 4:32 PM

All replies

  • There is certainly an issue with the DCS configuration..Can you see the CCF services in the DCS admin console?
    Yves Pitsch
    Tuesday, October 13, 2009 4:39 PM
  • Hi Yves,

    More Info: I suppose the Url value is taken from agentDesktop.config:

    <ProxyProviders defaultProvider="wcfProxy">
          <providers>
            <add name="wcfProxy" address="http://*" description="Provides WCF based proxy" type="Microsoft.Ccf.Common.ProxyProvider.WcfProxy, Microsoft.Ccf.Common.ProxyProvider" />
            <add name="dcsProxy" address="http://dcs/*" description="Provides DCS based proxy" type="Microsoft.Ccf.Common.ProxyProvider.DcsProxy, Microsoft.Ccf.Common.ProxyProvider" />
          </providers>
        </ProxyProviders>
      </Microsoft.Ccf>

    and also in AgentDesktop.config  in the section service model the web service is defined in this way:

    <endpoint address="" binding="basicHttpBinding" bindingConfiguration="Binding1" contract="Microsoft.Ccf.Samples.Csr.AgentDesktop.Options.Options" />

    I suppose the address is provided by DCS... but DCS gives http://dcs/.

    Anyway, in DiscoveryManagement folder, this is the service:

    Urn                                                                                                                                       Description                                                                       Available
                                                                                                                                                                                                                                   for empty scopes   
    http://ccfiiserm2/Microsoft.Ccf.Csr.WebServices.ContactCenter/Options.svc           Instance of service http://microsoft.com/ccf/ContactCenter/Options#Options    True   
    http://SPW-CCFERM2/Microsoft.Ccf.Csr.WebServices.ContactCenter/Options.svc    Instance of service http://microsoft.com/ccf/ContactCenter/Options#Options    True 

    and the details of each one:

    Service Address                                                                                                                                                 MEX Address
    http://ccfiiserm2/Microsoft.Ccf.Csr.WebServices.ContactCenter/Options.svc           http://ccfiiserm2/Microsoft.Ccf.Csr.WebServices.ContactCenter/Options.svc/mex


    Service Address                                                                                                                                                MEX Address
    http://SPW-CCFERM2/Microsoft.Ccf.Csr.WebServices.ContactCenter/Options.svc    http://SPW-CCFERM2/Microsoft.Ccf.Csr.WebServices.ContactCenter/Options.svc/mex 

    One Note:
      ccfiiserm2= DNSalias of IIS in the server name
      SPW-CCFERM2 = Server Name

    Thanks,

    Simone.

    • Edited by Simone Grillo Wednesday, October 14, 2009 9:09 AM more info
    Wednesday, October 14, 2009 8:08 AM
  • Yes, I see the CCF services in the dcs admin console
    Thursday, October 22, 2009 4:10 PM
  • Is that the URL for the discoveredEndpoint and mexDiscoveredEndpoint in the Cis.ServiceModel/ChannelFactory?

    Did you map the contract to the DCSProxy?
    Tuesday, October 27, 2009 8:39 AM
  • I am getting below error:

    1/28/2010 11:52:44 AM: Microsoft Customer Care Framework 2009: Unable to load DLL 'windowsaccessbridge.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
    1/28/2010 11:53:37 AM: Agent Desktop: DESKTOP_ERR_IN_LOAD: Error while loading Desktop.
    System.Configuration.ConfigurationErrorsException: COM0100: No configuration settings were found for key=AgentDesktop_Options_Options
       at Microsoft.Ccf.Common.ConfigurationValueReader.ReadSettings(String key)
       at Microsoft.Ccf.Samples.Csr.AgentDesktop.Desktop.IsVersionsMatched()
       at Microsoft.Ccf.Samples.Csr.AgentDesktop.Desktop.Desktop_Load(Object sender, EventArgs e)
    1/28/2010 11:53:37 AM: Microsoft Customer Care Framework 2009: Agentdesktop exited.

    Could you please assist. Also please see my AgentDesktop.config few setting

    <

     

    appSettings>

    <!--

     

    General settings for Agent Desktop -->

    <!--

     

    <add key="ConfigurationArea" value="AgentDesktop"/>-->

    <

     

    add key="AgentDesktopCustomAuthenticationEndPointURL" value="http://Servername/Microsoft.Ccf.Csr.WebServices.ContactCenter.AgentLoginManager/AgentLoginManager.svc"/>

    <!--

     

    <add key="AgentDesktop_Options_Options" value="http://Servername/Microsoft.Ccf.Csr.WebServices.ContactCenter/Options.svc"/>-->

    <

     

    add key="LoadSessions" value="false" />

    <

     

    add key="showSplashScreen" value="true" />

    <

     

    add key="DesktopToolBar" value="false"/>

    <

     

    add key="authenticationMode" value="Windows"/>

    <!--

     

    <add key="maxNumberOfSessions" value="2" />-->

    <!--

     

    <add key="Microsoft.Ccf.HostedApplicationToolkit.AutomationHosting.UseAssemblyResolver" value="false" />-->

    </

     

    appSettings>

    <

     

    system.serviceModel>

    <

     

    client>

    <!--

     

    <endpoint address="http://Servername/Microsoft.Ccf.Csr.WebServices.Customer/Customer.svc"

    binding="basicHttpBinding" bindingConfiguration="Binding1" contract="Microsoft.Ccf.Adapter.CustomerWS.Customer" />

     

    -->

     

    <!--

     

    address set by config entry: name=AgentDesktop_AddressBook_AddressBook,type=URL -->

    <!--

     

    <endpoint address="http://Servername/Microsoft.Ccf.Csr.WebServices.ContactCenter/AddressBook.svc" binding="basicHttpBinding" bindingConfiguration="Binding1" contract="Microsoft.Ccf.Samples.Csr.AgentDesktop.AddressBook.AddressBook" />-->

    <!--

     

    address set by config entry: name=AgentDesktop_AgentStats_AgentState,type=URL -->

    <!--

     

    <endpoint address="http://Servername/Microsoft.Ccf.Csr.WebServices.ContactCenter/AgentStats.svc" binding="basicHttpBinding" bindingConfiguration="Binding1" contract="Microsoft.Ccf.Samples.Csr.AgentDesktop.AgentStats.AgentState" />-->

    <!--

     

    <endpoint address="http://Servername/Microsoft.Ccf.Csr.WebServices.ContactCenter/ContactCenterStatistics.svc" binding="basicHttpBinding" bindingConfiguration="Binding1" contract="Microsoft.Ccf.Samples.Csr.AgentDesktop.ContactCenterStatistics.ContactCenterStatistics" />-->

    <!--

     

    address set by config entry: name=AgentDesktop_Lookup_Lookup,type=URL -->

    <!--

     

    <endpoint address="http://Servername/Microsoft.Ccf.Csr.WebServices.ContactCenter/Lookup.svc" binding="basicHttpBinding" bindingConfiguration="Binding1" contract="Microsoft.Ccf.Samples.Csr.AgentDesktop.Lookup.Lookup" />-->

    <!--

     

    address set by config entry: name=AgentDesktop_NonHostedApplications_NonHostedApplication,type=URL -->

    <!--

     

    <endpoint address="http://Servername/Microsoft.Ccf.Csr.WebServices.ContactCenter/NonHostedApplication.svc" binding="basicHttpBinding" bindingConfiguration="Binding1" contract="Microsoft.Ccf.Samples.Csr.AgentDesktop.NonHostedApplications.NonHostedApplication" />-->

    <!--

     

    address set by config entry: name=AgentDesktop_Options_Options,type=URL -->

    <

     

    endpoint address="http://Servername/Microsoft.Ccf.Csr.WebServices.ContactCenter/Options.svc" binding="basicHttpBinding" bindingConfiguration="Binding1" contract="Microsoft.Ccf.Samples.Csr.AgentDesktop.Options.Options" />

    <!--

     

    address set by config entry: name=AgentDesktop_SkillsRouting_Routing,type=URL -->

    <!--

     

    <endpoint address="http://Servername/Microsoft.Ccf.Csr.WebServices.ContactCenter/Routing.svc" binding="basicHttpBinding" bindingConfiguration="Binding1" contract="Microsoft.Ccf.Samples.Csr.AgentDesktop.SkillsRouting.Routing" />-->

    <!--

     

    address set by config entry: name=Microsoft_Ccf_Samples_HostedControlInterfaces_RegisterClient_RegisterClient,type=URL -->

    <!--

     

    <endpoint address="http://Servername/Microsoft.Ccf.Csr.WebServices.ContactCenterAIF/RegisterClient.svc" binding="basicHttpBinding" bindingConfiguration="Binding1" contract="Microsoft.Ccf.Samples.HostedControlInterfaces.RegisterClient.RegisterClient" />-->

    <!--

     

    address set by config entry: name=Microsoft_Ccf_Csr_Core_Application_Application,type=URL -->

    <!--

     

    <endpoint address="http://Servername/Microsoft.Ccf.Csr.WebServices.ContactCenterAIF/Application.svc" binding="basicHttpBinding" bindingConfiguration="Binding1" contract="Microsoft.Ccf.Csr.Application.Application" />-->

    <!--

     

    address set by config entry: name=Microsoft_Ccf_Csr_Core_ContextWebServices_ContextWebServices,type=URL -->

    <!--

     

    <endpoint address="http://Servername/Microsoft.Ccf.Csr.WebServices.ContactCenterAIF/Context.svc" binding="basicHttpBinding" bindingConfiguration="Binding1" contract="Microsoft.Ccf.Csr.ContextWebServices.ContextWebServices" />-->

    <!--

     

    address set by config entry: name=Microsoft_Ccf_Csr_Core_AuditLogWS_AuditLog,type=URL -->

    <!--

     

    <endpoint address="http://Servername/Microsoft.Ccf.Csr.WebServices.ContactCenterAIF/AuditLog.svc" binding="basicHttpBinding" bindingConfiguration="Binding1" contract="Microsoft.Ccf.Csr.AuditLogWS.AuditLog" />-->

    <!--

     

    address set by config entry: name=Microsoft_Samples_Ccf_DemoCode_CcfDemoApps_WorkFlowControl_WorkflowWS_WorkflowWs,type=URL -->

    <!--

     

    <endpoint address="http://Servername/Microsoft.Ccf.Csr.WebServices.ContactCenterAIF/WorkFlow.svc" binding="basicHttpBinding" bindingConfiguration="Binding1" contract="Microsoft.Ccf.Samples.WfWorkflowControl.WorkflowWS.WorkflowWs" />-->

    <!--

     

    <endpoint address="http://Servername/Microsoft.Ccf.Csr.WebServices.ContactCenter.AgentLoginManager/AgentLoginManager.svc"

    binding="basicHttpBinding" bindingConfiguration="Binding1"

    contract="Microsoft.Ccf.Common.AgentLoginManager.AgentLoginManager" />

     

    -->

    <!--

     

    <endpoint address="http://Servername/Microsoft.Ccf.Csr.WebServices.AgentCredentials/AgentCredentials.svc"

    binding="basicHttpBinding" bindingConfiguration="Binding1"

    behaviorConfiguration="ImpersonationBehavior"

    contract="Microsoft.Ccf.Csr.AgentCredentials.AgentCredentials" />

     

    -->

     

     

    <

     

    endpoint address="http://Servername/Microsoft.Ccf.Csr.WebServices.ContactCenter/Configuration.svc"

     

     

    binding="basicHttpBinding" bindingConfiguration="Binding1"

     

     

    contract="Microsoft.Ccf.Common.ConfigurationService.Configuration" />

    </

     

    client>

    Thursday, January 28, 2010 7:32 AM
  • Pls check if you can browse through http://localhost/Microsoft.Ccf.Csr.WebServices.ContactCenter/Options.svc

    You can replace localhost with server name.

    If it is returning you the correct values then CCF should load.

    Aman
    Wednesday, March 3, 2010 10:52 AM
  • Generally the COM0100 error is the result of a SQL connection failure earlier in the code path.  Here’s a quick way to test the string without much fuss.

     

    Copy the ConnectionString value(no quotes) from the <AppSettings> element in the Microsoft.Ccf.Csr.WebServices.ContactCenter web.config file.  Should look similar to:

     

    Server=SQL2K8\DEVCCF;Integrated Security=true;Database=CcfInfrastructure;Pooling=true

     

    Launch SQL Server Management Studio.  On the “Connect to Server” dialog, click the Options button.

    Select the “Additional Connection Parameters” tab.

    Paste in the connection string, again making sure you don’t have the string quoted.

    Click Connect. 

    If no errors the connection string is good and your problem is elsewhere.  If it fails, that’s the error you need to troubleshoot.

     

    Hope that help,

    Bill[MSFT]

    Tuesday, March 9, 2010 5:25 PM