473,322 Members | 1,781 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Windows automatic Updates

2
I’m new with python

This my code:
import win32com
import win32com.client

update = win32com.client.Dispatch('Microsoft.Update.Session ')
updateSearcher = update.CreateUpdateSearcher()
in this line I has exception
searchResult = updateSearcher.Search(‘AutoSelectOnWebSites=1 and Type="Software"’)

the exception that I got is:
(-2147352567, 'Exception occurred.', (0, None, None, None, 0, -2145124302), None)

I think the exception raise because the parameters problems.
Somebody please explain me what mining of this exception and how can I fix this problem
Thank you
Samuel
Jan 18 '10 #1
1 3228
LerSam
2
Problem rising on windows 2000 professional
Jan 18 '10 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Lyle Fairfield | last post by:
**** begin quote A **** UPDATE: Time is running out! Please note that the mechanism to temporarily disable delivery of Windows XP SP2 is only available for a period of 240 days (8 months) from...
6
by: wassa | last post by:
Wouldn't the fact that you need to deploy your .NET application with a giant 23mb framework rule it out of being used for serious commercial applications, except maybe those apps that will be huge...
1
by: Ibrahim. | last post by:
Hello, I have a problem, when ever windows updates happens automatically in my system the cookies are deleted from the browser environment. I have a web site that I visit regularly and have...
23
abouddan
by: abouddan | last post by:
Hi all, I trying to the Automatic updates. After searching for the right updates a list of 32 high priority updates, when selecting "Download Updates and install", the process of downloading...
1
by: =?Utf-8?B?RGF2ZSBDdW5uaW5naGFt?= | last post by:
I'm new at this so I hope I get it right THIS time! Running Windows XP SP2. When I boot up I get the following message: RUNDLL Error loading C:\WINDOWS\SYSTEM32\valcesfk.dll The specified...
0
by: =?Utf-8?B?VG9kZA==?= | last post by:
I need to be able to set Windows "Automatic Updates" to "Download updates for me, but let me choose when to install them" on my clients computers programmatically. If someone could point me in the...
60
by: FAQ server | last post by:
----------------------------------------------------------------------- FAQ Topic - How do I prompt a "Save As" dialog for an accepted mime type?...
0
by: newguy2008 | last post by:
hi all, I'm somewhat new to the .Net environment, my current project is a Windows app. with .Net 2.0(c#). One of the requirements is that it should have automatic updates where updates are...
1
by: =?Utf-8?B?ZHVjaG92bGV0?= | last post by:
I tried installing Norton SystemWorks Premier 2007 onto my new laptop which is running Windows XP SP3 Home Edition. The installation SEEMED to go ok but then when I tried doing the initial...
0
by: raaman rai | last post by:
This is quite irratiting to find out that my system is enabled with automatic updates and it periodically updates my pc with the latest updates. But recently i encountered network problem once the...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.