saucer(思归, MS .NET MVP) ,经常会遇见这样的事情,就是有的项目你身在项目属性中已经把调试设置为true了就可以调试,有的你就是设置了,每次运行会跳一个对话框出来,大概意思是说不能调试,选yes和no,就是调试不了.我都快被微软弄死了,老是一些这样的小问题折腾人,你说就是调试有问题,其它怎么可以?????这个项目就打死不能调试???搞不懂啊..命苦.
1. do you have urlscan.exe running? if yes, find the file named "urlscan.ini", and add "DEBUG" into "[allowverbs]" section in the file. Kill "urlscan.exe" in the task manager and reboot your IIS2. did you change the IP for your default web site? open Internet Services Manager, right click on your default web site, select Properties. On the Web Site tab, make sure (All Unassigned) is selcted in IP adress dropdownlist. If not, change to this value and reboot IIS
下的machine.config文件中的ProcessModel键中的username改为System
应该可以.
<section name="processModel" type="System.Web.Configuration.ProcessModelConfigurationHandler, System.Web, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" allowDefinition="MachineOnly"/>
<!-- security -->
这个名称是进程模式的,是说是否要把调试放到进程中吧!
<processModel
enable="true"
timeout="Infinite"
idleTimeout="Infinite"
shutdownTimeout="0:00:05"
requestLimit="Infinite"
requestQueueLimit="5000"
restartQueueLimit="10"
memoryLimit="60"
webGarden="false"
cpuMask="0xffffffff"
userName="system"
password="AutoGenerate"
logLevel="Errors"
clientConnectedCheck="0:00:05"
comAuthenticationLevel="Connect"
comImpersonationLevel="Impersonate"
responseRestartDeadlockInterval="00:09:00"
responseDeadlockInterval="00:03:00"
maxWorkerThreads="25"
maxIoThreads="25"
/>
段中,在试一试
你能说明白点吗?
我是脚本调试了.
我是.cs文件的断点调试了.
\WINNT\Microsoft.NET\Framework\v1.0.3705\aspnet_regiis -i
http://61.153.235.86/sf/screen.jpg,我该怎么解决,上面的办法我都试过了呀!
设定ie中的"工具"-->"internet选项'->"安全'_>"自定义'_>"用户验证"-->"自动使用当前用户名"
D:\Program Files\Microsoft.NET\FrameworkSDK\GuiDebug
http://chs.gotdotnet.com/QuickStart/aspplus/default.aspx?url=/quickstart/aspplus/doc/debugcomsdk.aspx
错误:
http://61.153.235.86/sf/screen.jpg
各位大俠,能否把調試的步驟寫詳細一點啊﹐小弟也想學習學習