Announcement

Collapse
No announcement yet.

tenScriptAid 1.26 with CAPIControlUse Now Available

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

  • #16
    tenScriptAid 1.27 is now available.

    Fixes problem when program is closed while window is minimized.

    tenholde
    tenholde

    Comment


    • #17
      Great!

      Thanks Ed.
      Don

      Comment


      • #18
        I am running tenScriptAid on two computers that I use for development work. It functions perfectly on one computer but errors out on the other. I am running 1.27 on both computers. When it starts on the one I am having problems with and I click "Connect", I get the following error (even after copying in the DLLs from HS3):

        Click image for larger version  Name:	Screenshot_2018-10-24_15-08-44.jpg Views:	1 Size:	87.5 KB ID:	1254997

        Here is the text of the error:

        Code:
        See the end of this message for details on invoking
        just-in-time (JIT) debugging instead of this dialog box.
        
        ************** Exception Text **************
        System.ArgumentNullException: Value cannot be null.
        Parameter name: source
           at System.Linq.Enumerable.Count[TSource](IEnumerable`1 source)
           at tenScriptAid.frmConnect.btnConnect_Click(Object sender, EventArgs e)
           at System.Windows.Forms.Control.OnClick(EventArgs e)
           at System.Windows.Forms.Button.OnClick(EventArgs e)
           at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
           at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
           at System.Windows.Forms.Control.WndProc(Message& m)
           at System.Windows.Forms.ButtonBase.WndProc(Message& m)
           at System.Windows.Forms.Button.WndProc(Message& m)
           at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
           at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
           at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
        
        
        ************** Loaded Assemblies **************
        mscorlib
            Assembly Version: 4.0.0.0
            Win32 Version: 4.7.3133.0 built by: NET472REL1LAST
            CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
        ----------------------------------------
        tenScriptAid
            Assembly Version: 1.27.0.0
            Win32 Version: 1.27.0.0
            CodeBase: file:///E:/My%20Documents/Coding/HomeSeer%20Development/Work%20Coding/tenScriptAid/tenScriptAid.exe
        ----------------------------------------
        Microsoft.VisualBasic
            Assembly Version: 10.0.0.0
            Win32 Version: 14.6.1590.0 built by: NETFXREL2
            CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
        ----------------------------------------
        System
            Assembly Version: 4.0.0.0
            Win32 Version: 4.7.3151.0 built by: NET472REL1LAST_B
            CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
        ----------------------------------------
        System.Core
            Assembly Version: 4.0.0.0
            Win32 Version: 4.6.1647.0 built by: NETFXREL3STAGE
            CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
        ----------------------------------------
        System.Windows.Forms
            Assembly Version: 4.0.0.0
            Win32 Version: 4.6.1590.0 built by: NETFXREL2
            CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
        ----------------------------------------
        System.Drawing
            Assembly Version: 4.0.0.0
            Win32 Version: 4.6.1590.0 built by: NETFXREL2
            CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
        ----------------------------------------
        System.Configuration
            Assembly Version: 4.0.0.0
            Win32 Version: 4.6.1590.0 built by: NETFXREL2
            CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
        ----------------------------------------
        System.Xml
            Assembly Version: 4.0.0.0
            Win32 Version: 4.7.2612.0 built by: NET471REL1LAST_B
            CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
        ----------------------------------------
        System.Runtime.Remoting
            Assembly Version: 4.0.0.0
            Win32 Version: 4.7.2114.0 built by: NET47REL1LAST
            CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
        ----------------------------------------
        HomeSeerAPI
            Assembly Version: 1.0.2.1
            Win32 Version: 1.0.2.1
            CodeBase: file:///E:/My%20Documents/Coding/HomeSeer%20Development/Work%20Coding/tenScriptAid/HomeSeerAPI.DLL
        ----------------------------------------
        System.Deployment
            Assembly Version: 4.0.0.0
            Win32 Version: 4.6.1590.0 built by: NETFXREL2
            CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Deployment/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll
        ----------------------------------------
        Scheduler
            Assembly Version: 3.0.0.0
            Win32 Version: 3.0.0.435
            CodeBase: file:///E:/My%20Documents/Coding/HomeSeer%20Development/Work%20Coding/tenScriptAid/Scheduler.DLL
        ----------------------------------------
        HSCF
            Assembly Version: 1.0.0.2
            Win32 Version: 1.0.0.3
            CodeBase: file:///E:/My%20Documents/Coding/HomeSeer%20Development/Work%20Coding/tenScriptAid/HSCF.DLL
        ----------------------------------------
        
        ************** JIT Debugging **************
        To enable just-in-time (JIT) debugging, the .config file for this
        application or computer (machine.config) must have the
        jitDebugging value set in the system.windows.forms section.
        The application must also be compiled with debugging
        enabled.
        
        For example:
        
        <configuration>
            <system.windows.forms jitDebugging="true" />
        </configuration>
        
        When JIT debugging is enabled, any unhandled exception
        will be sent to the JIT debugger registered on the computer
        rather than be handled by this dialog box.

        Here is the Debug Log.. Which looks successful:

        Code:
        10/24/2018 3:40:19 PM | Attempting to connect to: 192.168.56.1
        10/24/2018 3:40:20 PM | OpenHsConnection called with: 192.168.56.1
        10/24/2018 3:40:20 PM | CreateClient successful, CommunicationState: Disconnected
        10/24/2018 3:40:20 PM | Attempting to Connect, this is attempt number: 1
        10/24/2018 3:40:20 PM | client.Connect attempted, CommunicationState: Connected
        10/24/2018 3:40:20 PM | host should now be good ServiceProxy
        10/24/2018 3:40:20 PM | Attempting to get APIVersion through Proxy
        10/24/2018 3:40:20 PM | Successfully retrieved APIVersion through the host Proxy: 3
        10/24/2018 3:40:20 PM | Now trying: hs=host
        10/24/2018 3:40:20 PM | OpenHsConnection appears to have completed successfuly
        10/24/2018 3:40:20 PM | HS3 connection successful
        10/24/2018 3:40:20 PM | HS version: 3.0.0.435
        10/24/2018 3:40:20 PM | Retrieving HS3 Devices
        10/24/2018 3:40:20 PM | Getting Enumerator
        10/24/2018 3:40:20 PM | GetDeviceEnumerator Successful
        10/24/2018 3:40:20 PM | Going to do EN.GetNext
        10/24/2018 3:40:20 PM | Good EN.GetNext
        10/24/2018 3:40:20 PM | Ready to build full Device Name
        10/24/2018 3:40:20 PM | Processing Device with Address:
        10/24/2018 3:40:20 PM | Full Device Name:F1 L1 Test Device 1
        10/24/2018 3:40:20 PM | Retrieved Device: F1 L1 Test Device 1
        10/24/2018 3:40:20 PM | Going to do EN.GetNext
        10/24/2018 3:40:20 PM | Good EN.GetNext
        10/24/2018 3:40:20 PM | Ready to build full Device Name
        10/24/2018 3:40:20 PM | Processing Device with Address:
        10/24/2018 3:40:20 PM | Full Device Name:F2 L2 Test Device 2
        10/24/2018 3:40:20 PM | Retrieved Device: F2 L2 Test Device 2
        10/24/2018 3:40:20 PM | Location2 selection changed, populating Location1
        10/24/2018 3:40:20 PM | Location1 selection changed, populating Name
        10/24/2018 3:40:20 PM | Name selection changed, Update Device Display
        10/24/2018 3:40:20 PM | DisplayDeviceInfo for: F1 L1 Test Device 1
        10/24/2018 3:40:20 PM |     Numbers of VsPairs: 2
        10/24/2018 3:40:20 PM | Device Relationship: 0
        10/24/2018 3:40:20 PM | DisplayDeviceInfo Complete
        10/24/2018 3:40:20 PM | Location2 Dropdown list populated
        10/24/2018 3:40:33 PM | Attempting to connect to: 192.168.56.1
        10/24/2018 3:40:33 PM | OpenHsConnection called with: 192.168.56.1
        10/24/2018 3:40:33 PM | CreateClient successful, CommunicationState: Disconnected
        10/24/2018 3:40:33 PM | Attempting to Connect, this is attempt number: 1
        10/24/2018 3:40:33 PM | client.Connect attempted, CommunicationState: Connected
        10/24/2018 3:40:33 PM | host should now be good ServiceProxy
        10/24/2018 3:40:33 PM | Attempting to get APIVersion through Proxy
        10/24/2018 3:40:33 PM | Successfully retrieved APIVersion through the host Proxy: 3
        10/24/2018 3:40:33 PM | Now trying: hs=host
        10/24/2018 3:40:33 PM | OpenHsConnection appears to have completed successfuly
        10/24/2018 3:40:33 PM | HS3 connection successful
        10/24/2018 3:40:33 PM | HS version: 3.0.0.435
        10/24/2018 3:40:33 PM | Retrieving HS3 Devices
        10/24/2018 3:40:33 PM | Getting Enumerator
        10/24/2018 3:40:33 PM | GetDeviceEnumerator Successful
        10/24/2018 3:40:33 PM | Going to do EN.GetNext
        10/24/2018 3:40:33 PM | Good EN.GetNext
        10/24/2018 3:40:33 PM | Ready to build full Device Name
        10/24/2018 3:40:33 PM | Processing Device with Address:
        10/24/2018 3:40:33 PM | Full Device Name:F1 L1 Test Device 1
        10/24/2018 3:40:33 PM | Retrieved Device: F1 L1 Test Device 1
        10/24/2018 3:40:33 PM | Going to do EN.GetNext
        10/24/2018 3:40:33 PM | Good EN.GetNext
        10/24/2018 3:40:33 PM | Ready to build full Device Name
        10/24/2018 3:40:33 PM | Processing Device with Address:
        10/24/2018 3:40:33 PM | Full Device Name:F2 L2 Test Device 2
        10/24/2018 3:40:33 PM | Retrieved Device: F2 L2 Test Device 2
        10/24/2018 3:40:33 PM | Location2 selection changed, populating Location1
        10/24/2018 3:40:33 PM | Location1 selection changed, populating Name
        10/24/2018 3:40:33 PM | Name selection changed, Update Device Display
        10/24/2018 3:40:33 PM | DisplayDeviceInfo for: F1 L1 Test Device 1
        10/24/2018 3:40:33 PM |     Numbers of VsPairs: 2
        10/24/2018 3:40:33 PM | Device Relationship: 0
        10/24/2018 3:40:33 PM | DisplayDeviceInfo Complete
        10/24/2018 3:40:33 PM | Location2 Dropdown list populated
        Any ideas why?
        Last edited by jeanv; October 24th, 2018, 03:44 PM.
        ---------------------------------------------------
        Jean-Marie G. Vaneskahian
        jean@vaneskahian.com
        ---------------------------------------------------

        Comment


        • #19
          I apologize, I just saw this post (my fault). Have you been able to resolve, or are you still having this problem?
          tenholde

          Comment

          Working...
          X