2013年5月7日 星期二

SQL2012 shortcut key

安裝SQL 2012後,以前一些常用的捷徑鍵都不work了.
其實也只有幾個常用鍵

Ctrl+R  : 將query result pane 關掉
Ctrl+Shift+C : 註解所選的sql指令碼
Ctrl+Shift+R : 反註解所選的sql指令碼

可能因為是SSMS2012改用了vs2010 shell ,所以變成有些按鍵被更改掉了.

這里可參考SQL2012的shortcut鍵

為了方便所以在SSMS 2012 中
Tool-->Customize -->Keyboard ,在Show commands containing: 輸入comment
找到了
Edit.CommentSelection  
Edit.UncommentSelection 
 接著在Use new shourtcut in : 選擇SQL Query Editor , 然後按下所要的捷徑。
Edit.CommentSelection    --> Ctrl+Shift+C
Edit.UncommentSelection --> Ctrl+Shift+R




publish error allowDefinition='MachineToApplication'

一個老舊的aspx web form專案,調了一些功能建置成功,但進行部署時顯示以下錯誤。 在應用程式層級之外使用註冊為 allowDefinition='MachineToApplication' 的區段發生錯誤。錯誤的原因可能是虛擬目錄尚未在 IIS 中設定為...