日期:2013-01-01  浏览次数:20997 次

微软的这篇文章能彻底解决visual interdev的调试问题
需要安装visual interdev server,在visual studio 6.0的第二张盘上


HOWTO: Configure Your Web Server for Visual InterDev 6.0 ASP Debugging

--------------------------------------------------------------------------------
The information in this article applies to:

Microsoft Visual InterDev, version 6.0
Microsoft Windows NT Server version 4.0
Microsoft Windows NT Workstation version 4.0
Microsoft Windows 2000

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


SUMMARY
This article describes the recommended steps to configure your Web server for remote and local Active Server Pages (ASP) script debugging for use with Visual InterDev 6.0. There are four basic things that you must do:

Install debugging components on the Web server.


Add the necessary users to the Administrators group of the Web server.


Configure DCOM permissions on the Web server.


Set up a Visual InterDev 6.0 project for debugging.





MORE INFORMATION

Install/Confirm Debugging Components on the Web Server
Install or ensure that you are running the following components:
Microsoft Personal Web Server 4.0 or Internet Information Server 4.0 or later.


Asp.dll version 4.02.0662 or later. If you have version 4.02.0662, the file size must be 330,448 bytes. You can install an updated version of Asp.dll by applying Windows NT Service Pack 4 or later.

You may have to stop Web services before applying a service pack in order for Asp.dll to get updated. From a command prompt, you can type the following to stop the Web services:


net stop iisadmin /y
Microsoft FrontPage Server Extensions version 3.0.2.1706 or later.


The Microsoft Visual InterDev Server components. If you do not see this listed in the Add/Remove Programs utility in Control Panel, you can install it by running Setup.exe from the VID_SS directory on Visual Studio CD-ROM 2 or on CD-ROM 1 of the Visual InterDev standalone version.


Remote Machine Debugger components (recommended).

If you do not see this listed in Add/Remove Programs, you can install it by running Setup.exe from the SCRPT_SS directory on Visual Studio disc 2 or on disc 1 of the Visual InterDev standalone version.


Visual Studio Service Pack 3 or later, if you are running Windows 2000.

You can download Visual Studio Service Pack 3 from the following location:


http://msdn.microsoft.com/vstudio/sp/vs6sp3/default.asp
NOTE: The Web server must be a Windows NT 4.0 Workstation/Server or a Windows 2000 Professional/Server/Advanced Server computer.



Add the Necessary Users to the Local Administrators Group of the Web Server
In order to correctly use debugging, you must be part of the local Administrators group on the Web server you will be debugging against.

Steps to add users to the Administrators group in Windows NT 4.0:
From the Start menu, select Run.


Type: usrmgr computer name and click ok.


Double-click the Administrators group in the bottom pane.


Add the users you want to allow to debug.


Steps to add users to the Administrators group in Windows 2000:
From the Start menu, select Programs, and then select Administrative Tools.


From the Administrative Tools menu, select Computer Management.


Expand Local Users and Groups under System Tools.


Select the Groups folder.


Double-click the Administrators group in the right pane.


Add the users you want to allow to debug.




Configure DCOM Permissions on the Web Server
From the Start menu, select Run.


Type dcomcnfg.exe and click ok.


On the Applications