MicrosoftDocs / azure-docs

Open source documentation of Microsoft Azure
https://docs.microsoft.com/azure
Creative Commons Attribution 4.0 International
10.18k stars 21.32k forks source link

input, output, submit job and job configuration dialogs producing error #5976

Closed myusrn closed 6 years ago

myusrn commented 6 years ago

When following this walkthrough i'm finding that when I try and configure input/output using "choose data source from current account" setting vs "provide data source settings manually" setting it generates the error:

    "Loading this assembly would produce a different grant set from other instances. (Exception from HRESULT: 0x80131401)"

I get the same error surfacing in the "submit job" and "job configuration" dialogs.

Is this a well known error with an well known fix so that one can create/edit/submit/run asa jobs using vs17 ide project template instead of having to use azure portal?


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

AdamS-MSFT commented 6 years ago

@myusrn Thank you for the valuable feedback,we are investigating the issue.

su-jie commented 6 years ago

@myusrn Our team owns the tools. We are looking into the issue. Would you mind let us know your tools version? You can check that by going to Tools->Data Lake->About Data Lake. Also have you upgraded VS 2017 recently? Thanks for your feedback.

myusrn commented 6 years ago

vs17 | help | about = Microsoft Visual Studio Enterprise 2017 Version 15.6.3 [ the latest update afaik ] Microsoft Azure Stream Analytics Language Service - 2.3.3000.1 Microsoft Azure Stream Analytics Node - 1.0

the issue repros with the above versions in place and a from scratch file | new project | Azure Stream Analytics | Azure Stream Analytics Application project.

my dev workstation was fully repaved last month with the w10 1709 16299.15 fall creators update that I then updated to current spring update windows insider slow 17120.1 and my vs17 install was applied to that using the latest enterprise 15.6.2 willow installer that was available at that time and since updated to the 15.6.3 release. in other words my dev wks should be a fairly clean install with no remnants or carry overs from old w10 or vs15 installs.

su-jie commented 6 years ago

Thanks @myusrn. Can you please try remove R tools in Visual Studio 2017 if you don't use it?

myusrn commented 6 years ago

Are you saying that this azure streaming analytics project error goes away if the vs17 "data science and analytical applications" workload component "Microsoft R Client (3.3.2)" is not installed? I do at times need to make use of the msft r client and so operating w/o it installed in order to use ASA project type is not desirable.

su-jie commented 6 years ago

We just found one issue that R Tools changes the VS assembly binding upon installation to force version 4.1.1.1 of System.Net.Http. That has a global effect which breaks our Stream Analytics extension. Can you try remove R tools to see if that can fix your issue? If your issue goes away, for now you can install the tools in two instances of Visual Studio 2017. R Tools has a fix they’re putting in 15.7 and they are pushing the fix into 15.6. We are very sorry for the inconvenience.

myusrn commented 6 years ago

I used visual studio installer | modify | individual components | development activities | microsoft r client (3.3.2) = checked -> unchecked | modify followed by a reboot to test stream analytics project use with that component removed. After reboot the problem still repos so not sure if there is an additional R related component that has to be pulled.

On a related front any pointers on which forum one would raise an ask about if/when azure data factory tools extension for vs17 ide is coming out given currently it only exists for vs15 [ https://marketplace.visualstudio.com/items?itemName=AzureDataFactory.MicrosoftAzureDataFactoryToolsforVisualStudio2015 ]?

su-jie commented 6 years ago

Can you please reach out to sujie@microsoft.com so that we can schedule a call with you to trouble shoot? Thank you very much.

I will connect with ADF tools team to learn their plan and get back to you.

myusrn commented 6 years ago

@su-jie I reached out over email with contact info. As noted in that communication I’m in no rush for needing a resolution to this in the vs17 15.6.4 installation environment I’m currently running. I can use the web portal UI story for streaming analytics exploration work and just wait for the 15.7.x update for vs17 installation to get the fix that allows this to work with msft r client (3.3.2) installed.

myusrn commented 6 years ago

. . . as was clarified in offline exchange, and tested/confirmed to work, in 15.6.4 this known issue is resolved by removing the “Runtime support for R development tools”, “R language support” and “Microsoft R Client (3.3.2)” components not just the latter one. In the 15.7 update this issue is expected to be addressed and the R language support and client components can be installed w/o creating an issue.

zhang-hua commented 6 years ago

When I try to create a new "Azure Stream Analytics Application" project in VS 2017, it always reports an error "The imported project "c:\Users\xxx\AppData\Roaming\Microsoft\DataLake\Msbuild\1.0\StreamAnalytics.targets was not found. Confirm that the path in the declaration is correct, and that the file exists on disk. c:\users\xxx\AppData\Local\Temp\i321202m.zjd\Temp\ASAAppliction1.asaproj". I can not create the ASA project. how to resolve this issue?

ms-guizha commented 6 years ago

1 What the detailed version for your VS2017 ? if it is not latest, please update it to the latest

2 Could you help me confirm whether the StreamAnalytics.targets under c:\Users\xxx\AppData\Roaming\Microsoft\DataLake\Msbuild\1.0\StreamAnalytics.targets ? if not, I can share a you a walk-around way to unblock you first. Open Server explorer in VS, then trigger Azure Node- >stream analytics, that will help copy this file to destination

zhang-hua commented 6 years ago

@ms-guizha ,

  1. VS Enterprise 2017, version 15.6.4
  2. "c:\Users\xxx\AppData\Roaming\Microsoft\DataLake\Msbuild\1.0\StreamAnalytics.targets" doesn't exist. It can also be resolved by just copying over the targets file from "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\Extensions\Microsoft\ADL Tools\2.2.9000.1\StreamAnalytics.targets". Thanks for your help!
su-jie commented 6 years ago

Hi Hua, we have confirmed it is an known issue in the version you are using. You can upgrade to the latest Stream Analytics tools by clicking on the 'Notifications' icon at the top right of Visual Studio. We have made a lot of improvements in the past few months.

zhang-hua commented 6 years ago

@su-jie thanks for your update!

JasonWHowell commented 6 years ago

@zhang-hua Hope you are doing well. Just checking if the update recommended by @su-jie resolves this issue? Please let us know so we can close out the thread if so. Thanks, Jason

JasonWHowell commented 6 years ago

@zhang-hua Hope you are doing well. Just checking if the update recommended by @su-jie resolves this issue? Please let us know so we can close out the thread if so. Thanks, Jason

please-close