Go to “C:Program FilesWindows Sidebar”
Take ownership of this folder, and grant permission for your Groups or Accounts to have Read+Write
Rename wlsrvc.dll to wlsrvc.dll.old
and then replace it with this one.
restart the sidebar application, the sidebar not the gadgets
the gadget work again.
Earlier I uninstall the Weather gadget comes with the windows installation and you can use the following methods to get it back.
Control PanelAppearance and Personalization