CCF 2.6.NET 2.0 standalone server configuration problem

Hi all,

I am not able to setup a standalone server (not a domain member, no DC) for CCF development. After

- installing web services and admin console

- creating database and database structure

- setting ccfiis and ccfsql in the hosts file

I receive the following error when trying to access AdminConsole in mmc:

Event Type: Error
Event Source: Customer Care Framework
Event Category: None
Event ID: 0
Date: 16.4.2007
Time: 14:55:35
User: N/A
Computer: CCFHOME
Description:
ListenerConfiguration has encountered a problem while trying to access the Configuration web service. The request failed with HTTP status 401: Unauthorized.

For more information, see Help and Support Center athttp://go.microsoft.com/fwlink/events.asp.

When I try to validate installation by accessing individual web services directly from the inetmgr, everything seems to work correctly (e.i. I receive the autogenerated web service description page). When I change the hostname from localhost to ccfiis I receive the credentials prompt and after entering correct credentials (local admin, ccf user, ccf admin) I get 401.1 Unauthorized.

The developer's guide is unfortunatelly kind of confusing for me regarding the setup:

Create an Application Pool named CCFAppPool to run under the Network Service account.Make all CCF virtual directories run under the CCFAppPool Application Pool.

...

Change the password for theASPNET user of the machine.AddASPUSER into the IIS_WPG group by following the steps below.

...

Configure the identity of theDefaultAppPool to run under the ASPNET account.This is required because SQL scripts are run to give permissions to ASPNET users to access the databases.

I have created the CCFAppPool running under ASPUSER (IIS_WPG, CCFUsers) and all web services run inside that app pool. Am I missing something in the configuration?

JohnB

[2974 byte] By [BJ] at [2008-3-6]
# 1

This is somewhat challenging to describe over a message board so please bear with me.

In order to set up CCF on a single server w/out a Domain you will need the follow:
Windows 2003 Server or XP service pack 2 ( with some config changes.. let me know if this is your config )
IIS 6.0
SQL Devloper

Follow the Install process as you would for setting up CCF on domain system.. for user accounts and group, create them in the local computer's users and groups section.
As part of that process you will create a user called ASPUSER. That user is the account that is used when creating the CCF app Pool in IIS

******Be sure to complete the user configuration BEFORE running the Database Setup Scripts.*****

As part of the setup CCF will have created a number of web sites under the root web site.
Go into each site and open the Web.Config file.
Replace CCFSQL with localhost
Replace CCFIIS with localhost

That will tell CCF to look to the localhost server to find its configuration and its Database.

Next,
and this is where it gets a bit complicated...

Open up the ContactCenter database and locate a table called "configuration" In that table look for the entries for AdminConsoleWS. there should be a URL key ancd a Provider Key.
in the URL update CCFIIS to Localhost and in the Provider update CCFSQL to localhost.

Close that down.

You should then be able to open the CCF Admin system and use it to update the rest of the information.
Basicly you need to change all references of CCFIIS and CCFSQL to localhost.

Once that is done you will need to update the app.config file in the Agent desktop the same way ( CCFIIS to localhost)

then you should be good to go.

Word is that this is being simplified in a service release that is coming for CCF ... no ETA though

if you are still getting 404' from the web services, then you need to confirm that the web site is using NTML auth and is running under the CCFAppPool.

let me know if that works out for you

Matt B.

MattB-MSFT at 2007-9-13 > top of Msdn Tech,Customer Care Framework,Customer Care Framework...
# 2

Hi Matt,

Thanks for your advice, that way it works.

I performed a find-and-replace (CCFIIS and CCFSQL to localhost)

- in the database setup files before executing the database setup

- in all the config files after installing web services

That solves my problem, I am now able to use CCF on a standalone workstation.

Thanks again

JohnB

BJ at 2007-9-13 > top of Msdn Tech,Customer Care Framework,Customer Care Framework...
# 3

John

Were you using version 2.5 or 2.6?
# 4

My Instructions were specific to 2.6 .net 2.0.

It can also be done with 2.5, however its mostly web.config updates.

Matt B.

MattB-MSFT at 2007-9-13 > top of Msdn Tech,Customer Care Framework,Customer Care Framework...