Posts

Showing posts with the label .net framework

Convert Outlook EntryID to EwsID Exchange Web Services

I found myself trying to find an email in Exchange the other day, based on the EntryID I could retrieve from the email in Outlook (Exchange account). I was using Exchange Web Services EWS to access the mailbox the email was stored in. In EWS you can retrieve an item by providing its ID Dim item As Item = item.Bind(service, New ItemId(entryid))   Well quickly I found out that the EntryID of the email in Outlook was not what I wanted. After some reading I discovered the ConvertId function that converts ids from one format to another. The available formats are  EntryId EwsId EwsLegacyId HexEntryId OwaId StoreId   So I went on to do the obvious, convert my ID from EntryId to EwsId. I wish! Microsoft.Exchange.WebServices.Data.ServiceResponseException "The specified object was not found in the store." was what I got to my surprise! What actually was wrong was that the EntryID was not in EntryId format but i n HexEntryId format . The code that gets th...

Windows updates KB2656351 and KB2600217 keep coming up in Windows Update

Image
The last 3 weeks 2 windows updates "Security Update for Microsoft .NET Framework 4 on XP, Server 2003, Vista, Windows 7, Server 2008, Server 2008 R2 for x64" KB2656351 and "Update for Microsoft .NET Framework 4 on XP, Server 2003, Vista, Windows 7, Server 2008, Server 2008 R2 for x64" KB2600217 kept coming up in Windows Update even though it said they were installed successfully. That was really frustrating! Those 2 had to do with .NET 4 so I even did a repair but with no luck. They kept coming up. Finally I found the solution in this forum thread . Basically what I had to do was:      - Uninstall the .NET 4 with the  help of  .NET Framework Cleanup Tool      - Install .NET 4 again      - Install windows updates Before you start: In some post I read that maybe antivirus may be meshing up with the installation of the upgrades. So deactivate your antivirus as a precaution before you start this procedure. I had Spybot Se...