Root element is missing

Discussion of application development using iX Developer, including but not limited to getting started, using the functions tab, properties, objects and installation.
memethemyn
Posts: 51
Joined: Fri Apr 27, 2012 12:33 pm

Root element is missing

Post by memethemyn »

Hi..

After a electricity trip I started my pc and want to open my project but IX 2.0 gives me this error..

How can I solve this problem..

Please help...

mark.monroe
Posts: 824
Joined: Tue Mar 13, 2012 9:53 am

Re: Root element is missing

Post by mark.monroe »

Hi memethemyn,

You forgot to attach the error message to your message.
Best Regards,
Mark Monroe

Beijer Electronics, Inc. | Applications Engineer

memethemyn
Posts: 51
Joined: Fri Apr 27, 2012 12:33 pm

Re: Root element is missing

Post by memethemyn »

here is the screenshot of error

Thanks already..
Attachments
error.pdf
(77.03 KiB) Downloaded 933 times

mark.monroe
Posts: 824
Joined: Tue Mar 13, 2012 9:53 am

Re: Root element is missing

Post by mark.monroe »

I need you to send me your entire project. It looks like a file got corrupted somewhere. To find out where that is, I need the entire project. If you are using iX 2.0, you can use the "Compress Project" button next to the "Download" button, where you transfer a project to a HMI.

Else, you can delete the BuildFiles and Temp folders, then zip the project and private message me the project.
Best Regards,
Mark Monroe

Beijer Electronics, Inc. | Applications Engineer

KevinA.
Posts: 34
Joined: Wed Oct 24, 2012 1:22 pm

Re: Root element is missing

Post by KevinA. »

I just got the same problem Mark, did you manage to fix it? If yes, how did you proceed?

mark.monroe
Posts: 824
Joined: Tue Mar 13, 2012 9:53 am

Re: Root element is missing

Post by mark.monroe »

You have to send me the project for me to fix it. You can PM me your project.
Best Regards,
Mark Monroe

Beijer Electronics, Inc. | Applications Engineer

KevinA.
Posts: 34
Joined: Wed Oct 24, 2012 1:22 pm

Re: Root element is missing

Post by KevinA. »

I couldnt compress the project with Ix developer 2.0 cause I can't open my project since the error pops up at the opening of the project.
I just tried twice to join my folder zipped in the message but each time I waited 30 minutes and nothing happened...Is there any other I can send you the folders?

mark.monroe
Posts: 824
Joined: Tue Mar 13, 2012 9:53 am

Re: Root element is missing

Post by mark.monroe »

You can delete the Temp and buildFiles directory in your project folder and then zip your project up. It should be small enough to PM me with it then.
Best Regards,
Mark Monroe

Beijer Electronics, Inc. | Applications Engineer

mark.monroe
Posts: 824
Joined: Tue Mar 13, 2012 9:53 am

Re: Root element is missing

Post by mark.monroe »

If you open the YourProject\terminal.xml file with Notepad++ you can see that it is just filled with NUL values.

The terminal.xml contain information about what hardware platform is used in the project, so to solve this:

1. Create a new project that is configured for the same platform as the original project.
2. Copy the terminal.xml file from this project to the old project with the corrupt file, overwriting it.
3. You should now be able to open the original project.
Best Regards,
Mark Monroe

Beijer Electronics, Inc. | Applications Engineer

IQAPPS
Posts: 1
Joined: Sun Mar 17, 2013 12:18 pm

Re: Root element is missing

Post by IQAPPS »

Hi!
Same problem here....tryed to replace *.xml file with no luck..
PM you files...

Tank you

Post Reply