一个好老好老的老程序员了。
全部博文(915)
分类: 系统运维
2011-06-18 22:40:41
轉載自台北市網
1Fn7GwG6FY0一、安裝方式:
)IgM;F hn7@o U:Y U%O.R0使用BASP21元件的ASP程式需安裝BASP21-2003-0211版,才能正常運作, 多加協會Blog"_ S g8xh;IuJQM
下載點如下:
1vss D#{0uq |#j0
6j N`&Gm{X:G$n-M)j0下載BASP21-2003-0211.exe (1.44MB) 2003/02/11 Update! 多加協會Blog Q%}b*d(N [6}-? P0C u
或者是將BASP21的六個主要檔(從BASP21-2003-0211版取出)
^bNA#LW-h,O0BASP21.DLL Main COM Component
"o#I0UI"|%_^e0BSMTP.DLL for SMTP/POP3 Engine 多加協會Blog'pdWX#|%x
BREGEXP.DLL for Regular Expression Engine 多加協會Blog)_[`#zt'M T&aCm
BCOUNT.DLL for Counter Engine
QB9j2[^BO{0BSENDM.EXE Command Line SendMail Engine
0\_1H*~zw-kx0BINETX.DLL HTTP/FTP Engine
k-I B,u_)|bG!G+n2N0COPY到windows\system32\下
KO#e|~d0執行regsvr32 %systemroot%\system32\Basp21.dll 多加協會Blog(x(^)Fa%oXO~|6J
使用BASP21元件的ASP程式即可正常運作! 多加協會BlognF-Bm&P8L
BASP21元件根據我自己在WIN2003上實測並無發生上述ERROR,安裝BASP21-2003-0211版,即可正常運作
二、IIS6 上傳下載檔案大小限制設定:
2003 Server IIS 6用BASP21元件上傳檔案時,只要檔案超過 200K 就會發生 ASP 0104 '80004005' 的錯誤,
Z(x tc;b0要求物件 錯誤 'ASP 0104 : 80004005' 多加協會Blogx l"y yF[3d B
不允許的操作 多加協會Blogp2JV7M7XkdI:\q
,原來是web server的內定值被限制,只要依下列步驟修改,即可!
A NOTE: Before making changes to this file. You must first go to IIS and right click the server and select properties. Check the box that says allow changes to MetaBase configuration while IIS is running. If you don't you will find that the metabase.xml file is locked. For good house cleaning you should go back and uncheck this after making your changes.
該檔案由於被 IIS 系統使用中 多加協會BlogH gkl4C!d/U%Z^
請於 IIS 管理員中,於[本機電腦]上點右鍵 多加協會BlogS7H vj MZG
選擇[內容]進入後,將[啟用直接編輯 metabase 檔案] 勾選
{;f ]e t0即可變更metabase.xml檔案內容。
0P7D0bSH-xL0rF0IIS 6.0: upload and download issues 多加協會BlogH&x.m@"n
If any of you are having issues with uploads and downloads with file sizes greater than 200K and are running IIS 6.0, try these solutions first: open up the file "metabase.xml" with notepad...should be located in C:\windows\sytem32\inetserv. Find the variable named "AspMaxRequestEntityAllowed", it's set at 204800 (200K) and change it to the desired size. And there you have it. For downloading Find the variable named "AspBufferingLimit" and change it to something greater than what is there. By default this is set to around 4 megs. By changing this variable you are increasing the max size of ASP response buffer, thus letting you download files greater than 4 megs. By increasing the number of these variables, you can controll the size of uploads and downloads (respectively).
以記事本開啟 C:\windows\sytem32\inetserv\metabase.xml上傳限制:
E7]*b_/]6_0找尋 AspMaxRequestEntityAllowed 字串
{]1a%? V xx WRG0將 204800 (200K) 修改成你要的數字
%dR B \Un ^3\-n&z0下載限制:
[@cE.U`:VYl5A0找尋 AspBufferingLimit 字串 多加協會BlogDe*uO$e U+b
預設 4MB ,將它修改成你要的數字
多加協會Blog4^? By:NF
修改自 多加協會BlogK HWS3C4O4S
作者 jasoncash 多加協會Blog:B9UMPe6H/?o
原文參考
z ~ b`_nmJ#OP:a0作者 ib1boss
三、IIS6 無法使用 CDONTS元件 多加協會Blog P |v6c7B(e
萬芳與石牌的程式很多都用到CDONTS元件來寄發電子郵件,但是在IIS6會出現
+L9hl_k)|T,z0錯誤 'ASP 0115'意外的錯誤
7nV|B b.J0伺服器物件錯誤 'ASP 0115:8000ffff' 多加協會BlogY!Z)t8i9_%JY:{]
這是因為2003 Server IIS 6安裝完後,並沒有附上cdonts.dll元件,
uq*H3C]y8g0我自己的解決方式:
G}J-b%S1L,[0在win2000 server winnt\system 下可以找到cdonts.dll, 多加協會Blogr{E$K&n$e N+z w
將它copy到2003 server 的windows\system32下, 多加協會Blogc0`6q/@5~%nkYD
再執行regsvr32 c:\winnt\system32\cdonts.dll 多加協會Blogo8v&eo k
可正常運作!