2012年8月28日 星期二

記憶體不足,相關字詞功能無法使用



這種奇怪又容易誤導人的錯誤訊息,
向來是系統的拿手好戲 : P

其實雖然是跟輸入法有關, 但是不是輸入法造成的,
而是 IE !!

在 Win 7 (Vista 也是) 中, IE 因為安全的考量,
對於輸入法的存取做了一些限制和檢查.
當你打開輸入法打字時, IE 就開始很賣力地擔任了海關搜檢的工作,
但是隨著字越打越多, IE 這位海關大人不堪負荷, 就跳出了
[ 記憶體不足,相關字詞功能無法使用 ]
來警告你, 它累了...


為了減輕負擔,  讓 IE  不要為了這種事佔用記憶體請打開 IE,
進行調整 =>

在工具列中的 [工具] 的選項內開啟 [網際網路選項],
(如果是IE9 工具選項隱藏在右上角有個 [ 齒輪] 圖案按下去就是了 )

在 [安全性] 的標籤下的最下方, 將 [啟用受保護模式] 的勾勾拿掉,
這樣就可以囉!

啊~ 忘了說, IE 要關掉重開才會生效喔!!



2012年8月22日 星期三

Win7 中的大易輸入法

有些時候用太特殊的輸入法就會成為孤兒~~~~  切身之痛啊!

        例如輕鬆輸入法, 目前還沒找到在 Win 7 X64 下比較正常的安裝方法.
舊版作者又已經停止維護了, 甚至連軟體都找不到.  (T_T)


        最近則是又碰上了大易輸入法的問題. 雖然前輩們早已有了解決方法.
就是把 XP x64 下的 uniime.dll / dayi*.* / msdayi.tbl copy 到 Win7 X64的 syswow64 目錄下.
但... , 我沒有 XP x64 啊啊啊啊~~~.


      最後終於找到了一個好心人的連結網址 :
檔案加 機碼註冊檔一應俱全. 感謝這位前輩啦~

來源網址 :
http://lovetoknowgoogleandmstech.blogspot.tw/2009/12/51-win7-x64-windows-7-64.html

2010年9月27日 星期一

SSIS 中 Excel File import 時轉換 Unicode to Non-unicode 的做法

三種作法
1. 使用 Data convert function 去轉換

2. 在 OLE DB destination 按右鍵選 [Show Advance Editor] 然後選
    [Import and Oupt Property] page 再選 mapping 的 column  改右下的 data type
    http://www.mssqltips.com/tip.asp?tip=1393

3. 先在 tempdb 中建立 temp table 符合 Non-unicode 的 data type ,
    然後再 select * from temp_table into 到目地端 Table.

以下為MSDN論壇中討論 SSIS 轉換資料的常見作法.
http://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/f5f1e17e-4b91-48ed-9a10-93a1fe227a37

2010年9月15日 星期三

SSIS 跨 Server 時須設定 MSDTC的安全性設定

MSDTC (Microsoft Distributed Transaction Coordinator )
 Microsoft 分散式交易協調器 , win 2003 中很多跨 Server 服務都會用到 , 例如 : BizTalk , SQL 2008 等.

請參照這個連結設定 :  http://lanestechblog.blogspot.com/2010/04/utilizing-transactions-in-ssis-to.html

Win 2003 with SP1中, MSDTC 的注意事項 : http://blog.darkthread.net/blogs/darkthreadtw/archive/2006/03/07/msdtc-on-windows-2003-sp1.aspx

Win 2003 MSDTC中, 每個安全性的說明 :  http://msdn.microsoft.com/zh-tw/library/ms679479

微軟給 MSDTC 安全性選項的建議與說明 :
http://msdn.microsoft.com/zh-tw/library/aa561924(BTS.10).aspx

SQL Job 要設定 Mail 通知失敗或成功

除了DBMail 的 Profile 要設定, 建立 Operator 外,
SQL Agent Property 中Alert system 也要在 Mail Session  Enable E-Mail profile.

在 SQL Server Management Studio 中選擇 SQL Server Agent , 按右鍵選[Property]
=>[Alert system]
  1. Mail Session  => 勾選 Enable E-Mail profile.
  2. Mail System 選 Database Mail , Mail profile 選自己設定好的 profile.
詳細請參照此連結 http://www.mssqltips.com/tip.asp?tip=1523
http://hoolihome.blogspot.com/2010/04/sql-2005-job-mail.html

SQL 2008 在Management Studio 中直接更改Schema會發生警告

透過 Management Studio 對已經開好的 Table 更改schema,
會警告說不允許這樣更改, 需要 re-create table 後才可以更改

「"Saving changes is not permitted. The changes you have made require the following tables to be dropped and re-created. You have either made changes to a table that can't be re-created or enabled the option Prevent saving changes that require the table to be re-created."

其實錯誤訊息裡就有提示, 要 " enabled the option Prevent saving changes that require the table to be re-created".

那這個選項在哪裡呢 ?

請到 SQL 2008 Management Studio 中

「Tools」-> 選「Options」=>
「Designers」-> 「Table and Database Designers」
,右側中將「Prevent saving changes that require table re-creation」選項打勾拿掉,就可以了!