You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I followed the instruction of running kernelhttpserver but keeps receiving this exception:
[2023-03-29T16:01:35.028Z] Found C:\Users\zy418\Documents\Visual Studio 2022\semantic-kernel\samples\dotnet\KernelHttpServer\KernelHttpServer.csproj. Using for user secrets file configuration.
[2023-03-29T16:01:37.317Z] A host error has occurred during startup operation 'a5a93bd4-cb49-4c0f-80b6-f299af6af6fb'.
[2023-03-29T16:01:37.319Z] Microsoft.Azure.WebJobs.Extensions.Http: Could not load file or assembly 'System.Net.Http.Formatting, Version=5.2.8.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. 系统找不到指定的文件(System can not find the specific file)。.
Value cannot be null. (Parameter 'provider')
To Reproduce
Just following this document to start the kernelserver
Expected behavior
Server should run successfully
Screenshots
met error message below:
Desktop (please complete the following information):
OS: Windows
IDE: VS Code
- func tool version:
-
Additional context
Add any other context about the problem here.
This seems to be the main cause.
It runs well on my machine so I would recommend uninstall .NET SDK and reinstall it. Make sure install .NET v7 to use notebooks.
This seems to be the main cause. It runs well on my machine so I would recommend uninstall .NET SDK and reinstall it. Make sure install .NET v7 to use notebooks.
Thanks for the prompt :)! I reinstalled my .net sdk and azure function tool and now it works.
Activity
tynguyen commentedon Mar 29, 2023
This seems to be the main cause.
It runs well on my machine so I would recommend uninstall
.NETSDK and reinstall it. Make sure install.NET v7to use notebooks.xboxeer commentedon Mar 30, 2023
Thanks for the prompt :)! I reinstalled my .net sdk and azure function tool and now it works.
Update import document tool to new auth model (microsoft#239)