Closed pw007 closed 4 years ago
/needsMoreInfo
How is this related to VS Code? Is this an extension?
Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue.
Happy Coding!
I try this project: https://docs.microsoft.com/en-us/azure/iot-accelerators/iot-accelerators-remote-monitoring-create-simulated-device When I ran the storage adaptor microservice, VS prompts: Exception has occurred: CLR/Microsoft.Azure.IoTSolutions.StorageAdapter.Services.Exceptions.InvalidConfigurationException “Microsoft.Azure.IoTSolutions.StorageAdapter.Services.Exceptions.InvalidConfigurationException”类型的未经处理的异常在 Microsoft.Azure.IoTSolutions.StorageAdapter.Services.dll 中发生 : 'Environment variables not found: , PCS_AAD_APPID' 在 Microsoft.Azure.IoTSolutions.StorageAdapter.Services.Runtime.ConfigData.ProcessMandatoryPlaceholders(String& value) 在 C:\temp\remote-monitoring-services-dotnet-master\storage-adapter\Services\Runtime\ConfigData.cs 中: 第 160 行 在 Microsoft.Azure.IoTSolutions.StorageAdapter.Services.Runtime.ConfigData.ReplaceEnvironmentVariables(String& value, String defaultValue) 在 C:\temp\remote-monitoring-services-dotnet-master\storage-adapter\Services\Runtime\ConfigData.cs 中: 第 123 行 在 Microsoft.Azure.IoTSolutions.StorageAdapter.Services.Runtime.ConfigData.GetEnvironmentVariable(String key, String defaultValue) 在 C:\temp\remote-monitoring-services-dotnet-master\storage-adapter\Services\Runtime\ConfigData.cs 中: 第 115 行 在 Microsoft.Azure.IoTSolutions.StorageAdapter.Services.Runtime.ConfigData.SetUpKeyVault() 在 C:\temp\remote-monitoring-services-dotnet-master\storage-adapter\Services\Runtime\ConfigData.cs 中: 第 82 行 在 Microsoft.Azure.IoTSolutions.StorageAdapter.Services.Runtime.ConfigData..ctor(ILogger logger) 在 C:\temp\remote-monitoring-services-dotnet-master\storage-adapter\Services\Runtime\ConfigData.cs 中: 第 45 行 在 Microsoft.Azure.IoTSolutions.StorageAdapter.WebService.Program.Main(String[] args) 在 C:\temp\remote-monitoring-services-dotnet-master\storage-adapter\WebService\Program.cs 中: 第 16 行 I don’t know how to fix it. So I asked for help.
Brgs,
Peter Wen
发送自 Windows 10 版邮件https://go.microsoft.com/fwlink/?LinkId=550986应用
发件人: Johannes Rieken notifications@github.com 发送时间: Monday, October 14, 2019 3:04:49 PM 收件人: microsoft/vscode vscode@noreply.github.com 抄送: pw007 wdy_sw@hotmail.com; Author author@noreply.github.com 主题: Re: [microsoft/vscode] remote-monitoring-services-dotnet-master\storage-adapter running error (#82482)
/needsMoreInfo
How is this related to VS Code? Is this an extension?
― You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fvscode%2Fissues%2F82482%3Femail_source%3Dnotifications%26email_token%3DAKCBRAYKWKW4RILZ2EIF37LQOQKZDA5CNFSM4JAK2BXKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBDQH7I%23issuecomment-541524989&data=02%7C01%7C%7Cc849f013ac3041ee73d508d75074cdfa%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637066334905598849&sdata=7uNNtoYLZuCLBswKF07S3fQD5hUyTkhAnitrBJsrBGg%3D&reserved=0, or unsubscribehttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAKCBRAYTHUY6JOQRHTAOKYDQOQKZDANCNFSM4JAK2BXA&data=02%7C01%7C%7Cc849f013ac3041ee73d508d75074cdfa%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637066334905598849&sdata=p8DIvOG26J5h26L7DwnxwTUrwsu6SK%2Ffg%2BQj47dD4F0%3D&reserved=0.
This is not the right place to find an answer.
Please ask your question on StackOverflow. We have a great community over there. They have already answered thousands of questions and are happy to answer yours as well. See also our issue reporting guidelines.
Happy Coding!
Issue Type: Bug
when I Ran the storage adapter microservice in Visual Studio Code. VS shows there are some projects miss loading error.
VS Code version: Code 1.38.1 (b37e54c98e1a74ba89e03073e5a3761284e3ffb0, 2019-09-11T13:35:15.005Z) OS version: Windows_NT x64 6.1.7601
System Info
|Item|Value| |---|---| |CPUs|AMD A10-6800K APU with Radeon(tm) HD Graphics (4 x 4120)| |GPU Status|2d_canvas: enabledflash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
oop_rasterization: unavailable_off
protected_video_decode: unavailable_off
rasterization: unavailable_off
skia_deferred_display_list: disabled_off
skia_renderer: disabled_off
surface_synchronization: enabled_on
video_decode: enabled
viz_display_compositor: disabled_off
webgl: enabled
webgl2: enabled| |Load (avg)|undefined| |Memory (System)|7.20GB (3.54GB free)| |Process Argv|| |Screen Reader|no| |VM|0%|
Extensions (10)
Extension|Author (truncated)|Version ---|---|--- vscode-azureappservice|ms-|0.16.0 azure-account|ms-|0.8.4 cpptools|ms-|0.25.1 csharp|ms-|1.21.4 azure-iot-edge|vsc|1.17.0 azure-iot-toolkit|vsc|2.11.0 azure-iot-tools|vsc|0.3.0 vscode-arduino|vsc|0.2.27 vscode-iot-device-cube|vsc|0.1.1 vscode-iot-workbench|vsc|0.10.15