要開啟的方式很簡單,修改 Web.config 檔案即可
若沒有 Web.Config 這個檔案,直接使用以下內容:
儲存後,上傳至 /site/wwwroot 目錄下即可
若是已經有 Web.Config 檔案,則直接加入
Tables without a clustered index are not supported in this version of SQL Server. Please create a clustered index and try againAns:Windows Azure SQL Database 規定每個 table 都必須要有一個 clustered index,才可以進行資料的編輯。
CREATE UNIQUE CLUSTERED INDEX [index name] ON [Schema Name].[Table Name]([Column Name 1], [Column Name 2], .... etc);
Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.Ans:將專案中的所有參考,在屬性頁中都設定為"複製到本機(Copy To Local)"即可
Could not load file or assembly 'msshrtmi' or one of its dependenciesAns:Windows Azure Web Site 不支援 Microsoft.WindowsAzure.ServiceRuntime,改用雲端服務(Cloud Services) 即可。