Invalid "Cannot start debugging ... Cannot connect to ASP.NET workflow" message in Delphi 2007 for .NET

I have seen this for a long time and finally decided to pose the question here. I have some applications that I need to support that were written in Delphi 2007 for .NET (ASP.NET 2.0). Usually, when I launch the application (using IIS), I get the classic "Unable to start debugging on the web server. Cannot connect to the ASP.NET workflow." I just press F9 (run) again and it starts. Sometimes I have to try to run several times before it really starts.

I am running a 64-bit version of Windows 7 (and saw the same effect on 64-bit Vista). I have IIS configured for ASP.NET and I have the following code in my Web.config file.

  <system.webServer>
      <modules>
         <add name="DbgConnect" type="Borland.DbkAsp.DbkConnModule,Borland.dbkasp,Version=10.5.0.0,
           Culture=neutral, PublicKeyToken=b0524c541232aae7" preCondition="managedHandler" />
      </modules>
      <validation validateIntegratedModeConfiguration="false" />
  </system.webServer>

The fact is that I can eventually run the application in the debugger, sometimes even on the first try. Many times when I get a failure, this happens approximately 15 seconds after I click Run, sometimes even after I hit a page or two (or three) web applications. And, yes, when Delphi gets into this mode, I can just start without debugging, and everything is fine (if I really do not want to debug). And I can just continue to work in the debugger, and in the end it will work.

, Delphi.NET - , , (, , ).

, . : - , ?

+5
2

, . .

, . "" | Ctrl-Shift-F9.

, , , "" | . " " "" " " CodeGear. IIS Running Processes. w3wp.exe. " " "". ( Attach to Process .NET Pause , .)

. "" | , . , , "" | .

-, , , , .

Delphi .NET. , , , , . , , . IIS.

, , , IIS, . , IIS. , , , , , , ... .

0

, , - . , , , "" .NET 2.0 ( → ). , , ...

0

All Articles