ITunes not writing valid XML file

I've been having trouble with my iTunes library being seen by anything other than itunes (iPhoto, iLike etc) and the problem is with the XML file. If i try to open the xml file in BBEdit i get an error that says:
*Incorrectly formed UTF-8*
The UTF-8 File "iTunes Music Library.xml" is damaged or
incorrectly formed; please proceed with caution.
So I dump it and force iTunes to create a fresh copy, but that has the same problems.
If I put an old copy of the XML file (from a few months back) into the iTunes folder, then all the other iApps can see an iTunes library and interact with it, but as soon as iTunes updates the file it becomes unusable again.
The XML file is 30.5MB.
Does anyone have even the slightest idea why iTunes is producing an unusable XML file all the time? Could it be something to do with the size of the file? Or could it be something that's appeared in my library over the past few months that's messing up the xml file?
Any and all comments/suggestion would be greatly appreciated as i'm running out of hair to pull out

Ok, I ran the rest through my parser, and there is (only) one other broken spot. It's on "Donde Liesta Usc (La Boheme)" Also the file location tag. (Shown as "where" in the summary tab of the info window in iTunes.) Deleting and re-adding this track as well as "Need You Tonight" should cause iTunes to correct those location tags and completely solve the problem by eliminating the character encodings that are illegal for utf-8. Both tracks should then also become playable again.

Similar Messages

  • Infopath 2013 SOAP Web Service Data Connection - Error: The file is not a valid XML file

    Here are the steps to replicate the issue I’m having when adding lists.asmx or any other SharePoint web service in InfoPath 2013. This web service opens fine in the browser from my desktop. My account is a farm administrator and is added to the
    web application’s User Policy.  I can use these services just fine using Nintex 2013 Workflow.
    Open InfoPath Designer 2013.
    Select Blank Form and click Design Form button.
    Click “Data” tab.
    Click “From Web Service” and select “From SOAP Web Service”
    Enter https://mysiteurl.com/_vti_bin/lists.asmx?WSDL for the web service definition.
    Click Next.
    Windows Security window pops up.
    Enter a credential. I tried both my account and the farm account. My account is a farm admin and is added to the web application’s User Policy with Full Control.
    Click OK. It prompts for credential multiple times.
    I get below this error messages: 
    Sorry, we couldn't open https://mysiteurl.com/_vti_bin/lists.asmx?WSDL
    InfoPath cannot find or cannot access the specified Web Service description.
    The file is not a valid XML file.
    Not enough storage is available to process this command.
    We have a project that is in need of these services using InfoPath so any help is greatly appreciated.

    Hi Brian_TX,
    For your issue, try to the following methods:
    Change your service binding in web.config to:binding="basicHttpBinding". It seems in VS it defaults to wsHttpBinding.
    Replace all instances of "parameters" from the web service wsdl with the name "parameter"
    There are some similar articles about the issue, you can have a look at them:
    http://www.infopathdev.com/forums/t/23239.aspx
    https://social.msdn.microsoft.com/Forums/office/en-US/621929c3-0335-40af-8332-5a0b430901ab/problems-with-infopath-web-service-connection?forum=sharepointcustomizationprevious
    https://social.msdn.microsoft.com/Forums/en-US/5fa5eca8-f8d7-4a2e-81ba-a3b4bdcfe5af/infopath-cannot-find-or-cannot-access-the-specified-web-service-description?forum=sharepointcustomizationlegacy
    Best Regards
    Lisa Chen
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]

  • Can't install Itunes - not a valid short file name

    I tried to upgrade, but it failed and locked up, so I tried to uninstall Itunes and reinstall again.
    now when I download, or try to reinstall the new program I first get a message that says:
    "Itunes resources is not a valid file name" and then when I hit OK, it gives me "fatal error during installation."
    It will not allow me to uninstall the itunes that it won't let me install.
    It's a vicious loop and I must have my itunes back!!

    This suggests the iTunes installer is getting damaged during download.
    First try downloading the iTunes installer using a different browser.
    You should be downloading from here:
    http://www.apple.com/itunes/download/
    If that doesn't work,the simplest thing is to get a friend tio download the installer for you and put it on a USB memory stick. Preferably a copy that you know works.
    Are you using a USB Dongle connected to a wireless broadband provider – truncated downloads seem to be common with this setup.

  • XML Publisher question - Not generating a valid XML file

    I am working through an Oracle document that walks you through creating an XML Pub report. I am using HCM 8.9, Tools 8.49.15 and it has XML Pub installed and I have the Microsoft plug-in installed
    I have created a query and have downloaded an rtf template and now am on a page where you enter your data source and then click ‘Generate’ for the sample data file. I did it and it created ‘PERSONAL_DATA_PAY.XML’ which is created from a PS Query. However if I click on ‘PERSONAL_DATA_PAY.XML’ it generates a blocky text file that is not an XML file and I can’t go any further.
    Do you know why it’s not generating a valid XML file when I click on 'generate'?
    Thanks
    Allen H. Cunningham
    Data Base Administrator - Oracle/PeopleSoft
    Sonoma State University

    You mean to say that you create a new data source by specifying Data Source Type as 'PS Query' and Data Source ID as your query name, you are not able to generate a valid XML file (by clicking on Generate link).
    did you cross check your query by running it?
    On field change of Generate link, PeopleSoft uses PSXP_RPTDEFNMANAGER and PSXP_XMLGEN app packagaes and query objects to create the file
    It should work if you query is valid..

  • XML Publisher does not create a valid XML file when I try to 'generate '

    I am working through an Oracle document that walks you through creating an XML Pub report. I am using HCM 8.9, Tools 8.49.15 and it has XML Pub installed and I have the Microsoft plug-in installed
    I have created a query and have downloaded an rtf template and now am on a page where you enter your data source and then click ‘Generate’ for the sample data file. I did it and it created ‘PERSONAL_DATA_PAY.XML’ which is created from a PS Query. However if I click on ‘PERSONAL_DATA_PAY.XML’ it generates a blocky text file that is not an XML file and I can’t go any further.
    Do you know why it’s not generating a valid XML file when I click on 'generate'?
    Thanks
    Allen H. Cunningham
    Data Base Administrator - Oracle/PeopleSoft
    Sonoma State University

    On the right click on HD under video quality to filter it. 

  • I have an older version of itunes on my L drive.  Everytime I try to download the newest version I get the error itunes.resources is not a valid short file name.  Now I obtained an iphone and cannot sync the phone to my account because it wants me to upda

    I have an older version of itunes on a separate drive.  Everytime that there has been an update to itunes it will not let me update.  Now I purchased an iphone and I hooked the phone up to the computer and it tells me I need to install the latest version of itunes.  I downloaded to try it, but I keep getting an error message that says itunes.Resources is not a valid short file name.  What can I do from here?

    That is a new one on me.
    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down the page in case one of them applies.
    The further information area has direct links to the current and recent builds in case you have problems downloading, need to revert to an older version or want to try the iTunes for Windows (64-bit - for older video cards) release as a workaround for installation or performance issues, or compatibility with QuickTime or third party software.
    Your library should be unaffected by these steps but there are also links to backup and recovery advice should it be needed.
    tt2

  • TS3212 i downloaded itunes on my windows 7 computer, but when i try running the setup file, it says it's not a valid win32 file. how do i fix this?

    i just bought a brand new HP computer with the windows 7 and i'm trying to download itunes on my computer. I've used the email and a new one for the download. it'll go through the process of downloading the itunes setup, but when i go to the downloads folder in my computer and click on the file, it says it's not a valid Win32 file and won't open.  I've tried downloading the 64 bit version to se if that was the problem, but even that won't work.  please help!

    Perhaps try downloading and saving a copy of the installer to a different PC. (If you're on a 32-bit Windows system, try to download on a different 32-bit Windows system.) Copy the iTunesSetup.exe installer to an external hard-drive, or a large-enough thumb drive or burn it to a CD-R. Carry the installer back to your PC, copy the installer to your hard drive. (Don't run the install from the ExHD, thumb or CD-R.) Start the install by doubleclicking the iTunesSetup.exe file.

  • My HDD crashed and I had to reinstall my boot and programmes on a new HDD.  I managed to recover my library.itl.  How can i import it with the new version of itunes? When i try imprt playlist, it replies that it is not a validly exported file.

    My HDD crashed and I had to reinstall my boot and programmes on a new HDD.  I managed to recover my library.itl.  How can i import it with the new version of itunes? When i try imprt playlist, it replies that it is not a validly exported file.

    It should be like the very first time you synced your phone with I-Tunes. It will notice you haven't synced before and just copy everything from your phone into I-Tunes. It shouldn't delete anything from the phone, at least it never has for me. It just puts a copy of everything into I-Tunes and even if you delete an app for example from your phone and you decide you want it back later, you can just go back into I-Tunes and copy it back over. Hope this helps.

  • "1325 Error: iTunesHelper.Resources is not a valid short file name"

    I recently got a new hard drive, and I tried to drag all of my iTunes information to it, and it did. But when I opened iTunes, it said that it was not installed properly and that if I wanted to get cd track names I would have to install it again. So I deleted it, and now when I try to reinstall iTunes, I get the following error:
    "1325 Error: iTunesHelper.Resources is not a valid short file name" I don't remember if it was iTunesHelper or iTunesMiniplayer, but it was one of the two. I have tried everything I can think of to fix this. I have tried doing a system restore, getting rid of the registry information for the entire apple corp. folder, and searching for anything iTunes and deleting it. HOW DO I FIX THIS!? I need iTunes to put music on my ipod (which also got deleted during this).
    PLEASE HELP!!

    Ok first of all never try just copying a program folder again. You always need to do an fresh install.
    Try uninstalling iTunes, then going into C:\Documents and Settings\<<Your user Name>>\Application Data\and rename the "Apple Computer" folder to "_Apple Computer"
    Then go to C:\Documents and Settings\All Users\Application Data\ and rename the "Apple Computer" folder to "_Apple Computer"
    Then go to My Documents > My Music and move the files iTunes Library.itl and iTunes Music Library.xml any where else. Do not delete them.
    Then go to C:\Program Files and delete the iTunes folder if it is still there.
    Then reboot.
    Then try re installing.
    After you have that copy your music files to the new PC and use the File > Add Folder option to add them to iTunes. Use the other import features under File to import the other music data

  • "not a valid short file name" and "invalid character" install errors

    Disclaimer: Apple does not necessarily endorse any suggestions, solutions, or third-party software products that may be mentioned in the topic below. Apple encourages you to first seek a solution at Apple Support. The following links are provided as is, with no guarantee of the effectiveness or reliability of the information. Apple does not guarantee that these links will be maintained or functional at any given time. Use the information below at your own discretion.
    Symptoms
    While upgrading or uninstalling a Windows software application (such as iTunes for Windows or QuickTime for Windows), you may receive one of the following error messages:
    file name is not a valid short file name
    The folder path 'folder name' contains an invalid character.
    ... where file name could be the name of any file, and folder name could be the name of any folder.
    In the case of software that uses advertised shortcuts (such as recent versions of iTunes for Windows or Safari for Windows), the messages may also appear when attempting to launch software that has already been installed.
    Resolution
    The error messages are usually caused by damage to the installation database for the application. Clearing the installation database for the application by using the Windows Installer CleanUp utility can usually get you past the error message.
    (1) Click [here|http://support.microsoft.com/kb/290301] first, and read the important information about the utility.
    (2) Click the *Download the Windows Installer Cleanup Utility package now* link on that page to download a file titled msicuu2.exe.
    (3) Open the msicuu2.exe file and follow the prompts to install it.
    (4) In your Start menu click *All Programs* and then click *Windows Install Clean Up.* The Windows Installer CleanUp utility window appears, listing software that is currently installed on your computer.
    (5) Select the software you're getting the "not a valid short file name" or "invalid character" message for from the list and click Remove.
    (6) Click OK in the confirmation dialog that appears.
    (7) If you have multiple entries for the software you're getting the "not a valid short file name" or "invalid character" message for, repeat steps 5 and 6 for the other entries for the software.
    (8) Click Exit.
    (9) Restart the computer.
    If you were getting the "not a valid short file name" or "invalid character" message when trying to upgrade or launch software, now try reinstalling the latest version of the software.
    If you were getting the "not a valid short file name" or "invalid character" message when just trying to uninstall software, program files for the software in question will remain on the PC after it has been removed by the Windows Installer CleanUp utility. If you want to remove leftover program files, check in at the appropriate forum at [Apple Discussions|http://discussions.apple.com/index.jspa?categoryID=1] and ask which files can be safely removed.
    This is the 1st version of this tip. It was submitted on March 24, 2010 by b noir.
    Do you want to provide feedback on this User Contributed Tip or contribute your own? If you have achieved Level 2 status, visit the User Tips Library Contributions forum for more information.

    Go to Microsoft website to fix installer file problems.
    Click "Run now" from Fix it to remove all iTunes & related installer files:
    http://support.microsoft.com/mats/Program_Install_and_Uninstall
    Be aware that Windows Installer CleanUp Utility will not remove the actual program from your computer. However, it will remove the installation files so that you can start the installation, upgrade, or uninstall over.
    Download and Install iTunes

  • How is the Login-validation.xml file is called when we do the validation i

    Hi ^^,
    please forgive me if I am a big long while explaining.
    when you are using the struts 2.0 the web.xml has a welcome-file-list. I have put index.html in that list so it pulls up first.
    It has the following tag
    <ul>
              <li><a href="roseindia/showLoginClientSideValidation.action">Login Application (Client Side Validation)</a></li>
            </ul>so this maps to struts.xml which contains the showLoginClientSideValidation.action tag
    <action name="showLoginClientSideValidation">
                   <result>/pages/loginClientSideValidation.jsp</result>
            </action>
            <action name="doLoginClientSideValidation" class="net.roseindia.Login">
                <result  name="input">/pages/loginClientSideValidation.jsp</result>
                   <result  name="error">/pages/loginClientSideValidation.jsp</result>
                   <result>/pages/Loginsuccess.jsp</result>
            </action>
              this displays the jsp "loginClientSideValidation.jsp"
    once you enter the details in the jsp and click submit the control goes to Login.java file as per the mapping in struts.xml given above
    This is just a simple java file which contains the execute() method. This method returns success or error.
    If success is returned then the Loginsuccess.jsp is invoked
    If error is returned then the loginClientSideValidation.jsp is invoked
    Well so far so good
    I have also understood that to use client side validation you use validate = "true" in loginClientSideValidation.jsp
    However what I am not able to understand is how the Login-validation.xml file is being invoked
    Any help would be highly appreciated.
    thanks and regards,

    Hi ^^^,
    i found something interesting that I want to share
    Validation rules are handled by validators, which must be registered with the ValidatorFactory (using the registerValidator method). The simplest way to do so is to add a file name validators.xml in the root of the classpath (/WEB-INF/classes) that declares all the validators you intend to use.
    validators.xml if being defined should be available in the classpath. However this is not necessary, if no custom validator is needed. Webwork will automatically picked up a predefined sets of validators defined in com/opensymphony/xwork/validator/validators/default.xml packaged together in xwork jar file that comes with webwork distribution.
    So this is clear that the validators are defined in validators.xml or default.xml
    What is still not clear is how is the Login-validation.xml being called by jsp page to do verification and then linking to validators.xml to apply the rules.
    However people have been telling me that ----" Struts 2.0 have inbuilt functionalities to validate the Parameters" and that i need to
    "Define configuration file *-validation.xml or use annotations
    i) className-validation.xml
    ii) place this file in the directory where .class file is placed example.Login should have Login-validation.xml
    Do you all think is this sufficient for an answer or should my search go on?
    thanks and regards,
    Prashant
    Edited by: pksingh79 on Sep 13, 2008 10:08 AM

  • 'iTunesMiniplayer.Resources' is not a valid short file name

    -deep inhale-
    up until about a month ago i'd used my ipod as a hard drive so i could have iTunes wherever i went. i installed it using my brother's PoS computer (i dunno the specs but it's running windows XP)and it was assigned to drive (F:)
    as soon as i got my netbook i saw no need to keep the program installed on the ipod so i deleted it. now he has an ipod and wants to eliminate cds from his life, but there's one problem: the computer still says itunes is installed at (F:) and will not uninstall or repair. about 4 minutes into the 'installation', an error window pops up saying "'iTunesMiniplayer.Resources' is not a valid short file name."
    six attempts later the installer pops up and asks where to install. as i go to change the location from (E:) another error window tells me that "'(E:)' is not a valid destination. Please choose a new destination." Clicking ok causes the installer to finish and it too warns me of a 'fatal error during installation' and to try again later. i've been stuck at this point for half an hour.
    how do i avoid buying an external disk drive for my netbook to upload his music onto his ipod?

    See if the Windows Installer CleanUp Utility will get rid of itunes.
    Then try the install again.

  • Log4j not writing the llog file

    Hi
    I have a webapplication hosted on WAS,which is not writing the log file.Does anybody know the reason.?
    I have checked the log4j many times.it seems ok.as same file is working in another environment.
    Any help would be appreciated.
    Thanks
    Akash.

    Hi .the problem is solved.i changed the classloading as APPLICATION instead of MODULE in application.xml.
    Thanks.
    Akash.

  • Error  in validation.xml   file while deploying in server

    Hi friends,
    I am Venkataramana . I am doing one small structs application with Validation . as usual in XML file i wrote validations but when i am deploying in server it is showing error as
    SEVERE: Parse Error at line 2 column 17: Document is invalid: no grammar found.
    org.xml.sax.SAXParseException: Document is invalid: no grammar found.
         at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:236)
    and
    Jan 11, 2010 11:57:53 PM org.apache.commons.digester.Digester error
    SEVERE: Parse Error at line 2 column 17: Document root element "form-validation", must match DOCTYPE root "null".
    org.xml.sax.SAXParseException: Document root element "form-validation", must match DOCTYPE root "null".
    Kindly find the validation.xml file for your reference.
    <!DOCTYPE form-validation PUBLIC
    "-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.1.3//EN"
    "http://jakarta.apache.org/commons/dtds/validator_1_1_3.dtd">
    <form-validation>
    <formset>
    <form name="regFormForm">
    <field property="username"
    depends="required">
    <arg0 key="uname"/>
    </field>
    <field property="password"
    depends="required">
    <arg0 key="password"/>
    </field>
    </form>
    </formset>
    </form-validation>
    Please can any one help on this?

    I think your dtd entry - "http://jakarta.apache.org/commons/dtds/validator_1_1_3.dtd" is not compatible with your validation.jar file. If you have recently downloaded the these struts jar files then make sure this entry is matched with what they have provided in examples. Or download new set of jar files and copy the same doc-type tag as they have given in examples.

  • ITunesHelper.Resources is not a valid short file name - help!

    Just purchased a new PC - running Vista, itunes loaded 4 days ago and worked but since yesterday wont run, and I cant uninstall it - always comes up with 'iTunesHelper.Resources is not a valid short file name' cant get into itunes at all to do anything...any suggestions!

    +But still cannot "uninstall" from the control panel.+
    Okay. In that case, let's try using the Windows Installer CleanUp utility to remove the installation configuration information.
    download and install the Windows Installer CleanUp utility:
    Description of the Windows Installer CleanUp Utility
    Now launch Windows Installer CleanUp ("Start > All Programs > Windows Install Clean Up"), find any iTunes entries in the list of programs in CleanUp, select those iTunes entries, and click “remove”.
    Quit out of CleanUp, restart the PC, and try another install.
    If it doesn't go through, let us know what error message you get this time. (Fot example, is it now saying *Invalid drive* J?)

Maybe you are looking for

  • I get a "Short DST" failed error when running test. Laptop will not boot up. Any ideas?

    I get a Short DST failed error when I ran a test.  The laptop won't bootup. All I get is a black screen

  • Copying saved texts to computer?

    I have a lot of saved text messages on my blackberry curve 8330.  I need to get them all on a computer so I can print them out.  I was able to go to each message and forward as an email.  But, in my saved messages it saved the whole conversation I ha

  • Fixing hp pavillion fan

    I think I may have broken my fan while blowing condensed air into it to clean up some dust.  Does anyone know how I might be able to fix this or replacei t? http://www.tonyphamilyman.com

  • Creating a fm with end date and start date

    hi gurus, I want to create a FM where my importing parameters will be date. like we give in select-options. if i give my importing parameters as sdate and edate. how my coding will work. Eg I want to select emp joining between jan to may. i can pass

  • Some mails go automatically to the wastebasket and to spam

    Hello together, I have the problem that some read and sent mails are going automaticlly to the wastebasket or to the spam folder. Some are going lost. Powerbook G4   Mac OS X (10.4.8)