If Windows Live Writer displays the error “An unexpected error occurred while attempting to detect blog settings. Unable to cast COM Object type ….”, then
the likely cause for this error could be corrupted Internet Explorer. You can resolve this error by repairing or re-installing In Internet Explorer. Depending upon the version Internet Explorer you can download the software from Microsoft website. If you PC has Windows XP Operating then you can only install Internet Explorer 8. You can download the required software from the below location.