3CXPhone For Windows 15 Will Not Start on Windows 7

Discussion in 'Windows' started by Mwamba, Mar 28, 2018.

  1. Mwamba

    Joined:
    Sep 20, 2017
    Messages:
    22
    Likes Received:
    0
    I am installing 3CX on a 64 bit windows 7 computer. The client installs okay but it does not launch. Both Visual C++ 2010 and 2015 have been successfully installed. I have checked the 3CX Phone log and I can see the following error:
    System.IO.FileNotFoundException: Could not load file or assembly 'VCEWindows8Agent.dll' or one of its dependencies

    I have tried uninstalling 3CX, rebooting the laptop and installing 3CX again but the issue still persists. Does anyone have a solution for this issue?
     
  2. Marios Neophytou

    Marios Neophytou Support Team
    Staff Member 3CX Support

    Joined:
    Mar 1, 2016
    Messages:
    224
    Likes Received:
    9
    Hello @Mwamba,

    Try and uninstall the application again and this time remove PhoneApp folder from C:\ProgramData\3CXPhone for Windows and install again.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Mwamba

    Joined:
    Sep 20, 2017
    Messages:
    22
    Likes Received:
    0
    I did as you said. I uninstalled the client, restarted the computer and then installed it again. The error is still the same.
    Code:
    [29.03.2018 08:41:28.238][1] Starting application
    [29.03.2018 08:41:28.240][1] Initializing configuration
    [29.03.2018 08:41:28.279][1] Loading configuration file C:\Users\admin\AppData\Roaming\3CXPhone for Windows\3CXPhone.xml
    [29.03.2018 08:41:28.279][1] Configuration file C:\Users\admin\AppData\Roaming\3CXPhone for Windows\3CXPhone.xml does'not exist
    [29.03.2018 08:41:28.279][1] Trying to load backup configuration
    [29.03.2018 08:41:28.279][1] Loading configuration file C:\Users\admin\AppData\Roaming\3CXPhone for Windows\3CXPhone.xml.back
    [29.03.2018 08:41:28.279][1] Configuration file C:\Users\admin\AppData\Roaming\3CXPhone for Windows\3CXPhone.xml.back does'not exist
    [29.03.2018 08:41:28.279][1] Using empty configuration
    [29.03.2018 08:41:28.285][1] Initializing configuration with existing xml configuration
    [29.03.2018 08:41:28.316][1] Initializing supported languages dictionary
    [29.03.2018 08:41:28.361][1] Merging string resource dictionary
    [29.03.2018 08:41:28.445][4] Opening named pipe for IPC
    [29.03.2018 08:41:28.530][1] Pro only added CallTriggerCmdPlugin, Version=15.5.0.0, Culture=neutral, PublicKeyToken=null
    [29.03.2018 08:41:28.531][1] Pro only added CallTriggerCmdPlugin, Version=15.5.0.0, Culture=neutral, PublicKeyToken=null
    [29.03.2018 08:41:28.532][1] Pro only added CallTriggerCmdPlugin, Version=15.5.0.0, Culture=neutral, PublicKeyToken=null
    [29.03.2018 08:41:28.533][1] Pro only added CallTriggerCmdPlugin, Version=15.5.0.0, Culture=neutral, PublicKeyToken=null
    [29.03.2018 08:41:28.554][1] Pro only added DotNetScriptPlugin, Version=15.5.0.0, Culture=neutral, PublicKeyToken=bac47dd19dc4098a
    [29.03.2018 08:41:28.554][1] Pro only added DotNetScriptPlugin, Version=15.5.0.0, Culture=neutral, PublicKeyToken=bac47dd19dc4098a
    [29.03.2018 08:41:28.557][1] Initializing main window
    [29.03.2018 08:41:28.578][1] Error occurred during application startup
    [29.03.2018 08:41:28.590][1] System.Windows.Markup.XamlParseException: Provide value on 'System.Windows.Markup.StaticExtension' threw an exception. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: The type initializer for '_3CXWin8Phone.ViewModel.DialPadOperationsVM' threw an exception. ---> System.TypeInitializationException: The type initializer for '_3CXWin8Phone.Biz' threw an exception. ---> System.IO.FileNotFoundException: Could not load file or assembly 'VCEWindows8Agent.dll' or one of its dependencies. The specified module could not be found.
       at _3CXWin8Phone.Biz..ctor(IResourceLoader resourceLoader)
       at _3CXWin8Phone.Biz..cctor()
       --- End of inner exception stack trace ---
       at _3CXWin8Phone.Biz.get_Instance()
       at _3CXWin8Phone.ViewModel.DialPadOperationsVM.InitializeMyPhoneVM()
       at _3CXWin8Phone.ViewModel.DialPadOperationsVM..ctor(IResourceLoader resourceLoader)
       at _3CXWin8Phone.ViewModel.DialPadOperationsVM..cctor()
       --- End of inner exception stack trace ---
       --- End of inner exception stack trace ---
       at System.RuntimeFieldHandle.GetValue(RtFieldInfo field, Object instance, RuntimeType fieldType, RuntimeType declaringType, Boolean& domainInitialized)
       at System.Reflection.RtFieldInfo.UnsafeGetValue(Object obj)
       at System.Reflection.RtFieldInfo.InternalGetValue(Object obj, StackCrawlMark& stackMark)
       at System.Reflection.RtFieldInfo.GetValue(Object obj)
       at System.Windows.Markup.StaticExtension.GetFieldOrPropertyValue(Type type, String name, Object& value)
       at System.Windows.Markup.StaticExtension.ProvideValue(IServiceProvider serviceProvider)
       at MS.Internal.Xaml.Runtime.ClrObjectRuntime.CallProvideValue(MarkupExtension me, IServiceProvider serviceProvider)
       --- End of inner exception stack trace ---
       at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
       at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
       at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
       at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
       at _3CXWin8Phone.MainWindow.InitializeComponent()
       at _3CXWin8Phone.MainWindow..ctor()
       at _3CXWin8Phone.App.Application_Startup(Object sender, StartupEventArgs e)

    I checked the C:\ProgramData\3CXPhone for Windows\PhoneApp folder and the file VCEWindows8Agent.dll is there.
     
  4. Marios Neophytou

    Marios Neophytou Support Team
    Staff Member 3CX Support

    Joined:
    Mar 1, 2016
    Messages:
    224
    Likes Received:
    9
    Hello,

    Check if the windows 7 machine has the latest updates and Service Pack 1
    Check if vs2015 C++ X86 Redistributable is installed on the machine
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Mwamba

    Joined:
    Sep 20, 2017
    Messages:
    22
    Likes Received:
    0
    I will check on the windows updates and see whether that is the issue. The machine is running SP1.
     
  6. LeonidasG

    LeonidasG Support Team
    Staff Member 3CX Support

    Joined:
    Nov 19, 2008
    Messages:
    1,366
    Likes Received:
    67
    Let us know if this solves your issue.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. Mwamba

    Joined:
    Sep 20, 2017
    Messages:
    22
    Likes Received:
    0
    I will, the client is on Easter Break. So I will bring a response on Tuesday.
     
  8. LeonidasG

    LeonidasG Support Team
    Staff Member 3CX Support

    Joined:
    Nov 19, 2008
    Messages:
    1,366
    Likes Received:
    67
    Managed to reproduce this error just by uninstalling Visual Studio 2015 / 2010 dependencies.
    Looks like your client uninstalled this but also expects the 3CX Client to work. There's your problem.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #8 LeonidasG, Apr 2, 2018
    Last edited: Apr 2, 2018
  9. Mwamba

    Joined:
    Sep 20, 2017
    Messages:
    22
    Likes Received:
    0
    Hi @LeonidasG
    Sorry for the delayed response. I checked the computer and it has Visual C++ 2010 and 2015 installed. I added the 64 bit versions of the same and it is still not working.
    The PC is running Windows 7 SP1 as shown:

    upload_2018-4-9_10-18-12.png

    Both Visual C++ 2010 and 2015 are installed:

    upload_2018-4-9_10-19-48.png
     
  10. Marios Neophytou

    Marios Neophytou Support Team
    Staff Member 3CX Support

    Joined:
    Mar 1, 2016
    Messages:
    224
    Likes Received:
    9
    Hello @Mwamba ,

    Does VCEWindows8Agent.dll exist on the PhoneApp folder under ProgramData after you uninstalled/installed the app?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. Mwamba

    Joined:
    Sep 20, 2017
    Messages:
    22
    Likes Received:
    0
    Hi,

    Yes the VCEWindows8Agent.dll file is always there even after I deleted the folder and did the reinstallation