Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IIS and Object Loading 1

Status
Not open for further replies.

oisin

Programmer
Jun 18, 2001
2
IE
Hi,

I am using an ActiveX DLL in my ASP script (a wrapper over another ActiveX DLL whcih uses Winsock to talk to a database on a remote port). I instantiate it, use it and then destroy using the 'set obj = nothing' command. The problem I have is that after an uncertain amount of hits (usually around 140), it refuses to connect to the database (or rather the parent ActiveX DLL refuses.) I wrote a test program in VB to use the wrapper DLL and it will keep on connecting until the cows come home. This leads me to believe it has something to do with the way IIS handles objects. My head is wrecked with this one so if anybody has any suggestions, no matter how wild or madcap, I would appreciate them a lot,

Thanks

Oisín
 
Cheers DomPedro, I am using it now, hopefully it will help me solve the problem
 
Try to make sure that you are using debug versions of any of the problem DLLs and there's an option somewhere to download the symbols files for IIS, which makes reading the logs it producing much easier.
Good luck.
 
Exception Monitor should give you the option to download the symbols (one 61Mb file), but I'm not sure where it gets it from.
 
Version 7.1 doesn't appear to give you the option anymore, whereas version 6 did. Typical.
 
One last update on this (i've got work to do), MSDN's Using Microsoft debuggers provides this info :

To install symbol files for Windows 2000

Make sure you have at least 500 MB of available space on the disk drive of the host machine.
Insert the Customer Support Diagnostics CD.
Click on Install Symbols.
Select either Install Retail Symbols (free build) or Install Debug Symbols (checked build). The symbols must match the version of the operating system being debugged.
Enter the path where the symbols are to be stored, or accept the default path. The default path is %windir%\symbols.

To install symbol files for Windows NT 4.0

Make sure you have at least 450 MB of available space on the disk drive of the host machine.
From the command prompt, go to the \support\debug folder on the Windows NT 4.0 product CD-ROM.
Run the ExpndSym command. ExpndSym requires two command line parameters, Source_drive and Target_folder. Source_drive is the CD-ROM drive. Target_folder is where you want the symbol files installed.
A typical example of the use of the tool might look like the following:

expandsym d: c:\winnt
In this example, the symbols will be placed in c:\winnt\symbols (not in c:\winnt itself).

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top