我想製作一個將blob上傳到Azure存儲的示例應用程序。我跟着this和this,這兩種方式拋出我MobileServiceInvalidOperationException
500 - 內部服務器錯誤。請儘快給我解決方案。謝謝。MobileServiceInvalidOperationException 500 - 插入到表中時發生內部服務器錯誤
這是錯誤日誌
Error inserting: { AlbumId: 22,
Name: 'ff',
Description: 'ff', ThumbnailUrl: null,
ThumbnailFileName: '73a594b1-1abb-476d-a1ce-73a12d6ee278_thumbnail.png', ImageUrl: null, FileName: '73a594b1-1abb-476d-a1ce-73a12d6ee278.png', imageurl: ' https://xxxxxxx.blob.core.windows.net/mypictures-undefined/undefined?se=2013-02-07T10%3A44%3A57Z&sr=b&sp=w&sig=qDBnnVOyo8XCNSUNJcn49IMcN4laDIgjZ8oM9TdiHBI%3D ', thumbnailurl: ' https://xxxxxxx.blob.core.windows.net/mypictures-undefined/undefined?se=2013-02-07T10%3A44%3A57Z&sr=b&sp=w&sig=qDBnnVOyo8XCNSUNJcn49IMcN4laDIgjZ8oM9TdiHBI%3D ' }
{
[Error: [Microsoft][SQL Server Native Client 10.0][SQL Server]The column name 'ImageUrl' is specified more than once in the SET clause or column list of an INSERT. A column cannot be assigned more than one value in the same clause. Modify the clause to make sure that a column is updated only once. If this statement updates or inserts columns into a view, column aliasing can conceal the duplication in your code.] sqlstate: '42000', code: 264
}
請發佈您的腳本代碼。 – carlosfigueira