• 1/3

Startup error - Error parsing Xaml file: Root element is missing

Posted by MaxStation, 3 March 2011 12:00 am

We are aware of some user reports of the following startup error on 3ds Max 2011 and 3ds Max Design 2011-

Error parsing Xaml file: Root element is missing

This issue may be apparent as follows:-

1/ After session, you have closed 3ds Max 2011 or 3ds Max Design 2011
2/ During close, 3ds Max 2011 or 3ds Max Design 2011 has not exited correctly, this may be due to a number of factors as discussed in the section below.
3/ On restart of 3ds Max 2011 or 3ds Max Design 2011, you receive the following startup error-

Error parsing Xaml file: Root element is missing

After closing the error window, 3ds Max or 3ds Max Design may appear to run as normal.

Solution

This issue is due to corruption of the 3ds Max 2011 or 3ds Max Design 2011 User Application Preference files. The corrupted file that is mentioned in the error mesage is the Xaml preference file. This file stores the user preferences for the 3ds Max 2011 or 3ds Max Design 2011 Ribbon Interface.

Corruption of the 3ds Max or 3ds Max Design User Application Preferences can be due to a number of factors including, but not limited to:-

1/ Crash on exit- If 3ds Max or 3ds Max Design have crashed on exit, the user application preferences may not have been written completely on exit. When closing 3ds Max or 3ds Max Design, the user application preferences are written to store settings and configurations for the application and user interface specific to the current Windows user account.
2/ Issue in writing User Application Preferences for local user- The User Application Preferences are stored in a local directory for each Windows User Account on the system. If there is a system setup issue preventing access to the current User’s 3ds Max or 3ds Max Design preferences, the files may not be written correctly on save. Potential causes of this could include-
2.1 Anti-Virus or other security software blocking access to the Preference files directory.
2.2/ Hard-drive failure or issue in writing to the system drive directory.

To resolve this issue, we recommend that users:-

• Firstly ensure that there are no general system problems causing the 3ds Max or 3ds Max Design User Application Preferences not to be written correctly
• Reset the User Application Preferences for 3ds Max 2011 or 3ds Max Design 2011. To reset the preferences, please follow the steps below:-

1/ Close 3ds Max 2011 or 3ds Max Design 2011
2/ In Windows Explorer, go to Tools>Folder Options>View - Turn on 'Show hidden files, folders, or drives'

3/ In Windows Explorer, Browse to-

Windows XP

C:Documents and SettingsYOUR_USER_NAMELocal SettingsApplication DataAutodesk 3dsMax 2011 - 64bit
C:Documents and SettingsYOUR_USER_NAMELocal SettingsApplication DataAutodesk 3dsMax 2011 - 32bit
C:Documents and SettingsYOUR_USER_NAMELocal SettingsApplication DataAutodesk 3dsMaxDesign 2011 - 64bit
C:Documents and SettingsYOUR_USER_NAMELocal SettingsApplication DataAutodesk 3dsMaxDesign 2011 - 32bit

Windows 7

C:UsersYOUR_USER_NAMEAppDataLocalAutodesk 3dsMax 2011 - 64bit
C:UsersYOUR_USER_NAMEAppDataLocalAutodesk 3dsMax 2011 - 32bit
C:UsersYOUR_USER_NAMEAppDataLocalAutodesk 3dsMaxDesign 2011 - 64bit
C:UsersYOUR_USER_NAMEAppDataLocalAutodesk 3dsMaxDesign 2011 - 32bit

4/ In the above folder should be an enu folder (English install- folder location dependent on install) The enu folder stores the local user application preferences for 3ds Max 2011 or 3ds Max Design 2011. Rename the folder to OLD_enu.
5/ Restart 3ds Max 2011 or 3ds Max Design 2011. New default application preference files should be created in a new enu directory on startup that should resolve the XAML error on startup.

-----UPDATE (2011-05-27) ------

---Please Note: This issue is marked as resolved in the recently released Service Pack 2 for 3ds Max 2011 and 3ds Max Design 2011. If you are experiencing this issue, follow the steps above to reset the 3ds Max User Application Preferences then install Service Pack 2 - the issue should not re-occur if you have updated to Service Pack 2. You can download Service Pack 2 for 3ds Max 2011 and 3ds Max Design 2011 from the following links--

Autodesk 3ds Max 2011 Service Pack 2
Autodesk 3ds Max Design 2011 Service Pack 2
 

 


 

10 Comments

toytoy

Posted 3 March 2011 2:58 pm

aaaah just in time !! it's been 2 days now strugling with this error and couldn't do anything bout it ... thank u soooooo much

bill n

Posted 3 March 2011 3:35 pm

Considering how many people have been struggling with this error (a hell of a lot) I would *seriously* hope this is resolved in Max2012.

MaxStation

Posted 7 March 2011 9:42 am

Hi Steve, Thanks for your comment. The text was truncated on the Blog post due to formatting- I've updated the Blog post with the correct paths and info on how to display hidden system folders.

MaxStation

Posted 7 March 2011 10:40 am

Hi Steve, We wouldn’t typically recommend that users manually edit the configuration files or remove individual files from the prefs folder. There are dependencies between the config files, so doing this can create problems. As suggestion, it can be worth making a backup of your modified prefs folder (enu) – this would allow you to restore the prefs if there are any problems with the prefs getting corrupted.

Steve_Curley

Posted 7 March 2011 10:49 am

Fair enough - just thought I'd check as I know (from the forums) the lengths to which some will go to avoid losing their preferences, including copying stuff from previous versions (don't do it guys - you'll cripple Max if you do!).

ed850430

Posted 15 March 2011 1:35 pm

thX, i changed the name folder, it works.

flou

Posted 27 May 2011 8:07 am

many thanks ))

MaxStation

Posted 27 May 2011 9:02 am

See the update in the post. This issue is resolved in Service Pack 2. If you've hit this problem, follow the steps in the post to reset your prefs and then install SP2. The issue shouldn't re-occur.

Oers Sardi

Posted 20 October 2011 5:18 am

Neat little script Jon, thanks a lot for that.

woodooiguana

Posted 27 February 2012 9:30 am

tnx for the info...it helpd

Add Your Comment

You must be logged in to post a comment.

Please only report comments that are spam or abusive.