或者是將BASP21的六個主要檔(從BASP21-2003-0211版取出)
BASP21.DLL Main COM Component
BSMTP.DLL for SMTP/POP3 Engine
BREGEXP.DLL for Regular Expression Engine
BCOUNT.DLL for Counter Engine
BSENDM.EXE Command Line SendMail Engine
BINETX.DLL HTTP/FTP Engine
COPY到windows\system32\下
執行regsvr32 %systemroot%\system32\Basp21.dll
使用BASP21元件的ASP程式即可正常運作!
BASP21元件根據我自己在WIN2003上實測並無發生上述ERROR,安裝BASP21-2003-0211版,即可正常運作
二、IIS6 上傳下載檔案大小限制設定:
2003 Server IIS 6用BASP21元件上傳檔案時,只要檔案超過 200K 就會發生 ASP 0104 '80004005' 的錯誤,
要求物件 錯誤 'ASP 0104 : 80004005'
不允許的操作
,原來是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 6.0: upload and download issues
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).