File couldn't be saved as a compressed file

Modified on Mon, 07 Aug 2023 at 12:02 PM

Issue: The model cannot be saved as a compressed file *.dsb. 



Possible cause:


While adding custom textures to the model these need to be copied to the program folder Program Files (x86)\DesignBuilder but the process fails due to user permissions to write at this system folder.


Solution:


To fix the issue you will need to:


1. Navigate to the folder C:\Program Files (x86)\DesignBuilder\FHKDSTERWQE456701\ 




2. At this location, create a copy of one of the available files, eg. jgcijojhphkmleficcbb

For now, keep the default name of the copied file jgcijojhphkmleficcbb-copy


3. The next step, you will need to find the custom texture name that is assigned to your model and it is causing this issue.

For this open DesignBuilder session log (menu File> Folders> Diagnostic files folder) 




4. In the Diagnostics folder, sort the files by date and open with a text editor (eg. NOTEPAD) the most recent file Diagnostics_xx_01_2020_xx_xx_xx.log or the one from a session where you have seen the saving error.


5. Search the words "zip exception" or scroll down the diagnostics file until you find the line with the error:


DBZip: Zip Exception: System.IO.FileNotFoundException: Could not find file 'C:\Program Files (x86)\DesignBuilder\FHKDSTERWQE456701\ndjigogdbjdlijdibopieb'. 


The custom texture name, in this case, is ndjigogdbjdlijdibopieb


6. Copy the filename ndjigogdbjdlijdibopieb and rename the copy of the texture file you created in step 2. The filename looks like a random series of letters but it is important that these names match to fix this issue


7. After the new texture file is available at C:\Program Files (x86)\DesignBuilder\FHKDSTERWQE456701\ , restart DesignBuilder, open the project and save the model with the dsb format.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article