# Wsus-cookbook ole error

**URL:** <https://discourse.chef.io/t/wsus-cookbook-ole-error/10846>\
**Category:** Chef Automate\
**Created:** [April 27, 2017, 3:54pm UTC](https://discourse.chef.io/t/wsus-cookbook-ole-error/10846 "2017-04-27T15:54:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![prash](https://avatars.discourse-cdn.com/v4/letter/p/d07c76/32.png) [@prash](https://discourse.chef.io/u/prash)\
**Post date:** [April 27, 2017, 3:54pm UTC](https://discourse.chef.io/t/wsus-cookbook-ole-error/10846/1 "2017-04-27T15:54:27Z")

</div>

Greetings Professionals,

i was using the wsus-client community cookbook just for windows updates and i have configured accordingly to our organisation requirement when i try to run this cookbook i get the below error

10.0.108.136 ================================================================================  
10.0.108.136 Error executing action `download` on resource 'wsus\_client\_update[WSUS updates]'  
10.0.108.136 ================================================================================  
10.0.108.136  
10.0.108.136 WIN32OLERuntimeError  
10.0.108.136 --------------------  
10.0.108.136 (in OLE method `Search': ) 10.0.108.136 OLE error code:8024402C in <Unknown> 10.0.108.136 <No Description> 10.0.108.136 HRESULT error code:0x80020009 10.0.108.136 Exception occurred. 10.0.108.136 10.0.108.136 Cookbook Trace: 10.0.108.136 --------------- 10.0.108.136 c:/chef/cache/cookbooks/wsus-client/providers/update.rb:86:in `method\_missing'  
10.0.108.136 c:/chef/cache/cookbooks/wsus-client/providers/update.rb:86:in `block in updates' 10.0.108.136 c:/chef/cache/cookbooks/wsus-client/providers/update.rb:84:in `tap'  
10.0.108.136 c:/chef/cache/cookbooks/wsus-client/providers/update.rb:84:in `updates' 10.0.108.136 c:/chef/cache/cookbooks/wsus-client/providers/update.rb:33:in `block in class\_from\_file'  
10.0.108.136  
10.0.108.136 Resource Declaration:  
10.0.108.136 ---------------------  
10.0.108.136 # In c:/chef/cache/cookbooks/wsus-client/recipes/update.rb  
10.0.108.136  
10.0.108.136 31: wsus\_client\_update 'WSUS updates' do  
10.0.108.136 32: action = [:enable, :install]  
10.0.108.136 33: action = actions\_to\_perform  
10.0.108.136 34: end  
10.0.108.136  
10.0.108.136 Compiled Resource:  
10.0.108.136 ------------------  
10.0.108.136 # Declared in c:/chef/cache/cookbooks/wsus-client/recipes/update.rb:31:in `from_file' 10.0.108.136 10.0.108.136 wsus_client_update("WSUS updates") do 10.0.108.136 action [:download, :install] 10.0.108.136 retries 0 10.0.108.136 retry_delay 2 10.0.108.136 default_guard_interpreter :default 10.0.108.136 declared_type :wsus_client_update 10.0.108.136 cookbook_name "wsus-client" 10.0.108.136 recipe_name "update" 10.0.108.136 end 10.0.108.136 10.0.108.136 Platform: 10.0.108.136 --------- 10.0.108.136 x64-mingw32 10.0.108.136 10.0.108.136 10.0.108.136 [2017-04-27T13:35:11+00:00] INFO: Running queued delayed notifications before re-raising exception 10.0.108.136 [2017-04-27T13:35:11+00:00] ERROR: Running exception handlers 10.0.108.136 [2017-04-27T13:35:11+00:00] ERROR: Exception handlers complete 10.0.108.136 [2017-04-27T13:35:11+00:00] FATAL: Stacktrace dumped to c:/chef/cache/chef-stacktrace.out 10.0.108.136 [2017-04-27T13:35:11+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report 10.0.108.136 [2017-04-27T13:35:11+00:00] FATAL: WIN32OLERuntimeError: wsus_client_update[WSUS updates] (wsus-client::update line 31) had an error: WIN32OLERuntimeError: (in OLE method `Search': )  
10.0.108.136 OLE error code:8024402C in   
10.0.108.136   
10.0.108.136 HRESULT error code:0x80020009  
10.0.108.136 Exception occurred.  
ERROR: Failed to execute command on 10.0.108.136 return code 1

![](https://sea2.discourse-cdn.com/flex016/images/transparent.png)

and i could not able to fix that error manually on the deployed node please help ..!

Thanks  
Prash
