Author |
Topic |
|
bax
Junior Member
141 Posts |
Posted - 18 August 2002 : 20:49:43
|
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
|
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. |
|
|
bax
Junior Member
141 Posts |
Posted - 18 August 2002 : 21:25:33
|
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)? |
|
|
Aaron S.
Average Member
USA
985 Posts |
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
Posted - 19 August 2002 : 10:48:32
|
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 |
|
|
Aaron S.
Average Member
USA
985 Posts |
|
Aaron S.
Average Member
USA
985 Posts |
Posted - 20 August 2002 : 09:11:46
|
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 |
|
|
|
Topic |
|