Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: vedgenesys on February 14, 2017, 11:24:53 AM

Title: can not able to run the customized project
Post by: vedgenesys on February 14, 2017, 11:24:53 AM
Hello friends,
come up with new query about customized IWS. I have started with new project added the "workspace interaction.exe" in the start up location when I run the project I am getting the error as below

Microsoft.Practices.Unity.ResolutionFailedException' occurred in Microsoft.Practices.Unity.dll

Additional information: Resolution of the dependency failed, type = "Genesyslab.Desktop.Infrastructure.IBootstrapController", name = "". Exception message is: The current build operation (build key Build Key[Genesyslab.Desktop.Infrastructure.IBootstrapController, null]) failed: The current type, Genesyslab.Desktop.Infrastructure.IBootstrapController, is an interface and cannot be constructed. Are you missing a type mapping? (Strategy type BuildPlanStrategy, index 3)

please help me out !!!!!!!!!!!
Title: Re: can not able to run the customized project
Post by: Kubig on February 14, 2017, 11:52:37 AM
Why do you start with adding the "interactionworkspace.exe" file? Why do you not follow the documentation for developers which helps you to understand how it works and how easily make your own customization (and also provide some examples)?
Title: Re: can not able to run the customized project
Post by: vedgenesys on February 15, 2017, 06:02:24 AM
Thanks Kubig for your reply.
I already added "interactionworkspace.exe" in the solution property i.e. Property>Startup external program. in the config file I added the module also

<task name="InteractionWorkspace.CustomizeModule.canUse" clickOnceGroupsToDownload="Customize" modulesToLoad="InteractionExtensionTestingModule" /> but still its not running. while running it shows the splash screen and gives above error.
Title: Re: can not able to run the customized project
Post by: Kubig on February 15, 2017, 11:23:23 AM
I think you are wrong in your procedure (there is no requirement to add .exe file). Try to check the documentation and available examples to better understand how it works.
Title: Re: can not able to run the customized project
Post by: cavagnaro on February 15, 2017, 01:35:28 PM
And how would he test the DLL if not executing the EXE Kubig? Kinda made me think what other option would be?

Enviado de meu E6633 usando Tapatalk

Title: Re: can not able to run the customized project
Post by: PeteHoyle on February 15, 2017, 09:56:33 PM
There are lots of different ways to do this.

The way I use is to copy all my InteractionWorkspace files including dlls and directories such as images, resources, sounds etc  (and the SIP Endpoint directory if using SIP EP) into the debug folder of my project where your custom dll and module.config are located.
The in the Project Properties configure the 'Start External program' to be the InteractionWorkspace.exe in your debug folder.

Pete.
Title: Re: can not able to run the customized project
Post by: vedgenesys on March 06, 2017, 12:31:35 PM
hello Kubig,cavagnaro and  PeteHoyle,

Thanks for your reply. @PeteHoyle I have done the same thing already which you have suggested to me. But when I am trying to debug the project the break point is not get hit. I am struggling for this issue since last to last week. :'( :'(
Title: Re: can not able to run the customized project
Post by: PeteHoyle on March 06, 2017, 01:44:43 PM
What value do you have for 'Start External Program' in Project Properties/Debug ?

Can you see your custom module being loaded by WDE in the log file?

[code]InteractionWorkspace.Windows.LoginController: 17-03-06 13:39:30.938 [ 1] INFO  dows.LoginController - Initializing the dynamic module: xxxxxxxModule
InteractionWorkspace.exe Information: 0 : Module CustomModule initialized in 0.354 seconds[/code]
Title: Re: can not able to run the customized project
Post by: vedgenesys on March 06, 2017, 05:54:31 PM
Okay. I will check i t and let you know. Thanks!!!!!