2017-04-03 91 views
0

我天青功能(觸發 - 斑點,輸出 - bindung到MS SQL DB數據)拋出錯誤天青功能數據綁定錯誤

2017-04-03T17:17:33.475 Exception while executing function: Functions.BlobToDB. System.Net.Http: Response status code does not indicate success: 404 (Execution Failure inner exception: The specified item 'TestEnt' is not found.)

我在我的數據庫中有TestEnt,連接字符串被驗證了幾次。

功能代碼:

public static async Task Run(Stream myBlob, string name, IAsyncCollector<TestEnt> outputData, TraceWriter log) 
{ 
     var R = new TestEnt(); 
     R.TestEntId = Guid.NewGuid(); 
     R.TestEntName = "Test"; 
     await outputData.AddAsync(R); 
     log.Info($"ok!");   
} 

public class TestEnt 
{ 
    public Guid TestEntId { get; set; } 

    public string TestEntName { get; set; } 

} 

感謝您的幫助!

+1

發表您的綁定,請 – Mikhail

回答

0

我想我找到了解決辦法 - 你需要填寫數據庫服務器名與網絡的路由(dbservername.database.windows.net不僅DBSERVERNAME)

enter image description here