Magnus Johannesson
Magnus Johannesson

Reputation: 432

Error when trying to run U-SQL script locally

I've implemented a U-SQL script which uses a custom extractor. The custom extractor is implemented in a separate class library (For U-SQL Application), which is called from the U-SQL script's code-behind file. When I try to run the job locally, I get this error:

E_RUNTIME_USER_LOADENGINEASSEMBLY: .Net cannot load runtime assembly 'ScopeEngineManaged.dll'. Description: A procedure imported by 'ScopeEngineManaged.dll' could not be loaded. Resolution: Ensure the file exists and that all dependencies are available, including ScopeEngine.dll. This runtime assembly requires a 64-bit process and depends upon the VC14 CRT runtime being installed on the local machine.

I get a similar error when I try to register the extractor assembly locally:

[Job Error] E_RUNTIME_USER_LOADENGINEASSEMBLY: .Net cannot load runtime assembly 'ScopeEngineManaged.dll'. Description: A procedure imported by 'ScopeEngineManaged.dll' could not be loaded. Resolution: Ensure the file exists and that all dependencies are available, including ScopeEngine.dll. This runtime assembly requires a 64-bit process and depends upon the VC14 CRT runtime being installed on the local machine. ========== Local execution failure ==========

Upvotes: 1

Views: 987

Answers (1)

wBob
wBob

Reputation: 14379

If you are using Windows 7 a recent update to Azure Data Lake Tools has introduced a dependency on the Windows 10 runtime. Consider either upgrading your OS (Windows 7 is getting on bit), or download the runtime from the following link:

https://www.microsoft.com/en-us/download/details.aspx?id=48234

I believe this URL is supplied in the error message. Download and install the correct version for your OS and machine.

Follow the instructions here which worked for me:

https://github.com/Azure/usql/issues/66

Upvotes: 2

Related Questions