2
Vote

COMException when running ACS enabled server

description

Getting COM Exception
 
Retrieving the COM class factory for component with CLSID {B15183DD-75F9-42DF-8E57-C8B57692F134} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
 
WebRole.cs
 
[EnvironmentPermission(SecurityAction.LinkDemand)]
    private static bool UpdateWifSettings()
    {
        using (var server = new ServerManager())
        {
 
Steps:
Create new blank project
Select local storage
Select MS notifications
Select ACS Auth <- this is important, this error does not occur with ASP.net auth
Run solution
 
I think this has something to do with having IIS Express installed. According to the registry CLSID {B15183DD-75F9-42DF-8E57-C8B57692F134} is Microsoft.IIS.VersionManager which comes up in lots of WebMatrix and IIS Express problems.
 
The Microsoft.Web.Administration reference shows 7.9.0.0
 
I can modify the .proj file and set it to 7.0.0.0 with specific version set to True to resolve the issue

comments

wwegner wrote Aug 19, 2011 at 12:20 AM

Thanks for reporting. We've made the fix and will update with the next release.