如何解决visual interdev的调试问题

原创 2000年08月21日 15:08:00
微软的这篇文章能彻底解决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 tab, scroll down to the Catalog Class and double-click it to view Properties.


Select the Security tab.


Click Use custom access permissions and then click Edit.


Add the users that you will allow to debug to this list, granting them Allow Access rights, or simply add the Administrators group to this list.


Select the Use custom launch permissions option and click Edit.


Add the users that you will allow to debug to this list, granting them Allow Launch rights, or simply add the Administrators group to this list.


Select the Identity tab.


Select the interactive user option.


Click Apply and then click ok.


Display the Properties for the Machine Debug Manager, and repeat steps 4-11 for the Machine Debug Manager.


Close the DCOM permissions dialog box and reboot your computer.


NOTE: The following are the minimum recommended accounts that should be in your DCOM permissions for both the Catalog Class and the Machine Debug Manager: Administrators, System, and Interactive.



Set Up a Visual InterDev 6.0 Project for Debugging
Create a new Web project in Visual InterDev 6.0.


Add an ASP page to the project.


Add the following lines of code to the new ASP page within the HTML body:


<%
Response.Write "hello world"
%>
Right-click on the Response.Write line and select Insert Breakpoint. This will set a breakpoint for that line, and a large red dot will appear to the left of the line in the border.


Right-click on the file in the Project Explorer and select Set as Start Page.


From the Debug menu, select Start.


A dialog box should appear asking if you would like to enable ASP debugging on this project. Select yes.


You will then be prompted for debugging credentials. Use one of the accounts that you added to the Administrators group.


The debugger should break on your breakpoint, and the line should be highlighted. Press F5 to continue.

NOTE: If remote debugging, the client is required to have Personal Web Server 4.0 or Internet Information Server 4.0 or later installed. ASP debugging is not supported on a Windows 95 or Windows 98 client.



REFERENCES
Please see the following Microsoft Knowledge Base article for a list of related debugging articles:

Q244272 Visual InterDev 6.0 Debugging Resources

Additional query words:

Keywords : kbDebug kbide kbNTOS kbWinOS2000 kbVisID600 kbGrpASP
Version : WINDOWS:6.0; winnt:4.0
Platform : WINDOWS winnt
Issue type : kbhowto
Technology : kbvcSearch

如何解决visual interdev的调试问题

2000年08月21日 15:08:00 微软的这篇文章能彻底解决visual interdev的调试问题需要安装visual interdev server,在visual studio 6...
  • softart
  • softart
  • 2007年10月27日 06:54
  • 153

Visual InterDev v6.0 中文版

Visual InterDev 6.0是由微软官方推出的一款免费的可视化站点开发工具,具有强大的开发工具和数据库工具,可以帮助开发人员快速的建立全交互、全动态的站点,采用可视化编辑页面,所见即所得,无...
  • u013066323
  • u013066323
  • 2017年07月24日 08:06
  • 154

mono调试篇

Mono Debugger support for MonoDevelop. The Mono Soft Debugger is a new debugging framework for Mono...
  • linuxheik
  • linuxheik
  • 2018年01月25日 20:32
  • 34

Visual Studio 20周年,我和VS不得不说的故事(内含福利)

Visual Studio 2017版本正式发布,让我们一起分享对Visual Studio的独特感受。
  • powertoolsteam
  • powertoolsteam
  • 2017年03月09日 15:18
  • 1205

创建 Visual InterDev 工程步骤

安装完 Visual InterDev 和带有 FrontPage 服务器扩展的 Internet Information Server 后,就可以开始新建 Visual InterDev Web 工...
  • writeronline
  • writeronline
  • 2011年04月11日 00:57
  • 444

程序调试错误记录

程序调试记录: (1)错误:extracSIFT.obj : error LNK2019: 无法解析的外部符号 "class boost::system::error_category co...
  • chenkent888
  • chenkent888
  • 2013年12月07日 11:42
  • 1055

Visual studio 2005 调试问题

    因为公司网络封锁的原因,有时候需要访问一些被封锁的网站,就得用VPN连接的方式。但是在连接vpn的情况下,在Visual c++中按下F5进行代码调试,发现load symbol特别的慢,一直...
  • seawt
  • seawt
  • 2009年12月22日 15:46
  • 746

请问如何在Microsoft Visual InterDev 6.0 中建立工程!!!急!!急!!

本人想使用Microsoft Visual InterDev 6.0来编辑网页,但不知道怎么建立新的工程!!请各位高手指点一下,谢谢了*****************我自己在建立的时候提示输入服务器...
  • xixigu
  • xixigu
  • 2005年12月25日 02:14
  • 592

成功解决interdev创建新工程的时候出现无法连接web服务器的错误

转载注明来源地址:http://blog.csdn.net/caoshangfeihttp://www.newbooks.com.cn用interdev创建项目做web开发的经验已经有好几年了,以前也...
  • caoshangfei
  • caoshangfei
  • 2006年10月22日 13:24
  • 1740

AppCan+滴滴:为APP一键接入O2O出行服务

近日,国内领先的Hybrid混合开发平台AppCan与滴滴深度合作,全面接入滴滴开放平台,让开发者为APP一键接入滴滴出行服务。具体说来,AppCan开发者不需要使用复杂的原生(Android\iOS...
  • xiaoguanmeizi
  • xiaoguanmeizi
  • 2016年05月13日 11:10
  • 766
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:如何解决visual interdev的调试问题
举报原因:
原因补充:

(最多只允许输入30个字)