6 Replies Latest reply on Oct 1, 2011 5:12 AM by Peter M

    Debug and JIT debug problems

      Why do I keep getting a....Run Time Error when I am on a page that states.....no debuggers are registered that can debug this exception...unable to JIT debug?  How do I fix this situation?  Thank You

        • 1. Re: Debug and JIT debug problems
          Peter M

          From an old thread:

           

          You can stop the JITD window from popping up by disabling script debugging in Internet Explorer:

           

          -> Tools

           

          -> Internet Options

           

          -> tab: Advanced

           

          -> in the list, under Browsing, check the box "Disable script debugging (Internet Explorer)"

           

          -> also check "Disable Script Debugging (Other)

           

          -> click Apply, and OK

           

          You may also want to uncheck the box "Display a notification of every script error".

           

          If  you have Visual Studio (or Compaq Visual Fortran) installed, you can  turn off the JITD feature in general. Open Developer Studio, select  Tools, Options, Debug. Then uncheck the "Enable Just-In-Time Debugging"  box and click OK.

           

          Basically if your system is totally up to date and I assume it is, and your browsers and add-ons are set to default settings, all should be normal.

           

           

          Another thing to try:

           

          Open the registry (use regedit, Click Start, Run, Regedit).

           

          Go to this key:

           

          HKEY_CURRENT_USER\Software\Microsoft\Windows Script\Settings\JITDebug

           

          Double-click it in the right hand pane

           

          And set it to 0.

           

          Click OK

           

          Close the editor.

           

          (Normally it is set to 0 anyway but something has possibly changed that).

           

          Free support is available 24/7 via these forums or through Technical Support Online Chat where you can even have technicians connect with your computer to troubleshoot.  It's available through Useful Links at the top of this page, or right-click the taskbar icon --> Get Help -->  McAfee Support Website for live help, or  click Help for the built-in help index.

           

          If the above don't help I suggest opening a case with online chat support especailly as it's the weekend and people from McAfee are seldom here on weekends.

          • 2. Re: Debug and JIT debug problems

            THANK YOU VERYYYYYYYYY MUCH FOR YOUR INFO......... I WILL TRY THEM ALL.......

            • 3. Re: Debug and JIT debug problems
              Peter M

              OK, good luck.

              • 4. Re: Debug and JIT debug problems

                I too am getting this constant script debugge popping up.  https://sm.mcafee.com/ScriptHandler.ashx and there is nothing I can do about it.  I think it got installed with the latest McAfee update.  I can find lots of people complaining about it but no word from McAfee.  I think the only option is to remove McAfee tools and go buy something from Cisco.   I heard they have a good suite of protection tools.

                the script that I keep getting dumped into. by the way you are not allowed to go to https://sm.mcafee.com, don't have permission(I get another popup Risky Connection Blocked)  yet they (McAfee) have permissions to pop up about 40 debug sessions a day.  I"ll post my Cicso transition.

                 

                the line that the debugger loves to show every time is....

                Set m_strDatsAfterInstall = ""

                 

                here us part of the script, maybe if it's published someone can fix or McAfee will hire people that can.

                 

                option explicit

                '=== Constant to Show or Hide Error messages

                Const SHOW_SM_ERROR_MESSAGES                                = "False"

                Const SM_SMART_MESSAGING_CLIENT_DB_NAME                     = "SmartMessaging.db"

                Const SM_UIPROVIDER_ENUM_OBJECT                             = "SMUIMgrEnum"

                Const SM_PROP_UIMGR_NAME                                    = "2"

                Const SM_PROP_PROVIDER_APPLICATION_MGR                      = "6"

                Const SM_PROP_PROVIDER_SUBSCRIPTION_MGR                     = "5"

                Const SM_PROVIDER_NAME                                      = "2"

                Const MC_PROP_APPLICATION_ID                                = "1"

                Const MC_PROP_APPLICATION_NAME                              = "2"

                Const MC_PROP_APPLICATION_VERSION                           = "4"

                Const MC_PROP_APPLICATION_INSTALL_LCID                                                            = "5"

                Const MC_PROP_SUB_MGR_OBJ                                   = "0"

                Const SM_PROP_PROVIDER_ENUM_CLIENTDB_OBJECT                 = "3"

                Const SM_PROP_PROVIDER_ENUM_SYSTEM_MGR                      = "4"

                Const SM_PROP_PROVIDER_ENUM_REGISTRY_OBJECT                 = "5"

                Const SM_PROP_PROVIDER_ENUM_FILESYSTEM_OBJECT               = "6"

                Const SM_CLIENTDB_OBJECT_CREATION_FAILED                                            = "0"

                Const SM_CLIENTDB_OBJECT_CREATION_SUCCESS                                                  = "1"

                Const SM_CLIENTDB_VERSION_LOCATION                                                          = "HKLM\Software\McAfee\MSM"

                Const SM_CLIENTDB_VERSION_KEY_NAME                                                          = "SMVersion"

                Const SM_VERSION_LOCATION                                                                 = "HKLM\Software\McAfee\MSM"

                Const SM_WEBUPDATE_LOCATION                                 = "HKLM\software\McAfee\MSC\Update\Webupdate"

                Const SM_VERSIONID_KEY_NAME                                 = "VerID"

                Const SM_VERSION_KEY_NAME                                                                 = "SMVersion"

                Const SM_OOBE_LOCATION                                                                     = "HKLM\Software\McAfee\MSC\OEM\Manage\RGW\ActWiz"

                Const SM_OOBE_KEY_NAME                                                                     = "OOBEModel"

                Const SM_OOBE_ACTIVATIONDATE_KEY_NAME                                               = "SvrActDate"

                Const SM_DEFAULT_VERSION                                    = "1"

                Const SM_NO_VERSION                                         = ""

                Const SM_APP_VERSION_SPLITTER                               = "."

                Const SM_VERSIONMGR_OBJECT_CREATION_SUCCESS                 = "1"

                Const SM_VERSIONMGR_OBJECT_CREATION_FAILED                  = "0"

                Const SM_CLIENTDB_DEFAULT_VERSION                           = "1"

                Const SM_CLIENTDB_NO_VERSION                                = ""

                Const SM_CLIENTDB_MISSING_DB                                = "0"

                Const SM_CLIENTDB_DB_OPEN                                   = "1"

                Const SM_CLIENTDB_QUERY_EXEC_SUCCESSFUL                     = "1"

                Const SM_CLIENTDB_QUERY_EXEC_FAIL                           = "0"

                Const SM_CLIENTDB_ALL_TABLES_CREATED_SUCCESS                = "1"

                Const SM_CLIENTDB_ALL_TABLES_CREATED_FAILED                 = "0"

                Const SM_CLIENTDB_VERSION_VALIDATION_SUCCESS                = "1"

                Const SM_CLIENTDB_VERSION_VALIDATION_FAILED                 = "0"

                Const SM_DEFAULT_SYNC_FLAG_VALUE                            = "0"

                Const SM_CLIENTDB_SYNC_MESSAGE_URL                          = "http://us.mcafee.com"

                Const SM_MESSAGE_LOG_TABLE_NAME                             = "MessageLog"

                Const SM_MESSAGE_LOG_COLUMNS                                = "MessageViewHistoryID, ActionTypeID,Actionvalue, ActionURL,SyncFlag,CreatedDate"

                Const SM_MESSAGE_SYNC_LOG_TABLE_NAME                        = "MessageSyncLog"

                Const SM_MESSAGE_SYNC_LOG_COLUMNS                           = "SyncURL, ResultTypeID, NumMessage,SyncFlag, CreatedDate"

                Const SM_MESSAGE_VIEW_HISTORY_TABLE_NAME                    = "MessageViewHistory"

                Const SM_MESSAGE_VIEW_HISTORY_COLUMNS                       = "MessageID,Category,Priority,SyncFlag,AcctID,Affid,LCID,ProductKey,createddate"

                Const SM_CLIENTDB_OPERATION_OK                              = 1

                Const SM_CLIENTDB_OPERATION_FAILED                          = 2

                Const SM_CLIENTDB_ACCESS_DENIED                             = 3

                Const SM_CLIENTDB_NO_MORE_DATA                              = 4

                Const SM_CLIENTDB_DATA_FOR_CURRENT_ROW_READY                = 5

                 

                 

                Const SM_PROVIDER_OBJECT_CREATION_SUCCESS                   = 1

                Const SM_PROVIDER_OBJECT_CREATION_FAILED                    = 0

                Const SM_GET_INSTALLED_APPS_SUCCESS                         = 1

                Const SM_GET_INSTALLED_APPS_FAILED                          = 0

                Const SM_APPINFO_OBJECT_CREATION_SUCCESS                    = 1

                Const SM_APPINFO_OBJECT_CREATION_FAILED                     = 0

                Const SM_SUBMGR_OBJECT_CREATION_SUCCESS                     = 1

                Const SM_SUBMGR_OBJECT_CREATION_FAILED                      = 0

                Const SM_SYSTEMMGR_PROVIDER                                 = "SysMgrObject"

                Const SM_SYSMGR_OBJECT_CREATION_SUCCESS                     = 1

                Const SM_SYSMGR_OBJECT_CREATION_FAILED                      = 0

                Const SM_UIMGR_NETWORKDRIVES_EXIST                          = "Yes"

                Const SM_UIMGR_NETWORKDRIVES_MISSING                        = "No"

                Const SM_SYSMGR_ALLOWED_IDLE_TIME_IN_MSEC                    = 60000

                Const SM_SYSMGR_SYSTEM_IDLE                                 = 0

                Const SM_SYSMGR_SYSTEM_IN_USE                               = 1

                 

                 

                Const SM_SYSTEM_IN_SCREEN_SAVER_MODE                        = true

                Const SM_SYSTEM_NOT_IN_SCREEN_SAVER_MODE                    = false

                 

                 

                Const SM_SYSTEM_IN_FULL_SCREEN_MODE                        = true

                Const SM_SYSTEM_NOT_IN_FULL_SCREEN_MODE                    = false

                 

                 

                 

                 

                Const SM_REGISTRY_OBJECT_CREATION_SUCCESS                   = 1

                Const SM_REGISTRY_OBJECT_CREATION_FAILED                    = 0

                 

                 

                Const SM_TASKSCHEDULER_OBJECT_CREATION_SUCCESS              = 1

                Const SM_TASKSCHEDULER_OBJECT_CREATION_FAILED               = 0

                Const SM_TASKSCHEDULER_TASK_CREATION_SUCCESS                = 1

                Const SM_TASKSCHEDULER_TASK_CREATION_FAILED                 = 0

                 

                 

                Const SM_SUBMGR_APPID                                       = "appid"

                Const SM_SUBMGR_AFFID                                       = "affid"

                Const SM_SUBMGR_APPCODE                                     = "app_code"

                Const SM_SUBMGR_ACCTID                                      = "accnt_id"

                Const SM_SUBMGR_PRODUCTKEY                                  = "product_key"

                Const SM_SUBMGR_EXPIREDATE                                  = "settings"

                Const SM_SUBMGR_PERPETUAL                                   = "perpetual"

                Const SM_SUBMGR_TRIAL                                       = "trial"

                Const SM_SUBMGR_BACKEND                                     = "backend"

                Const SM_SUBMGR_SYNCURL                                     = "sync_url"

                Const SM_SUBMGR_WEBSITEURL                                  = "website"

                Const SM_SUBMGR_LANGCODE                                    = "applang"

                Const SM_SUBMGR_PKGID                                       = "package_id"

                Const SM_SUBMGR_PKGNAME                                     = "package_name"

                Const SM_SUBMGR_RENEWALURL                                  = "renewalurl"

                Const SM_SUBMGR_FLAGS                                       = "flags"

                Const SM_SUBMGR_EMAIL                                       = "e_mail"

                Const SM_SUBMGR_LICENSECOUNT                                = "num_licenses"

                Const SM_SUBMGR_INSTALLDT                                   = "installed"

                 

                 

                Const SM_TASKSCHEDULER_SHELL                                = "WScript.Shell"

                Const SM_TASKSCHEDULER_NAME                                 = "Task1"

                Const SM_TASKSCHEDULER_TRIGGER_FREQUENCY                    = "3600"

                Const SM_TASKSCHEDULER_TASK_PROCESS_PATH                    = "c:\\My.exe"

                Const SM_TASKSCHEDULER_TASK_PROCESS_PARAMS                  = "http://sm.mcafee.com/syncmessage.aspx"

                Const SM_TASKSCHEDULER_ACTIVETIMEBIAS_PATH                  = "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TimeZoneInformation\Active TimeBias"

                Const SM_SUBINFO_TOTAL_KNOWN_APPDATA_PROP_COUNT                            = "1"

                Const SM_SHOW_MESSAGE_LIMIT                                 = "1"

                Const SM_MAINT_FLAG_ENABLED                                 = False

                Const SM_DB_HIT_LIMIT                                       =   1

                 

                 

                Const SM_UICONTAINER_DEFAULT_HEIGHT                         = "600"

                Const SM_UICONTAINER_DEFAULT_WIDTH                          = "450"

                Const SM_UICONTAINER_OBJECT_CREATION_SUCCESS                = 1

                Const SM_UICONTAINER_OBJECT_CREATION_FAILED                 = 0

                Const SM_UICONTAINER_CENTERED                               = 0

                Const SM_UICONTAINER_BOTTOM_RIGHT_CORNER                    = 1

                Const SM_UICONTAINER_MANUAL                                 = 2

                 

                 

                Const SM_INSTRUMENTATION_OBJECT_CREATION_FAILED             = 0

                Const SM_INSTRUMENTATION_OBJECT_CREATION_SUCCESS            = 1

                 

                 

                Const SM_INSTRU_STATUS_FAILED                                                        = False

                Const SM_INSTRU_STATUS_SUCCESS                                                        = True

                Const SM_GETUTCDTTIME_FAILED                                                        = "0"

                Const SM_GETUTCDTTIME_SUCCESS                                                        = "1"

                Const SM_GETUTC_DATE_TIME_FN_RESPONSE_HANDLER                            = "GetServerUTCDtTime"

                Const SM_GETUTC_DATE_TIME_FN_REQUEST_URL                                = "https://sm.mcafee.com/InstruCommunicator.asmx/GetUTCTime"

                Const SM_SEND_INSTRU_XML_FN_RESPONSE_HANDLER                            = "GetInstruResponse"

                Const SM_SEND_INSTRU_XML_FN_RESPONSE_TIMEOUT                            = 5000

                Const SM_SEND_INSTRU_XML_FN_REQUEST_PARAM_NAME                      = "InstrumentationXML="

                Const SM_SEND_INSTRU_XML_FN_REQUEST_URL                                          = "https://sm.mcafee.com/InstruCommunicator.asmx/SetReportingInstru"

                 

                 

                Const SM_MACHINE_CONFIG_OS                                  = "OS="

                Const SM_MACHINE_CONFIG_MEM_SIZE_MB                         = " MemorySizeInMB="

                Const SM_MACHINE_CONFIG_PROCESSOR_FMLY                      = " ProcessorFamily="

                Const SM_MACHINE_CONFIG_PROCESSOR_VRSN                      = " ProcessorVersion="

                Const SM_MACHINE_CONFIG_PROCESSOR_SPEED_GHZ                 = " ProcessorSpeedGHZ="

                Const SM_MACHINE_CONFIG_NO_OF_PROCESSORS                    = " NumberOfProcessors="

                Const SM_MACHINE_CONFIG_NETWORK_DRIVES                      = " NetworkDrives="

                Const SM_MACHINE_CONFIG_HARDWARE_ID                         = " HardwareId="

                Const SM_MACHINE_CONFIG_SOFTWARE_ID                         = " SoftwareId="

                 

                 

                Const SM_CLIENT_CONFIG_APPID                                = "app_id="

                Const SM_CLIENT_CONFIG_APPCODE                              = " app_code="

                Const SM_CLIENT_CONFIG_PERPETUAL                            = " perpetual="

                Const SM_CLIENT_CONFIG_TRIAL                                = " trial="

                Const SM_CLIENT_CONFIG_ACCTID                               = " acct_id="

                Const SM_CLIENT_CONFIG_EXP_DT                               = " expire_dt="

                Const SM_CLIENT_CONFIG_BACKEND                              = " backend="

                Const SM_CLIENT_CONFIG_SYNC_URL                             = " sync_url="

                Const SM_CLIENT_CONFIG_WEB_SITE                             = " web_site="

                Const SM_CLIENT_CONFIG_AFFID                                = " aff_id="

                Const SM_CLIENT_CONFIG_BUILDID                              = " build_id="

                Const SM_CLIENT_CONFIG_LANG_CODE                            = " lang_code="

                Const SM_CLIENT_CONFIG_PKGID                                = " pkg_id="

                Const SM_CLIENT_CONFIG_PKGNM                                = " pkg_name="

                Const SM_CLIENT_CONFIG_RNWL_URL                             = " renewal_url="

                Const SM_CLIENT_CONFIG_REG_STATUS                           = " reg_status="

                Const SM_CLIENT_CONFIG_EMAIL                                = " e_mail="

                Const SM_CLIENT_CONFIG_INSTALLED_DT                         = " installed_date="

                Const SM_CLIENT_CONFIG_LIC_QTY                              = " lic_qty="

                Const SM_CLIENT_CONFIG_PROD_KEY                             = " product_key="

                Const SM_CLIENT_CONFIG_INSTALLED_DYS                        = " installed_days="

                Const SM_CLIENT_CONFIG_ACTIVATION_DYS                       = " activation_days="

                Const SM_CLIENT_CONFIG_ACTIVATION_DATE                       = " activation_date="

                Const SM_CLIENT_CONFIG_OOBE                                 = " oobe="

                Const SM_CLIENT_CONFIG_IPT                                  = " ipt="

                Const SM_CLIENT_CONFIG_VERSIONID                            = " versionid="

                Const SM_CLIENT_CONFIG_LOCALEID                             = " locale_id="

                Const SM_CLIENT_CONFIG_EULA                                 = " eula="

                Const SM_CLIENT_OOBE_CODE                                   = "3"

                Const SM_CLIENT_CONFIG_FORCEUPGRADE                         = " force_upgrade=" 'Added for force upgrade

                Const SM_CLIENT_CONFIG_DAYSAFTERINSTALL                     = " days_after_install=" 'Added for SM Optimization

                '=== Sub mgmt II constants

                Const SM_PROP_PROVIDER_VERSION                              = "1"

                Const SM_SUBMGMT2_OBJ_PROVIDER_VERSION                      = "2.0"

                Const SM_PROP_PROVIDER_SUBMGMT2                             = "7"

                Const SM_GET_SUBMGMT2_SUCCESS                               = 1

                Const SM_GET_SUBMGMT2_FAILED                                = 0

                ''==== Object Creation

                Const SM_OBJECT_CREATION_FAILED                                                  = "0"

                Const SM_OBJECT_CREATION_SUCCESS                                                    = "1"

                 

                 

                ''==== MSC IPT

                Const SM_PROP_PROVIDER_MSCIPT                               = "8"

                Const PLATFORMDSP                                           = "PlatformDspObj"

                Const PRODUCT_KEY                                           = "pk"

                Const IPTVALIDTILL                                          = "HKEY_CURRENT_USER\Software\MCAFEE\MSC\IPTValidTill"

                 

                 

                '==== OOBE V3

                Const SM_OOBE_V3_LOCATION                                                                 = "HKLM\Software\McAfee\OemInfo\Activation\OneClick\QueryParams"

                Const SM_CLIENT_OOBE_V3_CODE                                = "8"

                Const SM_CLIENT_OOBE_V3_VERSION                             = "OCVersion"

                Const SM_CLIENT_OOBE_V3_ENABLE                              = "OCEnable"

                Const SM_CLIENT_OOBE_V3_EULASTATE                           = "EULAState"

                Const SM_CLIENT_OOBE_V3_VERSION_NUMBER                      = "3.0"

                Const SM_CLIENT_APPINFO_LOCATION                            = "HKLM\SOFTWARE\McAfee\MSC\AppInfo\Substitute\QueryParams"

                Const SM_CLIENT_OOBE_V3_IPRDONE                             = "IPRdone"

                 

                 

                '==== Smart Messaging Optimization

                Const SM_CLIENT_UICNTPATH_LOCATION                          = "HKLM\SOFTWARE\McAfee\MSC\OEM\Manage\RGW"

                Const SM_CLIENT_UI_CONTAINER_PATH                           = "UICntPath"

                 

                 

                 

                 

                    Dim oXMLDoc, oXMLHTTP

                    Dim m_UTCDateTime, m_InstruStatus

                '=== This will get the size of the Providerobject array

                    Function Length(ByRef vArray)

                        Dim intIndex

                        Dim intCount

                   

                        intCount = 0

                        For intIndex = 0 To UBound(vArray)

                            If Not(IsNull(vArray(intIndex))) And Not(IsEmpty(vArray(intIndex)))Then

                                If Not(vArray(intIndex) Is Nothing) Then

                                    intCount = intCount + 1

                                End If   

                            End If

                        Next

                        Length = intCount

                    End Function

                    '=== This will be used to show/hide the msgbox.

                    '=== it will be used

                    Function ShowErrorMessage(strErrorMessage)

                • 5. Re: Debug and JIT debug problems

                  should add for the old thread that I use google chrome, not Ineternet Explorer,  but I did disable script debugging in the tools option and no luck. 

                  • 6. Re: Debug and JIT debug problems
                    Peter M

                    bobbyk wrote:

                     

                    should add for the old thread that I use google chrome, not Ineternet Explorer,  but I did disable script debugging in the tools option and no luck. 

                    bobbyk why would you be trying to go to https://sm.mcafee.com/ ?  None of us can go there.  If you are using Enterprise products you are posting to the wrong thread/area, best to start a new one in the Enterprise section.

                    Best open a ticket with Support.  Everyone:  Technical Support is free and for consumers is linked under Useful Links at the top of this page.    It's unlikely a technician will be around here at a weekend.

                     


                     

                    Message was edited by: Ex_Brit on 01/10/11 6:12:14 EDT AM