我只是在搞Azure,而我似乎無法讓我的db工作。我下面什麼這裏說:https://www.windowsazure.com/en-us/develop/net/tutorials/web-site-with-sql-database/,我更新了我的web.config中有這樣的:Azure EF代碼第一遷移初始化程序
<entityFramework>
<defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework" />
<contexts>
<context type="DownloadThis.Models.DownloadThisDb, DownloadThisDb">
<databaseInitializer type="System.Data.Entity.MigrateDatabaseToLatestVersion">
<parameters>
<parameter value="DownloadThisDb_DatabasePublish" />
</parameters>
</databaseInitializer>
</context>
</contexts>
</entityFramework>
如示例中所示,但我不斷收到此錯誤:
Format of the initialization string does not conform to specification starting at index 0.
我有三倍檢查我的connectionString,所以這不是 - 任何想法?
良好的通話!但我仍然收到錯誤...? – naspinski 2012-08-15 05:41:44