NopCommerce 1.7 Bug修正

By jim at July 18, 2010 15:04
Filed Under:
NopCommerce 1.7有個程式的Bug 以為是1.7產生的問題,但是查過去紀錄,在1.6~1.4都有同樣程式碼 但是1.7 於.Net framework 4.0環境後會出現下面誤錯 Server Error in '/' Application. Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message: Literal content ('<asp:NextPreviousPagerField ButtonCssClass="com... [More]

Windows Update Error:Windows Update Client failed to detect with error 0x800b0110.

By jim at July 14, 2010 15:58
Filed Under:
有一台Windows Server 2008的Server要安裝.Net Framework 4.0 卻發現無法安裝,接連發現連Windows Update也無法作業,出現錯誤訊息 Error Code:0x800b0110 在C:\Windows\WindowsUpdate.txt的錯誤訊息 2010-07-14    19:54:13:783    1000    d40    Misc    Validating signature for C:\Windows\SoftwareDistribution\WuRedir\9482F4B4-E343-43B6-B170-9A65BC822C77\muv3wuredir.cab: 2010-07-14    19:54:13:783    1000    d40... [More]

SQL Server 2008 R2 安裝問題

By jim at July 09, 2010 12:39
Filed Under:
Windows 7安裝SQL Server 2008 R2時無法通過PerfMonCounterNotCorruptedCheck的檢查, 有人提供的方法是使用下面的指令 lodctr /R:PerfStringBackup.INI 不過我測試是沒用,所以用另一個方法,就是避掉這個檢查 setup.exe /ACTION=install /SKIPRULES=PerfMonCounterNotCorruptedCheck 這樣就可以省略檢查

Seagete原廠送修流程

By jim at April 16, 2010 09:08
Filed Under:
1.先確認是否在保固內 找到硬碟上的S/N及Model Number 如下圖,第1個框就是S/N號碼 第2個框就是Model Number(應該是ST開頭的)   在查詢保固的網站輸入S/N及Model Number http://support.seagate.com/customer/warranty_validation.jsp 輸入完會顯示保固狀態,目前查詢的這顆還在保固期內 保固至2013/07,確認保固後,即可進行下個步驟 In Warranty   Expiration 08-Jul-2013   2.填寫送修資料 http://www.seagate.com/ww/v/index.jsp?locale=zh-TW&name=Warranty_Support_and_Returns_Assistance&vgnextoid=89e886165b3de010VgnVCM100000dd04090aRCRD 在Seagate的網站裡,可以... [More]

ASP.NET MVC 2 RTM Release(2010/3/11)

By jim at March 15, 2010 05:53
Filed Under:
包含了VS 2008及Visual Web Developer 2008 Express with ASP.NET 3.5 New Features in RTM The following features are new since the RC release of ASP.NET MVC 2. Templated Helpers Allow You to Specify Extra View Data ASP.NET MVC 2 now includes new overloads of the EditorFor and DisplayFor methods. These overloads contain a parameter that accepts an anonymous object that can be used to provide extra view data. The view data provided in this parameter is merged with any existing view data that is passed... [More]

幾套免費的中文/英文防毒軟體下載(Free AntiVirus Software Download)

By jim at March 12, 2010 15:09
Filed Under:
1.avast! Free Antivirus(中文) 有中文版可以選擇,介面滿不錯的 官方下載點 http://www.avast.com/free-antivirus-download 2.AVG 防毒軟體 9.0 免費版(中文) 有中文版本,功能適中簡單易操作 官方下載點 http://www.avgtaiwan.com/product-avg-anti-virus-free-dl.html 3.Avira AntiVir Personal 小紅傘個人免費繁體中文 德國的防毒軟體,大家都稱為小紅傘(標誌是紅色小雨傘) 有中文版,評比還算不錯 官方下載點 http://g-ray.com.tw/downloads 4.Microsoft Security Essentials(微軟的免費防毒) Microsft的免費防毒,最近中文版Release, 只要作業系統通過驗證便可免費使用,效能非常好 官方下載點 http://www.microsoft.com/security_... [More]

Application Settings (My.Settings)設定及使用 VB.NET

By jim at March 11, 2010 04:52
Filed Under:
在Web Application的Properties裡的Setting可以設定Value及Type 在應用程式使用中可以用Strong Type方式取存 在設定畫面中需要先將Access Modifier改為Public 修改完後先bulid一次 使用時程式碼為 My.MySettings.Default.Setting testWebApplication是Web Application的Name Setting是設定的,預設為Setting

VB.NET檢查密碼複雜度

By Jim at March 03, 2010 08:11
Filed Under:
密碼的設或驗證程式時,當會需要知道使用者設定的密碼複雜度 (ex:含長度,幾個數字,幾個特殊字元,幾個大小寫等等) 以下範例是由MSDN所提供的檢查密碼複雜度函式 經由輸入的Option可以自訂所需要的長度及複雜度 Function ValidatePassword(ByVal pwd As String, _    Optional ByVal minLength As Integer = 8, _    Optional ByVal numUpper As Integer = 2, _    Optional ByVal numLower As Integer = 2, _    Optional ByVal numNumbers As Integer = 2, _    Optional ByVal numSpecial As Integer = 2) As Boolean   &n... [More]

Microsoft Web Platform Installer 2.0(Microsoft免費的架站軟體)

By Jim at March 03, 2010 08:11
Filed Under:
其實是出好一段時間了,以前要安裝IIS的環境 一定要自己去新增/移除程式增加IIS的支援,要寫ASP或ASP.NET可能還得另外設定 (.Net framework 1.1/2.0切換,或是啟動ISAPI支援) 去年Microsft出一套架站工具,只要很輕裝如同安裝程式一段安裝到底就可以了 最重要的.它是完全免費的 當然.先決條件是你要安裝Windows 最近安裝後的結果,還真的是方便到不行 可自動安裝好環境,還加上可以自選擇要外加哪些套件 例如 SQL Server Express Visual Web Devepler IIS延伸模組 免費的ASP.NET源碼程式(甚至還幫你分類好) 應用程式如果需要資料庫,也可以一併設定的. 真的非常方便,是入門學習者很好用的工具,建議一定要試看看 也有個美觀的介紹網站及首頁 http://www.microsoft.com/web/Downloads/platform.aspx 相信未來出新版的SQL Server Exrpess或是Visual Web Developer一定也會一... [More]

Visual Basic 2010 Language新功能介紹

By Jim at March 03, 2010 08:10
Filed Under:
Visual Basic在新版的2010新增了部份功能 就由官方的文件來瞭解一下新增的功能 Auto-Implemented Properties 以前寫Property時,標準的程式應該會下面這樣 Private _strObjName As String Public Property ObjName() As String Get Return _strObjName End Get Set(ByVal value As String) _strObjName = value End Set End Property 在新版的VB2010裡,簡化了這樣的寫法 以上面的例子來說 你只要輸入下面這行就可以了 Public Property ObjName() As String 不用再建立GET或SET這二個程序 Collection Initializers Collection的初始化也有更簡化的寫法,類似於Array的宣... [More]