Announcement

Collapse
No announcement yet.

json dll error

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    json dll error

    I have seen a topic about the scripting references ..

    today it all worked normal , but i got an conflict with phlocation , so i deleted the jsondll in the hs3 main directory , but now i cant get the script to work anymore.

    this is what i have , any idea ?
    i have already have a json dll in the bin directory

    C:\Program Files (x86)\HomeSeer HS3\Bin

    PHP Code:
    ScriptingReferences=System.XML,System.XML.Dll,System.Data;System.Data.Dll,System.Web;System.Web.Dll,System.Drawing;System.Drawing.dll,System.Web.DataVisualization;System.Web.DataVisualization.dll;System.Windows.Forms,System.Windows.Forms;System.Windows.Forms.dll,Newtonsoft.Json;Newtonsoft.Json.dll,DDay.iCal;DDay.iCal.dll,DDay.Collections;DDay.Collections.dll,antlr.runtime;antlr.runtime.dll,System.Management;System.Management.Dll 
    but i get this error , i never had json ver 4.5.0.0 ...

    PHP Code:
    Running script C:\Program Files (x86)\HomeSeer HS3\scripts\skype_message.vb :Exception has been thrown by the target of an invocation.Could not load file or assembly 'Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependenciesThe located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) 

    regards
    Preferred -> Jon's Plugins, Pushover, Phlocation, Easy-trigger,
    Rfxcom, Blade Plugins, Pushbullet, homekit, Malosa Scripts




    HS3Pro 4.1.14.0 on windows 10 enterprise X64 on hp quadcore laptop 8 GB.

    #2
    Hi, Malosa

    for my script (ecodevice) i put Json.dll in rep bin

    and add this line in setting.ini:
    ScriptingReferences=Newtonsoft.Json;C:\"your folder HS3"\Bin\Newtonsoft.Json.dll,System.Data.SQLite;C:\"your folder HS3"\Bin\System.Data.SQLite.dll
    i use also PhLocation and work fine.

    Jean-Francois.

    Comment


      #3
      thanks ,

      i have it changed yesterday , and i restarted again 2 x and now it finaly works ,

      i really don't know what the problem was..

      regards and thanks for the reply



      Originally posted by jfla View Post
      Hi, Malosa

      for my script (ecodevice) i put Json.dll in rep bin

      and add this line in setting.ini:


      i use also PhLocation and work fine.

      Jean-Francois.
      Preferred -> Jon's Plugins, Pushover, Phlocation, Easy-trigger,
      Rfxcom, Blade Plugins, Pushbullet, homekit, Malosa Scripts




      HS3Pro 4.1.14.0 on windows 10 enterprise X64 on hp quadcore laptop 8 GB.

      Comment

      Working...
      X