KB-SPS 2007- Unable to connect publishing custom string handler for output caching
4/17/2007 5:19:58 PM

[技術]Sharepoint | [技術]KB

Event Type: Error
Event Source: Office SharePoint Server
Event Category: 發佈快取
Event ID: 5785
Date: 4/17/2007
Time: 3:33:33 PM
User: N/A
Computer: WEB02
Description:
無法連線輸出快取的發佈自訂字串處理常式。IIS 執行個體識別碼為 '944661008',URL 為 'http://WEB02/Notice/CheckNotice.asp'。

 -or-

Event Type: Error
Event Source: Office SharePoint Server
Event Category: Publishing Cache
Event ID: 5785
Date: 08.01.2007
Time: 12:34:16
User: N/A
Computer: moss-dev
Description:

Unable to connect publishing custom string handler for output caching.  IIS Instance Id is '944661008', Url is 'http://WEB02/Notice/CheckNotice.asp'.

 

由於我們自行開發的 AP 會掛在 Sharepoint 底下,如果在 Sharepoint 開啟網頁輸出快取 Output Caching 時,如果有點閱的話,就會出現如上的問題。

追查的結果在 Steven Van de Craen's Blog 的這篇文章中提及,網頁輸出快取 Output Cacing 是透由實作 IHttpModule 的 PublishingHttpModule 來控制,我們可以用 web.config 停止網頁輸出快取 Output Cacing 這個功能。

web.config
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
 
    <system.web>
        <httpModules>
               <remove name="PublishingHttpModule"/>
         </httpModules>
    </system.web>
</configuration>

 

我原本很懷疑… asp 跟 web.config 有啥米關係,但是我還查不出來,有空再來追查一下。


[技術]Sharepoint | [技術]KB

永久網址 | Comments (1) | 閱讀(4806) |

Comments (1) -

4/17/2007 11:14:03 PM #

搞半天你今天講的是這個啊... 哈哈

關鍵在於 2003 的 IIS6 允許你做一件事, 除了指定的副檔名能夠指定對應的 ISAPI FILTER 之外, 也可以讓你指定 ISAPI filter 給所有檔案...

之前用過另一個作法, 就是讓你用 ASP 寫 PAGE, 同時還可以在 web.config 裡用 FORM auth 控制每個目錄的權限... (Y)(Y)(Y), 你碰到的情況跟這種一樣吧, 就是拿 asp.net http module 來當作 isapi filter 用...

chicken | Reply

Add comment


(不會對外公開)

biuquote
Loading