Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I've struggled with this one for a whole day, so here is both the problem & solution:

After profiling an ASP.NET application on Windows 7 (x64), I exited Visual Studio (possibly a crash) and installed some updates which required a reboot. When I loaded back up the ASP.NET Web Application in my Visual Studio Solution was dimmed out, and the Web & WAS services turned out to be stopped.

When I tried starting Windows Process Activation Service, I got the error "parameter is incorrect".

share|improve this question
OMG! So I had an early work day (4am) and I happen to do 'something' that ran the perf mon in VS and then someone, it all broke. So THANK YOU so much for posting this. It helped and worked! Thanks MS for taking a year off my life. – user147372 Nov 28 '12 at 10:33

1 Answer 1

I tried the suggestion here and didn't have any success, so then I compared the registry entries for a working WAS service and one that wasn't. Here was that difference:


Not Working: Blank

Working: Cor_Enable_Profiling=0x0

Replacing the empty Environment value with Cor_Enable_Profiling=0x0 allowed the service to start and everything returned to normal. I believe profilers set that to 0x1 when they are profiling your application, it is possible it got deleted during the unexpected shutdown of my profiler.

share|improve this answer
PS - Had to do it with the IIS management service also: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\IISADMIN\Environment = 'Cor_Enable_Profiling=0x0' – user23596 Dec 9 '10 at 16:45
I had the very same problem. I was using the performance monitor of visual studio 11 developer preview. Seems it has kind of some issues. Anyway - your solution totally works for me - thanks! You made my day! :) – Alexander Marek Jan 20 '12 at 9:11

protected by Community Aug 25 at 13:37

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.