2017-05-06 77 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

哈哈。真棒。经验盛行。感谢赏金:-) –