分享
 
 
 

如何解决visual interdev的调试问题

王朝asp·作者佚名  2006-01-08
窄屏简体版  字體: |||超大  

微软的这篇文章能彻底解决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

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
2023年上半年GDP全球前十五强
 百态   2023-10-24
美众议院议长启动对拜登的弹劾调查
 百态   2023-09-13
上海、济南、武汉等多地出现不明坠落物
 探索   2023-09-06
印度或要将国名改为“巴拉特”
 百态   2023-09-06
男子为女友送行,买票不登机被捕
 百态   2023-08-20
手机地震预警功能怎么开?
 干货   2023-08-06
女子4年卖2套房花700多万做美容:不但没变美脸,面部还出现变形
 百态   2023-08-04
住户一楼被水淹 还冲来8头猪
 百态   2023-07-31
女子体内爬出大量瓜子状活虫
 百态   2023-07-25
地球连续35年收到神秘规律性信号,网友:不要回答!
 探索   2023-07-21
全球镓价格本周大涨27%
 探索   2023-07-09
钱都流向了那些不缺钱的人,苦都留给了能吃苦的人
 探索   2023-07-02
倩女手游刀客魅者强控制(强混乱强眩晕强睡眠)和对应控制抗性的关系
 百态   2020-08-20
美国5月9日最新疫情:美国确诊人数突破131万
 百态   2020-05-09
荷兰政府宣布将集体辞职
 干货   2020-04-30
倩女幽魂手游师徒任务情义春秋猜成语答案逍遥观:鹏程万里
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案神机营:射石饮羽
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案昆仑山:拔刀相助
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案天工阁:鬼斧神工
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案丝路古道:单枪匹马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:与虎谋皮
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:李代桃僵
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:指鹿为马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:小鸟依人
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:千金买邻
 干货   2019-11-12
 
推荐阅读
 
 
 
>>返回首頁<<
 
靜靜地坐在廢墟上,四周的荒凉一望無際,忽然覺得,淒涼也很美
© 2005- 王朝網路 版權所有