Hosted application doesn't apperas in IAD

Jun 2, 2010 at 1:56 PM

Hello!

When i create non-hosted application in crm it appears in Agen Desktop and i can run it.

But when i create hosted application it doesn't appear in Agent Desktop also my IAD looks like not full functionality:

I don't see "search" button and button "close session" is inactive.

 

In log i see next strings (May be problem with my session? It's empty in log):

6/2/2010 6:46:35 AM: CCA: Agentdesktop starting... 

6/2/2010 6:46:45 AM: CCA: Sessions.AddSession: Adding new session: '' 

6/2/2010 6:46:45 AM: CCA: Sessions.SetActiveSession: Switching to session: '' 

6/2/2010 6:46:46 AM: ApplicationHost: ApplicationHost: Loading app=New type=WebHosted 

6/2/2010 6:46:46 AM: ApplicationHost: ApplicationHost: Loading app=Test1 type=WebHosted

 

This is my IAD window: 


 

Thank you for any help.

Jun 3, 2010 at 4:23 AM

Hi,

Looks like you need to import the sample applications.

Instructions for the same are provided in the CCA Deployment Guide in the following section:

Customer Care Accelerator (CCA) Deployment --> Importing Sample applications into Integrated Agent Desktop

Mudit

Jun 3, 2010 at 6:30 AM

Thanks for the help, Mudit!

My problems resolved now!

When i import CCA Hosted application i have error:

MSCRM Error Report:--------------------------------------------------------------------------------------------------------Error: The given key was not present in the dictionary.
Error Message: The given key was not present in the dictionary.
Source File: Not available
Line Number: Not available
Request URL: http://crm-srv-01:5555/ANDProject/AppWebServices/ImportWebService.asmx
Stack Trace Info: [KeyNotFoundException: The given key was not present in the dictionary.]   at System.ThrowHelper.ThrowKeyNotFoundException()   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)   at Microsoft.Crm.Application.Platform.ImportFile.PerformImportMapMatching(EntityMetadata entityMetadata, Entity column, Boolean isDiscountEntity, Dictionary`2 headersBackup, Dictionary`2& headers, List`1& mandatoryColumns, List`1& errorDetails, Int32& ignoredCount, Int32& matchedCount, Boolean& isAmountMapped, Boolean& isPercentageMapped, String& sourceAmount, String& sourcePercentage)   at Microsoft.Crm.Application.Platform.ImportFile.PerformImportMapMatchingFromAppWizard(Guid importFileId, Guid importMapId, String entityName, Int32& notMatchedCount, Int32& matchedCount, Boolean& matched, Int32& ignoredCount, Int32& mandatoryColumnsNotMatchedCount)   at Microsoft.Crm.Application.WebServices.ImportWebService.PerformImportMapMatching(Guid importFileId, Guid importMapId, String matchingEntity)

[2010-06-02 06:34:33.0] Process: w3wp |Organization:00000000-0000-0000-0000-000000000000 |Thread:    8(MSCRM:-NotificationManager.NotificationWatcherThreadProc) |Category: Platform.Sql |User: 00000000-0000-0000-0000-000000000000 |Level: Info | NotificationService.GetConfigScopeNotifications at NotificationService.GetConfigScopeNotifications(ConfigScope scope, Object organizationId, Int32[] events, DateTime lastChecked) at NotificationService.GetNotifications(Object organizationId, Int32[] events, DateTime lastChecked) at DBNotificationsProvider.GetNotifications(DateTime lastChecked) at NotificationManager.NotificationWatcherThreadProc() at ThreadHelper.ThreadStart_Context(Object state) at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at ThreadHelper.ThreadStart()

 

I try add hosted application which hosted outside, but it doesn't appear.

So i have two problem:

1)I can't import hosted application

2)I don't see in IAD created by myself hosed application

 

What i do to resolve problem:

1)remove all created by myself hosted application

2) Reimport Actions and Hosetd Applications

Now it works!