"Project or Library file is corrupt" when trying to open XControl

This is not a question, this is an account of my learning experience that I hope saves you from throwing your monitor through the wall.
When trying to open an XControl, I received the following error: "Project or Library file is corrupt"
Knowing Projects/Classes/XControls are all XML files, I opened the XControl using Notepad++ to see what was going on. The file structure is somewhat intuitive, and you'll be able to recognize many components of your library.
I used a binary search approach to find the offending XML by deleting all of the virtual folders, then seeing if the XControl would open. It did, meaning the headers of the XML were fine. Then I took the original file again, and deleted half the virtual folders to see if it would open, and it did not, meaning the offending XML was in a virtual folder I had not deleted that round. I took the original file, and deleted the other half of virtual folders, and it opened. I took the original file, and deleted only one virtual folder, and it opened. Aha! that virtual folder had only 5 items, and I knew one of the items must be the culprit.
Anyway, it only took about 10 minutes to narrow it down to an item that had a duplicate entry, two lines that were exactly the same:
After I deleted the duplicate item, the XControl opened up just fine! No data loss, no corruption.
How did the item get duplicated? Beats me. Could have been the product of a crash, some of my notorious renaming shenanigans, who knows.
Lessons learned:
Version Control (Source Code Control) is a hero, as usual.
Try poking around with the XML if you get corrupt libraries - it may be an easy fix, but your mileage may vary.
Don't even think about #2 unless you have #1 "under control"
Action Item for Applications Engineer: could you point this error to the Owning Developer? I would suggest this type of an error fail more gracefully, or at least with more information. Possibly, this type of error could self-correct silently since it's so easy to diagnose? Watching the library tank due to a benign issue nearly cost me a monitor and a monitor-sized area worth of sheetrock damage.  (  )
a.lia-user-name-link[href="/t5/user/viewprofilepage/user-id/88938"] {color: black;} a.lia-user-name-link[href="/t5/user/viewprofilepage/user-id/88938"]:after {content: '';} .jrd-sig {height: 80px; overflow: visible;} .jrd-sig-deploy {float:left; opacity:0.2;} .jrd-sig-img {float:right; opacity:0.2;} .jrd-sig-img:hover {opacity:0.8;} .jrd-sig-deploy:hover {opacity:0.8;}

I cannot find the result about this topic.
So I recreate a new project file
Hope there is better solution for this problem
thank you all
QIA
http://www.vitst.com
Virry Test & Control
LabVIEW Certified Developer

Similar Messages

  • How to fix "Project or Library file is corrupt"

    Last Time I close the my project, then I want to reopen it, but popup a window "Project or Library file is corrupt"
    Can this corrupt project file can be fix?
    Because It contain too much information of this project.
    By the way, the project file size is 1.4M
    and I use LabVIEW 8.2.1 and WinXP SP3
    Hope somebody can give the answer, and thank you very much.
    Qia
    http://www.vitst.com
    Virry Test & Control
    LabVIEW Certified Developer

    I cannot find the result about this topic.
    So I recreate a new project file
    Hope there is better solution for this problem
    thank you all
    QIA
    http://www.vitst.com
    Virry Test & Control
    LabVIEW Certified Developer

  • CS3 file crashing CS4 when trying to open

    I have a CS3 file that I created on the Mac and when I try to open it on my PC in CS4 it crashes.  When I use an older version of the same FLA file it opens in CS4.  Are there known issues of things that cause a file to crash going from CS3 to CS4?

    I believe I solved it. I fixed the issue through some combo of deleting all Palm files, reinstalling and overwriting the User data via my handheld. All was good with the world, and then it just happened again. I tried to launch the desktop software and just got the spinning beachball of death. I hadn't installed anything since I last successfully synched and opened the Palm software. But I remembered something...Prior to both of these incidents, I had done something different in my To Do list. When you open a To Do item, you can enter a primary category. I have all my To Dos associated with a category. But there is another category list to the right of the primary one. I have never used it before. But I was organizing some project work To Dos by associating them as a Primary category Projects and a secondary category with different names. This is helpful for creating views without cluttering my To Do categories unduly. EXCEPT...I think this is what somehow corrupted my file and caused the Desktop to hang. Each time we reinstalled and resynched from the handheld, it stripped out those secondary categories...and it works.
    Post relates to: Zire 72
    Post relates to: Zire 72

  • Database is corrupt when trying to open Creative Suite 3 in Mavericks

    I backuped up my hardrive on my iMac i7 then erased the hard drive and repartitioned it so I could run 2 different operating systems.   I renstalled all my backup info on one of the partitions  and then upgradded ito OS X Mavericks.  When I went to open creative suite 3 design premium i got an error message that said my database was corrupt and to contact Adobe support.  I even triied to run License Recovery 11.6.1 in my terminal and things just got worse.
    Now I can't even uninstall suite using my orginal disk.
    What do I do?

    Creative Suite 3 is not supported on Mavericks, sorry.

  • Additional VI files being requested when trying to open a VI file.

    I am trying to load a VI file with a student edition of LabVIEW (Express) but I am being told to find certain additional VI's in a window panel.  Does anyone know how to do this and how to acquire the VI's if they are not already available?

    It would help if you mentioned the names of the VIs it is looking for. My guess is that you didn't install one of the hardware drivers like DAQmx or traditional DAQ.
    http://digital.ni.com/softlib.nsf/MainPage?ReadFor​m&node=132010_US

  • Itunes library .itl file is locked when trying to upgrade to IOS5

    Itunes library .itl file is locked when trying to download IOS5 upgrade. Can someone help?

    Usually when you get this problem in vista, it is to do with folder permissions.
    The account you are using needs full control of the iTunes and iTunes Music folder.
    Vista file folder permissions help
    http://windowshelp.microsoft.com/Windows/en-US/Help/2464a180-e5dc-45d1-a2b8-3c8a 2b571e9d1033.mspx
    http://www.mydigitallife.info/2007/05/25/how-to-take-ownership-and-grant-permiss ions-in-windows-vista/

  • When trying to open itoons I get an error message: Program C\program files (x86) R6034  An application has made an attempt to load the C runtime library incorrectly.

    when trying to open itoons I get an error message: Program C\program files (x86) R6034  An application has made an attempt to load the C runtime library incorrectly. Please contact the application's support team for more infomation.

    Hello Michwilltwo,
    It sounds like you are unble to open iTunes after a recent update. I would recommend the troubleshooting steps from the article named:
    iTunes 11.1.4 for Windows: Unable to install or open
    http://support.apple.com/kb/TS5376
    "Runtime Error: R6034 - An application has made an attempt to load the C runtime library incorrectly"
    Follow these steps to resolve the issue:
    Check for .dll files
    Go to C:\Program Files (x86)\iTunes and C:\Program Files\iTunes and look for .dll files.
    If you find QTMovie.DLL, or any other .dll files, move them to the desktop.
    Reboot your computer.
    Note: Depending on your operating system, you may only have one of the listed paths.
    Uninstall and reinstall iTunes
    Uninstall iTunes and all of its related components.
    Reboot your computer. If you can't uninstall a piece of Apple software, try using the Microsoft Program Install and Uninstall Utility.
    Re-download and reinstall iTunes 11.1.4.
    Be sure to follow the instructions as outlined by the links in the article as there is a specific order in which to uninstall iTunes and its associated programs.
    Thank you for using Apple Support Communities.
    Cheers,
    Sterling

  • Crashing when trying to open a project / forgetting where media files are

    I spent all day manually locating hundreds of missing 'offline media' in a project, saving as I went. Premier Elements crashed when this was complete, now I try to open the project after rebooting and it either cannot find them again or crashes when trying to open the project. Anyone got any clues as to how I can fix this?

    alex peatfield
    What version of Premiere Elements are you using and on what computer operating system is it running?
    How long has this issue existed?
    Are you moving, deleting, renaming files and folders that go into a project after the project has been saved closed?
    If you have source media stored on an external hard drive, determine if the external hard drive is malfunctioning, including if its drive letter
    changing.
    Lots of drill questions...
    a. Running the program from a User Account with Administrative Privileges?
    b. Latest version of QuickTime installed on your computer?
    c. What are your computer resources and is your computer optimized?
    d. What are the properties of your source media that are involved in this issue?
    e. Where are the Scratch Disks directed and how much free hard drive space is at those locations?
    f. Do the problems exist with and without the antivirus and firewall(s) disabled?
    Let us start here and then we can decide what next.
    Thanks.
    ATR

  • ITunes library file is corrupt

    Hi All,
    Today when I tried to open my iTunes library it kept crashing and I figured it its because the iTunes library file is corrupt. How do I repair it? Thanks!
    FYI I just installed the most recent

    Hi,
    In your itunes folder there is another folder called previous itunes libraries. You will be able to retieve the last library immediately before the recent up date.
    Close itunes then you will need to move the iTunes Library.itl to trash. Move previous itl file to replace the one you moved to trash - you will need rename it to iTunes Library.itl.
    Jim

  • DOCX file allegedly corrupted when I download from my website.

    I have a web page where I have been placing Word documents for common access by a group of people. I use FTP to place files there.
    Now that we have started using the latest Word (.docx files), we get error messages from Word when we try to open the downloaded files: "The file is corrupt and cannot be opened." But if I answer yes to the next question about whether I want to recover the contents, I see that the file looks fine. This happens when we download with Firefox and Safari (on a Mac) and Internet Explorer (on a PC).
    Other information: If I ftp the .docx file back from the website, it's fine.
    If I compare the "corrupted" file with the original, it is slightly shorter but there is no difference in printed content.
    I apologize if this question does not belong here. I don't know if it's a Word problem, an FTP problem, a browser problem, or what. I thought I was doing things that are not unusual, and I am surprised that this does not seem to be a well-known problem.

    Is iPhoto open when you connect the camera and are you seeing the camera in iPhoto? 
    If not then describe in detail how you're going about trying to import photos from your Samsung camer into your iPhoto Library.  From what you've described we have no idea what's going on.
    And where is this "import" folder located that you're referring to?
    OT

  • FCP Project stalling when trying to open, takes 10 min to open can't copy and paste

    The other day a final cut project I've been working with for a long time (only 23mb in size) started to seize up and stall at 37%ish, then take 5 or 6 minutes to actually open. Once it's open if I try to copy and paste anything into a new project it completely freezes up and I have to force quit every time.
    I've gone through and deleted all the render files and ejected the two external drives I have all the media on that are attached to my imac, and still have the same problem. I just opened another project I haven't opened in a while and it opened no problem.
    Any ideas why this project stalls when trying to open and also when trying to cut and paste within the project once I've got it open. I have work in this project I need access to asap!
    Help!
    M

    Before you go through the following process, make sure all your still images are in RGB colorspace (NOT CMYK or Greyscale) If they are CMYK or Greyscale, use Photoshop to convert them to RGB.
    With the certainty that the still images are not the problem,
    Put all the media from the problem project on the external drives
    Make sure the Project file is on an internal drive.
    Turn off the computer
    Disconnect the drives
    Start the computer
    Launch FCP
    Find and open the project.
    It will tell you there are missing files
    Click ok to go ahead and open
    The project should open with all the media marked as off-line.
    Did the project open in a reasonable time?
    If no, you likely have a corrupt project file. You could try going into your autosave vault and opening an earlier version.
    If it did open in a reasonable time, there is likely a problem with some of the media.
    Depending on how many files you have, you can either reconnect one by one to test or use the binary method.
    Turn off the computer
    Reconnect the hard drives
    Start the computer, launch FCP and open the project
    One by one method (works better when there are not so many items)
    - with the project open
    - right click on an offline file in the browswer and select "reconnect"
    - bring it in
    - play it in the viewer
    - play it on the timeline
    - if it works, go on to the next file
    - if it doesn't you have found a corrupt file (DO NOT assume all the other files are ok, keep testing)
    When you are complete, you simply need to replace the corrupt files with clean originals. If you do not have other versions saved someplace, you'll have to do without or recreate them.
    Binary Method (works better when there are lots of items)
    - with the project open, select half of the items in the Browser and select reconnect
    - play them in the timeline.
    - do they all work?
    - If so, the problem is in the other half.
    - in the Browser, select half of the remaining files and reconnect them
    - test
    - do they work? if so, select half of the remaining unconnected files and reconnect them.
    and so on until you find the file(s) that will not play.
    Have fun.
    x

  • I receive the follwing error message when trying to open my ipod touch/itunes "the itunes libary.itlfile is lockedon  a lockdisk or you do not have write permission on this file. How do I resolve this problem?

    I receive the follwing error message when trying to open my ipod touch/itunes "the itunes libary.itlfile is lockedon  a lockdisk or you do not have write permission on this file. How do I resolve this problem?

    Repair iTunes Security Permissions
    Right-click on your main iTunes folder and click Properties, then go to the Securitytab and click Advanced. Use the Change Permissions... button grant to your account (or the Users group) and SYSTEM full control of this folder, subfolders and files, then tick the option to Replace permissions entries... which will repair permissions throughout the library. When complete switch to the General tab, click in the Read-only check box to clear it, then click Apply.
    If you don't have the option to change the permissions then use the Owner tab and Edit... button to take ownership from an account with administrator privileges. Tick the option to Replace owner on subcontainers and objects.
    Repeat with the media folder if it isn't stored inside the main iTunes folder.
    If you've brought over the library from another computer you may also want to remove any "mystery" identities (S<string of dashes & digts>) that have come over from the old computer...
    The images above are from Windows 7. Hopefully the system isn't too different in Windows 8.
    tt2

  • Creative Cloud update fails with "the download appears to be corrupted" when tried through our company's firewall, but succeeds if the computer is taken outside the firewall

    Creative Cloud update fails with "the download appears to be corrupted" when tried through our company's firewall, but succeeds if the computer is taken outside the firewall. The IT guys have opened up the ports and URL's specified in the Adobe documentation.  I have also captured the network traffic of both the failed and successful downloads for IT to examine (using Little Snitch), however they can find nothing to account for the problem.  Adobe just seems to "give up and die" after about 2-3 minutes.  Why is this?  How can I or IT fix this?
    Can I send the above log files to someone familiar with these issues for examination?

    Hi Gveo,
    Please follow the article: Creative Cloud Help | About Creative Cloud Packager which will help you to get your issue fixed.
    Thanks,
    Ratandeep Arora

  • After installing an update Foxfire 5.0 I get this message when trying to open Mozilla: the procedure entry point sqlite3_db_status could not be located in the dynamic link library mozsqlite3.dll.

    I get this message when trying to open Mozilla: the procedure entry point sqlite3_db_status could not be located in the dynamic link library mozsqlite3.dll.

    Do a clean reinstall.
    Download a fresh Firefox copy and save the file to the desktop.
    * Firefox 5.0.x: http://www.mozilla.com/en-US/firefox/all.html
    * Uninstall your current Firefox version.
    * Do not remove personal data when you uninstall the current version.
    Remove the Firefox program folder before installing that newly downloaded copy of the Firefox installer.
    * It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    Your bookmarks and other profile data are stored elsewhere in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder] and won't be affected by a reinstall, but make sure that you do not select to remove personal data if you uninstall Firefox.

  • CRXIR2 - Report is stuck when trying to open report using RDC library

    Hi,
    I'm working on .Net  reporting appliaction that uses CRXI R2 (Embedded Server) as a reporting engine.
    I have a problem with a customer in prodction site,
    when trying to open report with RDC library, report hangs and nothing happens:
    applicationLog.WriteTrace("open report using  RDC");
    Report report = (ReportClass)application.OpenReport(this.tempFile, CROpenReportMethod.crOpenReportByTempCopy);
    // tempFile is the path to the rpt file and it's valid
    //application is ApplicationClass from CRAXDRT namespace
    //ReportClass is from CRAXDRT namespace
    applicationLog.WriteTrace("Open report succeeded")
    I've added log printing to my application, and what i see is that the first print ("Open Report using RDC") occurs, and the second print is never listed..
    I don't see any errors or log prints appear in Crystal logs.
    Any help would be greatly appriciated!

    Hi Dana,
    Long time since we've talked. I suggest logging a case in SMP. If you do let me know what the case number is and I'll pick it up. I'll also send you an e-mail....
    I take that back, because R2 is no longer supported you can't log a case....
    First issue is the RDC is not supported in .NET, second issue is the RDC is only available in CR XI R2 which is no longer supported.
    And finally it's about time you update your app to use the CR .NET Assemblies. All of our OEM Partners are now doing so.
    In the mean time these 2 are the only versions officially not supported:
    https://smpdl.sap-ag.de/~sapidp/012002523100009114712011E/crxir2sp4_fullbuild.exe
    https://smpdl.sap-ag.de/~sapidp/012002523100009114412011E/crxir2sp6_incremental.exe
    See if these help. You can get the runtime distribution from here:
    SAP Crystal Solutions Downloads
    Install Fix Pack 6.4 to get all of the fixes and use the redist packages for that version also.
    Thanks
    Don
    Edited by: Don Williams on Jan 24, 2012 7:55 AM

Maybe you are looking for

  • Unicode or UTF-8?

    Hi, all, I'm developing a JSP application that will work with international characters, both displaying them on webpages and storing them in a MySQL database. I'm a bit confused about whether I should use Unicode or UTF-8 for those character strings.

  • SpryAccordionDesignTime.js

    I just ran the updater and now when I open a page w/ a spry tabbed panel, I get the error: The following translators were not loaded due to errors: The following JavaScript file "Macintosh HD:Applications:Adobe Dreamweaver CS3:Configuration: Shared:S

  • How do i remove extra space at the end of my song?

    when i first started my song in GB i set it to 17 mins, now the song is only 2 mins How do I easily remove those extra minutes on my song so that I can export a smaller file? Any help would be greatly appreciated.

  • SUM find uninstalled Java stack

    Dear community, two weeks ago we have splitted our BI/BW system into two stacks for an upgrade. Everything worked smoothly. Now I start SUM to upgrade the ABAP-stack and it finds a dual-stack. In the logs I  find the error message: Not Supported AS J

  • [QUESTION] First Steps: Java ME SDK 3.0 AND NOKIA N95

    Hi! this is my first post in the forums. I am a c# .net programmer and this is my first step to start programing mobile phones with Java ME. I already downloaded and installed de Java ME SDK 3.0 and try the examples, then i build a sample and generat