Open sdolier opened 4 years ago
Hi @sdolier ,
Thanks for your feedback
The AspNetAutoInstrumentationModule
will try to load the required assemblies for tracing Asp.Net application, but since you've imported AWSXRayRecorder.AutoInstrumentation
library in your application, the required satellite assemblies are already shipped within your application and this step is unnecessary in the current state, which, in your case, may try to load other missing assemblies in the C:\Program Files\AWSXRayAgent\Net45\
in the runtime.
We will fix this in our next release soon
Before that, you can try:
I have installed the AWS X-Ray .NET Agent and the IIS module has been installed.
My site is a .net MVC project and running the site results in the exception below.
It looks like Amazon.XRay.Recorder.AutoInstrumentation.AspNetAutoInstrumentationModule.LoadBytesFromAssembly(path) is trying to load an assembly it shouldn't be.