Follow these steps to ensure the Prefix profiler has started & is attached to your app:
- Restart your PC.
- From the tray app, right click on it and click "Disable Profiler" then "Enable Profiler" once it stops.
- Start Visual Studio as an administrator.
- Debug your application as normal.
If that process doesn't work, please read below.
Note: Prefix currently will not work if Just Mock is also installed
The following is a guide for troubleshooting common Prefix problems:
Verify if the Stackify Profiler is working
To verify that the profiler is working, browse on your PC to c:\Program Files (x86)\StackifyPrefix\Profiles and see if any folders exist. The folders will have numeric names. If folders exist and data is inside of these folders, the profiler is working.
No profiler output with IIS Express
If you are using IIS Express and there is no profiler output, you may just need to restart Visual Studio. Restart and then create some web requests to IIS Express and see if profiler output now exists.
No profiler output with IIS (Not IIS Express)
Enabling the profiler should set all the appropriate environment variables and settings for IIS, as well as restarting IIS. Try enabling the profiler again from the Prefix app and stopping then restarting WAS and W3SVC windows services on your PC. From command line perform “net stop was /y” and then “net start w3svc”.
Profiler output but no requests are showing up with IIS Express & Visual Studio 2015
With IIS Express you need to enable the Stackify HTTP Module in your app for all web request types to be supported. Please see this help doc about configuring IIS Express & Visual Studio 2015.
Profiler output but no requests are showing up due to processing error
It is possible that the Prefix Windows service is getting some sort of error processing the profiler output of your application. Review c:\Program Files (x86)\StackifyPrefix\stackify.log for exceptions and please contact Stackify support if it seems to be stuck processing a certain request and throwing exceptions. Be sure to send the log file to support.
Prefix isn’t working…. and none of the other items list have helped. Help!
If all else fails, be sure to hit “Enable Profiler” again and reboot your machine. Contact us and we will try to help!