Main Forum > Tweaking.com Support & Help

Error message From Registery Backup on a UEFI system.

<< < (5/13) > >>

streetwolf:
Sorry to say the error came back this morning.  As usual the backup was taken successfully. I also got the error message when I had to reboot my machine.  No backup was taken as I use the once a day auto option.

Shane:
Yeah I dont think this is a Windows 8 problem. I think it has something to do with the shutdown process of the program and it cleaning up the custom controls that I use.

I will do more testing in a bit and see if I can at least fig out which control it is. The thing that bugs me is that it doesnt happen every time. So going to be a hard one to find.

Shane

streetwolf:
Thinking that maybe by unchecking run at highest privileges for the RB task in the task scheduler might fix the problem it didn't.  RB didn't backup this morning and the message in Event Log clearly stated I needed elevated privileges.  So I checked the box, saved the task, and ran it manually.  It ran perfect.  You are right about it being intermittent.

If you can code some sort of debug routine in RB to see what's happening I'll gladly try it out. I could also run Process Monitor and see what that produces when the task get's the error.  Let me know.

Shane:
I have seen this problem is some of my other programs.

In the shutdown process you have 2 way to close a VB app.

1. When all the Windows are closed it closes the exe
2. You can call "End" which will close itself even if other things are open in the program.

The odd bug I run into is this. When I do #1 sometimes the program will never close, even though I clean up after everything, for some reason something doesn't close all the way, normally it is a control on the form.

So I use #2 after I am done cleaning up and closing everything. What is happening is a control or form isnt closing properly at random times and the end command is killing it, thus giving us the random error.

2 hard things about trying to fix this. Is the fact that it doesn't happen every time and finding which control is doing it. In my CleanMem mini monitor program I had this problem as well. I found a few tricks that worked on fixing it, such as giving it more time to close and better cleanup. I need to see what I did different there and see if I did or didnt do the same close down process in the reg backup.

When I have had programs do it every time I could code and test till it is fixed. These random ones are a pain, I can try a few things then wait and see if it keeps happening.

Shane

Shane:
Working on the program now.

Quick question, do you have the program set to remove old backups?

Reason why I ask is it removes the old backups when you do a backup. I am wondering if the removing the old backups is still working when the program tries to close. That might explain the crash.

If you do have it enabled does it still crash if you turn it off?

Shane

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version