9.25.2008

ManagedProperty, CrawledProperty and Fields

Couple days ago,  one friend asked about the MOSS search, he want to have a search interface which can bring the exists value from the column definition. This function wasn't supported by the default advanced search web part. In the beginning, I couldn't found anything talking about it, because there are rear people working on change (inherit) current default advanced search web part. Here is the best post I ever saw. we can create a customized search web part and utilized the default search result page base on the post.

Later, there has some gate still after we built the web part. How we can mapping the search schema into the content type/columns. Actually I don't found one artical which described on this topic. The relative objects are ManagedProperty, CrawledProperty, and they are not one on one relationship, what a superise! After dive into the structure, the CrawledProperty.Name is the only thing we can mapping into the exist content type, with translate. The naming conveision is the field name with the ows_ prefix and convert the space, dash... to be the unicode mode, like _x0020 or _x002d.

If anyone have any idea, please let me know, the hint is very import for me.

9.24.2008

Windows Live Messenger 2009 (14.0.5027.908)

You can try the beta from here.

You also can install in the windows server 2008, – copy from the path : C:\Program Files\Common Files\Windows Live\.cache from another machine(vista or xp 32bits)

And you also can uninstall it by Run msiexec /x {B1403D7D-C725-4858-AACC-7E5FA2D72859} in command prompt.

I don’t know why my messenger 2009 beta in windows server 2008 always return “the service is unavailable” …

9.03.2008

Message: The request failed with HTTP status 401: Unauthorized. (Community Server, Mail Gateway)

This is a error message in mailgateway.log and the CS site's log, and repeat every 5 or 15 mins, depend on how long you MG(mail gateway) service run. The result was no mail could post into forum or blog, because the mail receiver can't pass the authorization.

The official forum had one thread with this problem. But here provider another way to do a work around. Open the IIS manager and find maildrop.asmx under utility folder, change the file security of the page to be able anonymous access. This message encountered when the MG service tried to access maildrop web service, and cant pass the authorization.

8.13.2008

衝動的瞬間

很多時候, 只是因為感動, 所以就行動了.

雖然我沒有寫卡片, 但是我關心, 我是這樣安慰自己的. 畢竟搞出那些字, 對我來說, 可能比生個幾千行程式碼還硬.

下面是朱豪宅的相關連結, 有連續性:

大縣長與小警員

你跟我講有個屁用!之父親節快樂篇!

給吳道源警員的一封信

給吳道源警員的55封信

給吳道源警員的99封信

8.05.2008

IIS 7 & Community Server, Tag problem

The day, I upgraded the Community Server 2007 to 2008 in IIS7 (Windows Server 2008), and encountered one problem. The tag cloud links became ooo+xxx when the tag include space character. Of course, the link was broken.

The message from IIS as below

Untitled

Most likely causes: The request contained a double escape sequence and request filtering is configured on the Web server to deny double escape sequences.

Things you can try:Verify the configuration/system.webServer/security/requestFiltering@allowDoubleEscaping setting in the applicationhost.config or web.confg file.

The discussion in the Telligent is as windows server 2008 - IIS7 - tags with space in name give 404.

The the clear steps as this KB.

 

  1. Locate the following directory: %windir%\System32\inetsrv\config
  2. Open the applicationHost.config file in a text editor such as Notepad.
  3. In the applicationHost.config file, locate the following code:
    <section name="requestFiltering" overrideModeDefault="Deny" />
  4. Replace the code that you found in step 3 with the following code:
    <section name="requestFiltering" overrideModeDefault="Allow"/>
  5. Locate the following diretory:
    %windi%\System32\com
  6. Double-click the directory of the SOAP-enabled server that you want to activate.
  7. Open the web.config file in a text editor such as Notepad.
  8. In the web.config file, locate the following code:
    </configuration>
  9. Replace the code that you found in step 8 with the following code:
    <system.webServer>
    <security>
    <requestFiltering allowDoubleEscaping="True"/>
    </security>
    </system.webServer>
    </configuration>

7.06.2008

貓空纜車....

上個禮拜六日, 親戚從南部上來, 我當陪客, 想說貓空纜車沒坐過, 他們要去坐坐看. 我想說好久沒上去喝喝茶, 也是不錯的選擇. 因為每次經過那邊看到那一坨人, 感覺上就要排很久, 所以就跟他們說, 如果人少我們去坐, 人多的話就直接搭車上去.

後來到了那附近, 看到人並不會很多, 於是就去排隊. 排並沒有很久, 就可以坐了. 然而在排隊或是坐纜車之間, 有個廣播很心煩, 隱隱約約聽到下雨打雷等字眼. 想說也不在意, 沒想到坐到指南宮就因為山上打雷所以要乘客下車的狀態. 於是就下車, 本想說捷運或是哪個單位應該會提供接駁服務, 畢竟連百貨公司都會做了, 看起來像營利單位的纜車應該都會做. 沒想到的是, 有接駁服務, 一小時兩班, 只往山下. 於是你就看到一大陀人被卡在站內. 大個一兩百人就這樣滯留在纜車車站. 沒廣播說明狀態, 服務人員也顯然不足, 於是一大群人困在那邊, 真是令人傻眼. 我一開始也呆呆的等, 等了十幾分鐘發現不對, 跑去問服務人員, 才搞清楚接駁的狀況. 於是我回頭跟照片裡困住的那一坨人說明, 然後就不鳥那個閘門, 出去找計程車或是巴士.

 DSC08701

老實講, 這種服務狀態就跟那種狀況外的公家機關一樣, 一不小心我還以為我到了難民營. 纜車的服務也不是一天兩天了, 怎麼都沒有媒體反應, 這倒是我最好奇的. 難道困在那邊的都是外國的遊客嗎? 這倒是真是促進觀光的優異教材. 不過要是這樣小小的打雷就停駛(2 PM - 7 PM)的話, 當初提議建纜車的人物我倒是很想認識一下.

7.03.2008

ORA-01599

In a couple days ago, I couldn't start the oracle database after imported. After check the log file located at $ORACLE_BASE/adminORCL/bdump/alert_ORCL.log, I got an error message:

ORA-01599: failed to acquire rollback segment (xx), cache space is full (currently has (xx) entries) Error 1599 happened during db open, shutting down database. (xx is certain number)

After check some reference, the root cause is the limitation of the parallel online rollback segments, the default size is 30. So, just add max_rollback_segments=50 or larger in the oracle database initial file, and then restart the database. Done.

After the database ready, you can query by select count(*) from dba_rollback_segs to get the precise amount of the rollback segments.