" /> can not able to run the customized project - Genesys CTI User Forum

Author Topic: can not able to run the customized project  (Read 3113 times)

Offline vedgenesys

  • Newbie
  • *
  • Posts: 8
  • Karma: -1
can not able to run the customized project
« on: February 14, 2017, 11:24:53 AM »
Advertisement
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 !!!!!!!!!!!

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2755
  • Karma: 44
Re: can not able to run the customized project
« Reply #1 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)?

Offline vedgenesys

  • Newbie
  • *
  • Posts: 8
  • Karma: -1
Re: can not able to run the customized project
« Reply #2 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.

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2755
  • Karma: 44
Re: can not able to run the customized project
« Reply #3 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.

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: can not able to run the customized project
« Reply #4 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


Offline PeteHoyle

  • Full Member
  • ***
  • Posts: 126
  • Karma: 13
Re: can not able to run the customized project
« Reply #5 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.
« Last Edit: March 06, 2017, 01:37:38 PM by PeteHoyle »

Offline vedgenesys

  • Newbie
  • *
  • Posts: 8
  • Karma: -1
Re: can not able to run the customized project
« Reply #6 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. :'( :'(

Offline PeteHoyle

  • Full Member
  • ***
  • Posts: 126
  • Karma: 13
Re: can not able to run the customized project
« Reply #7 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]

Offline vedgenesys

  • Newbie
  • *
  • Posts: 8
  • Karma: -1
Re: can not able to run the customized project
« Reply #8 on: March 06, 2017, 05:54:31 PM »
Okay. I will check i t and let you know. Thanks!!!!!