home links tools blog about

AngryPets Blog

home

IIS 6, VS 2005, and VPC - oh my!


So, I've got VS 2005 running on one of my VPCs which is running Win2k3 Server.

VS 2005 has been running fine for a while, but I'm working on a project that's basically what I'm lovingly calling TECH-SOUP (embedding WMP in a winform control using interop, and them making that WINFORM control consumable as an ActiveX object in a web page -- where I'll tell the player what to play through AJAX).

Only after installing IIS 6 I keep getting these bloody: Service Unavailable errors. They're driving me nuts.

Then I check the event logs. Sure enough: evil has come, once again, for another visit:

The machine-default permission settings do not grant Local Activation permission for the COM Server application with CLSID
{A9E69610-B80D-11D0-B9B9-00A0C922E750}
to the user NT AUTHORITY\NETWORK SERVICE SID (S-1-5-20). This security permission can be modified using the Component Services administrative tool.

So (GASP), I decide (after reading the log event) that I'll need to visit DCOM, find the CLSID in question and muck with it. Too lazy to try and find the class by it's ApplicationID, I just copied and pasted that nasty SID into Regedit and let it look it up for me: IIS Admin Service (two-timing traitor!!).

Once I found the culprit I just found it in Component Services: Start | Admin Tools | Component Serivices | Computers (you'll have to toggle between icon and the +) | My Computer (same shuffling maneuver) | DCOM Config. Once in there just find IIS Admin Service | Right Click | Properties and select the Security tab.

Then from the Launch and Activate Perms, set to Customize and click Edit. Then add Network Service and give them the appropriate rights (local launch and local activation).

Stop and Restart your App Pool (may not be necessary, but I did it for good measure). Voila... IIS is back up and running.

(Now back to my tech-soup endeavors...)


posted on Wednesday, August 10, 2005 3:39 PM
 

Existing Comments:

No comments posted yet

Add your own comment:


Go to http://blog.angrypets.com where comments are enabled.