NAV 2009 - Where is the zup file?

Published 13 September 08 04:16 PM | Lohndorf 

In previous versions, all local client settings are stored in the .zup file. In Microsoft Dynamics NAV 2009, this is a bit more complex. This post tries to describe which settings are stored where.

In addition to that, with NAV 2009 you may be spending a lot of time looking for files with long folder-names. So this post also shows you the location of each file, to make it quicker to find them.

 

/// Blog updated October 2nd: Section "temporary server files" updated with path for Windows Server 2003.

Setup files and tables in NAV 2009

In NAV 2009, settings are stored in various places. The following lists what is stored where. some settings are stored in files, and some in tables. I hope I have included everything here. But if the list should be incomplete, I would appreciate comments at the end of this post.

 

Client side:


PersonalizationStore.xml
stored in:
%AppData%\Microsoft\Microsoft Dynamics NAV\

This file stores some personal settings for the client like resizing of columns. It is probably the closest thing to the old zup file there is. The data in this file is primarily binary because it it not supposed to be updated manually. Even if you could edit the file (if you could find the settings you wanted to edit), then this is unsupported. But, like the old zup file, you can delete or rename it, and next time the client opens, it will create a new one.

ClientUserSettings.Config
Stored in:
%ProgramData%\Microsoft\Microsoft Dynamics NAV\

This file is where you can set RTC to connect to a specific service tier and/or a specific port.

Server side:

CustomSettings.config
stored in (default):
C:\Program Files\Microsoft Dynamics NAV\60\Service\
This is where you set up parameters for the Service Tier like SQL Server name, Database name, port number etc.

temporary Server files
Stored in:
%ProgramData%\Microsoft\Microsoft Dynamics NAV\60\Server

/// Update

The path above is for a Vista OS. If you run NAV server on Windows Server 2003, the path is:

C:\Documents and Settings\All Users\Application Data\Microsoft\Microsoft Dynamics NAV\60\Server\

/// -----

The service tier uses this folder for various temporary files. It is definitely not recommended to change any files here! But it might be a place for troubleshooting certain problems (though I am not sure what kind of problems).

Tables:


2000000075 - "User Metadata"
When you go to "Customize this page", then it's stored here.If for example a user ads new parts, like a chart or does anythign else herel,this table contains one record for each urse, for ach pae that they have persinalised.

2000000071 - "Object Metadata"
This table stores all the objects for RTC. Whenever you compile an object, it transforms it to a format that is designed for RTC and stores it in this table. You can delete entries here, though I would not recommend it. But if you do, and want it back, then compile the missing object from Object Designer. The data in this table is generally binary, so also not something to modify and definitely not necessarily supported or documented.

 

 

Lars Lohndorf-Larsen

Microsoft Dynamics UK


Microsoft Customer Service and Support (CSS) EMEA

These postings are provided "AS IS" with no warranties and confer no rights. You assume all risk for your use. 

 

Filed under: ,

Comments

# GaspodeTheWonderDog said on November 3, 2008 4:04 AM:

Hi Lars. For the tables, don't forget the 2000000074 Profile Metadata table that stores the role-based personalizations that are saved when you make configurations with the -configure startup parameter.

I was wondering whether you had any clues to the meaning of some of these XML files - they are a little cryptic to me.

# GaspodeTheWonderDog said on May 18, 2009 7:47 PM:

Hi Lars,

here's a tricky question for you. When the server needs to execute an automation component on the client, we get a dialog box asking if we want to allow the execution. Here is a real example: "The server has requested to run XML DOM Document 6.0 on your client: Allow this time, but ask again; Always allow; Never allow"

I am a bit worried that if the client selects Never allow, they could effectively kill off some important functionality. As I am guessing they will no longer get prompted, but what will happen. Also, if I want to change these settings are these stored in one of the personalisation files you mentioned above?

Cheers, Dave.

# Lohndorf said on May 19, 2009 2:46 AM:

Hello Dave,

Yes, they are stored in PersonalizationStore.xml. If you allow something and then close RTC, then this file will get updated, and you will see a new tag like:

<PersonalizationObject PersonalizationObjectId="AutomationHandler.AllowCreateComObject">

Unfortunately, the rest of this is binary, so it's not easy to see what you have allowed...

To change it, you can delete this from the file (provided you can find the right place to delete it), or of course just delete the whole file.

I hope this helps?

Lars

Anonymous comments are disabled

Search

This Blog

Syndication

Page view tracker