Microsoft KB Archive/237561

= INFO: How to Read the Viddbg.exe Output =

Article ID: 237561

Article Last Modified on 4/29/2007

-

APPLIES TO


 * Microsoft Visual InterDev 6.0 Standard Edition, when used with:
 * Microsoft Windows NT 4.0

-



This article was previously published under Q237561



SUMMARY
When you set up server-side debugging in Visual InterDev, you can use the Viddbg.exe logging tool to help determine what needs to be changed to configure debugging correctly. You can download the tool as 5257.exe from the "Microsoft Visual InterDev 6.0 Debugging" white paper at the following Microsoft Web site:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnvid/html/msdn_videbugging.asp

The information that is contained in this article is to be used in conjunction with the "Microsoft Visual InterDev 6.0 Debugging" white paper to configure debugging correctly.

If you are setting up remote debugging make sure that you are a member of the administrators group on both the Web server and the client computer before running this tool. If you are setting up local debugging you will need to be an administrator on the client/server computer. This is a basic requirement to use Visual Interdev debugging.

You should run this tool on the Web server as well as the client computer if you are setting up remote debugging and on the client/server computer, and if you are setting up local server debugging. This article describes what the output should look like on the respective computers and what to look out for.

The information in this article applies to the output of Viddbg.exe both on the client and the server computer.



MORE INFORMATION
The following example is what the output should look like.

NOTE: In the "DCOM Permissions" section of the output you will find the minimum security requirements needed to debug. Visual Interdev Debugging Setup Verification - Server

Machine Name : MYMACHINENAME Current User : MYDOMAIN\myusername

DCOM Permissions

Machine Debug Manager Launch permission list Access permitted to NT AUTHORITY\INTERACTIVE. Access permitted to NT AUTHORITY\SYSTEM. Access permitted to MYDOMAIN\myusername. Access permitted to BUILTIN\Administrators.

Machine Debug Manager Access permission list Access permitted to NT AUTHORITY\INTERACTIVE. Access permitted to NT AUTHORITY\SYSTEM. Access permitted to MYDOMAIN\myusername. Access permitted to BUILTIN\Administrators.

Catalog Class Launch permission list Access permitted to NT AUTHORITY\INTERACTIVE. Access permitted to NT AUTHORITY\SYSTEM. Access permitted to MYDOMAIN\myusername. Access permitted to BUILTIN\Administrators.

Catalog Class Access permission list Access permitted to NT AUTHORITY\INTERACTIVE. Access permitted to NT AUTHORITY\SYSTEM. Access permitted to MYDOMAIN\myusername. Access permitted to BUILTIN\Administrators.

Debugging Options

Script options Attach to running programs Enabled Just-In-Time debugging     Enabled Java options Attach to running programs Enabled Just-In-Time debugging     Enabled

ASP.DLL Version Information

Location:  C:\WINNT\System32\inetsrv\asp.dll FileVersion:   4.02.0622 File Size: 330448 bytes

VID Debugging requires 4.02.0622 (330448 bytes) or greater.

VID Server Components

Checking APPID Key {Default Value}    Catalog Class DllSurrogate

Checking ClassID Key {Default Value}    Catalog Class AppID      {6EB22881-8A19-11D0-81B6-00A0C9231C29} If the Visual Interdev server side components are not installed on either the server or the client you will get the following warning in the output of the Viddbg.exe.


 * VID Server Components are not installed correctly.***

You may also get the following error message when trying to debug without the Visual Interdev Server Components installed.

Unable to set server into correct debugging state automatically. You may not be able to debug ASP pages. Do you want to continue launching the debugger?

The Visual Interdev server side components can be installed by running Setup.exe in the VID_ss directory on Visual Studio CD2 or Visual Interdev CD1.

The previous error may also happen if you have not setup the permissions for the computer debug manager and the catalog class correctly. The DCOM Permissions section of the Viddbg.exe identifies the permissions that are currently set up for both of these components. If the Remote Computer Debugging components are not installed the components can be installed by running Setup.exe from the scrpt_ss directory on the Visual Interdev CD1 or Visual Studio CD2.

If your debugger is not stopping at breakpoints in server-side code then the most probable cause is that you do not have a valid Asp.dll. The output of the Viddbg.exe identifies the version and size of your Asp.dll. Visual Interdev debugging requires an Asp.dll that is version 4.02.0622 or later. If the Asp.dll is version 4.02.0622 make sure that it is at least 330448 bytes. If you do not have a valid Asp.dll you will need to install Windows NT Service Pack 4 or later on the computer with the invalid Asp.dll.

