Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_components thread: Re: AW: debuging ASP and COM application


Message #1 by Christian Cruz <chris_cruz1@y...> on Fri, 10 Aug 2001 09:39:16 -0700 (PDT)
Hello All





I had NT4.o on my machine and used to be able to put

break points on my vb application that was being

called from an asp page.  Now I installed Windows 2000

and I cannot do that anymore.

Anyone know what changed, I bet this is still possible

to do, but anyone know how to do it?



thanks

chris





--- Michael Liebe <liebe@o...> wrote:

> In order to debug your ASP component you have to

> attach to the running IIS

> process. This is done by performing the following

> steps:

> 

> 1) Configuration

> * start IIS (inetinfo.exe)

> * Make sure that yout web application is not running

> in a seperate process

> but in in the IIS process. (Otherwise you need to

> attach to one of the

> mtx.exe processes, but you won't know which instance

> to select)

> * In the IDE select Build -> Start Debug -> Attach

> to running process and

> activate the "Show system processes"- check box.

> Select 'inetinfo.exe'

> 

> A new workspace for inetinfo.exe gets opened. You

> need to add your dlls in

> the Project->Settings->Debug tab.

> Stop the Debugger, save the inetinfo-workspace and

> reopen your workspace. 

> 

> 2) Now you can start debugging:

> 

> * start iis ( 'net start iisadmin' and 'net start

> w3svc' for Winnt4.0 or

> 'iisreset /start' for Windows2000)

> * Attach to the inetinfo.exe process

> * open your source file(s) and set breakpoints

> * invoke your code (using your browser)

> 

> 

> Michael

>  

> 

> 

> 

> -----Ursprüngliche Nachricht-----

> Von: yaron [mailto:YaronA@w...]

> Gesendet: Mittwoch, 27. September 2000 21:28

> An: ASP components

> Betreff: [asp_components] debuging ASP and COM

> application

> 

> 

> Hi,

> 

> how can i debug(put some breakpoints) my COM app

> which is call via ASP

> app?

> in case the COM is dll , what exe i declare for

> debug it ?

> in case the COM is exe , how can i debug it ?

> 

> thanks.

> 

Message #2 by "Gerhard Wentink" <data@w...> on Sat, 11 Aug 2001 07:52:42 +0200
There was a discussion on this issue in this list in july. The subject was

'Debugging VB components from ASP'



Regards,



Gerhard Wentink



Message #3 by "Daniel Kohler \(ABC-Soft\)" <kohler@a...> on Sat, 11 Aug 2001 09:34:18 +0200
Did you a clean installation of windows 2000 ?

If not do it. To much trouble shooting if you

just overwrite the existing NT 4 installationl



Dany





Message #4 by Christian Cruz <chris_cruz1@y...> on Sat, 11 Aug 2001 16:08:05 -0700 (PDT)
yeah, I did a clean installation of windows 2000

profesional, you think it should have worked just like

nt?



thanks



Chris

--- "Daniel Kohler (ABC-Soft)" <kohler@a...>

wrote:

> Did you a clean installation of windows 2000 ?

> If not do it. To much trouble shooting if you

> just overwrite the existing NT 4 installationl

> 

> Dany

> 

> 

Message #5 by Christian Cruz <chris_cruz1@y...> on Sat, 11 Aug 2001 16:18:13 -0700 (PDT)
The code runs fine.  I ran it all the time on NT and

there hasn't been a change for a couple of weeks. 

Then I decided to install win2000 profesional and I

thought it should just work.

The code runs in 2000 also but it just wont stop on

the breakpoints when I get it to run with the

component running.  Other times I run the componenet

and it wont run because it cannot find it.  I've done

so many things that I lost track of when thigns

happen.



After I installed 2000, I recompiled the components to

use the new mts library, which came up showing ok on

the refences section.



Thanks a lot for the help, I spent a lot of time

friday trying to decifer what was going on and I

couldn't figure it out.



thanks again.



Chris



--- "Daniel Kohler (ABC-Soft)" <kohler@a...>

wrote:

> Did you a clean installation of windows 2000 ?

> If not do it. To much trouble shooting if you

> just overwrite the existing NT 4 installationl

> 

> Dany

> 

> 

Message #6 by Christian Cruz <chris_cruz1@y...> on Sat, 11 Aug 2001 16:18:34 -0700 (PDT)
How do I read previous discussions from the list.



thanks for the help.



Chris



(See recent threads at 

http://p2p.wrox.com/list.asp?list=asp_components, 

click the archive link to see the archive at 

http://p2p.wrox.com/archive/asp_components/ , 

or use the search box at the top of each page.

To limit the search to one list add the list name as a search term.  

Avoid using common words such as 'to, and'. - moderator)



--- Gerhard Wentink <data@w...> wrote:

> There was a discussion on this issue in this list in

> july. The subject was

> 'Debugging VB components from ASP'

> 

> Regards,

> 

> Gerhard Wentink

> 

> 


  Return to Index