简体   繁体   English

系统错误在本地运行U-SQL脚本

[英]System Error Running U-SQL Script Locally

When I attempt to run a U-SQL script locally, I get the following error : 当我尝试在本地运行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 !

I can run scripts in Visual Studio that execute in Data Lake Store, I get the error only when trying to run scripts locally. 我可以在Visual Studio中运行在Data Lake Store中执行的脚本,仅当尝试在本地运行脚本时才会出现错误。

I'm using Visual Studio 15 Community on 64-bit Windows 7. 我在64位Windows 7上使用Visual Studio 15社区。

Are you using a 32-bit Windows 7? 您是否正在使用32位Windows 7? The U-SQL local run requires 64-bit Windows to work. U-SQL本地运行需要64位Windows才能工作。

Sincerely, Yu Dong 此致于栋

In the case of Windows 7 64-bit, please make sure you have VS 2015 updated 2 installed and also this UCRT update: https://www.microsoft.com/en-us/download/details.aspx?id=50410 如果是Windows 7 64位版本,请确保已安装VS 2015 update 2以及此UCRT更新: https : //www.microsoft.com/zh-cn/download/details.aspx? id = 50410

If that still fails, could you please try to open a cmd shell, then try to run 如果仍然失败,请您尝试打开一个cmd shell,然后尝试运行
"your project\\bin\\debug[A long hex string]\\localvertexhost.exe" and see if it runs OK? “您的项目\\ bin \\ debug [十六进制长字符串] \\ localvertexhost.exe”,看它是否运行正常?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM