A problem with TEXT READING from a file

Hi all,
I've been trying to parse a text file, read it line by line and then write it line by line in another file. I use BufferedReader and BufferedWriter.
However, it seems that at each line it doesn't read the first character!!! How is this possible?
Here is my piece of code:
public class ParseMDL {
     public BufferedReader readMDL;
     public BufferedWriter writeMDL;
     public ParseMDL() {
          try {
               writeMDL = new BufferedWriter(new FileWriter("mdlOUT.mdl", true));
          } catch (IOException e) {
               System.out.println("Exception: Error with the output .mdl file!");
          try {
               readMDL = new BufferedReader(new FileReader("subsystemblock.mdl"));
          } catch(FileNotFoundException e) {
               System.out.println("Exception: Input .mdl file cannot be found!");
     public void executeMDLScanner() {
               String strIN, strOUT = null;
               try {
                    while(readMDL.read() != -1) {     
                         strIN = readMDL.readLine();
                         System.out.println(strIN);
                         if(strIN.contains("MaskPromptString")) {
                                   strOUT = "\t " + "MaskPromptString" + "\t     " + "newENTRIESSSS";
                                   System.out.println(strOUT);
                         //else just copy the line
                         else {
                              strOUT = strIN;
                         try {
                              writeMDL.write(strOUT);
                              writeMDL.newLine();
                         } catch (IllegalArgumentException e) {
                              System.out.println("Exception: Illegal Argument Exception");
                    writeMDL.close();
                    readMDL.close();
               } catch(IOException e) {
                    System.out.println("Exception: IO exception!");
}THANK YOU!
Message was edited by:
Pesho_318i
Message was edited by:
Pesho_318i

Don't do this:while (readMDL.read() != -1) { // <-- reads the first character of the line
    strIN = readMDL.readLine(); // <-- reads the rest of the lineInstead do something like this:while ((strIN = readMDL.readLine()) != null) { // <--- reads all the line in one shot
    ...Regards

Similar Messages

  • Problems with indexOf reading from an updating string

    String[][] shapeArray = new String[5][2];
    int isCol;
    int isCom;
    String outputsub1 = finoutput;  // finoutput is holding text imported from a file
    String outputsub2;
    for (int y = 0; y < 2; y++)
         for (int x = 0; x < 5; x++)
              isCol = outputsub1.indexOf(":");
                   isCom = outputsub1.indexOf(",");
                  if (x == 4 && y == 1)
                   shapeArray[x][y] = outputsub1.substring((isCol+2));
              else
                       shapeArray[x][y] = outputsub1.substring((isCol+2),isCom);
                  outputsub2 = outputsub1.substring(isCom+2);
                  outputsub1 = (outputsub2);
    }the text imported looks like this...
    Shape: Circle, Position: 100, 250, Size: 130, 130, Colour: Blue, Fill: yes
    Shape: Rectangle, Position: 300, 250, Size: 110, 110, Colour: Red, Fill: no
    i would use a string tokeniser, but i need to use this method. im trying to shorten the string each time so that the indexOf will find the next ":" each time. However when i try and update the string holding the updated data (outputsub1) i get the following error:
    java.lang.StringindexOutOfBoundsException: String index out of range: -8
    at java.lang.String.substring(String.java:144)
    at ReadFile.init(ReadFile.java:52)
    at sun.applet.AppletPanel.run(AppletPanel.java:353)
    at java.lang.Thread.run(Thread.java:534)
    i hope that makes sense to someone, it only occurs when i add the line..
    outputsub1 = (outputsub2);
    and works fine when i comment it out (although doesnt give the right response obviously.)
    thankyou for any help you can offer

    String index out of range: -8 simply means that you try to access the String at position "-8", which obviously makes no sense. There must be some mistake either in your code or your algorithm. Keep in mind that indexOf returns -1 in case the argument wasn't found - maybe that's the reason for that error.

  • I'm having some problem with Text imported from Motion into FCPro

    Hey Everyone.
    I've got an animation that I created in Motion.
    The format for the timeline in Motion is NTSC DV 4:3
    Final Cut has the same attributes to the sequence.
    I have text on my graphic.... Some of it looks great. Some of it does not.
    You can see it here.
    http://www.drewwfilms.com/Temp/McClure/Graphic.html
    The word "Show" looks terrible, where as the other text looks great.
    I do have a filter on the word show... actually it's not even a filter it's just one of the style parameters which is Outline and Face. The outline attribute has a bit of a blur on it.
    Still i would think this would copy over into final cut without and issue but for some reason it looks really bad.
    Anyone have any ideas on this?
    Thanks.
    -Fraky

    Your problem stems from the bright red on a dark background. It is particularly noticable on text because it is a uniform color.
    You might have other elements in your movies that use this exact shade and it wiil happen there, but it is less noticable because that element consists of multiple tones and is probably moving.
    Very saturated, bright reds always cause problems in video. It is a limitation of the medium.
    If you want to learn more about this facinating subject, the keywords are *Chroma Rise Time*.
    The solution: desaturate and/or lighten the red, change the color completely or live with it.
    Once I render. I get the pixelation.
    Your Motion clip is being rendered to your NTSC DV Sequence setting which is 1:5 compression.
    The problem with the red is only made worse due to this.
    Message was edited to answer newer information from Fraky.

  • Problem With Parallels Reading From Disk Drive

    When I am using the Windows 7 virtual machine on Parallels, I can't read from the built-in CD-DVD player.
    I'm trying to install MS Office 2010. When I insert the disk, it begins spinning and sounds like it's trying to read it but after a while it stops without anything coming up. I already have checked the devices menu and tried the "Default CD/DVD" choice and the "OPTIARC DVD RW AD-5680H" choice from the "CD/DVD 1" menu. Neither of them work. When I tried the "OPTIARC" one, the cursor flickered to the reading-from-disk sprite for a split second.
    Any help with this problem would be greatly appreciated.

    When I am using the Windows 7 virtual machine on Parallels, I can't read from the built-in CD-DVD player.
    I'm trying to install MS Office 2010. When I insert the disk, it begins spinning and sounds like it's trying to read it but after a while it stops without anything coming up. I already have checked the devices menu and tried the "Default CD/DVD" choice and the "OPTIARC DVD RW AD-5680H" choice from the "CD/DVD 1" menu. Neither of them work. When I tried the "OPTIARC" one, the cursor flickered to the reading-from-disk sprite for a split second.
    Any help with this problem would be greatly appreciated.

  • Problems with a read only fla file.

    Hello,
    I need help finding out why some of my .fla file will not save as the same name. When I try to save it says "Cannot save file! This file may be read-only or is open in another application. Save using a different name or close the file and try again." I did evetyrhing it says and it still does not work, does anyone know what the problem is?
    Thanks in advance

    Hi,
    I'm on a Mac (OS X 10.6.7) and using Flash pro CS5 (and Flash Builder).  I started to get a warning in Flash about jagged fonts.  I used Mac's font book to validate and clean up my fonts.  After that, whenever I open this one FLA, it ask me to map some fonts, which I did, then it opens.  After opening, the Flash IDE becomes unusable, most of the text in the palletes disapear and I can not tell what most things are.  I also tried setting the fonts to defaults, same issue, although that did fix the issued for half day, it's now not working, and often crashes when I just click on a text field. I started my Mac up in safe mode, the FLA does work fine in Safe Mode, but I can't remap the fonts 'cause all none system fonts are dissabled in safe mode.
    I was getting a lot of crashes when trying to use Mac's Font Book.  After validating fonts, opting to remove bad fonts would crash font book.  It took about two hours to clean up my fonts.  At least I think they are good now...
    I think I'm going to go through every text field in the FLA in safe mode and change them to a system font (and write down what font I wanted the text field to be), then restart the Mac in normal mode and see if I can remap the fonts in the Fla.  Unfortunetly this Fla is huge with many text fields : (

  • Problems reading from a file

    Hey,
    I have this file that I need to read so i can handle the contents. It was created in MSDOS and as I have very little experience in that topic, I wondered if anyone can point me in the right direction. I tried reading it as a ascii and binary file but neither work, I'm really just guessing though.
    The file has no extension. Hence I can't upload it to the forum. Its made up of mostly meaningless strings of characters.
    Any help is appreciated,
    Regards,
    Rkll

    Rkll wrote:
    Ya you're exactly right, its parsing the data that is the problem. I have done what you said and attached it as a .txt file. My inital thought was that it was a collection of binary digits but I was unable to read them with the built in Labview read binary file VI. Although maybe I had a setting wrong or something.
    This has nothing to do with the Read From Binary File VI, or any setting. That functions does not magically know the format of a file, just like any binary file read for any other programming language. Thus, you have to tell it how to interpret the data. You can tell it to read the file as a series of bytes, and it will dutifully return to you an array of U8 integers. Or, you tell it to read it as a series of 16-bit integers and it will dutifully return to you an array of I16. It will give you what you tell it to give you. 
    Looking at the file I can see some header information, though it's not clear what all the spaces are being used for. I can't tell whether they're padding for a section, or what. As I noted, do you have any idea as to the format of the file?  You said you're updating an old computer system. Any documentation?

  • Read From Measurement File... removes X Values of first column?

    During one of our tests, two instruments were switched at the terminal by accident. I need to read in the massive lvm files, remove the wrong scaling and apply the correct scaling, while switching the values in the columns and right it all to new files. Simple right?
    I wanted to use the Read from Measurement File.vi to make things easier, because the files are very large and I would like to analyze them 100 rows at a time. Some of the the files are around 1.5 Gigs in size so I need to read them in chunks.
    The read from measurement file keeps removing the first column from the data! It outputs the data as a signal (dynamic data) and I have to use the dynamic to numeric array express vi. For some reason, before I even get to that point, the first column is not in the data.
    No matter what settings I pick on the read from measurement express vi, the time column is removed from the data. I have checked/unchecked the "first row is channel names" and "first column is time channel" to no avail. The odd thing is that in the preview it shows the first column, as if it will read it properly... but it doesnt. Nothing I change in the settings can seems to make a difference in getting the first column, the x values, out of the file.
    Below you can see the first column completely removed from the data.
    This is extremely frustrating. By probing the signal out I can see the dynamic data attributes and the time column has already been removed, so I don't think that the signal to double array express vi is the problem, but I am not sure.
    I am attaching my VI and a small data file to be analyzed. You can see what I mean.
    The alternatives seem less than adequate. The read from spreadsheet file vi wants an offset of a specific number of characters not rows. The problem is that this is not constant between rows for some reason, when hidden characters are taken into account so I cant just set the number of characters in 100 rows and increment the offset in a loop... like I normally would. That means I might miss data or get a corrupted row.
    This means that I have to use the read from text file, read how ever many characters I think a row is (over estimating a bit) then search for the newline character, find out how many chars are in that set and then offset that for the next loop iteration, all while converting each string number to a double. Talk about slow.
    I have searched around and found that I am not the only one that has had this issue. This is a common thing, but no one seems to have the answer. Why can't the read from measurement file VI read all of the numbers in every row? Why cant I tell it I want a 2d array of doubles out and not a dynamic data type? It has to be something I am doing wrong.
    Attached is a zip file with my VI and two data files. The "S19_A_DSI_detensioning_c.lvm" is the one generated by my VI (_c meaning corrected). "S19_A_DSI_detensioning.lvm" is the original measurement file. I hope you will pardon my messy VI, it's a quicky.
    Any help you guys can give would be much appreciated.
    [will work for kudos]
    Attachments:
    Scaling Factor Correction.zip ‏1109 KB

    That is a great workaround. The help talked about putting a check next to "read lines" but for the life of me I couldn't find where to do that. I wonder what other VIs have mystery check options in the right mouse click menu. I mean normally options like those are inputs, I thought. I'm going to start right clicking on every VI I drop to see if there are options there I never realized.
    I would still have to use the set file position VI and specify the byte offset right? How would I know where that is? I guess each character is a byte and I would count the characters in the string retrieved and then offset by that amount on the next iteration using a shift register?
    While waiting for help, I ended up using the read from text file and using the match string to look for the new line character, and using the spreadsheet string to array vi, analyzed the files line by line. Thats just because I couldn't easily come up with a regular expression to get 100 lines. It was slow but it worked.
    However, that still really doesn't answer the question of why it is impossible to get the first column with the read from measurement file express VI. Does anyone know? Is this a known bug?
    [will work for kudos]

  • Problem with reading from DAT file. FileNotFound exception

    Can't seem to find the issue here. Two files, one (listOfHockeyPlayers) reads from a DAT file a list of players. The other (HockeyPlayer) has just the constructor to make a new hockey player from the read data.
    import javax.swing.*;
    import javax.swing.event.*;
    import java.util.*;
    import java.awt.*;
    import java.io.*;
    public class ImportHockeyPlayers
    private ArrayList<HockeyPlayer> listOfHockeyPlayers = new ArrayList<HockeyPlayer>();
    public ImportHockeyPlayers(String fileName)
      throws FileNotFoundException
      try
       Scanner scan = new Scanner(new File(fileName));
       while (scan.hasNext())
        //Uses all the parameters from the HockeyPlayer constructor
        String firstName = scan.next();
        String lastName = scan.next();
        int num = scan.nextInt();
        String country = scan.next();
        int dob = scan.nextInt();
        String hand = scan.next();
        int playerGoals = scan.nextInt();
        int playerAssists = scan.nextInt();
        int playerPoints = playerGoals + playerAssists;
        //listOfHockeyPlayers.add(new HockeyPlayer(scan.next(),scan.next(),scan.nextInt(),scan.next(),scan.nextInt(),scan.next(),
         //scan.nextInt(),scan.nextInt(),scan.nextInt()));
      catch(FileNotFoundException e)
       throw new FileNotFoundException("File Not Found!");
    public String toString()
      String s = "";
      for(int i = 0; i < listOfHockeyPlayers.size(); i++)
       s += listOfHockeyPlayers.get(i);
      return s;
    public class HockeyPlayer
    private String playerFirstName;
    private String playerLastName;
    private int playerNum;
    private String playerCountry;
    private int playerDOB;
    private String playerHanded;
    private int playerGoals;
    private int playerAssists;
    private int playerPoints;
    public HockeyPlayer(String firstName, String lastName, int num, String country, int DOB,
      String hand, int goals, int assists, int points)
      this.playerFirstName = firstName;
      this.playerLastName = lastName;
      this.playerNum = num;
      this.playerCountry = country;
      this.playerDOB = DOB;
      this.playerHanded = hand;
      this.playerGoals = goals;
      this.playerAssists = assists;
      this.playerPoints = goals + assists;
    DAT File
    Wayne Gretzky 99 CAN 8/13/87 R 120 222
    Joe Sakic 19 CAN 9/30/77 L 123 210These are all in early development, we seem to have the idea down but keep getting the odd FileNotFound exception when making an object of the ImportHockeyPlayers class with the parameter of the DAT file.
    We might even be on the wrong track with an easier way to do this. To give you an idea of what we want to do...read from the file and be able to pretty much plug in al lthe players into a GUI with a list of the all the players.
    Thanks for your time.

    Thanks for the tip on the date format...good to
    know.
    public static void main(String[] args)
    GUI gui = new GUI();
    ImportHockeyPlayers ihp = new
    ImportHockeyPlayers("HockeyPlayers.dat");
    }It's just being called in the main.
    Throws this error:
    GUI.java:39: unreported exception
    java.io.FileNotFoundException; must be caught or
    declared to be thrown
    ImportHockeyPlayers ihp = new
    ImportHockeyPlayers("HockeyPlayers.dat");
    ^This error is simply telling you that an exception may occur so you must enclose it in a try catch block or change the main method to throw the exception as follows
    public static void main(String[] args) throws  
                          java.io.FileNotFoundException {
         GUI gui = new GUI();
         ImportHockeyPlayers ihp = new
         ImportHockeyPlayers("HockeyPlayers.dat");
    }or
    public static void main(String[] args) {
         GUI gui = new GUI();
         try {
              ImportHockeyPlayers ihp = new
              ImportHockeyPlayers("HockeyPlayers.dat");
         catch (FileNotFoundException e) {
              System.out.println("error, file not found");
    }I would reccomend the second approch, it will be more helpful in debugging, also make sure that the capitalization of "HockeyPlayers.dat" is correct
    hope that helps

  • Problem with reading from bin file into Vector

    What am I doing wrong? It works fine to write the vector to the bin file and then read from it. But if I try just to read from the file it wont work.
    Does anybody has any good advice to give when it comes to reading data form a bin file??
    import javax.swing.*;
    import java.util.*;
    import java.io.*;
    class Binaerfil
         public static void main (String [] args) throws IOException, ClassNotFoundException{
              ObjectOutputStream utFil = new ObjectOutputStream (new FileOutputStream("HighScoreLista.bin"));
              int po = 50;
              Spelare s;
              Spelare s1, s2, s3, s4, s5,s6,s7,s8,s9,s10;
              String f�rNamn;
              Vector v = new Vector();
              s1 = new Spelare("Mario", 100);
              s2 = new Spelare("Tobias",90 );
              s3 = new Spelare("Sanja", 80 );
              s4 = new Spelare("Marko", 70 );
              s5 = new Spelare("Sofia", 60 );
              s6 = new Spelare("Kalle", 50 );
              s7 = new Spelare("Lisa", 40 );
              s8 = new Spelare("Pelle", 30 );
              s9 = new Spelare("Olle", 20 );
              s10 = new Spelare("Maria",10 );
              v.add(s1);
              v.add(s2);
              v.add(s3);
              v.add(s4);
              v.add(s5);
              v.add(s6);
              v.add(s7);
              v.add(s8);
              v.add(s9);
              v.add(s10);
              System.out.println ("Before writing to file");
              System.out.println(v);
              //Write to file
              utFil.writeObject (v);
              utFil.close();
         ObjectInputStream inFil = new ObjectInputStream (new FileInputStream("HighScoreLista.bin"));     
              v =(Vector) inFil.readObject();
         System.out.println (v);
              inFil.close();
    }

    Because what you are writing to the file is a vector, that is all you can get out. You are actually reading a single Object from the file which you can cast to a Vector, from which you can access the data stored inside. If you want to read the Spelare instances from the file, you will have to save them individually to the file. You will have to implement Serializable and look up the API to do that.

  • Data reading and writing problem? how to set " Read from Measurment File express.vi​" 's readout datasize?

    Dear all,
    I want to use Labview to process a data.
    Now I have a array in a text file.
    this array is very very big. which is at least row*col = 6 * 100000;
    the column size always 6,
    but the row size is ramdom, some times is very big, like bigger than 65535,
    when I use "read from measurement file express.vi" to read this file, the array I could get always 6*5339, I don't know why. the column size is always 5339.
    and then I delete the 1st row of the array and then write into a txt file via "write measurement file express. vi", it takes a very long time. almost computer has no response. after a while, no file was creat to record the data.
    is there an efficient way to process such big data file and store the processed file into a new file
    thank you very much
    Jack
    Message Edited by weichengatech on 03-09-2006 12:00 AM

    Hello,
    There’s no real efficient way to read the file if you don’t
    know exactly how many rows of data you have. 
    Your going to just have to read a row at a time and add the results to
    the end of an array (granted for the clever programmers there are some more
    efficient ways to do this than just with ‘build array’).  I would start by asking you how much
    information you know about the file and what the exact structure of it is (i.e.
    is it a binary file, a tab delimited file, or a LVM file)?  Could you provide a screenshot of the code
    you are running? If you provide a little more information on the file structure
    we might be able to contribute some additional information.
    Look forward to hearing back from you-
    Travis M
    LabVIEW R&D
    National Instruments

  • I am getting "a network error occurred while attempting to read from the file c:\windows\installer\itunes.msi" when I attempt to download itunes, can someone help me with this?

    I am getting "a network error occurred while attempting to read from the file c:\windows\installer\itunes.msi" when I attempt to install itunes.  Can anybody help me to resolve this issue?

    You can try disabling the computer's antivirus and firewall during the download the iTunes installation
    Also try posting in the iTunes forum since it is not an iPod touch problem.

  • *** Reading from a file with tags ***

    Hi guys,
    I don't know if it is possible, but can you read from a file that contains tags?
    For example, say i want to write a simple program that just outputs the details of a person that it reads in from someFile.dat
    someFile.dat
    <DETAILS>
    <NAME> Napolean Solo </NAME>
    <ADDRESS> 10 Some Street, SomePlace </ADDRESS>
    <PHONE> 33333 </PHONE>
    <NAME> Illya Kuryakin </NAME>
    <ADDRESS> 12 Some Street, SomeOtherPlace </ADDRESS>
    <PHONE> 44444 </PHONE>
    </DETAILS>
    So what i want is program that outputs to the screen like:
    Napolean Solo
    10 Some Street, SomePlace
    33333
    Illya Kuryakin
    Is this possible in Java?????
    I really appreciate any help that is given,
    thanks in advance :)

    So what i want is program that outputs to the screen
    like:
    Napolean Solo
    10 Some Street, SomePlace
    33333
    Illya Kuryakin
    ...If that's all you want (and since a valid xml file has to start with at least <?xml version="1.0"?> so XML is irrelevant to this discussion) then this will generate the output you specify from the imput you provided:import java.io.*;
    import java.util.StringTokenizer;
    public class SimpleAngleBracketEliminator {
      public static void main (String[] args) throws Exception {
        BufferedReader in = new BufferedReader(new FileReader(args[0]));
        String line;
        while ((line=in.readLine())!=null) {
          StringTokenizer st = new StringTokenizer(line, "<>");
          while (st.hasMoreTokens()) {
            st.nextToken();
            if (st.hasMoreTokens()) {
              System.out.print(st.nextToken().trim());
          System.out.println();
    }But if you actually want the benefits of real XML, then use a real XML parser.
    Pete

  • Read from measurement file problem

    Hi all,
    I am using the "Read from Measurement File" VI that is built into LV8. I am reading in a .lvm file consisting of 2 columns. I cannot seem to figure out how to index each column. When tested using a a single column data file, I am able to use the index array vi to  access the data successfully. The problem occurs when I have 2 columns. To get around this problem I split my initial data file into 2 single column data file, but I would prefer not having to do this. Is there anyway to avoid this?
    When I read the 2D file into an array I can only index the data located in the 1st row 1st col and the data in the last row 2nd col.
    The array size function results in the value "2" yet each column has 201 entries.

    Attachments:
    Write to LVM.vi ‏128 KB
    To read LVM.vi ‏70 KB

  • Read from spreadsheet file with multiple delimiters

    Is there a way to specify multiple delimitors in the read from spreadsheet file vi? I have a file that i need to read in that contains both space and comma delimitors and would like to read that data into an array using both delimitors (or not and). Below is the data I'm trying to read.
    ;attenuator data table
    att00:   db       000h,015h,017h,035h,03Ch,03Eh,03Eh,05Ch,05Eh,05Eh
    att10:   db       07Ch,07Eh,07Fh,09Dh,09Fh,09Fh,0BDh,015h,017h,035h
    att20:   db       03Eh,03Eh,05Ch,05Ch,05Eh,07Ch,07Ch,07Eh,09Dh,09Dh
    att30:   db       09Fh,0BDh,000h,000h,000h,002h,002h,002h,002h,003h
    att40:   db       021h,021h,021h,021h,021h,023h,023h,023h,023h,023h
    att50:   db       041h,041h,048h,048h,048h,04Ah,04Ah,04Ah,04Ah,068h
    att60:   db       068h,068h,068h,068h,068h,06Ah,06Bh,06Bh,06Bh,089h
    att70:   db       089h,089h,089h,08Bh,08Bh,08Bh,08Bh,0A9h,0A9h,0A9h
    att80:   db       0A4h,0A6h,0A6h,0A6h,0A6h,0C4h,0C4h,0C4h,0C4h,0C6h
    att90:   db       0C6h,0C6h,0C6h,0E4h,0E4h,0E5h,0E5h,0E7h,0E7h,0E7h
        END
    I'm looking to just read in the data adjust the hex values and then save the data in the exact form which I read it in. If read from spreadsheet file can not recognize multiple delimiters that is all I need to know. I do not want to spend time reading it in using a single delimitor and doing a bunch of string manipulation. I'm also working with LabView 8.5 if that makes a difference.

    You should use "scan string for tokens", and wire an array of delimiters.
    One nice behavior is the fact that consecutive delimiters are contracted into one (by default), so e.g. if your delimiters is an array containing a space and a comma, a sequence of three spaces and a comma would still count as one delimiter.
    For some ideas, have a look at my old example here:
    http://forums.ni.com/ni/board/message?board.id=170&message.id=192847#M192847
    LabVIEW Champion . Do more with less code and in less time .

  • Trying to update to iTunes 10.4.1 and I get a message "A network error occured while attempting to read from the file C:|Windows|Installer|iTunes.msi"  Running WIndows 7 with all updates done.  I  have never had an issue with iTunes updating before.  Anyo

    iTunes has tried to update itself and runs into an error and tells me to manually install.  When I d/l and run the iTunesSetup.exe file I always encounter the following error message...
    "A network error occured while attempting to read from the file C;|Windows|Installer|iTunes.msi" and iTunes does not update to iTunes 10.4.1.
    Anyone know what is creating this error message?  Thanks for the help...

    (1) Download the Windows Installer CleanUp utility installer file (msicuu2.exe) from the following Major Geeks page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page): 
    http://majorgeeks.com/download.php?det=4459
    (2) Doubleclick the msicuu2.exe file and follow the prompts to install the Windows Installer CleanUp utility. (If you're on a Windows Vista or Windows 7 system and you get a Code 800A0046 error message when doubleclicking the msicuu2.exe file, try instead right-clicking on the msicuu2.exe file and selecting "Run as administrator".)
    (3) 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.
    (4) In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove", as per the following screenshot:
    (5) Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?

Maybe you are looking for

  • Dynamic Name from attribute : Variable Substitution

    Hey there, Can I use the variable subsititution feature of the File Adapter to set the filename dynamically from the payload. The filename is to come from a attribute and NOT an element. Is there a way how I can set this in the file schema subsititio

  • Unit Conversion Error in Direct Input method for data transfer

    Hi Experts, I am getting a error "E MG 427: Conversion error: field BMMH6-MEINH; content PAK" When I am uploading Alt. UoM using BMHH6 structure in Direct Input. I checked value for UoM in converted data it is "PAC". I think system is internally conv

  • Truncation while using FM SO_NEW_DOCUMENT_ATT_SEND_API1 for sending mail

    I am using function module SO_NEW_DOCUMENT_ATT_SEND_API1 to send mail to external email id specified in a distribution list .But the restriction of this FM is truncates the content of a line having more than 255 char (as CONTENTS_BIN is of type char

  • Why am I getting slow, uneven video play in Speedgrade??

    I imported a cineform hd file into Premiere 6. The file played great in premiere 6. There is no exact preset setting for this cineform hd file but I chose the "change sequence to match clip" option and like I said, it played great. It is a 20 minute

  • Is ASM easier to use than BCEL?

    I need to use a library to manipulate bytecode, I was just wondering if ASM is much easier to use than BCEL because im tearing my hair out with BCEL.