Serialization to String (easy code to try!) PLEASE HELP!!!!!!!!!!!

My last post is a bit ard to understand, I submit this easy code which cause the same trouble!
If anybody has some explanation I realy would be very grateful!!!!
Code : -----------------------------------------------------------------------------------------------
import java.io.*;
import java.util.*;
public class prova {
  public static void main(String[] args) {
// builds a simple ArrayList object -----------------------------------------------------
    ArrayList l=new ArrayList();
    ArrayList l1=new ArrayList();
    l1.add(new String("1-1"));
    l1.add(new String("1-2"));
    l1.add(new String("1-3"));
    ArrayList l2=new ArrayList();
    l1.add(new String("2-1"));
    l1.add(new String("2-2"));
    l.add(l1);
    l.add(l2);
try{
      // Serializes the ArrayList to a String -----------------------------------------------------
     ByteArrayOutputStream ByteOutStream=new ByteArrayOutputStream();
    ObjectOutputStream ObjBuff=new ObjectOutputStream(ByteOutStream);
    ObjBuff.writeUnshared(l);
    ObjBuff.flush();
    ObjBuff.close();
    String SerializedCommand=new String(ByteOutStream.toByteArray());
    // Deserializes it -----------------------------------------------------
    ByteArrayInputStream ByteInStream=new ByteArrayInputStream(SerializedCommand.getBytes());
    ObjectInputStream ois=new ObjectInputStream(ByteInStream);
    ArrayList result=(ArrayList)ois.readUnshared();
    System.out.println(result);
  catch (Exception e){e.printStackTrace();}
}

hi, try it with xmlencoder and decoder!
// Serialize
ByteArrayOutputStream ByteOutStream=new ByteArrayOutputStream();
XMLEncoder ObjBuff=new XMLEncoder(ByteOutStream);
ObjBuff.writeObject(l);
ObjBuff.close();
String SerializedCommand=new String(ByteOutStream.toByteArray());
// Deserializes it
ByteArrayInputStream ByteInStream=new ByteArrayInputStream(SerializedCommand.getBytes());
XMLDecoder ois=new XMLDecoder(ByteInStream);
ArrayList result=(ArrayList)ois.readObject();
System.out.println(result);it should work.
greetings,
Chris

Similar Messages

  • My compouter (PC) no longer recognizes my ipod (4th gen), it "sees" an unknowndevice and gives me error code 43.  Please help.

    My compouter (PC) no longer recognizes my ipod (4th gen), it "sees" an unknowndevice and gives me error code 43.  Please help.

    Check for hardware issues
    Try to restore your iOS device two more times while connected with a cable, computer, and network you know are good. Also, confirm your security software and settings are allowing communication between your device and update servers. If you still see the alert when you update or restore, contact Apple support.
    Common errors: 1, 10-47, 1002, 1011, 1012, 1014, 1000-1020.
    If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar                                      

  • I need to unlock compaq mini code is CNU027599F, please help

    i need to unlock compaq mini code is CNU027599F, please help
    This question was solved.
    View Solution.

    Ash try.
    e9l17xqoo8
    3rd letter lowercase L.
    4th is number 1.
    7th letter lowercase Q.
    8th and 9th letter lowercase O.
    Use that code to go into the BIOS.
    Disable all passwords that are enabled.
    IF asked for the CURRENT password use that code.
    IF asked for NEW password just hit enter.
    If asked to VERIFY password just hit enter.
    Save and exit.
    REO
    I must inform you that these services are not endorsed by HP, and that HP is not responsible for any damage that may arise to your system by using these services. Please be aware that you do this at your own risk.
    HP Expert Tester "Now testing HP Pavilion 15t i3-4030U Win8.1, 6GB RAM and 750GB HDD"
    Loaner Program”HP Split 13 x2 13r010dx i3-4012Y Win8.1, 4GB RAM and 500GB Hybrid HDD”
    Microsoft Registered Refurbisher
    Registered Microsoft Partner
    Apple Certified Macintosh Technician Certification in progress.

  • Hello, i have a problem with this number code  213:19,  please help me!

    Hello, i have a problem with this number code  213:19,  please help me!

    dan
    What version of Premiere Elements and on what computer operating system is it running?
    If you are using Premiere Elements 13, have you updated it to 13.1 yet? If not, please do so using an opened project's Help Menu/Updates.
    What type of user account are you using....local administrator or domain type?
    Please review the following Adobe document on the 213.19 issue. Have you read that already?
    Error 213:19 | Problem has occurred with the licensing of this product
    ATR

  • When I download the digital copy of the Hunger Games, it stops at 4.0GB and first returns an error code -1309 and then the code -50. Please help me complete the download.

    When I download the digital copy of the Hunger Games, it stops at 4.0GB and first returns an error code -1309 and then the code -50. Please help me complete the download. I have tried removing the .tmp folder and downloading it again, but each time it stops the download in the same place.

    I discovered the solution. The external drive I was saving it to was formatted as FAT32. In that format, the largest files can only be 4GB, which explains why it kept stopping at 4GB. I backed up all the files then reformatted it as Mac OS Extended (Journaled), this is possible since I am on an iMac.

  • I am having trouble printing I have a connection to my printer wirelessly but does not print out the correct page I want.When I do print I get a bunch of pages more than is needed and also get a code and symbols please help I am jammed at work

    I am having trouble printing I have a connection to my printer wirelessly but does not print out the correct page I want.When I do print I get a bunch of pages more than is needed and also get a code and symbols please help I am jammed at work

    This can be the result of selecting the wrong driver. An older, unsupported laser printer will sometimes work with the generic Postscript driver.

  • I get a lock bios code of 60293385 please help

    i get a lock bios code of 60293385 please help some times it is was a 5###### somthing?

    Post most recent code here:
    http://bios-pw.org/
    ******Clicking the Thumbs-Up button is a way to say -Thanks!.******
    **Click Accept as Solution on a Reply that solves your issue to help others**

  • Mystery Problem in Code...Please Help...

    Ok, here's the situation. I am a photographer, and have been writing code for some time now. I decided to write a java application that would write individual web pages for each jpeg present in two directories, bnw and color, making the job of writing as many as 300 virtually identical pages a lot less annoying. Unfortunately, this is even more so.
    The code is clean in nice, and it compiles without a hitch. When I run the application (w/ jdk 1.4.0) on Windows 98, it comes up with an invalid path error when it tries to create the first of these web pages, but after it writes the list of all the images it sees. (This list is created successfully.) I went back and double checked that there weren't any filenames that Windows would gripe about, and an error was found. I corrected the error, and now everything is kosher, but yet the same error still occurs. I've several different methods of doing the same thing, and every time, the same error occurs at the same spot. I have included the source code below. Please, any help would be appreciated!
    import java.io.*;
    import java.util.*;
    public class listDir {
         public static final String DEBUG = true;
         static {
              if (DEBUG)
                   System.err.println("----------- < DEBUGGING IS ON > -------------");
            public static void main(String[] args) {
              // DEBUG STATEMENT
              System.err.print("DEBUG: Declaring final Strings... ");
                    final String path1 = "E:\\Liam Conrad - Photographer\\800x600\\images\\html\\bnw";
                    final String path2 = "E:\\Liam Conrad - Photographer\\800x600\\images\\html\\color";
              final String line1 = "<html>\r\n<head>\r\n<title></title>\r\n<link href=\"../../master.css\" rel=\"stylesheet\">\r\n</head>\r\n";
              final String line2 = "<body>\r\n<table width=\"100%\" height=\"100%\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\">\r\n<tr>\r\n";
              final String line3 = "<td align=\"center\" valign=\"top\" colspan=\"1\" width=\"100%\">\r\n<p><img src=\"";
              final String line4 = "\" border=\"1\" width=\"432\" height=\"288\" alt=\"\"></p></td></tr></table></body></html>\r\n\r\n\r\n";
              // DEBUG STATEMENT (2)
              System.err.println("[ DONE ]");
              System.err.print("DEBUG: Declaring variables... ");
              String temps1;
              String temps2;
                    RandomAccessFile raf;
                    RandomAccessFile mfo;
                    File d1;
                    File d2;
                    String[] list1;
                    String[] list2;
                    String[] list3;
                    Vector svect = new Vector();
              // DEBUG STATEMENT (2)
              System.err.println("[ DONE ]");
              System.err.println("DEBUG: Beginning try statement.");
                    try {
                            d1 = new File(path1);
                            d2 = new File(path2);
                            raf = new RandomAccessFile("dirlist.txt", "rw");
                            list1 = d1.list();
                            list2 = d2.list();
                            for (int i = 0; i < list1.length; i++) {
                                    if (list1.endsWith(".jpg")) {
    svect.add("bnw_" + list1[i]);
    } else {
    for (int i = 0; i < list2.length; i++) {
    if (list2[i].endsWith(".jpg")) {
    svect.add("color_" + list2[i]);
    } else {
    for (int i = 0; i < svect.size(); i++) {
    raf.writeBytes((i+1) + ":\t" + svect.get(i) + "\r\n");
    raf.close();
                   for (int i = 0; i < svect.size(); i++) {
                        temps1 = svect.get(i) + "\b\b\bhtml";
                        temps2 = temps1;
                        System.out.println(temps2);
                        mfo = new RandomAccessFile(temps2, "rw"); // <--- Here is where the error is occuring every time.
                        mfo.writeBytes(line1);
                        mfo.writeBytes(line2);
                        mfo.writeBytes(line3);
                        mfo.writeBytes((String)svect.get(i));
                        mfo.writeBytes(line4);
                        mfo.close();
    } catch (Exception e) {
    e.printStackTrace();
                   System.err.println((char)7 + "\n");

    Hi buddy
    First of all, there is no mystery in this program. Everything is pretty clear...
    OK, Instead of pointing out the mistakes you have done, I thought why not may be I cam modify the program and then give u the code. Go thru the code and you will understand the mistakes you have done. You have to make a few changes to make this applicable to you. Firstly, change the directory names, secondly, change the GIFs to JPGs, thirdly, add the table formatting that you were looking for(i removed the formatting for simplicity)... and things like that.
    Lot of things to say about : Since you are creating a html file in the current directory and in that html file, you are refering to the images in two other directories, you wont be able to see the images unless you move the files to the current working directory. And you cannot move a file from one directory to another using Java IO(Only way is you can create exact replicas of the files in other directories). Or, One way to get around with this problem is : Use full path of the file instead of just the name of the GIF(or jpeg or whatever) file. That is what I have done in the following program.
    Cheers
    -Uday
    import java.io.*;
    import java.util.*;
    public class Picture {
         public static final boolean DEBUG = true;
         static {
              if (DEBUG)
                   System.err.println("----------- < DEBUGGING IS ON > -------------");
    public static void main(String[] args) {
              // DEBUG STATEMENT
              System.err.print("DEBUG: Declaring final Strings... ");
    final String path1 = "C:\\uday\\PIC\\one";
    final String path2 = "C:\\uday\\PIC\\two";
              final String line1 = "<html>\r\n<head>\r\n<title></title>\r\n</head>\r\n";
              final String line2 = "<body>\r\n<table>\r\n<tr>\r\n";
              final String line3 = "<td align=\"center\" valign=\"top\">\r\n<p><img src=\"";
              final String line4 = "\" alt=\"\"></p></td></tr></table></body></html>\r\n\r\n\r\n";
              // DEBUG STATEMENT (2)
              System.err.println("[ DONE ]");
              System.err.print("DEBUG: Declaring variables... ");
              String temps1;
              String temps2;
    RandomAccessFile raf;
    RandomAccessFile mfo;
    File d1;
    File d2;
    String[] list1;
    String[] list2;
    String[] list3;
    Vector svect = new Vector();
              Vector nvect = new Vector();
              // DEBUG STATEMENT (2)
              System.err.println("[ DONE ]");
              System.err.println("DEBUG: Beginning try statement.");
    try {
    d1 = new File(path1);
    d2 = new File(path2);
    raf = new RandomAccessFile("dirlist.txt", "rw");
    list1 = d1.list();
    list2 = d2.list();
    for (int i = 0; i < list1.length; i++) {
    if (list1.endsWith(".gif")) {
                             nvect.add(path1+"\\"+list1[i]);
                             String temp1 = "one_"+list1[i].substring(0,list1[i].lastIndexOf(".gif"));
    svect.add(temp1);
    } else {
    for (int i = 0; i < list2.length; i++) {
    if (list2[i].endsWith(".gif")) {
                             nvect.add(path2+"\\"+list2[i]);
                             String temp2 = "two_"+list2[i].substring(0,list2[i].lastIndexOf(".gif"));
    svect.add(temp2);
    } else {
    for (int i = 0; i < svect.size(); i++) {
    raf.writeBytes((i+1) + ":\t" + svect.get(i) + "\r\n");
    raf.close();
                   for (int i = 0; i < svect.size(); i++) {
                        temps1 = svect.get(i) + ".html";
                        temps2 = temps1;
                        System.out.println(temps2);
                        mfo = new RandomAccessFile(temps2, "rw"); // <--- Here is where the error is
    occuring every time.
                        mfo.writeBytes(line1);
                        mfo.writeBytes(line2);
                        mfo.writeBytes(line3);
                        mfo.writeBytes((String)nvect.get(i));
                        mfo.writeBytes(line4);
                        mfo.close();
    } catch (Exception e) {
    e.printStackTrace();
                   System.err.println((char)7 + "\n");

  • Easy Java GUI Question Please Help!

    Please help! whenever I try to run this code:
    package here;
    import java.awt.Graphics;
    import java.awt.Color;
    mport javax.swing.JFrame;
    public class Window extends JFrame {
    public Window(){
         setVisible(true);
    setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    setResizable(false);
    setSize(500,500);
         public void paint(Graphics g){
    g.drawString("Hello!", 75, 75);
    public static void main(String[] args) {
    new Window();
    this keeps happening http://www.youtube.com/watch?v=k7htCX6a4BI&feature=watch_response
    (I didn't post this video but it looks like I'm not the only one this has happened to)
    its like I get a weird screen capture :/
    I tried setting the bacgkround color and I tried using netbeans instead of eclipse. neither worked.
    Any help would be really great! I don't want to get discouraged from learning java!

    First of all it contains Syntax error .
    Call the super paint method when trying to override the paint method .
    package here;
    import java.awt.Graphics;
    import java.awt.Color;
    import javax.swing.JFrame;
    public class Window extends JFrame {
    public Window(){
    setVisible(true);
    setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    setResizable(false);
    setSize(500,500);
    public void paint(Graphics g){
    // call the base paint method first
    super.paint(g);
    g.drawString("Hello!", 75, 75);
    public static void main(String[] args) {
    new Window();
    Edited by: VID on Mar 31, 2012 5:05 AM

  • HTMLB Code not working Please help.....

    Hello All,
    Ive new in HTMLB. Have written this code wherein a JSP page is called from a JSPDynPage file. But am <b>not getting any output. Its all blank.</b> Dunno if im going wrong .... Please help.
    Struggling with this since y'day.
    <b>CODE</b>:
    <u><b>UserInfoDynPage.java</b></u>
    package com.sap.sample;
    import com.sapportals.htmlb.*;
    import com.sapportals.htmlb.enum.*;
    import com.sapportals.htmlb.event.*;
    import com.sapportals.htmlb.page.*;
    import com.sapportals.portal.htmlb.page.*;
    import com.sapportals.portal.prt.component.*;
    public class UserInfoDynPage extends PageProcessorComponent
    {     public DynPage getPage()
         {     return new UserInfoDynPageDynPage();
           public static class UserInfoDynPageDynPage extends JSPDynPage
           {     //private UserInfoBean UserInfoBean = null;
             public void doInitialization()
             {          IPortalComponentRequest request = (IPortalComponentRequest) this.getRequest();
                       IPortalComponentSession componentSession = ((IPortalComponentRequest)getRequest()).getComponentSession();
                    /*Object o = componentSession.getValue("UserInfoBean");
                    if(o==null || !(o instanceof UserInfoBean))
                    {     UserInfoBean = new UserInfoBean();
                      componentSession.putValue("UserInfoBean",UserInfoBean);
                    else
                    {     UserInfoBean = (UserInfoBean) o;
                    // fill your bean with data here...
        public void doProcessAfterInput() throws PageException
        public void doProcessBeforeOutput() throws PageException
        {     this.setJspName("UserInfo.jsp");
    <u><b>UserInfo.jsp</b></u>
    <%@ taglib uri="tagLib" prefix="hjb" %>
    <hbj:content id="myContext" >
         <hbj:page title="UserInfo Page">
            <hbj:form id="myFormId" >
                 <hbj:textView id="title" text="Search Screen" design="STANDARD" />
                 <table>
                      <tr>
                           <td>
                                <hbj:label id:"lb_Search" text"Search For" labelFor="search" />
                           </td>
                           <td>
                                <hbj:inputField id="search" type="string" maxlength="25" />
                           </td>
                      </tr>
                      <tr>
                           <td>
                                <hbj:label id="lb_SearchType" text="Search Type" labelFor="searchType" />
                           </td>
                           <td>
                                <hbj:dropdownListBox id="SearchType" tooltip="UME Object  to search for" disabled="false">
                                     <hbj:listBoxItem key="user" value="User" />
                                     <hbj:listBoxItem key="group" value="Group" />
                                     <hbj:listBoxItem key="role" value="Role" />
                                </hbj:dropdownListBox>
                           </td>
                      </tr>
                 </table>
                 <br>
                 <hbj:button id="submit" text"search!" tooltip="Click me to search" disabled="false" design="emphasized" />
                 <br>
                 <br>
       </hbj:form>
      </hbj:page>
    </hbj:content>
    <u><b>Portalapp.xml</b></u>
    <?xml version="1.0" encoding="utf-8"?>
    <application>
      <application-config>
        <property name="PrivateSharingReference" value="com.sap.portal.htmlb"/>
      </application-config>
      <components>
        <component name="UserInfoDynPage">
          <component-config>
            <property name="ClassName" value="com.sap.sample.UserInfoDynPage"/>
            <property name="ComponentType" value="jspnative"/>
            <property name="JSP" value="pagelet/UserInfo.jsp"/>
          </component-config>
          <component-profile>
               <property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>
          </component-profile>     
        </component>
      </components>
      <services/>
    </application>
    =============
    Please help.
    Awaiting Reply.
    Thanks,
    Uday
    Message was edited by: Uday Hardikar

    Hi BHI,
    Thank you for your input.
    Had made silly mistake and got solved.
    And now, I have another problem which is related to this same program but the error seems to be a different one.
    Have posted another query:
    Error in HTMLB program..Please help..Urgent OR Error in HTMLB program..Please help..Urgent
    Please help me as its kinda urgent.
    Thanks in advance.
    Uday

  • Internal rpc error (error code:2).  Please help.

    Our Oracle database is on Solaris 9. When we do stress testing on database and server. We have got this error message.
    Monitor name :UNIX Resources. Internal rpc error (error code:2).
    Hint: Check that RPC on this machine is up and running. Check that rstat daemon
    on this machine is up and running (use rpcinfo utility for this verification).
    Details: RPC: RPC call failed.
    RPC-TCP: recv()/recvfrom() failed.
    RPC-TCP: Timeout reached. (entry point: Factory::CollectData). [MsgId: MMSG-47197]
    The error appears randomly when number of users querying database increases to high number.
    Please help me to figure out the reason and solutions. Thanks in advance.

    consider the following
    not for copying
    but for studying working code
    to help clarify ideas
    import java.io.*;
    list items and count of each item
    in a list of socks
    file has list of socks ...
    4
    red sock
    green sock
    blue sock
    green sock
    the first line is n = count of socks
    if no socks match, there are n items
    for example : 3 items in ...
    3
    red sock
    blue sock
    green sock
    if all socks match there is one item
    for example : 1 item in ...
    3
    red sock
    red sock
    red sock
    if socks come in pairs, there are at most n/2 items
    for example : 2 items in ...
    4
    red sock
    green sock
    red sock
    green sock
    program does not assume that socks come in pairs !!
    public class Socks {
    public static void main(String args[]) throws IOException
    String[] socks = new String[1000];
    int numOfsocks;
    String[] item = new String[1000];
    int[] count = new int[1000]; // initializes each count to zero
    int totalcount = 0;
    int i;
    int j;
    boolean ifound;
    FileReader fr = new FileReader("test.txt");
    BufferedReader inFile = new BufferedReader(fr);
    numOfsocks = Integer.parseInt(inFile.readLine());
    for (i = 0; i < numOfsocks; i++)
    socks[ i ] = inFile.readLine();
    inFile.close();
    for (i = 0; i < numOfsocks; i++) {
    ifound = false;
    for (j = 0; j < totalcount; j++) {
    if (socks[ i ].equalsIgnoreCase(item[j])) {
    ifound = true;
    count[j]++; // increase count for matched item
    break; // exit "for j loop"
    } // for j
    // sock not found so add it to item list ...
    if (ifound == false) {
    item[totalcount] = socks[ i ];
    count[totalcount] = 1;
    totalcount++;
    } // for i
    for (i = 0; i < totalcount; i++)
    System.out.println (item[ i ] + ", count = " + count[ i ]);
    } // class

  • Simple code, but wrong, please help.

    I wrote the follow code. When I call it in another class but no disaply. What happens? Please help me to correct it. Thanks.
    import java.awt.*;
    import java.awt.geom.*;
    import javax.swing.*;
    public class tempStr extends JApplet{
    final static Color bg = Color.white;
    final static Color fg = Color.black;
    String str;
    tempStr(String string){
         str=string;
         JFrame f = new JFrame("string draw");
            JApplet applet1 = new tempStr(str);
            f.getContentPane().add("Center", applet1);
            applet1.init();
            f.pack();
           f.setSize(new Dimension(400,400));
            f.show();
        public void init() {
            setBackground(bg);
            setForeground(fg);
    public void paint(Graphics g) {
      Graphics2D g2=(Graphics2D)g;
        g2.drawString(str, 40,160);
      }

    It would be better to move the creation code into some dedicated method:
    import java.awt.*;
    import java.awt.geom.*;
    import javax.swing.*;
    public class tempStr extends JApplet{
        final static Color bg = Color.white;
        final static Color fg = Color.black;
        String str;
        tempStr(String string){
            str=string;
        public void init() {
            setBackground(bg);
            setForeground(fg);
        public void paint(Graphics g) {
            Graphics2D g2=(Graphics2D)g;
            g2.drawString(str, 40,160);
        public static void main(String argv[]) {
            JFrame f = new JFrame("string draw");
            JApplet applet1 = new tempStr(argv[0]);
            f.getContentPane().add("Center", applet1);
            applet1.init();
            f.pack();
            f.setSize(new Dimension(400,400));
            f.show();
    }To lauch the applet from command line:
    java tempStr "Hello world"

  • I need to unlock compaq mini cq10 bios password code is CNU027599F, please help

    i need to unlock compaq mini cq10 bios password code is CNU027599F, please help

    Ash.
    Check your other post.
    REO
    HP Expert Tester "Now testing HP Pavilion 15t i3-4030U Win8.1, 6GB RAM and 750GB HDD"
    Loaner Program”HP Split 13 x2 13r010dx i3-4012Y Win8.1, 4GB RAM and 500GB Hybrid HDD”
    Microsoft Registered Refurbisher
    Registered Microsoft Partner
    Apple Certified Macintosh Technician Certification in progress.

  • I cannot fix this problem no matter what I try, please help!!

    My iPod Touch is stuck in the past. No matter what I do or change, the date always reverts back to December 31, 1969. I wouldn't mind hanging out on New Years Eve in 1969 with all the hippies listening to Jimi Hendrix and Jim Morrison but let's face it, It's 2011 and I'd like to bring my iPod into this century. The version that's installed is 4.2.1, and even after syncing, it still is living in the past. Does anyone know how to fix this? Even when I try to adjust the date/time manually, it goes right back to 12/31/1969.  Alot of the apps I run won't even open because the date is wrong. I need to get this fixed as soon as possible. Please help me. Thanks.

    My iPod Touch is stuck in the past. No matter what I do or change, the date always reverts back to December 31, 1969. I wouldn't mind hanging out on New Years Eve in 1969 with all the hippies listening to Jimi Hendrix and Jim Morrison but let's face it, It's 2011 and I'd like to bring my iPod into this century. The version that's installed is 4.2.1, and even after syncing, it still is living in the past. Does anyone know how to fix this? Even when I try to adjust the date/time manually, it goes right back to 12/31/1969.  Alot of the apps I run won't even open because the date is wrong. I need to get this fixed as soon as possible. Please help me. Thanks.

  • I cannot access iTunes Store due to an error code 0x80090318. Please help!

    I cannot connect to iTunes Store. I tried re downloading, it's OS windows 8.1
    Please help!

    Type that Error code into the Search window... Top right

Maybe you are looking for