No announcement yet.

Can't connect System.IO.FileNotFoundException

  • Filter
  • Time
  • Show
Clear All
new posts

    Can't connect System.IO.FileNotFoundException

    I am getting the following error (I hope you can help).

    Connected (HomeSeer API 3). Waiting to be initialized...
    Jun-17 18:50:15 INFO RaspberryIO version
    Jun-17 18:50:15 ERROR System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualBasic, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
    File name: 'Microsoft.VisualBasic, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
    at HSPI_RaspberryIO.WebConfig..ctor (System.String pageName) [0x0000b] in <6051eb39012e4822bf3daa2a5be39e54>:0
    at HSPI_RaspberryIO.RaspberryPiApp.Init () [0x00090] in <6051eb39012e4822bf3daa2a5be39e54>:0
    Jun-17 18:50:15 INFO Shutting Down plug-in
    Shutdown IO called
    Jun-17 18:50:15 INFO Shutting Down plug-in
    Connection lost, exiting
    Disconnected from server - client
    System.NullReferenceException: Object reference not set to an instance of an object.
    at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_remoting_wrapper(intptr,i ntptr)
    at (wrapper remoting-invoke) HomeSeerAPI.IHSApplication.WriteLog(string,string)
    at HSPI_RaspberryIO.Logger.Log (System.String line, HSPI_RaspberryIO.Logger+ELogLevel level) [0x0008e] in <6051eb39012e4822bf3daa2a5be39e54>:0
    Error SendInvokeResponse: Client is not connected to the server.
    Waiting 30 seconds before trying to reconnect

    install the mono-vbnc package:

    sudo apt-get install mono-vbnc


      Thanks for the quick reply, Spud, much appreciated

      That worked.

      I left that off becuase I am using "stretch" and Mono 5. The mono website install instructions didn't inlcude vbnc.... so I assumed it wasn't necessary.... assumption being the mother of all f'ups.

      Thanks once again