none
Stop Running this Script? Error Message

    Question

  • My MDT 2010 System Prompts with an error message that states:  Stop Running this script?  A script on this page is causing your web browser to run slowly. If it continues to run, your computer might become unresponsive."  at the Select one or more applications screen.  It started after I added more apps to the selection.  I currently have a totoal of 64 apps on the list. 

    Is there anything I can do to fix this error besides limiting the number of applications in the MDT?

    Thanks
    Wednesday, January 13, 2010 1:43 PM

All replies

  • By any chance do you have debug:true or debugcapture specified?  We tested MDT 2010 with several hundred applications to make sure performance was as expected.

    Maybe you can run the installation with /debugcapture and post the wizard portion of the bdd.log file?

    Tim Mintner Principal Consultant Xtreme Consulting Group http://deployment.xtremeconsulting.com
    Thursday, January 14, 2010 12:11 AM
  • I am going to say no that I don't have it specified, since I don't know where to do it?  How do I run the installation with /debgucatpure?

    Friday, January 22, 2010 1:07 PM
  • Are you getting this in PE or in a refresh run of the wizard? (in windows)?



    -Dustin
    Friday, January 22, 2010 2:56 PM
  • During Windows PE.  After I select the Time Zone, click Next, the application list is populated.  It takes about 2-5 minutes (which is a proplem in itself), then the error message pops up. I click No, to not stop running the script and it takes an additional 10-20 seconds then I can click applications or even click Next to Continue.
    Friday, January 22, 2010 10:04 PM
  • How fast is the connection between your DP and the system running against it? I can tell you i have some slowness with mine, roughly 50-60 apps as well, but i've never recieved this error - it does take 30s-1m to process the entire list at times if things arent running as quick as usual, a normal time is 15-25 seconds.

    To run it in debug mode, run the litetouch.wsf script from your winpe command prompt with:

    cscript.exe litetouch.wsf /debugcapture  -- if you want to view additional info via the command prompt you run it in, kick it off with this instead:

    cscript.exe litetouch.wsf /debug:true /debugcapture  

    This will give you a good bit more info and hopefully we can find your hangup. Don't forget to can grab the ztiwizard.log file from the logs directory before completing the wizard..


    -Dustin
    Friday, January 22, 2010 10:41 PM

  • Thanks for your help on this.  I spent hours running the debug commands and looking through the logs, lots of good information, but I have not narrowed it down yet.

    The connection between the DP and the workstation is a 1gb LAN connection.  I used the debug commands and found a section where it was pulling the WizardSelectionProfile and setting it to everything.  Then it would take about 6 minutes to go through what seemd to be everything in the MDT.  I set a value in the CustomSettings.ini file WizardSelectionProfile=Tasks and apps.  I then created a task and apps selection profile and it seems to be running better, however, I am still getting the error message.   Do you know if there should be any values set for WizardSelectionProfile or CustomWizardSelectionProfile in the customsettings.ini file?


    Here is a section of the Bdd.log file that is taking about 3 minutes. to process.  I have 2 roles for all computers. Role 1 is for All Entperise Workstations, which includes all enterprise software. Role 2 is for special settings and applications for Lenovo laptops.  So the system processes all of the applications for both roles.   This exceprt comes from the RAPPS section of the BDD log file.  This is all processed BEFORE the applications screen is even presented. Any ideas?  Well seems I can't post all of the log, but you can get the point of the way it is deciding applications.


    ParameterCondition key not defined in the section [RAPPS] ZTIGather 1/23/2010 2:12:41 PM 0 (0x0000)
    Default ParameterCondition 'AND' will be used for building queries with multiple parameters. ZTIGather 1/23/2010 2:12:41 PM 0 (0x0000)
    OPENING STANDARD SECURITY SQL CONNECTION to server DO3 using login BDDREAD. ZTIGather 1/23/2010 2:12:42 PM 0 (0x0000)
    <Message containing password has been suppressed> ZTIGather 1/23/2010 2:12:42 PM 0 (0x0000)
    Successfully opened connection to database. ZTIGather 1/23/2010 2:12:42 PM 0 (0x0000)
    About to issue SQL statement: SELECT * FROM RoleApplications WHERE ROLE IN ('All Enterprise Workstations','Lenovo Laptop with BITLOCKER') ORDER BY Sequence ZTIGather 1/23/2010 2:12:42 PM 0 (0x0000)
    Successfully queried the database. ZTIGather 1/23/2010 2:12:43 PM 0 (0x0000)
    Records returned from SQL = 34 ZTIGather 1/23/2010 2:12:43 PM 0 (0x0000)
    Property APPLICATIONS001 is now = {4a48c04d-dadd-4863-b357-19a79da4339b} ZTIGather 1/23/2010 2:12:44 PM 0 (0x0000)
    Added APPLICATIONS value from SQL:  APPLICATIONS = {4a48c04d-dadd-4863-b357-19a79da4339b} ZTIGather 1/23/2010 2:12:44 PM 0 (0x0000)
    Property APPLICATIONS001 is now = {4a48c04d-dadd-4863-b357-19a79da4339b} ZTIGather 1/23/2010 2:12:44 PM 0 (0x0000)
    Property APPLICATIONS002 is now = {d8fb5ec2-3a48-4ef7-8b87-0fe250ab5c35} ZTIGather 1/23/2010 2:12:45 PM 0 (0x0000)
    Added APPLICATIONS value from SQL:  APPLICATIONS = {d8fb5ec2-3a48-4ef7-8b87-0fe250ab5c35} ZTIGather 1/23/2010 2:12:45 PM 0 (0x0000)
    Property APPLICATIONS001 is now = {4a48c04d-dadd-4863-b357-19a79da4339b} ZTIGather 1/23/2010 2:12:46 PM 0 (0x0000)
    Property APPLICATIONS002 is now = {d8fb5ec2-3a48-4ef7-8b87-0fe250ab5c35} ZTIGather 1/23/2010 2:12:46 PM 0 (0x0000)
    Property APPLICATIONS003 is now = {d15a9b7d-699f-4db6-8c5e-a6c12143a68c} ZTIGather 1/23/2010 2:12:46 PM 0 (0x0000)
    Added APPLICATIONS value from SQL:  APPLICATIONS = {d15a9b7d-699f-4db6-8c5e-a6c12143a68c} ZTIGather 1/23/2010 2:12:46 PM 0 (0x0000)
    Property APPLICATIONS001 is now = {4a48c04d-dadd-4863-b357-19a79da4339b} ZTIGather 1/23/2010 2:12:47 PM 0 (0x0000)
    Property APPLICATIONS002 is now = {d8fb5ec2-3a48-4ef7-8b87-0fe250ab5c35} ZTIGather 1/23/2010 2:12:47 PM 0 (0x0000)
    Property APPLICATIONS003 is now = {d15a9b7d-699f-4db6-8c5e-a6c12143a68c} ZTIGather 1/23/2010 2:12:47 PM 0 (0x0000)
    Property APPLICATIONS004 is now = {f66e26a6-23f1-463d-bc22-2b39458b9ecd} ZTIGather 1/23/2010 2:12:47 PM 0 (0x0000)
    Added APPLICATIONS value from SQL:  APPLICATIONS = {f66e26a6-23f1-463d-bc22-2b39458b9ecd} ZTIGather 1/23/2010 2:12:47 PM 0 (0x0000)
    Property APPLICATIONS001 is now = {4a48c04d-dadd-4863-b357-19a79da4339b} ZTIGather 1/23/2010 2:12:48 PM 0 (0x0000)
    Property APPLICATIONS002 is now = {d8fb5ec2-3a48-4ef7-8b87-0fe250ab5c35} ZTIGather 1/23/2010 2:12:48 PM 0 (0x0000)
    Property APPLICATIONS003 is now = {d15a9b7d-699f-4db6-8c5e-a6c12143a68c} ZTIGather 1/23/2010 2:12:48 PM 0 (0x0000)
    Property APPLICATIONS004 is now = {f66e26a6-23f1-463d-bc22-2b39458b9ecd} ZTIGather 1/23/2010 2:12:48 PM 0 (0x0000)
    Property APPLICATIONS005 is now = {beaa383e-a8d4-4ab4-bb15-e6a4e9d282f2} ZTIGather 1/23/2010 2:12:49 PM 0 (0x0000)
    Added APPLICATIONS value from SQL:  APPLICATIONS = {beaa383e-a8d4-4ab4-bb15-e6a4e9d282f2} ZTIGather 1/23/2010 2:12:49 PM 0 (0x0000)
    Property APPLICATIONS001 is now = {4a48c04d-dadd-4863-b357-19a79da4339b} ZTIGather 1/23/2010 2:12:50 PM 0 (0x0000)
    Property APPLICATIONS002 is now = {d8fb5ec2-3a48-4ef7-8b87-0fe250ab5c35} ZTIGather 1/23/2010 2:12:50 PM 0 (0x0000)
    Property APPLICATIONS003 is now = {d15a9b7d-699f-4db6-8c5e-a6c12143a68c} ZTIGather 1/23/2010 2:12:50 PM 0 (0x0000)
    Property APPLICATIONS004 is now = {f66e26a6-23f1-463d-bc22-2b39458b9ecd} ZTIGather 1/23/2010 2:12:50 PM 0 (0x0000)
    Property APPLICATIONS005 is now = {beaa383e-a8d4-4ab4-bb15-e6a4e9d282f2} ZTIGather 1/23/2010 2:12:50 PM 0 (0x0000)
    Property APPLICATIONS006 is now = {0ed0177a-26ff-44d3-a2b7-56cecb0060d7} ZTIGather 1/23/2010 2:12:50 PM 0 (0x0000)
    Added APPLICATIONS value from SQL:  APPLICATIONS = {0ed0177a-26ff-44d3-a2b7-56cecb0060d7} ZTIGather 1/23/2010 2:12:50 PM 0 (0x0000)
    Property APPLICATIONS001 is now = {4a48c04d-dadd-4863-b357-19a79da4339b} ZTIGather 1/23/2010 2:12:51 PM 0 (0x0000)
    Property APPLICATIONS002 is now = {d8fb5ec2-3a48-4ef7-8b87-0fe250ab5c35} ZTIGather 1/23/2010 2:12:51 PM 0 (0x0000)
    Property APPLICATIONS003 is now = {d15a9b7d-699f-4db6-8c5e-a6c12143a68c} ZTIGather 1/23/2010 2:12:51 PM 0 (0x0000)
    Saturday, January 23, 2010 7:46 PM
  • This is all generated during ZTIGather.wsf and is done before primary pieces of the wizard even display, it gathers all the relevant data to the build (settings, what should be selected, etc) then when you get to the appropriate pane - populates the fields with the vars selected by the ZTIGather operation.  This is simply showing you what applications, applied to the roles which were applied to that system will be selected AFTER the applications window is populated from your applications.xml file in your control folder. The way its logged makes it look worse than it is, it logs the previous ones repeatedly as it adds another, how many applications do you have assigned to these 2 roles (combined)?

    The parsing of the XML file is what takes a good delay on my setup, this part doesnt usually hang, as its completed already by the time you get to your apps section.  If this hung, you'd never get to the first wizard pane after connecting to your deployment share.

    -D

    -Dustin
    Sunday, January 24, 2010 1:20 PM
  • There are about 33 applications combined over the 2 roles.  Looking at the logs it seems as if the application list is compiled early in the script before it even gets to the applications screen. Then, when I click next off the time zone screen, to get to the apps screen, it seems to run through the list of apps again. I orginally used a select statement in the Rapps section so the apps from Role 1 would install and then the apps from role 2 would install. That worked great in MDT 2008, but when I upgraded to MDT2010, it stopped working. Now apps are just installed int he order they are listed in the Console and don't pay attention to roles. 

    I removed this select statement from the Rapps section returning it to default behavior and it had no effect on the "Stop script" error message.  I even did some looked at the database to see if there is anything wrong with it, so far I don't see anytyhing.  Any other ideas?  Would you like to see the complete debugged BDD.log file?

    Monday, January 25, 2010 6:18 PM
  • if you have a place to host for review , throw me a link :)
    -Dustin
    Monday, January 25, 2010 6:42 PM
  • I'll see about hosting it... but in the meantime.. Here is a section of the BDD.log file that was capture during a debug, Notice how everything seems to wait about 2 minutes.  Then the log shows it cycling through the Applications() section about 60 times.

    BuildHTML_Element: {00000000-0000-0000-0000-000000000000}-{ba6adee2-9630-4330-9212-671b837ca963}   MDT_STD - TrendMicro 10 - Part 3 of 3 [ChEcKeD] Wizard 1/25/2010 1:25:26 PM 0 (0x0000)
    LookupCheckedState: [Applications] with [default]\[MDT_STD - Windows Update CLient 7.4] =  Wizard 1/25/2010 1:25:27 PM 0 (0x0000)
    BuildHTML_Element: {00000000-0000-0000-0000-000000000000}-{7ff01635-b903-47e6-b253-e4fd6ad1e173}   MDT_STD - Windows Update CLient 7.4 [] Wizard 1/25/2010 1:25:27 PM 0 (0x0000)
    Applications( ) = {beaa383e-a8d4-4ab4-bb15-e6a4e9d282f2} Wizard 1/25/2010 1:27:38 PM 0 (0x0000)  **See the 2 mintue pause**
    Applications( ) = {ca3cf6c6-b6b4-4c33-badf-bc8961cd2db6} Wizard 1/25/2010 1:27:39 PM 0 (0x0000)            ** all of these repeat 60 times**
    Applications( ) = {f66e26a6-23f1-463d-bc22-2b39458b9ecd} Wizard 1/25/2010 1:27:39 PM 0 (0x0000)
    Applications( ) = {4a48c04d-dadd-4863-b357-19a79da4339b} Wizard 1/25/2010 1:27:39 PM 0 (0x0000)
    Applications( ) = {b343bde4-51f6-41c7-aa8b-08ea58df7095} Wizard 1/25/2010 1:27:39 PM 0 (0x0000)
    Applications( ) = {38581b28-4468-4cea-b7cc-027aae176f90} Wizard 1/25/2010 1:27:39 PM 0 (0x0000)
    Applications( ) = {1da35314-8720-4459-b74b-a3771dfffe83} Wizard 1/25/2010 1:27:39 PM 0 (0x0000)
    Applications( ) = {a1fd4628-ba40-4342-ab88-3917ea967258} Wizard 1/25/2010 1:27:39 PM 0 (0x0000)
    Applications( ) = {4b455ccd-878d-4d38-815a-eb5b77671e1d} Wizard 1/25/2010 1:27:39 PM 0 (0x0000)
    Applications( ) = {6313f592-f026-45a2-bbdf-77100f5f3464} Wizard 1/25/2010 1:27:39 PM 0 (0x0000)
    Applications( ) = {bc7b0893-a8f5-47fd-975f-11fbcf6cf021} Wizard 1/25/2010 1:27:39 PM 0 (0x0000)
    Applications( ) = {25ad4faa-694d-49c8-ac0f-ec45ff3df3d5} Wizard 1/25/2010 1:27:39 PM 0 (0x0000)
    Applications( ) = {9e8f4713-1271-45da-a234-7d0715296fd0} Wizard 1/25/2010 1:27:39 PM 0 (0x0000)
    Applications( ) = {8a0f7741-fb22-43b8-973d-54eff82a55da} Wizard 1/25/2010 1:27:39 PM 0 (0x0000)
    Applications( ) = {dc114a7f-e357-4d2e-9e92-beaaeeebb37c} Wizard 1/25/2010 1:27:39 PM 0 (0x0000)
    Applications( ) = {ad3296fd-d083-4f94-8b50-4755d50d0d8b} Wizard 1/25/2010 1:27:39 PM 0 (0x0000)
    Applications( ) = {05ea4e6f-7b8c-4014-84a2-e8120bc6363c} Wizard 1/25/2010 1:27:40 PM 0 (0x0000)
    Applications( ) = {bffd1143-97d3-4a97-9d11-d4cd1dd6093f} Wizard 1/25/2010 1:27:40 PM 0 (0x0000)
    Applications( ) = {b2b72698-0fb6-4b07-bcf9-ef2c8e050a71} Wizard 1/25/2010 1:27:40 PM 0 (0x0000)
    Applications( ) = {52c8b7b0-5c42-4e2a-81ef-4b11a33aee18} Wizard 1/25/2010 1:27:40 PM 0 (0x0000)
    Applications( ) = {b56129c0-57bc-4e2c-8206-2770728af9a0} Wizard 1/25/2010 1:27:40 PM 0 (0x0000)
    Applications( ) = {77b444e3-6a53-4c7d-b50b-57d9c59dbca3} Wizard 1/25/2010 1:27:40 PM 0 (0x0000)
    Applications( ) = {8b7718bc-1ba7-4674-8182-44d097611a6f} Wizard 1/25/2010 1:27:40 PM 0 (0x0000)
    Applications( ) = {d15a9b7d-699f-4db6-8c5e-a6c12143a68c} Wizard 1/25/2010 1:27:40 PM 0 (0x0000)
    Applications( ) = {0ed0177a-26ff-44d3-a2b7-56cecb0060d7} Wizard 1/25/2010 1:27:40 PM 0 (0x0000)
    Applications( ) = {d8fb5ec2-3a48-4ef7-8b87-0fe250ab5c35} Wizard 1/25/2010 1:27:40 PM 0 (0x0000)
    Applications( ) = {165f97ee-87aa-411f-96ac-9cb4b32084c8} Wizard 1/25/2010 1:27:40 PM 0 (0x0000)
    Applications( ) = {eb15c54b-c5ce-4727-a374-c7859bc34311} Wizard 1/25/2010 1:27:40 PM 0 (0x0000)
    Applications( ) = {b2547f85-4e45-4643-8869-55866cf1f7ff} Wizard 1/25/2010 1:27:40 PM 0 (0x0000)
    Applications( ) = {097cbe88-c7d4-4ad5-91fe-061bf0f13f21} Wizard 1/25/2010 1:27:40 PM 0 (0x0000)
    Applications( ) = {807a0d65-dfb4-4822-af63-680f077a0ae4} Wizard 1/25/2010 1:27:40 PM 0 (0x0000)
    Applications( ) = {c964d47c-9a90-48f6-9d2b-1858849491e9} Wizard 1/25/2010 1:27:40 PM 0 (0x0000)
    Applications( ) = {05aa429b-297d-4c7b-9822-e5dd713eca9a} Wizard 1/25/2010 1:27:40 PM 0 (0x0000)
    Applications( ) = {ba6adee2-9630-4330-9212-671b837ca963} Wizard 1/25/2010 1:27:40 PM 0 (0x0000)
    Applications( ) = {beaa383e-a8d4-4ab4-bb15-e6a4e9d282f2} Wizard 1/25/2010 1:27:41 PM 0 (0x0000)
    Applications( ) = {ca3cf6c6-b6b4-4c33-badf-bc8961cd2db6} Wizard 1/25/2010 1:27:41 PM 0 (0x0000)
    Applications( ) = {f66e26a6-23f1-463d-bc22-2b39458b9ecd} Wizard 1/25/2010 1:27:41 PM 0 (0x0000)
    Monday, January 25, 2010 9:06 PM
  • paste a bit more of the log prior to the freeze
    -Dustin
    Monday, January 25, 2010 9:30 PM
  • To change this time-out value in Internet Explorer versions 4.0 through 8, follow these steps:
    1. Using a Registry Editor such as Regedt32.exe, open this key:
      HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Styles

      Note If the Styles key is not present, create a new key that is called Styles.
    2. Create a new DWORD value called "MaxScriptStatements" under this key, and set the value to the desired number of script statements. If you are not aure about which value you need to set this to, you can set it to a DWORD value of 0xFFFFFFFF to avoid the dialog box.
    By default, the key does not exist. If the key has not been added, the default threshold limit for the time-out dialog box is 5,000,000 statements for Internet Explorer 4 and later versions.

    Because the Internet Explorer versions 4.0 through 8 time-out is based on the number of script statements that are executed, the time-out dialog box does not display during ActiveX control or database-access delays. Endless loops in script will still be detected.
    Saturday, April 27, 2013 7:18 PM

  • or

    Turn off script debugging and notifications in Internet Explorer

    Script error debugging and notifications are turned off by default. If they have been turned on, follow these steps to turn them off again.

       1) Open Internet Explorer by clicking the Start button  and then clicking Internet Explorer.

        2) Click the Tools button, and then click Internet Options.

        3) Click the Advanced tab, select the Disable script debugging (Internet Explorer) and Disable script debugging (Other) check boxes.

        4) Clear the Display a notification about every script error check box, and then click OK.

    Saturday, April 27, 2013 7:21 PM
  • I have the same problem with our mdt 2012.  We have around 300 applications, some are installed by role (2 to 8 depending of the role) other by Computers in database (0 to 20) and the base of the application is installed by guid in customsettings.ini (21 at this time).  I saw this message least often in the last month, but today I did a lot change in the application list in customsettings.ini, I add 10 more app, that was in a bundle before, and now I have the error message every time that I open the applications panel.

    I know that we have a complicated setup, but it give all the best service for us in this way.  I'm hoping that somebody have a trick to speed the thing a little.  It take less than 3 minutes to have the application panel usable, but I have the error message : "Stop Running this script?  A script on this page is causing your web browser to run slowly. If it continues to run, your computer might become unresponsive." everytime.

    Thanks for your help!

    Wednesday, July 10, 2013 7:45 PM