Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Classic ASP versions(v3.4.XX)
 version of ADO type library?
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

bax
Junior Member

141 Posts

Posted - 18 August 2002 :  20:49:43  Show Profile
I see in the config.asp file, the first line is:

<!--METADATA TYPE="typelib" UUID="00000205-0000-0010-8000-00AA006D2EA4" NAME="ADODB Type Library" -->

Now, I use the following in a global.asa file, because I want that library included everywhere on my site, rather than having to include it on every page.

<!--METADATA TYPE="TypeLib" NAME="Microsoft ActiveX Data Objects 2.5 Library" UUID="{00000205-0000-0010-8000-00AA006D2EA4}" VERSION="2.5"-->

I assume these are the same, since the UUID are the same. I also assume that it takes less overall memory to include these one time in the memory space for the entire application, rather than including it individually for all users with each config.asp request. Anyone?

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 18 August 2002 :  20:54:51  Show Profile
If you've already got it included, you can remove the one in config.asp. I'm not sure if it's loaded twice if included twice or not.
Go to Top of Page

bax
Junior Member

141 Posts

Posted - 18 August 2002 :  21:25:33  Show Profile
Thanks, Richard. Has anyone done any testing under load to see if this saves a lot of memory overhead (including in global.asa instead of with each page request)?
Go to Top of Page

Aaron S.
Average Member

USA
985 Posts

Posted - 19 August 2002 :  10:24:06  Show Profile  Visit Aaron S.'s Homepage
That line errors out using PWS.

Will Snitz no longer work with PWS?

--Aaron


DOWNLOAD GREAT NEW MODS HERE
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 19 August 2002 :  10:48:32  Show Profile  Send ruirib a Yahoo! Message
Aaron,

You should have a adovbs.inc somewhere in your computer. Replace that line with the include of adovbs.inc and Snitz will work on PWS.

I offering this is a quick fix. Don't know if there are other ways around it, but I suspect that line is meant for IIS only.

If you need the file I can provide a link to it.


Snitz 3.4 Readme | Like the support? Support Snitz too

Edited by - ruirib on 19 August 2002 10:53:42
Go to Top of Page

Aaron S.
Average Member

USA
985 Posts

Posted - 19 August 2002 :  11:03:17  Show Profile  Visit Aaron S.'s Homepage
Thanks, Rui... I have the file.

--Aaron


DOWNLOAD GREAT NEW MODS HERE
Go to Top of Page

Aaron S.
Average Member

USA
985 Posts

Posted - 20 August 2002 :  09:11:46  Show Profile  Visit Aaron S.'s Homepage
For those that need to add the include... it needs to go after line 41 in config.asp (otherwise you get a header error).

Delete the metadata line then go to line 41:

Change this:

Response.Buffer = true

To this:

Response.Buffer = true
%>
<!--#include virtual="/adovbs.inc"-->
<%

Your include path may be different.

--Aaron

DOWNLOAD GREAT NEW MODS HERE

Edited by - Aaron S. on 20 August 2002 09:12:34
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.41 seconds. Powered By: Snitz Forums 2000 Version 3.4.07