"Select Code Type" window doesn´t show Script as a option when you click on "Select..." button

Last post 05-12-2008 9:44 AM by Rudidlo. 4 replies.

Sort Posts:

  • "Select Code Type" window doesn´t show Script as a option when you click on "Select..." button

    05-07-2008, 6:02 AM
    • Loading...
    • Rudidlo
    • Joined on 02-16-2007, 4:18 AM
    • Posts 25

    I have two old asp-based virtual webs and I have to from time to time make some fixes or updates here.

    Until now, I used to debug these webs locally. Now I moved these wb sites to another physical computer. I run these sites under several application pools. Web sites and associated pools run under account from active directory.

     I want to debug asp scripts on this computer remotely and I have "Visual Studio 2005 remote debugger" installed on remote computer runnig under account with administrative privilegues.

    When I choose Debug-Attach to Process in Visual Studio 2005, choose remote computer as a Qualifier and Click on refresh button, remote process list appear. But when I click on "Select..." button, script as Type Code is not listed here.

    Why?

     

    Thank you for  any valuable answer.


     

    Rudidlo
  • Re: "Select Code Type" window doesn´t show Script as a option when you click on "Select..." button

    05-07-2008, 12:53 PM

    This article contains steps on how to set up remote script debugging: http://support.microsoft.com/kb/908099

    Thanks

    ------------------------------------------------------------

    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: "Select Code Type" window doesn´t show Script as a option when you click on "Select..." button

    05-09-2008, 4:08 AM
    • Loading...
    • Rudidlo
    • Joined on 02-16-2007, 4:18 AM
    • Posts 25

     Thank you for your advice, Michael.  But my problem isn't placed somewhere between connection troubles. And I think your posted document contains all valuable informations about correct setting for debug enabling. I think that some component is missing on the remote server. When I try to connect to local process, I can choose from following code types:

    Code Types on local machine 

     

    When i try to connect to remote machine, code type list is one item smaller:

    code type list on remote machine 

    So, I haven't any possibility to debug old, ASP 3.0 pages on remote machine. 

     
    ....and  I'm sorry for my bad English.

    Rudidlo
  • Re: "Select Code Type" window doesn´t show Script as a option when you click on "Select..." button

    05-12-2008, 5:26 AM

    Hi,

    To debug script code that runs on a remote computer, you must add the process that hosts the script code to the application exceptions list. Typically, in classic ASP debugging, the Dllhost.exe process or the Inetinfo.exe process hosts the script code. However, for a script that runs in Microsoft Internet Explorer, the Iexplore.exe process or in the Explorer.exe process generally hosts the script code.

    To add the process that hosts the script code to the application exceptions list, follow these steps:

    1. Click Start, click Run, type firewall.cpl, and then click OK.
    2. In Windows Firewall, click Add Program on the Exceptions tab. The Add a Program dialog box appears.
    3. In the Add a Program dialog box, click Browse. Locate the process that hosts the script code, and then click OK. The application of the process that hosts the script code appears in the Add a Program dialog box.

    For example, if you locate the iexplore.exe process in this step, Internet Explorer appears in the Add a Program dialog box.
    4. In the Scope area, click My network (subnet) only. (This step is optional.)
    5. In the Add a Program dialog box, click OK.
    6. In Windows Firewall, click OK to save your settings.

    For more information, see  http://support.microsoft.com/kb/908099/en-us (Enable script debugging) of Mikhail's suggestion.

     

    I hope this helps.

     

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
  • Re: "Select Code Type" window doesn´t show Script as a option when you click on "Select..." button

    05-12-2008, 9:44 AM
    • Loading...
    • Rudidlo
    • Joined on 02-16-2007, 4:18 AM
    • Posts 25

     I have no problem debugging locally.

    I have problem that I can attach to  w3wp.exe, it's Application Pool process.

    So I cannot choose Script as Remote code Type. Look at my pictures posted and try to find one difference.

    Only one thing I want is to debug vbScript on remote process w3wp.

     

    Thanks for any valuable answer.
     

    Rudidlo
Page 1 of 1 (5 items)