August 2013 Entries

Powershell COM objects

I was trying to create a COM object in powershell like this$obj= New-Object -ComObject MyProject.MyClass$obj|Get-M... I ran it I received this error:New-Object : Retrieving the COM class factory for component with CLSID {E51BB9FD-F8EF-4636-8DE3-1A... failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))I just used regsvr32 on the dll so I knew it was registered and I verified it with regeditFigured out I was running ......

LocalSTS Web.config

I've been working on some Windows Identity Framework project and have been using the cool localSTS tool for claims authentication. The one thing I did notice is that the web.config for the project is overridden when the localSTS is configured. After my project was running correctly, I went in and added some claims to the existing configuration. When I started the project again the Windows Cardspace app popped up and there was a message"Incoming policy failed validation."Took me forever to figure ......

How to get Service Bus for Windows client config

I installed the Service Bus for Windows Server application but did not save the client connection string.  I found out later how to do it so here it is.

1.  Open the Service Bus Powershell link under the Service Bus group (or add the ServiceBus PowerShell ps1 file)
2.  Execute the Get-SBClientConfiguration command.