-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Agents for .NET #376
Comments
Hi, |
Hello @Henning-Schulz, How do I make use of InspectIt .Net Agent? Could you please provide some instructions? I got the files and compiled the program. It generated the InspectITNetAgent.dll and I would like to know how to use it for IIS .NET applications. Thanks, |
Hello @pperumala, thanks for your interest in the .NET agent! You have to register the agent .dll and then set some environment variables. Please refer to the Microsoft documentation for details: https://docs.microsoft.com/en-us/dotnet/framework/unmanaged-api/profiling/setting-up-a-profiling-environment I hope I could help! |
Hi @Henning-Schulz, Thank you for your response! We have registered the .dll and added the environment variables, but we are still unable to see the agent connecting to the CMR. Are there any additional steps that I need to follow? Thanks, |
Hi @pperumala, registering the .dll properly can be tricky. Can you please double-check that you used the same version (32 or 64 bit) of the regsvr tool as your application? We also had issues in the past with a 32 bit application and the .dll registered with the 64 bit version of regsvr. Another check you can do is to look at your application logs. Can you see any logs of the agent? If so, the agent was properly registered and only has issues in connecting to the CMR. In this case, please post the logs of the agent here. Best, |
Hi @Henning-Schulz, Here are the logs the I constantly keep getting.
This is the method I used to register the .DLL
I get successful register message after that. I also checked the registry (regedit.exe) for the registration of the .DLL and Object Profiler. These were created in the regedit right after registering the .DLL: I also have IIS running with a web site setup. I believe that I have everything covered as per the instructions. Not sure if I am missing anything here. Looking forward for your advice. Thank you, |
Hi @pperumala, Your method to register the .DLL looks good to me. I think the problem is related to an OS or .NET version conflict. As you already get (error) logs from the profiler, I don't think the issue is related to registering, but rather happens when your application tries to load the profiler. The only idea I currently have is to download the inspectIT.NET source code and build the agent again. I hope this helps solving the issue and I'm happy to hear from you whether you were successful. Best, |
Hi.
This proyect is awesome guys and looks like is what we where looking in regards of Java Apps, we also have some .NET apps lying arround and in a blog we read that there is a .NET experimental agent, is that true? if that the case , Where can we find it?
Thanks in advance.
The text was updated successfully, but these errors were encountered: