原创 Microsoft.ApplicationServer.Caching.DataCacheException 之 ErrorCode:SubStatus

問題: An exception of type'Microsoft.ApplicationServer.Caching.DataCacheException' occurred and was caught. -------------

原创 SSIS 之 Exception: Failed to retrieve long data for column "TS_Description"

問題: Error Desc: Failed to retrieve long data for column"TS_Description". 這個時候到package裏檢查,在哪一步用到“TS_Description”。 發現用到的

原创 Web Service 之 Exception: "The HTTP request is unauthorized with client authentication scheme......"

問題: An exception of type'System.ServiceModel.Security.MessageSecurityException' occurred and wascaught. Type :System.

原创 使用Entity Data Model 之創建模型(一)

1. 添加實體數據模型的方法: 右擊 --> Add --> New Item --> ADO.NET Entity Data Model --> Add --> Generate from database --> Next --> N

原创 C# Windows Schedule task之獲取task下次運行時間

最近做了一個需要和Windows Schedule task相關的功能,即通過schedule,計算下次跑task的時間。 通過是用第三方的DLL來實現,從下面的網站下載: http://taskscheduler.codeplex.co

原创 System.Xml.XmlException: '=' is an unexpected token. The expected token is ';'

今天碰到的一個問題,把string 解析成xml時,拋出異常,如下: 問題: An exception of type'System.Xml.XmlException' occurred and was caught. Type : Sy

原创 Timeout expired. The timeout period elapsed prior to completion of the operation or the server...

問題: 最近程序總會拋出如下異常: An exception of type'System.Data.SqlClient.SqlException' occurred and was caught. ------------------

原创 Web Service程序的改變對引用這個web service的程序的影響

驗證Web Service程序的改變對引用這個web service的程序的影響: 1.       Web service 增加字段,引用這個web service的程序不變:不會獲取新增字段的值,程序不受影響,可以正常跑 2.   

原创 wxPython之ImportError: DLL load failed: %1 is not a valid Win32 application.

今天碰到的一個問題,首先本人的機器是win7 64位,裝的python是2.7版本。 想要使用wxPython,所以安裝了 wxPython3.0-win64-3.0.2.0-py27.exe 在Python IDLE裏,輸入impor

原创 SSIS 之 Exception "Cannot insert duplicate key in object..."

問題:  Error Desc: Violation of PRIMARY KEY constraint 'PK_TeaPg_Actions'.  Cannot insert duplicate key in object'dbo.Tea

原创 SSIS 之 Exception "truncated if it exceeds the maximum length of 4000 characters"

問題: Error Desc: The result string for expression "SELECT  ID, ......from users  WITH (NOLOCK) where id in  ( " + @[Use

原创 Microsoft.ApplicationServer.Caching.DataCacheException 之 ErrorCode<ERRCA0017>:SubStatus<ES0006>

問題: An exception of type'Microsoft.ApplicationServer.Caching.DataCacheException' occurred and was caught. -------------

原创 .net4 和 .net3.5 的區別

今天,嘗試把現有項目的.net4改成.net3.5時,出現了一些error,這些error大多是方法不兼容。 下面分享一下:只在.net4裏可用而在.net3.5裏不可用的方法: 1.string.IsNullOrWhiteSpace(s

原创 Web service: The HTTP request is unauthorized with client authentication scheme 'Anonymous'.....

問題: The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received

原创 JQuery UI 之 Accordion Widget

最近正在看Accordion Wight這個UI 插件,總結了一些重點,供大家參考 Accordion: 組成: Header + content panel 1.      在同一時間,只能打開一個content panel 2.