- in iis, create an independent application pool for the web site.
- enable asp server-side and client-side script debugging (properties - home directory - configuration - debugging).
- unenable anonymous access (properties - directory security - authentication and access control).
- set breakpoint in the code of the dll module and run it in visual basic ide.
- run asp code (web site).
do not compile the code and register the dll before debugging. or restart iis and delete the dll file.