Problem with Admin Console

Hi,
i'm not able to connect to Admin Console (both server and client). When I do the following step:

Machine: CCF client machine.

Login

User: Member of CCFAdmins group.

1.

ClickStart -> Run.Type inmmc.

2.

ClickFile -> Add/Remove Snap-in.

3.

ClickAdd and selectCCF Admin

Console and clickAdd.

4. Insert the the name of CCFIIS

but a popup say "Unable to connect to CCF Server. The server does not exists or access is denied"

I try also, from CCFISS, to navigate to http://localhost/Microsoft.Ccf.Csr.WebServices.AdminConsole/SettingsWS.asmx/CheckServer

but the response is

System.TypeInitializationException: The type initializer for 'Microsoft.Ccf.Csr.WebServices.SettingsWS' threw an exception. > System.TypeInitializationException: The type initializer for 'Microsoft.Ccf.Common.Providers.Configuration.ProviderConfiguration' threw an exception. > System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. > System.Data.SqlClient.SqlException: Login failed for user ''. The user is not associated with a trusted SQL Server connection.
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK)
at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance)
at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance)
at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection)
at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options)
at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject)
at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject)
at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)
at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
at System.Data.SqlClient.SqlConnection.Open()
at Microsoft.Ccf.DataAccessLayer.ConfigurationManager.GetConfigurations(ConfigurationType type, String area)
at Configuration.GetConfigurations(ConfigurationType type, String area)
End of inner exception stack trace
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at Microsoft.Ccf.Common.Providers.ConfigurationService.Configuration.GetConfigurations(ConfigurationType type, String area)
at Microsoft.Ccf.Common.Providers.Configuration.ProviderConfiguration..cctor()
End of inner exception stack trace
at Microsoft.Ccf.Common.Providers.Configuration.ProviderConfiguration.GetConfig(String sectionName)
at Microsoft.Ccf.Common.Providers.ProviderBase.getConstructorInfo(String sectionName, Int32 numberOfParameters)
at Microsoft.Ccf.Common.Providers.ProviderBase.GetConstructorInfo(String sectionName, Int32 numberOfParameters)
at Microsoft.Ccf.Csr.WebServices.Providers.AdminConsole.SettingsWSProvider.Instance()
at Microsoft.Ccf.Csr.WebServices.SettingsWS..cctor()

End of inner exception stack trace

I notice

Login failed for user ''

Why the user name is empty?

I followed the installation step describet in CCF 2005 .NET 2.0 Edition Deployment Guide.doc

Thank you in advanced
Roberto



[5856 byte] By [r.matteja] at [2008-2-10]
# 1

Please verify a few things for me..
in the IIS Admin, right click the Microsoft.CCF.Csr.WebServices.AdminConsole and choose properties.

What App Pool is that Site using.

Also do you have Intergrated Auth turned on on that site?.

thanks !

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

Hi,

the Application Pool for Microsoft.CCF.Csr.WebServices.AdminConsole is set to CCFAppPool. About Authorization Methdos I uncheck "Enable anonymous access" and check Windows integrated Authentication

Thanks

r.matteja at 2007-9-4 > top of Msdn Tech,Customer Care Framework,Customer Care Framework...
# 3

Ok, Next questions,
in the web config for the Admin console Service site, there is a entry pointing to the configuration web service.
that web service lives in the Microsoft.CCF.CSR.ContactCenter WebSite..

Can you can you confirm its pointed to the right site, also that that site has Integrated Auth turned on.

Does this machine have AD running on it? and does it have the CCFSQL Alias configured for it.

Have you run the SetSpn Command for the CCFSQL alias for this server ( same process you did for CCFIIS Alias )?

thanks !.

Matt B.

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

Good!

After run SetSpn Admin Console it seem it work fine!

Now an other question: I try to use the Agent Desktop Demo. It start correctly but it's completely empty and any applications are display.

Using Authorization Manager I have import AzManCCF.xml file from the installation package.

I have also try to use Admin Console to insert a new Non Hosted Application and it's work fine, but when i try tu add a new Hosted Application or modify the Application Mapping a popup error appears saying "Unable to update the requested information" Looking into the CCFServer.log i see:

31/01/2007 15.55.26: Admin Console: Error: Unable to update the requested information.
System.Web.Services.Protocols.SoapException: Server was unable to process request. > Microsoft.Ccf.Csr.WebServices.OperationCouldNotBeCompletedException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
at Microsoft.Ccf.Csr.WebServices.AzmanManager.UpdateAppMapping(ApplicationMappingDetails appMapObj)
at Microsoft.Ccf.Csr.WebServices.Providers.AdminConsole.AzManAppMappingWSProvider.Update(ApplicationMappingDetails objAppMapDetails)
at Microsoft.Ccf.Csr.WebServices.AppMappingWS.Update(ApplicationMappingDetails objAppMapDetails)

Have you some suggestion?

Thanks

Roberto

r.matteja at 2007-9-4 > top of Msdn Tech,Customer Care Framework,Customer Care Framework...
# 5

You need to grant permisions for the CCFAdmin Service to talk to the AzManCCF.xml file..
from the deployment guide:

For CCF Administrators to modify this file, Full Control permission has to be given to the <DomainName>\CCFAdmins domain group and ASPUSER for the file, <AzManRoot>\AzManCCF.xml. Make sure that the AzManCCF.xml file is not set to Read Only.

Can you verify this is set for your server?

thanks!

MattB -MSFT

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

Ok,

now CCF Admin Service works fine but in Agent Desktop still any application appear. Any suggestion?

In the CCF 2005 .NET 2.0 Edition Deployment Guide.doc there are some reference to CCF Demo Deployment Guide.doc but i'm not able to find this doc. Can you tell me where i can found it?

Thanks in advanced

Roberto

r.matteja at 2007-9-4 > top of Msdn Tech,Customer Care Framework,Customer Care Framework...
# 7

So is the Agent Desktop Throwing any errors at all when it opens?
if not, then you are looking at a security issue. You will need to up date or add the account that you are using to log in as an Agent via the admin console. Then add that account to one or more of the groups in CCF.

Look at the Admin console user guide for a bit more detail.

If you are getting errors like "Unable to load hosted application XXXXX" then you probably have CCF installed somewhere other then where we set the default install path to.. to fix that you will need to go to the Admin console and update the URL information for the HostedControls you want to load so the Agent Desktop can find the hosted applications, its covered in Section 6 of the admin guide.

as to the Missing Doc's referenced in the deployment doc..
You are right, they are not in the distribution. They were removed a while back and this section was apparently missed in the 2.0 update.
I have passed this info along to those responsible for the doc's to get them corrected.

Thanks for pointing that out.

Matt B

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