The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 2,481 other followers

Archive for July 10th, 2009

Circumventing error 80070006 when running VBS (in this case: DBRESTORE.VBS to backup/restore your Windows XP Embedded Database): wscript versus cscript

Posted by jpluimers on 2009/07/10

At a client, I had to backup their Windows XP Embedded Database using DBRESTORE.VBS.
You can find more about that tool in DBRestore Command Line Syntax.

Error 80070006 during dbrestore.vbs execution

Error 80070006 during dbrestore.vbs execution

This tool is supposed to be run from the command-line, but the first thing I got was an error 80070006.
Since I the client was running a Dutch Windows system, the error would manifest itself as this:

Windows Script Host
Script:	C:\temp\ValueAdd\dbrestore.vbs
Regel:	72
Teken:	2
Fout:	De ingang is ongeldig.
Code:	80070006
Bron: 	(null)

Although I’m not a VBS programmer, I know how to read source code in various languages, so below is how I solved the issue.
Read the rest of this entry »

Posted in VBS, XP-embedded | Leave a Comment »

%d bloggers like this: