2012年4月25日 星期三

常用的軟體

以下是我常用的軟體(會不斷更新)

作業系統

SkyDrive
使用檔案總管就可以使用了 25GB 的免費空間,只需要一個  live id

Microsoft Office
這就不多說了。

CCleaner
修復作業系統問題及清除硬碟空間

Windows Virtual PC
在 Windows 7 上的虛擬機。目前幾乎全改到 Windows Server 2008 的 Hyper-V 上。

Microsoft Security Essentials
在 Windows 7 上如果有打開 UAC 的話,我認為只需要簡單的防毒即可。

程式開發

Microsoft All-In-One Code Framework
所有的微軟平台相關的 code sample,支援搜尋,篩選。

Reflector
觀看及反組譯 .NET Assembly

Live Writer
Windows Live Essentials 的一部份。此部落格都是用這個軟體撰文的。

瀏覽器
IE 9, FireFox, Google Chrome, Opera. 幾乎全裝了。

LocalDb
SQL Server Express 雖然是免費的版本,但仍然是伺服器等級的資料庫。那開發人員用的資料庫並不需要如此高的等級。 LocalDb 是一個簡化版本的 SQL Server Express,非常適合開發人員。未來 VS11 也預定會安裝 LocalDb。

 

系統維運

Log Parser Lizard GUI
我主要用來分析IIS log, 但該工具功能還真是多呢!

Remote Desktop Connection Manager
一次可遠端連線到多台伺服器。網管必備。

2012年4月10日 星期二

TF293000: 在下列工作項目欄位的資料倉儲偵測到資料衝突

緣由

使用了 Scrum template 後,就發生了下面的錯誤。

image

原因

兩個 TeamProjectCollection所使用的欄位定義不同,會導致 建立 Cube 時無法建立 dimesion。

例如我的 TFS 的 DefaultCollection 的 System.State , Name (用來作為 friendly name) 與另一個 Team Collection 定義的不同。(又是中文化的問題)

SNAGHTML836395(In DefaultCollection)

 image(Another TeamProjectCollection)

解決方法

將兩者欄位定義改成一致即可。以上為例

witadmin changefield /collection:http://tfsserver:8080/tfs/collection1 /n:System.State /name:狀況

參考

http://msdn.microsoft.com/zh-tw/library/ee921480.aspx#

http://msdn.microsoft.com/en-us/library/dd236909.aspx

PS

下面是我所下的指令,可以做為參考

witadmin changefield /collection:http://tfsserver:8080/tfs/rsi /n:System.Title /name:標題
witadmin changefield /collection:http://tfsserver:8080/tfs/rsi /n:System.State /name:狀況
witadmin changefield /collection:http://tfsserver:8080/tfs/rsi /n:System.State /name:狀況
witadmin changefield /collection:http://tfsserver:8080/tfs/rsi /n:System.Reason /name:原因
witadmin changefield /collection:http://tfsserver:8080/tfs/rsi /n:System.AssignedTo /name:指派給
witadmin changefield /collection:http://tfsserver:8080/tfs/rsi /n:Microsoft.VSTS.Scheduling.RemainingWork /name:剩餘工作
witadmin changefield /collection:http://tfsserver:8080/tfs/rsi /n:Microsoft.VSTS.Common.Activity /name:活動
witadmin changefield /collection:http://tfsserver:8080/tfs/rsi /n:Microsoft.VSTS.Build.IntegrationBuild /name:整合組建
witadmin changefield /collection:http://tfsserver:8080/tfs/rsi /n:Microsoft.VSTS.Common.Severity /name:嚴重性
witadmin changefield /collection:http://tfsserver:8080/tfs/rsi /n:Microsoft.VSTS.Build.FoundIn /name:發現於
witadmin changefield /collection:http://tfsserver:8080/tfs/rsi /n:Microsoft.VSTS.Common.Priority /name:優先權
witadmin changefield /collection:http://tfsserver:8080/tfs/rsi /n:Microsoft.VSTS.Common.Issue /name:問題
witadmin changefield /collection:http://tfsserver:8080/tfs/rsi /n:Microsoft.VSTS.Common.ActivatedDate /name:啟動日期
witadmin changefield /collection:http://tfsserver:8080/tfs/rsi /n:Microsoft.VSTS.Common.ActivatedBy /name:啟動者
witadmin changefield /collection:http://tfsserver:8080/tfs/rsi /n:Microsoft.VSTS.Common.ClosedDate /name:關閉日期
witadmin changefield /collection:http://tfsserver:8080/tfs/rsi /n:Microsoft.VSTS.Common.ClosedBy /name:關閉者
witadmin changefield /collection:http://tfsserver:8080/tfs/rsi /n:Microsoft.VSTS.Scheduling.StartDate /name:開始日期
witadmin changefield /collection:http://tfsserver:8080/tfs/rsi /n:Microsoft.VSTS.Scheduling.FinishDate /name:完成日期
witadmin changefield /collection:http://tfsserver:8080/tfs/rsi /n:Microsoft.VSTS.TCM.AutomationStatus /name:自動化狀態
witadmin changefield /collection:http://tfsserver:8080/tfs/rsi /n:Microsoft.VSTS.Common.StackRank /name:堆疊順位

2012年3月15日 星期四

Solution 無法再 Go Online 了

今天不知何時開始,我的 Solution 再也無法 Go Online 了。每次按Go Online 就會出現下面的畫面。

但 Team Explorer 仍然運作正常呢.

image

解決方法很簡單:將 Solution 所在目錄全刪除了,再從 TFS 抓一次原始碼就可以了。

還真是奇怪。

2012年2月25日 星期六

經典錯誤訊息

如下圖。

如果硬要翻譯成中文的話,大概會是「產出錯誤報告時在顯示此錯誤時發了錯誤」。

image

2012年2月23日 星期四

2012/02 電腦語言排行:Object-C 超強

http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html

這個月最新的排行出來了。很久沒看了說。

Object-C (iPad, iPhone, iPod 的官方語言) 竟然衝到了第5名。市場真現實。

C# 也到了第3名。

clip_image002

2011年11月21日 星期一

Windows 7 的 IIS Manager 無法連線到其他伺服器

在 Windows 7 上打開 IIS Manager,無法連線到其他伺服器做管理工作耶!原因無他,就是為了簡化。

在 Windows 7 上的 IIS Manager,當初設計時只想要管理本機而已,故沒有可以連線到其他伺服器的工具。(但工具列卻又有…)

解法:

    Internet Information Services (IIS) 7 Manager

2011年11月8日 星期二

App.Config 的轉換

在 Visual Studio 2010 中,可以針對 Web.config 進行轉換

那 App.config 呢?好心人很多,現在也可以使用相同語法進行 app.conifg 的轉換。

在 Extension Manager 中找 SlowCheetah - XML Transforms

image

參考自 http://www.hanselman.com/blog/SlowCheetahWebconfigTransformationSyntaxNowGeneralizedForAnyXMLConfigurationFile.aspx

Share with Facebook