PDA

Click to See Complete Forum and Search --> : debug dll


bezaman
Nov 20th, 2002, 02:13 PM
Is there a way to debug my dll on a web server running IIS? I'm having problems, my dll works fine when I run it in a VB program on the web server, but when I run it from a web page in ASP it doesn't work. I need to debug, please help.

alex_read
Nov 20th, 2002, 02:41 PM
Not really bit I can guide you as to how we cope with this at work...

If you're using NT, create a common modula procedure which writes out a string to the NT Event Log, if you're on a win9x platform I think you can use the DrWatson log.

In every procedure, you then setup your error handling to create a string of the error - something like "something went wrong in sub form_load with the error number 5 and description of xxx". This string is then passed to the logging procedure & this'll let you view a meaningful message when you're program is live & gets problems! :)

deja
Nov 21st, 2002, 12:06 AM
u can debug VB DLL, even on a web server, but must have VB IDE on that machine
read the following KB:
http://support.microsoft.com/default.aspx?scid=kb;en-us;200998