Incorrect "Unable to start debugging...Unable to attach to ASP.NET worker process" message in Delphi 2007 for .NET -
I have seen this for a long time, and finally decided to put the question here. I have some applications that I need to maintain that were written for Delphi 2007 for .NET (ASP.NET 2.0). Usually, for the first time I run the application (using IIS) I'm unable to start debugging on the classic "Web server. Unable to attach ASP.NET worker process" message. I just press F9 (run) again, and it moves. Sometimes I have to run several times before it will actually run, to try.
I'm running Windows 7 64-bit (and have seen the same effect on Vista 64-bit). What do I need to configure IIS for ASP.NET, and I need to do the following code in my Web.config file
. & Lt; System.webServer & gt; & Lt; Module & gt; & Lt; Name = "DbgConnect" type = "Borland.DbkAsp.DbkConnModule, Borland.dbkasp, version = 10.5.0.0, culture = neutral, publicKeyToken = b0524c541232aae7" pre-condition = "managedHandler" /> & Lt; / Module & gt; & Lt; Validation valid integrated integrated configuration = "false" /> & Lt; /system.webServer>
The issue is that I can finally run an application in the debugger, sometimes even on the first attempt. Many times when I get the failure it is about 15 seconds or so after I press the run, sometimes even after I get a page or two (or three) of the web app. And, yes, when Delphi goes into this mode, I can run without debugging, and all are ok (unless I really want to debug). And, I'm just trying to walk in the debugger and in the end it just works.
It seems that Delphi's The NET debugger is in some way getting the idea that the app can not run, and then arises and stops the process (which I have mentioned, sometimes it is clearly going on).
I know that other developers have also seen this behavior. My question is, does anyone know how to stop this troubled behavior?
I do not remember the exact error message, but I believe I have at least in the past Have seen something like this. I did it to fix this, this "control" was run on the .NET 2.0 Framework (Control Panel -> Add / Remove Programs). Then restart your computer after ...
Comments
Post a Comment