Announcement

Collapse
No announcement yet.

VB.Net Script Exception, restarting... (Need Help)

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

    VB.Net Script Exception, restarting... (Need Help)

    As of early Friday AM, I started receiving the same error message. Don't know why, out of the blue. Don't know what it is or how to resolve. I've attached my entire log file for anyone who can help me resolve. Ultimately, HS will launch and I'll have no ability to control any of my lighting as I believe that without the script engine loaded, no commands will make it to or back from the SDM. Here's an excerpt from my current log file that is reporting the same. How do I resolve this?!:

    8/22/2008 3:17:58 AM ~!~Database Item~!~Saving Device All Devices
    8/22/2008 3:17:58 AM ~!~Info~!~Local IP address is: 192.168.1.100/24
    8/22/2008 3:17:58 AM ~!~Info~!~Web Server started on port 80
    8/22/2008 3:17:58 AM ~!~Info~!~Web Server authorized local login successful from: 127.0.0.1 User: Chris
    8/22/2008 3:17:58 AM ~!~Info~!~Creating ASP.NET application host...
    8/22/2008 3:17:59 AM ~!~Info~!~ASP.NET application host created
    8/22/2008 3:17:59 AM ~!~Startup~!~Initializing text to speech
    8/22/2008 3:17:59 AM ~!~Error~!~Initializing speech interface: Only one usage of each socket address (protocol/network address/port) is normally permitted
    8/22/2008 3:17:59 AM ~!~Startup~!~Start remoting
    8/22/2008 3:17:59 AM ~!~Startup~!~Start event processing
    8/22/2008 3:17:59 AM ~!~Info~!~This version of HomeSeer is registered.
    8/22/2008 3:17:59 AM ~!~Error~!~Running script, cannot add script engines: Unable to cast COM object of type 'MSScriptControl.ScriptControlClass' to interface type 'MSScriptControl.IScriptControl'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{0E59F1D3-1FBE-11D0-8FF2-00A0D10038BC}' failed due to the following error: Error loading type library/DLL. (Exception from HRESULT: 0x80029C4A (TYPE_E_CANTLOADLIBRARY)).
    8/22/2008 3:17:59 AM ~!~Info~!~Finished initializing scripting
    8/22/2008 3:17:59 AM ~!~Info~!~Powerfail Recovery will take place in 30 seconds.
    8/22/2008 3:18:12 AM ~!~Insteon~!~Requesting external device support registration...
    8/22/2008 3:18:13 AM ~!~Insteon~!~Enter ExtDev_RegisterExternalDeviceSupport with name EZRain, Address 0C.AE.3C, Script Insteon_ExtDevSupport.vb, Method EZRainRcv
    8/22/2008 3:18:13 AM ~!~Insteon~!~External device name EZRain (Address:0C.AE.3C) has registered with callback to Insteon_ExtDevSupport.vb using method EZRainRcv as external device #1
    8/22/2008 3:18:13 AM ~!~Insteon~!~Calling DM.AddRecord for 0C.AE.3C 1 True
    8/22/2008 3:18:13 AM ~!~Insteon~!~Calling DM: 'addid=0C.AE.3C,1,S'...
    8/22/2008 3:18:14 AM ~!~Insteon~!~ExtDev_TransmitToExternalDevice received transmit request: EZRain
    8/22/2008 3:18:14 AM ~!~Insteon~!~ExtDev_TransmitToExternalDevice received transmit request: EZRain
    8/22/2008 3:18:14 AM ~!~Insteon~!~ExtDev_TransmitToExternalDevice received transmit request: EZRain
    8/22/2008 3:18:14 AM ~!~Warning~!~VB.Net script exception, re-starting: Object reference not set to an instance of an object.
    8/22/2008 3:18:14 AM ~!~Insteon~!~Transmitting message on behalf of external device support script...
    8/22/2008 3:18:14 AM ~!~Insteon~!~Calling DM: 'SendInsteonRaw=00 00 00 0C AE 3C 00 44 09'...
    8/22/2008 3:18:14 AM ~!~Insteon~!~Waiting for ACK on behalf of external device support script...
    8/22/2008 3:18:16 AM ~!~Insteon~!~**Did not receive a response from the external destination device for try #1
    Attached Files

    #2
    start, run -> cmd
    cd to the directory where the msscript.ocx file is on your PC
    regsvr32 msscript.ocx
    💁‍♂️ Support & Customer Service 🙋‍♂️ Sales Questions 🛒 Shop HomeSeer Products

    Comment


      #3
      Here's the message from RegSvr32:

      The module "msscript.ocx" was loaded but the call to DLLRegisterServer failed with error code 0x8002801c.

      I ran CMD.EXE as Administrator and the error message went away and said it registered successfully -- I think I'm on the right track as the prior gripe in the log is now gone. However, the other warnings are not going away. Here's an excerpt from my mess, note the lines in RED. Note that hte SDM is loaded and it says it has a connection (from Homeseer I assume). I believe the SDM is not getting the communication from Homeseer as a result. When I poll all my devices, each device comes back failed.

      8/24/2008 2:21:09 PM Info ASP.NET application host created
      8/24/2008 2:21:09 PM Startup Initializing text to speech
      8/24/2008 2:21:09 PM Error Initializing speech interface: Only one usage of each socket address (protocol/network address/port) is normally permitted
      8/24/2008 2:21:09 PM Startup Start remoting
      8/24/2008 2:21:09 PM Startup Start event processing
      8/24/2008 2:21:09 PM Info This version of HomeSeer is registered.
      8/24/2008 2:21:09 PM Startup Scripting is OK
      8/24/2008 2:21:09 PM Info Finished initializing scripting
      8/24/2008 2:21:09 PM Info Powerfail Recovery will take place in 30 seconds.
      8/24/2008 2:21:20 PM Insteon Requesting external device support registration...
      8/24/2008 2:21:21 PM Insteon Enter ExtDev_RegisterExternalDeviceSupport with name EZRain, Address 0C.AE.3C, Script Insteon_ExtDevSupport.vb, Method EZRainRcv
      8/24/2008 2:21:21 PM Insteon External device name EZRain (Address:0C.AE.3C) has registered with callback to Insteon_ExtDevSupport.vb using method EZRainRcv as external device #1
      8/24/2008 2:21:21 PM Insteon Calling DM.AddRecord for 0C.AE.3C 1 True
      8/24/2008 2:21:21 PM Insteon Calling DM: 'addid=0C.AE.3C,1,S'...
      8/24/2008 2:21:21 PM Insteon ExtDev_TransmitToExternalDevice received transmit request: EZRain
      8/24/2008 2:21:21 PM Insteon ExtDev_TransmitToExternalDevice received transmit request: EZRain
      8/24/2008 2:21:21 PM Insteon ExtDev_TransmitToExternalDevice received transmit request: EZRain
      8/24/2008 2:21:21 PM Warning VB.Net script exception, re-starting: Object reference not set to an instance of an object.
      8/24/2008 2:21:21 PM Insteon Transmitting message on behalf of external device support script...
      8/24/2008 2:21:21 PM Insteon Calling DM: 'SendInsteonRaw=00 00 00 0C AE 3C 00 44 09'...
      8/24/2008 2:21:21 PM Insteon Waiting for ACK on behalf of external device support script...
      8/24/2008 2:21:22 PM Insteon ProcessRawReceiveForExternalDevices sending 04 0C AE 3C 05 FB 94 25 44 09 to Insteon_ExtDevSupport.vb:EZRainRcv...
      8/24/2008 2:21:22 PM Warning VB.Net script exception, re-starting: Object reference not set to an instance of an object.
      8/24/2008 2:21:23 PM Insteon **Did not receive a response from the external destination device for try #1
      8/24/2008 2:21:23 PM Insteon Transmitting message on behalf of external device support script...
      8/24/2008 2:21:23 PM Insteon Calling DM: 'SendInsteonRaw=00 00 00 0C AE 3C 00 44 09'...
      8/24/2008 2:21:23 PM Insteon Waiting for ACK on behalf of external device support script...
      8/24/2008 2:21:25 PM Insteon **Did not receive a response from the external destination device for try #2
      8/24/2008 2:21:25 PM Insteon Transmitting message on behalf of external device support script...
      8/24/2008 2:21:25 PM Insteon Calling DM: 'SendInsteonRaw=00 00 00 0C AE 3C 00 44 09'...
      8/24/2008 2:21:26 PM Insteon Waiting for ACK on behalf of external device support script...
      8/24/2008 2:21:28 PM Insteon **Did not receive a response from the external destination device for try #3
      8/24/2008 2:21:28 PM Insteon Transmitting message on behalf of external device support script...
      8/24/2008 2:21:28 PM Insteon Calling DM: 'SendInsteonRaw=00 00 00 0C AE 3C 00 44 08'...
      8/24/2008 2:21:28 PM Insteon Waiting for ACK on behalf of external device support script...
      8/24/2008 2:21:30 PM Insteon **Did not receive a response from the external destination device for try #1
      8/24/2008 2:21:30 PM Insteon Transmitting message on behalf of external device support script...
      8/24/2008 2:21:30 PM Insteon Calling DM: 'SendInsteonRaw=00 00 00 0C AE 3C 00 44 08'...
      8/24/2008 2:21:30 PM Insteon Waiting for ACK on behalf of external device support script...
      8/24/2008 2:21:32 PM Insteon **Did not receive a response from the external destination device for try #2
      8/24/2008 2:21:32 PM Insteon Transmitting message on behalf of external device support script...
      8/24/2008 2:21:32 PM Insteon Calling DM: 'SendInsteonRaw=00 00 00 0C AE 3C 00 44 08'...
      8/24/2008 2:21:33 PM Insteon Waiting for ACK on behalf of external device support script...
      8/24/2008 2:21:35 PM Insteon **Did not receive a response from the external destination device for try #3
      8/24/2008 2:21:35 PM Insteon Transmitting message on behalf of external device support script...
      8/24/2008 2:21:35 PM Insteon Calling DM: 'SendInsteonRaw=00 00 00 0C AE 3C 00 44 02'...
      8/24/2008 2:21:35 PM Insteon Waiting for ACK on behalf of external device support script...
      8/24/2008 2:21:37 PM Insteon **Did not receive a response from the external destination device for try #1
      8/24/2008 2:21:37 PM Insteon Transmitting message on behalf of external device support script...
      8/24/2008 2:21:37 PM Insteon Calling DM: 'SendInsteonRaw=00 00 00 0C AE 3C 00 44 02'...
      8/24/2008 2:21:37 PM Insteon Waiting for ACK on behalf of external device support script...
      8/24/2008 2:21:39 PM Insteon **Did not receive a response from the external destination device for try #2
      8/24/2008 2:21:39 PM Insteon Transmitting message on behalf of external device support script...
      8/24/2008 2:21:39 PM Insteon Calling DM: 'SendInsteonRaw=00 00 00 0C AE 3C 00 44 02'...
      8/24/2008 2:21:39 PM Info Synchronizing events from 8/24/2008 9:21:00 AM until now
      8/24/2008 2:21:40 PM Insteon Waiting for ACK on behalf of external device support script...
      8/24/2008 2:21:40 PM Info Synchronizing Events: Waiting for event actions to process...
      8/24/2008 2:21:40 PM Info Synchronization complete, updating devices
      8/24/2008 2:21:40 PM Info Device update complete
      8/24/2008 2:21:40 PM Startup Starting scheduler
      8/24/2008 2:21:40 PM Startup Start up complete.
      8/24/2008 2:21:42 PM Insteon **Did not receive a response from the external destination device for try #3
      8/24/2008 2:23:21 PM Insteon Registration complete.
      8/24/2008 2:23:49 PM Info Event Trigger "Watch Movie (A9)"
      8/24/2008 2:23:49 PM Info Speak ():Enjoy the movie!
      8/24/2008 2:23:49 PM Warning Error in SpeakDev (340): Object reference not set to an instance of an object.
      8/24/2008 2:23:49 PM Info Dim device "Pots" to 35%
      8/24/2008 2:23:49 PM Info Device: Cinema Pots (\1) Dim 35%
      8/24/2008 2:23:49 PM Info Device: Cinema Wall Scones ([5) OFF
      8/24/2008 2:23:49 PM Info Dim device "Steps" to 50%
      8/24/2008 2:23:49 PM Info Device: Cinema Steps (\13) Dim 50%
      8/24/2008 2:23:49 PM Info Device: Cinema Cabinets (\12) ON
      8/24/2008 2:23:49 PM Info Dim device "Track Lighting" to 10%
      8/24/2008 2:23:49 PM Info Device: Cinema Track Lighting (\11) Dim 10%
      8/24/2008 2:23:49 PM Insteon Processing SetIO for device - \1 Cmd: 4 Bright: 35 Data1: 0 Data2: 0
      8/24/2008 2:23:49 PM Insteon Setting status and value for device \1. Old status:17 Old Value:0, New Status:4 New Value:35
      8/24/2008 2:23:49 PM Warning VB.Net script exception, re-starting: Object reference not set to an instance of an object.
      Last edited by ; August 24, 2008, 02:33 PM.

      Comment


        #4
        These are still some concerning errors. I would recommend trying to do a system restore to a day prior to when this started.
        💁‍♂️ Support & Customer Service 🙋‍♂️ Sales Questions 🛒 Shop HomeSeer Products

        Comment


          #5
          Hey, Rupp. I did that at your suggestion, and the problem persists. Is this a .Net error of some sort? Is there a tool that can repair a .Net installation. I'm running Vista (SP1).

          Comment


            #6
            Progress...

            Well, I've narrowed it down to the the script used for my EZRAIN controller. It seems that after failing (as seen above), the connection between HS and the SDM fails and no longer are commands sent from HS to the SDM.

            If I remove the script it appears everything works flawlessly. So, I need to figure out what the script is calling in VB and why it fails. I need to get in touch with the script owner to see if they know what's going on.

            Comment


              #7
              Originally posted by cratner View Post
              Well, I've narrowed it down to the the script used for my EZRAIN controller. It seems that after failing (as seen above), the connection between HS and the SDM fails and no longer are commands sent from HS to the SDM.

              If I remove the script it appears everything works flawlessly. So, I need to figure out what the script is calling in VB and why it fails. I need to get in touch with the script owner to see if they know what's going on.

              I assume you are referring to the Insteon_ExtDevSupport.vb script... I believe it was Jon Ort, who I have not seen around here is some time. What version of HS are you running and what version of the Insteon Plugin?

              Comment

              Working...
              X