0

当我尝试在本地运行 U-SQL 脚本时,出现以下错误:

Start : 7/1/2016 12:53:49 PM
Initialize : 7/1/2016 12:53:49 PM
GraphParse : 7/1/2016 12:53:49 PM
Run : 7/1/2016 12:53:49 PM
Start 'Root' : 7/1/2016 12:53:50 PM
End 'Root(Success)' : 7/1/2016 12:53:50 PM
Start '1_SV1_Extract' : 7/1/2016 12:53:50 PM
End '1_SV1_Extract(Error)' : 7/1/2016 12:53:50 PM
End '1_SV1_Extract(Error)' : 7/1/2016 12:53:50 PM
Completed with 'Error' : 7/1/2016 12:53:50 PM
Execution failed with error 'Failed to start vertex host : 'System.ComponentMode
l.Win32Exception (0x80004005): The specified executable is not a valid applicati
on for this OS platform.
   at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startIn
fo)
   at Microsoft.Analytics.LocalRun.VertexExecutionHost.Start()'
1_SV1_Extract Error : 'System.ComponentModel.Win32Exception (0x80004005): The sp
ecified executable is not a valid application for this OS platform.
   at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startIn
fo)
   at Microsoft.Analytics.LocalRun.VertexExecutionHost.Start()'
'
Execution failed !

我可以在 Visual Studio 中运行在 Data Lake Store 中执行的脚本,但只有在尝试在本地运行脚本时才会出现错误。

我在 64 位 Windows 7 上使用 Visual Studio 15 社区。

4

2 回答 2

0

对于 Windows 7 64 位,请确保您已安装 VS 2015 更新 2 以及此 UCRT 更新: https ://www.microsoft.com/en-us/download/details.aspx?id=50410

如果仍然失败,您能否尝试打开一个 cmd shell,然后尝试运行
“your project\bin\debug[A long hex string]\localvertexhost.exe”,看看它是否运行正常?

于 2016-07-06T05:54:34.057 回答
0

您使用的是 32 位 Windows 7 吗?U-SQL 本地运行需要 64 位 Windows 才能工作。

此致 于东

于 2016-07-04T01:15:03.520 回答