Hello Genesys Wizards,
Request your help and guidance to deal with the below exception while calling Genesys exe from C# cmd line, when I try it from local command prompt ( Just the finalpath string in below code ) it works perfectly but if I do the same via code, I am receiving an exception [ Bottom of this post ]
I have googled the exception , but couldn't really make out what does it mean , could someone please help me understand what does this exception mean?
[code]private void LaunchWDE(string place,string csProxyUrl,string wdeAppName,int portNumber)
{
try
{
string finalpath = @"C:\PATH\InteractionWorkspace.exe -url tcp://<HOST>:<PORT>/<APPLICATIONNAME> -u <USERNAME> -p <PASSWORD> -place <PLACE/LOGINID>";
ProcessStartInfo procStartInfo = new ProcessStartInfo("cmd", "/c " + finalpath);
procStartInfo.RedirectStandardOutput = true;
procStartInfo.UseShellExecute = false;
procStartInfo.CreateNoWindow = true;
System.Diagnostics.Process proc = new System.Diagnostics.Process();
proc.StartInfo = procStartInfo;
proc.Start();
string result = proc.StandardOutput.ReadToEnd();
this.Close();
}
catch(Exception ex)
{
MessageBox.Show("Error while launching WDE" + ex.Message + " " + ex.InnerException);
} [/code]
Exception ::
Microsoft.Practices.Unity.ResolutionFailedException was unhandled
Message: An unhandled exception of type '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)
Thanks