Browse by Tags

【茶包射手專欄】奧妙的MSDTC咒語
之前運作一段時間的電子表單系統,最近又擴充了三台新主機。奇怪的是,在三台新主機上,有個撤銷表單的網頁功能一直出問題,會傳回 Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) 錯誤。 通常,存取權限錯誤可以用抓鬼一哥 Process Monitor 輕易抓出來,但這次卻不然。ProcMon裡看不到可疑的Registry或File Access Denied訊息。Trace Code發現這段程式啟動了 TransactionScope...
KB-ADO.NET 2.0+SQL 2005分散式交易錯誤
今天發現正式主機上的ASP.NET 2.0程式傳回以下錯誤: Stack Trace: [SqlException (0x80131904): New request is not allowed to start because it should come with valid transaction descriptor.] System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection...
Posted 17 April 2007 11:46 PMJeffrey | with no comments 7,641
Filed under: , , ,
TIPS-TransactionScope過三關
.NET 新推出的TransactionScope 提供了更簡便封裝Transaction的寫法。今天試著從我的Windows 2003 用TransactionScope包裝一段對SQL 2005 @ Windows 2000的程式碼時,卻連闖三關才達陣! 首先,我收到這個錯誤: System.Runtime.InteropServices.COMException (0x8004D024): The transaction manager has disabled its support for...
Posted 15 March 2007 03:00 PMJeffrey | with no comments 18,734
Filed under: , ,
MSDTC on Windows 2003 SP1的注意事項
而Windows 2003 SP1就更機車了,在MSDTC上會多了幾個選項,當然預設又是最嚴的選項—Mutual Authentication Required,它是個未來才會生效的選項,現在的效果等同於Incoming Caller Authentication Required,而且只有在兩台DTC都是Windows XP SP2或Windows 2003才適用。如果Web或SQL其中一台的OS是Windows 2000時,No Authentication Required是唯一的選擇。 最後...

搜尋

Go

<March 2023>
SunMonTueWedThuFriSat
2627281234
567891011
12131415161718
19202122232425
2627282930311
2345678
 
RSS
創用 CC 授權條款
【廣告】
twMVC
最新回應

Tags 分類檢視
關於作者

一個醉心技術又酷愛分享的Coding魔人,十年的IT職場生涯,寫過系統、管過專案, 也帶過團隊,最後還是無怨無悔地選擇了技術鑽研這條路,近年來則以做一個"有為的中年人"自許。

文章典藏
其他功能

這個部落格


Syndication