Closed gouthampai closed 4 years ago
@gouthampai, Based on the callstack, Azure.Core.dll doesn't exist in the 'ServiceProfiler' folder.
I verified the scenario with self-contained application on app service (win-x86). Unfortunately, I can't reproduce the issue you are seeing.
Based on that, there might be some step that I didn't notice that leads to this situation.
Advnaced Tools
for your website through Azure Portal:
dotnet publish
?My ended up remediating the issue by removing the profiler for now.
On Thu, Apr 2, 2020, 8:16 PM Saar Shen notifications@github.com wrote:
@gouthampai https://github.com/gouthampai, Based on the callstack, Azure.Core.dll doesn't exist in the 'ServiceProfiler' folder.
I verified the scenario with self-contained application on app service (win-x86). Unfortunately, I can't reproduce the issue you are seeing.
Based on that, there might be some step that I didn't notice that leads to this situation.
- Is it possible for you to post a copy of the ServiceProfiler folder copy here? You shall be able to access it through Advnaced Tools for your website through Azure Portal: [image: image] https://user-images.githubusercontent.com/3674549/78311271-2ee0eb80-7505-11ea-8e47-3b714191e322.png
- Also, is it possible to paste a copy of the ServiceProfiler.zip from your artifacts folder - like the publish folder after you run dotnet publish?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/microsoft/ApplicationInsights-Profiler-AspNetCore/issues/77#issuecomment-608160819, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHRELP7D4NS64TWJEAWNERTRKUTHPANCNFSM4KYDGFFQ .
Sure. Please feel free to create issue when you decide to enable the profiler again. I'll close this issue for now.
I'm running some .net core 3.1 APIs in azure app service and was taking a look through the exceptions in app insights. Something that stuck out to me was a large amount of
System.IO.FileNotFoundException
caused by the profiler trying to stop and being unable to find the fileD:\home\site\wwwroot\ServiceProfiler\Azure.Core.dll
. If it helps at all, this is a self contained deployment targeting .net core 3.1.1 on the win-x86 runtime. I'm using the following packages as suggested by the .net core 3.0 sample.Microsoft.ApplicationInsights.AspNetCore v2.12.1
Microsoft.ApplicationInsights.Profiler.AspNetCore v2.1.0-beta1
Here is the stack trace
Any Idea what could be causing this?