Avast 4.7 Home cannot update, cannot find file

I’ve been using Avast Home for over a year now with no problems until a couple of days ago.

Now I get a message that it was not able to update because a file could not be found.

Log file contents:

Warning.log

10/4/2007	4:28:42 PM	1191533322	SYSTEM	580	Function setifaceUpdatePackages() has failed. Return code is 0x00000002, dwRes is 00000002.  
10/4/2007	4:28:43 PM	1191533323	SYSTEM	580	An error has occured while attempting to update. Please check the logs.  
10/5/2007	6:37:45 AM	1191584265	SYSTEM	548	Function setifaceUpdatePackages() has failed. Return code is 0x00000002, dwRes is 00000002.  
10/5/2007	6:37:45 AM	1191584265	SYSTEM	548	An error has occured while attempting to update. Please check the logs.

Setup.log

05.10.2007	06:37:44.000	1191584264	general	SelectCurrent: unable to find any suitable server in 'main'
05.10.2007	06:37:44.000	1191584264	internet	tried 166 servers to get file 'servers.def.vpu', but failed (0x00000002)
05.10.2007	06:37:44.000	1191584264	file	GetNewerStampedFile:GetFileWithRetry failed: C:\WINDOWS\TEMP\_av_proI.tm~a03172\onefile, servers.def.vpu, error: 0x00000002
05.10.2007	06:37:45.000	1191584265	package	Download servers.def, servers.def.vpu failed with error 0x00000002.
05.10.2007	06:37:45.000	1191584265	package	ERROR:GetInetFile, CreateFile( "C:\WINDOWS\TEMP\_av_proI.tm~a03172\dld1.tmp") returned 0x00000002
05.10.2007	06:37:45.000	1191584265	package	ERROR:GetInetFile, CreateFile( "C:\WINDOWS\TEMP\_av_proI.tm~a03172\dld1.tmp") returned 0x00000002
05.10.2007	06:37:45.000	1191584265	general	InvalidateCurrent: invalidated server 'Download97 AVAST server' from 'main'
05.10.2007	06:37:45.000	1191584265	general	SelectCurrent: unable to find any suitable server in 'main'
05.10.2007	06:37:45.000	1191584265	internet	tried 1 servers to get file 'servers.def', but failed (0x00000002)
05.10.2007	06:37:45.000	1191584265	file	GetNewerStampedFile:GetFileWithRetry failed: C:\WINDOWS\TEMP\_av_proI.tm~a03172\onefile, servers.def, error: 0x00000002
05.10.2007	06:37:45.000	1191584265	package	Tried to download servers.def but failed with error 0x00000002.
05.10.2007	06:37:45.000	1191584265	general	Err:The system cannot find the file specified.
05.10.2007	06:37:45.000	1191584265	package	Transferred files: 0
05.10.2007	06:37:45.000	1191584265	package	Transferred bytes: 0
05.10.2007	06:37:45.000	1191584265	package	Transfer time: 0 ms
05.10.2007	06:37:45.000	1191584265	file	NeedReboot=false
05.10.2007	06:37:45.000	1191584265	general	Return code: 0x00000002 [The system cannot find the file specified.]
05.10.2007	06:37:45.000	1191584265	general	Stopped: 05.10.2007, 06:37:45

Try a repair of avast. Add Remove programs, select ‘avast! Anti-Virus,’ click the Change/Remove button and scroll down to Repair, click next and follow.

Is this happening shortly after boot ?
Do you have a temp file cleaning tool (like ccleaner) that clears temp files, etc. that also runs on boot ?

Are you able to do a manual update, right click the avast ‘a’ icon, select Updating, iAVS Update ?

Good idea! I’ll try that…

Yes, it occurs soon after my first boot of the day.

I do have CCleaner set up to run on startup, but… It’s been that way for quite a whle with no problems, and I have it set to not delete temporary files until they are 48 hours old. Just in case, I have just configured CCleaner to exclude the C:\WINDOWS\Temp_avast4_ directory from cleaning. We’ll see if the problem continues.

Yes, manual updates seem to work.

I have seen this before where ccleaner is wiping out the temporary files causing a problem with file not found before, as indicated in the error log.

This 48 hour exception should also be better if there are other applications that might hiccup if their files are deleted, but exclusion of the avast temp folder should work.

I’m sure you will let me know if it doesn’t ;D

The manual update check was just to confirm that the update process worked.