Has anyone monitored a standalone .exe C# application?
I have a server with IIS .NET application as well as standalone C# application.
I installed agent 10.2 and IIS apps can be seen.
For standalone , I edited the exe.config file as per sample.exe.config file in wily directory. But the exe doesn't get started.
In the agent profile , I have given w3wp.exe and pd.exe (name of exe) as the process list. One agent profile is catering for both IIS as well as EXE application.The exe is triggered by windows task scheduler every 5 minutes.
It would be great if anyone could give guidance.
Changing this to a discussion since it is a broader topic
First of all, please make sure the C# application works with the version of supported .Net Framework used by Agent.
Also make sure the process permission and other .NET Agent requirements
Have you tried using absolute path or application pool under Agent properties?
Configure the following properties in the Agent profile:
If the application is not configured to run in an application pool use "NULL" in the application pool name for it to be monitored.
Hi Yanna ,
Thanks a lot for the insight.
1. I was checking on the framework version. When I open the exe in decompiler , it shows the targeted framework is 4.5 ,whereas the properties shows framework 2.0.
2. When I run wily_permission.exe on this process, it throws exception regrading ' get user details access denied'.
3. I have tried the full path as well as just the exe name.
4. The exe just fails to start . Rest of the app pools can be seen from Investigator.
Also, the exe shows it is 32 bit whereas .NET agent I installed (for the app pool monitoring ) is 64 bit .
Hope that helps
Do you also have a case running for this?
Thanks for the reply.
I am using default-typical.pbl and also a custom pbd which contains the classes I got after decompiling the dll file.
If I have to disable autoprobe , I should have another profile file for just this exe , right? As my app pool should not be affected.
Also I get error while running wily_permissions.exe which I am seeing for first time.
I have a case 00437222: Monitor EXE file developed in C# but got the reply as out of scope.
Yes, the case 00437222 is for this I think.
Hi All ,
I got the exe running even though it doesnt show anything in Investigator.
The encoding of the exe.config file I created was different from the encoding of the original exe.config. (You will see the encoding when you 'save as' ).
Now , need to work on tracers.
Seems like you made progress and now doing the next thing. Although there is no official way to do this, this thread is now seen as inactive
Good Luck on your endeavors