Failed to create empty document after restore

Moderators: Jason Susnjara, Larry Epplin, Clint Buechlein, Scott G Vaal

Rob Babcock
Junior Member
Posts: 33
Joined: Wed, Jun 21 2006, 4:51PM

Failed to create empty document after restore

Post by Rob Babcock »

I am attempting to move eCabs to my new quad processor machine.

I had installed the software with a new key and it worked.

Then I manually moved all my work from the documents and settings\All users directory and my files from My Documents\eCabinets directory.

When I attempted to open one of my job files, eCabs (which had opened successfully) was missing some materials (sheet goods, etc.) that I had defined.

So I did a backup on the old machine (a lowly dual core processor laptop), copied the directory to my new machine, and did a restore.

Now I am getting the dreaded "Failed to create empty document" error.

How can I repair all this? Is there a better way to move all to a new machine?

Will eCabs re-install on my new machine without errors?

Thanks
Rob
Rob Babcock
Junior Member
Posts: 33
Joined: Wed, Jun 21 2006, 4:51PM

Re: Failed to create empty document after restore

Post by Rob Babcock »

Update to this post:

At this point, I have 2 machines with eCabs 6 r4 - one works (the laptop) and one is giving me this error.

I have searched this forum, and I noticed some topics from 2008 or so. I looked at using the registry patch, but there is no eCabinets key under HKLM\...\software (the key specified in the post with the registry file). So I am not comfortable with loading the registry patch...

I ran the repair function in Add/Remove Programs - it made no difference..

Should I now run "Revo Uninstaller" to remove eCabinets and re-install?

If that works, I will still need to figure out how to transfer my work so that the Material and hardware is not lost...

Thanks
Rick Deskins
Thermwood Team
Posts: 857
Joined: Tue, May 17 2005, 12:47PM
Company Name: Thermwood
Country: UNITED STATES
Location: Thermwood

Re: Failed to create empty document after restore

Post by Rick Deskins »

can you go to your "AppData" folder, right click, choose properties and uncheck the read only box, then hit ok.

AppData Folder Location:

XP:
c:\Documents and Settings\All Users\Application Data\Thermwood\eCabinet Systems

Vista\Win7:
C:\ProgramData\Thermwood\eCabinet Systems
Rick Deskins
eCabinet Systems Programmer
Dell Precision / Xeon E3-1240 / 8GB RAM/ AMD FirePro V4900
Rob Babcock
Junior Member
Posts: 33
Joined: Wed, Jun 21 2006, 4:51PM

Re: Failed to create empty document after restore

Post by Rob Babcock »

Thanks for your reply!!

Yes, read only was set on that folder. I unchecked it, then let it apply to all subfolders and files. Still can't create an empty document.

So, I did the same thing for the Thermwood folder in ..\All Users\Documents. Still no good

Then I tried C:\Program Files\Thermwood. Still no good.

Finally, I tried the folder I have in My Documents\eCabinet Systems. Still no good.

I am using Windows XP Pro SP3.

I notice that in Windows Explorer, the "Read Only" box is colored in for every folder, even in My Documents... However, I can write new files into these folders, delete them, etc....
Rob Babcock
Junior Member
Posts: 33
Joined: Wed, Jun 21 2006, 4:51PM

Re: Failed to create empty document after restore

Post by Rob Babcock »

Developers Question:

What happens to your system if you do a backup in eCabinets on another system, then copy the backup folders to your system and do a restore?

Both systems are loaded with the latest rev. etc....

Is this repeatable??
Ryan Callahan
Thermwood Team
Posts: 586
Joined: Tue, Jul 14 2009, 11:05AM
Company Name: Thermwood Corporation
Country: UNITED STATES
Location: Thermwood
Contact:

Re: Failed to create empty document after restore

Post by Ryan Callahan »

Rob,

I am not sure what has happened as this should be a pretty simple thing to do. I am working on testing this using some virtual machines, but I thought I would ask some questions first.

You said you MOVED the file from one machine to the other. If you did a COPY, then all is well and this is not the problem. If you did a MOVE (cut then paste), then there is a bug in windows that will cause all of the original file permissions to be moved as well. This will result in insufficient security rights to change the files on your new machine. If this is the case, you will need to reset the file permissions on the eCabinets directories so that the proper group will have ownership. I know that you will get the Failed to Create empty document on this mistake.

OK, just another quick question. Are both computers using the same version of Windows? This is important for testing. I am assuming that they are, but I will test both ways. This will take some time, but I hope to have the results soon.

Let me know if this gets you going. I will report back as soon as I have completed my installation testing and let you know what I find. Worst case, give us a shout and maybe we can guide you through issue this on the phone or I will be glad to talk you through it.
Ryan Callahan
Thermwood
Dell Precision T3400 / Core 2 Quad Q9400 / 2.4GHz / 8GB RAM / 256MB NVIDIA Quadro FX3450 / Windows 7 x64
Rob Babcock
Junior Member
Posts: 33
Joined: Wed, Jun 21 2006, 4:51PM

Re: Failed to create empty document after restore

Post by Rob Babcock »

I copied the folders to a usb memory drive and copied from there to the new computer. I believe I had to create the directory on the desktop, even though eCabs had just been loaded with the latest version and a new key.. I had opened my existing project several times on the desktop, and was working through missing stuff. The last thing that the new system wasn't finding was some user defined materials. That is when I decided to try the backup/restore...

One thing that is not the same on both machines is the account name that was logged into. On the laptop, the account was "Aaron", on the desktop the account I use is "Robert"

The laptop is Windows XP home, the desktop (where the problem is) is a WinXP Pro machine. Both are up to date SP3 + hotfixes.
DanEpps
Wizard Member
Posts: 5852
Joined: Thu, Jul 28 2005, 10:18AM
Company Name: Dan Epps
Country: UNITED STATES
Location: Rocky Face GA

Re: Failed to create empty document after restore

Post by DanEpps »

Did you do an eCabinets backup and then copy that folder and do an eCabinets restore from it? If so, everything should work as advertised.

If, however, you copied eCabinets folders from one machine to another you could end up with problems. If this is what you did, which folders did you copy?
Rob Babcock
Junior Member
Posts: 33
Joined: Wed, Jun 21 2006, 4:51PM

Re: Failed to create empty document after restore

Post by Rob Babcock »

I copied the folder C:\Documents and Settings\All Users\Documents\eCabinetSystems_Backup from one computer to another, and did a restore.

I've done this several times, with little changes. Each time I have to uninstall eCabinets from the new machine and re-install, then start eCabinets and activate my new key. At this point, I do the restore using the above folder, there is a message that eCabinets must be restarted to complete the restore.

The last time, I opened one of my project files without first restarting. The file opened, but I got errors regarding some hardware items and my user defined materials were not there (sheet stock, board stock, etc.).

After the restart, the error always pops up - the only way I can get eCabinets to ever start again is to uninstall/reinstall.
DanEpps
Wizard Member
Posts: 5852
Joined: Thu, Jul 28 2005, 10:18AM
Company Name: Dan Epps
Country: UNITED STATES
Location: Rocky Face GA

Re: Failed to create empty document after restore

Post by DanEpps »

The lightbulb :idea: just came on...when you use a Flash Drive/Thumb Drive, all files are set to read-only. You have to reset the permissions after copying them to the second computer. It will be easiest to reset permissions in the backup directory before doing the restore.
Rob Babcock
Junior Member
Posts: 33
Joined: Wed, Jun 21 2006, 4:51PM

Re: Failed to create empty document after restore

Post by Rob Babcock »

Just tried it..

First of all, I am very experienced with computers. I make a little money on the side repairing, building computers, etc. I get a lot of new knowledge these days because of the evolution of Spyware, virus programs, etc. I repair and update computers with RAID arrays, etc. I can usually repair a computer with a BSOD, if that is coming from spyware and not from a crashed drive... I built my new Quad processor/SATA RAID1 box and did a very tricky transfer of everything from the old box (also RAID, different chipset).

So I'm stumped, anyway :(..

I tried the attribute thing. In Windows Explorer, when you look at any directory's properties, the read only box is always checked. When you uncheck it, and Apply/OK, then come back, it will be checked again.. So I ran attrib "C:\Documents and Settings\All Users\Documents\eCabinetSystems_Backup\*.*" -R /S in a DOS window, just to make sure.

Then I restored. After the restart, still unable to create an empty document...

Edit:

OOps! That was attrib -R "C:\Documents and Settings\All Users\Documents\eCabinetSystems_Backup\*.*" /S
Rob Babcock
Junior Member
Posts: 33
Joined: Wed, Jun 21 2006, 4:51PM

Re: Failed to create empty document after restore

Post by Rob Babcock »

Another tack:

I went into the old computer, opened eCabs and created a new board stock item - a "Mesquite" face frame board (I am going to get to design a Mesquite kitchen :) ) I found the file that got changed at that moment...

It is "C:\Documents and Settings\All Users\Application Data\Thermwood\eCabinet Systems\ECabinets.mdb" I

I am not sure if eCabs is supposed to be using the Application Data directory in All Users.. This system (the old system) is set up under preferences for a user data path "c:\documents and settings\all users\documents\thermwood\ecabinet systems". I don't know if things are messed up by the fact that I've brought everything through version upgrades on the old box...

More info - please note the fact that the user name on the new machine is not "Aaron" (long story)...
Also note the Drawer Boxes location.
My eCabinets.ini file from the old machine, which gets "restored" to the new machne:

Code: Select all

[PriceDisplaySettings]
SellingPrice=TRUE
MaterialCost=TRUE
MfgCost=TRUE
TotalCost=TRUE
Profit=TRUE
CostingType=Material

[GeneralSettings]
DimensionFormat=2
WallHeight=96.000000
CountertopImage=burntamber
PlacementMode=snaptoback
MoveIncrement=0.250000
RoomLOD=4
CabinetLOD=9
CabPartDetailDisplay=1
CabinetAutoSpin=1
backsplashon=0
ObjectMoveIncrement=0.001000000
Language=English
LearningMode=1
ZeroDelayForNew=1
ToolTipDelay=0.50
LineColor=Black
PickBox=2
Ortho=ON
AngleSnapTo=OFF
ObjectSnap=OFF
SnapTo=OFF
PatternPositionMode=INC
PatternPickBox=2
V3OpeningNumber=28
AddGenericBoardstock2=0
AddGenericBoardstock3=0
KitchenLayoutToolTip=yes
RoomItemDetailDisplay=1
UseDisplayList=1
RoundNearMM=1
Tessellation=0.000005
TwoColor=0
MoveInc=0.12500000000000
PlaceItemGridSpacing=1.000000
PlaceItemGridSize=10
PlaceItemSnapSpacing=1.000000
GridOnOff=0
PlaceItemGridStyle=....
ShowOriginCrossHair=0
PanIncrement=1.000000

[ConestogaDoors]
DoorOneInchUpcharge=1.30
DrawerOneInchUpcharge=1.20
PremiumMaterialUpcharge=1.35
CostMultiplier=1.00

[NestingParameters]
Collar=0.500
Direction=Y
Type=trueshape
Print=job

[PriceDisplaySettings]
MaterialCost=TRUE
SellingPrice=TRUE

MfgCost=TRUE
TotalCost=TRUE
Profit=TRUE

[AddMoldingSettings]
TopLeft=TRUE
TopFront=TRUE
TopRight=TRUE
CenterLeft=TRUE
CenterFront=TRUE
CenterRight=TRUE
BaseLeft=TRUE
BaseFront=TRUE
BaseRight=TRUE
TopLeftFrontScribe=0.000000
TopLeftRearScribe=0.000000
TopFrontLeftScribe=0.000000
TopFrontRightScribe=0.000000
TopRightFrontScribe=0.000000
TopRightRearScribe=0.000000
CenterLeftFrontScribe=0.000000
CenterLeftRearScribe=5.000000
CenterFrontLeftScribe=0.000000
CenterFrontRightScribe=0.000000
CenterRightFrontScribe=0.000000
CenterRightRearScribe=0.000000
BaseLeftFrontScribe=0.000000
BaseLeftRearScribe=5.000000
BaseFrontLeftScribe=0.000000
BaseFrontRightScribe=0.000000
BaseRightFrontScribe=0.000000
BaseRightRearScribe=0.000000
TopLeftJoint=Miter
TopRightJoint=Miter
CenterLeftJoint=Miter
CenterRightJoint=Miter
BaseLeftJoint=Miter
BaseRightJoint=Miter

[RecentPaths]
FileLoadSavePath=C:\Documents and Settings\Aaron\My Documents\eCabinet Systems
LoadSaveSTLPath=
MakeJPGPath=C:\Documents and Settings\Aaron\Desktop
JobParamPath=
CNCOutputPath=
LoadImagePath=C:\Documents and Settings\All Users\Documents\Thermwood\eCabinet Systems\Assemblies\My Assemblies
CNCAddJobs=
HolePatternPath=
WebNexuscabinets=C:\Documents and Settings\All Users\Documents\Thermwood\eCabinet Systems\cabinets\My Cabinets
DrawerBoxes=C:\Documents and Settings\Aaron\My Documents\eCabinet Systems
WebNexusimport=C:\Documents and Settings\All Users\Documents\Thermwood\eCabinet Systems\Assemblies\My Assemblies
WebNexusassemblies=C:\Documents and Settings\All Users\Documents\Thermwood\eCabinet Systems\Assemblies\My Assemblies
Profilecreator=C:\Documents and Settings\All Users\Documents\Thermwood\eCabinet Systems\My Profile Tools
ContourOpenPath=C:\Documents and Settings\All Users\Documents\Thermwood\eCabinet Systems\My Profile Tools

[ImagePositionOnCube]
ImageTiled=TRUE
TileHighSet=TRUE
TileWideSet=TRUE
EditTileHigh=1
EditTileWide=1

[BillingInformation]
ShipCompanyName=
ShipContactName=
ShipEmailAddress=
ShipPhoneNumber=
ShipFaxNumber=
ShipAddress1=
ShipAddress2=
ShipCity=
ShipState=
ShipZip=
ShipCounty=
ShipCountry=
BillCompanyName=
BillContactName=
BillEmailAddress=
BillPhoneNumber=
BillFaxNumber=
BillAddress1=
BillAddress2=
BillCity=
BillState=
BillZip=
BillCounty=
BillCountry=

[UpdateConestogaDoors4]
HasBeenUpdated=1
[UpdateCabinets4]
HasBeenUpdated=1
[SliderControl]
sliderpos=140
[Drawings]
PrintWidth=2.833333
PrintHeight=3.666667
DimensionIn3D=0
SelectionMode=2
DraftingMode=1
lfHeight=-37
lfWidth=0
lfEscapement=0
lfOrientation=0
lfWeight=400
lfItalic=0
lfUnderline=0
lfStrikeOut=0
lfCharSet=0
lfOutPrecision=3
lfClipPrecision=2
lfQuality=1
lfPitchAndFamily=18
lfFaceName=Times New Roman
FontName=times new roman baltic-gdi-vector
FontSize=22
FontColorRed=0
FontColorGreen=0
FontColorBlue=0
ExtensionLineExtension=0.050000
ExtensionLineGap=0.000000
LineSpacingType=Single
LineSpacingAt=
[UpdateHSFs]
HasBeenUpdated=1
[FullScreen]
WindowShade=0
[HolePatternUpdateV51]
HasBeenUpdated=1
[WebNexus]
DisplayMode=hidden
[ECToolPane]
DWToolPanePinned=0
[LightworksSettings]
Intensity=85
ViewSize=100
Shine=0
RenderType=0
RenderOnOK=1
RenderStyle=scan line
OptimizeGeometry=1
OptimizationFactor=18
[LaborCosts]
Labor1=0.000000
Labor2=0.000000
Labor3=0.000000
Labor4=0.000000
Labor5=0.000000
Labor6=0.000000
Labor7=0.000000
OverHead=0.000000
[Add Hardware Filter]
ShowFilterSettings=1
ProductMoldingsFilterSettingsSet=1
ProductMoldingsDistributorID=-1
ProductMoldingsVendorID=6
[Add Hardware]
DefineHardwarePage=10
[CabinetConstruction]
ShelfType=0
ShelfMaterial=White Painted Sheet 3/4
PartitionMaterial=White Painted Sheet 3/4
DadoDepthClearance=0.000000
DadoFitClearance=0.000000
[Adjust Top Bottom]
AdjustBottom=0
AdjustTop=1
[AssemblySettings]
ShowLines=on
ShowItemFrames=0
ShowHolePatterns=off
ShowAssemblyMarks=1
HideTarget=off
HideAxisMarker=off
[DrawerBoxSettings]
sliderpos=46
[Main Switches]
ResolveShelfPartitionConflicts=1
[Countertops]
BackOverhang=0.000000
RightOverhang=1.000000
LeftOverhang=1.000000
CountertopMaterial=Ebony Oxide Formica
CountertopTexture=\materials\formica\299 ebony oxide
CountertopThickness=0.093750
[ZoomIncrements]
PatternMoveIncrement=0.1
[GridSettings]
PickBoxSize=25
GridBoxSize=1.000000
GridSize=0
GridOn=1
AxesOn=0
SnapSize=0.000000
[ChamferSettings]
OneDistance=1
TwoDistances=1
[PartEditor]
PickBox=1
GridSpacing=1.000000
GridSize=10
SnapSpacing=1.000000
GridOnOff=1
GridPattern=....
ShowOriginCrossHair=0
SnapToObject=on
[BackupSettings]
BackupDirectory=C:\Documents and Settings\All Users\Documents\eCabinetSystems_Backup
JobsDirectory=c:\documents and settings\all users\documents\thermwood\ecabinet systems\My Jobs
ToolsDirectory=c:\documents and settings\all users\documents\thermwood\ecabinet systems\My Profile Tools
DrawerBoxesDirectory=c:\documents and settings\all users\documents\thermwood\ecabinet systems\DrawerBoxes
Assemblies=1
Cabinets=1
DisplayObjects=1
Doors=1
DrawerBoxes=1
DrawerFronts=1
Hardware=1
HolePatterns=1
Jobs=1
TextureImages=1
Tools=1
FlushBackup=1
Overwrite=1

Thanks
Rob
DanEpps
Wizard Member
Posts: 5852
Joined: Thu, Jul 28 2005, 10:18AM
Company Name: Dan Epps
Country: UNITED STATES
Location: Rocky Face GA

Re: Failed to create empty document after restore

Post by DanEpps »

Rob Babcock wrote:...I can usually repair a computer with a BSOD, if that is coming from spyware and not from a crashed drive...


Me too--reinstall Windows. :lol:

All materials are stored in an Access database--eCabinets.mdb which should be part of the backup set.

I see what is happening now (I think). Look at the backup/restore settings on both computers. The old one still likely uses the old paths (which were later changed to satisfy Vista) and the new one has the updated paths. Compare that with the restored eCabinets.ini file and you will probably see some differences. Change the ini so that it has the same values as in backup/restore settings.
Rob Babcock
Junior Member
Posts: 33
Joined: Wed, Jun 21 2006, 4:51PM

Re: Failed to create empty document after restore

Post by Rob Babcock »

More:

I uninstalled, reinstalled and activated again. The software started up OK. This time, I only "restored" 1 file, eCabinets.mdb.

I put the eCabinets.mdb from my old computer in the C:\Documents and Settings\All Users\Application Data\Thermwood\eCabinet Systems directory.

This caused my system to get the error.
DanEpps
Wizard Member
Posts: 5852
Joined: Thu, Jul 28 2005, 10:18AM
Company Name: Dan Epps
Country: UNITED STATES
Location: Rocky Face GA

Re: Failed to create empty document after restore

Post by DanEpps »

At this point I think the best thing to do is give Thermwood a call tomorrow. I'm sure they will get you running quickly.
Post Reply