2017-05-06 59 views
1

我無法在Visual Studio 2015(更新3)中構建Azure數據工廠項目。無法在VS 2015中構建Azure數據工廠項目

我得到這個錯誤:

Error The "ADFCompilerTask" task failed unexpectedly. 

System.AggregateException: One or more errors occurred. ---> 

System.NotImplementedException: Not implemented (Exception from HRESULT: 0x80004001 (E_NOTIMPL)) 
at EnvDTE.Project.get_FileName() 
at Microsoft.VSAuthoring.SDK.BuildSystem.JsonCompilerTask.get_ProjectHierarchy() 
at Microsoft.WindowsAzure.DataFactoryStudio.DataFactoryProject.ProjectSystem.ADFCompilerTask.<ExecuteAsync>d__2.MoveNext() 
--- End of inner exception stack trace ---  
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)  
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)  
at Microsoft.VSAuthoring.SDK.BuildSystem.JsonCompilerTask.Execute()  
at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute() 
at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask>d__26.MoveNext() 
---> (Inner Exception #0) System.NotImplementedException: Not implemented (Exception from HRESULT: 0x80004001 (E_NOTIMPL))  
at EnvDTE.Project.get_FileName()  
at Microsoft.VSAuthoring.SDK.BuildSystem.JsonCompilerTask.get_ProjectHierarchy() 
at Microsoft.WindowsAzure.DataFactoryStudio.DataFactoryProject.ProjectSystem.ADFCompilerTask.<ExecuteAsync>d__2.MoveNext()<--- 

在項目中,我定義了幾個數據集/流水線/聯繫服務。所有這些都可以通過複製到Azure Portal進行部署,因此它看起來不像驗證問題。

我試過重新安裝Azure DataFactory工具,但它沒有幫助。

我在Windows 7上運行使用Visual Studio 2015年版14.0.25431.01更新3,Azure的數據湖工具2.2.5000和Azure中的DataFactory工具0.9.3527.2。

我該如何解決這個問題?

回答

1

我將不得不在這個猜測...

我懷疑你必須在你的VS JSON某處定義的屬性是錯誤的情況。特別是如果所有的時間片驗證都很好。

例如:

"isPaused": true,   // Correct 
"pipelineMode": "Scheduled" //Correct 

VS

"ispaused": true, 
"pipelinemode": "Scheduled" 

那樣瘋狂,因爲這聲音。並不是所有的JSON元素都可以通過Visual Studio完全驗證,而且當你得到一個沒有實現的異常時,這可能就是它。 VS中的ADFv1模式不完整。

在您的JSON中搜索綠色下劃線!

加上Azure的門戶網站是多一點寬容的大小寫問題,如果你複製和粘貼某些事情到門戶網站它之前autocorrects他們的部署。

如果失敗,請嘗試使用Visual Studio 2017,並查看它是否對錯誤處理更有幫助。

希望這會有所幫助。

+0

謝謝!這真的是我的問題 - 我在幾個管道中有'名字'而不是'名字'。 – arghtype

+1

哈哈。真棒。經驗盛行。感謝賞金:-) –