Applet/javascript communication with 1.4 plug in

I have a javascript function that queries an applet parameter using the following code:
var applet = window.parent.frames["FRAME_NAME"].document.applets[0];
var errorStatus = applet.ErrorStatus;
The applet has a "getErrorStatus" method. This all worked fine using the 1.3 plug-in, but doesn't work at all with the 1.4.1.01 plug in! It seems to be listed as bug 4599575, but that bug is listed as being fixed in 1.4.0 Beta 3, and I'm using a more recent version! Does anyone know anything more about this bug, or has anyone found a good work around? Thanks!

To call an Applet's public methods in JavaScript, just do this:
var applet = window.parent.frames["FRAME_NAME"].document.applets[0];
var errorStatus = applet.getErrorStatus();

Similar Messages

  • Applet javascript communication

    hi all,
    I want my applet to flash the browser window, came to know that can be done
    using applet javascript communication.
    ne1 has ne idea how to do that.
    thx in adv,
    kiran

    ???

  • Problem in Signed Applet while communicating with Javascript

    Hi,
    I’m facing a problem with applet. Applet calls JavaScript methods and vice versa. Applet works fine with JRE 5 to JRE 6 up to build no 1.6.0._7 but it fails with build no 1.6.0_10.
    The problem description is given below:
    After embedding applet in my HTML page using <OBJECT> tag, I’ve to check either any problem during applet’s execution, I want to get the error reason by calling my defined method getErrorReason() in applet that returns the error reason, I call the getErrorReason() against the applet’s object in JavaScript immediately after embed applet code in my HTML page, a JavaScript errors occurs and my applet fails to perform its execution.
    JavaScript error: Object does not support this property.
    The error points to the HTML page area where I’m calling getErrorReason() against applet object.
    The above JavaScript error occurs after the successful completion of Applet’s init(). I’m facing this problem only in JRE 6 build 1.6.0_10-b33.
    Please suggest me any solution.
    Thanks in advance.
    Regards,
    Israr Ahmed

    We are using the HttpURLConnection. If I have to go down the stack to the Socket object, well I guess I have to re event the wheel so to speak.
    I have tried both Connection: close and Connection: Keep-Alive. Not at the same time :) but in different intrim releases of test applet.
    // Here is the current incarnation of how I am trying to connect.
    URL url = new URL(sURL);
    trace("attempting to connect to URL: " + sURL, DEBUG);
    connection = (HttpURLConnection)url.openConnection();
    connection.setDoOutput(true);
    connection.setDoInput( true );
    connection.setRequestMethod("POST");
    connection.setUseCaches( false );
    connection.setInstanceFollowRedirects( true );
    connection.setAllowUserInteraction( false );
    connection.setRequestProperty("Pragma", "no-cache");
    connection.setRequestProperty("Expires", "-1");
    connection.setRequestProperty("Connection", "Keep-Alive");
    connection.connect();
    // Now I write our form POST data and flush and close the output stream.
    BufferedOutputStream bos = new BufferedOutputStream(connection.getOutputStream());
    bos.write(sForm.getBytes());
              bos.flush();
    bos.close();
    // Get the input and read
    bis = new BufferedInputStream(connection.getInputStream());
    trace( "reading input stream for action: " + sAction );
    byte[] responseBuffer = new byte[4096];
    int bytesRead = 0;
    while( (bytesRead = bis.read( responseBuffer, 0, responseBuffer.length )) != -1 )
    sbResponse.append( new String( responseBuffer, 0, bytesRead ));
    totalBytesRead += bytesRead;
    catch (Throwable e)
    e.printStackTrace();
    try
    m_connections.remove( sAction );
    connection.disconnect();
    catch ( Throwable t ) {}
    finally
    if ( bis != null )
    try
    bis.close();
    catch( Throwable t ) {}
    With the above code in place what I am now seeing, as opposed to a premature EOF exception, is blocking behavior on the read.

  • Problem in Applet while communicating with Javascript

    Hi,
    I’m facing a problem with applet. Applet calls JavaScript methods and vice versa. Applet works fine with JRE 5 to JRE 6 up to build no 1.6.0._7 but it fails with build no 1.6.0_10.
    The problem description is given below:
    After embedding applet in my HTML page using <OBJECT> tag, I’ve to check either any problem during applet’s execution, I want to get the error reason by calling my defined method getErrorReason() in applet that returns the error reason, I call the getErrorReason() against the applet’s object in JavaScript immediately after embed applet code in my HTML page, a JavaScript errors occurs and my applet fails to perform its execution.
    JavaScript error: Object does not support this property.
    The error points to the HTML page area where I’m calling getErrorReason() against applet object.
    The above JavaScript error occurs after the successful completion of Applet’s init(). I’m facing this problem only in JRE 6 build 1.6.0_10-b33.
    Please suggest me any solution.
    Thanks in advance.
    Regards,
    Israr Ahmed

    Hi Bharath,
    Even i got similar error and i tried deleting the below(Attaching the stack trace is always better way.)
    1) delete the folder ‘workspace’ or rename(including all files and subfolders) in the path D:\Documents and Settings\lzcr8r\Documents\SAP\workspace
    2) delete all .dtr/.dtc/.metadata directories in your personal folder (e.g. C:\Documents and Settings\lzcr8r).
    Restart the IDE once you are done with the above steps.
    Second part to increase the virtual mem
    1) RtClick on the Shortcut of NWDS -->Properties and in the Target put the below
    "C:\Program Files\SAP\IDE\IDE70\eclipse\SapIde.exe" -vmargs -Xms512m -Xmx1536m  "C:\j2sdk1.4.2_08\bin\javaw.exe"
    2) You can also try  Creating a bat file with the complete path of your IDE and start your ide from the bat
       content in the bat eg: "C:\Program Files\netbeans-4.1\bin\netbeans.exe" -vmargs -Xms512m -Xmx1536m
    Here -Xms512m is the min JVM size and -Xmx1024m is the max JVM size.
    You can place this batch file anywhere and double click the batch file.
    It will automatically start your IDE
    3) if you are using Tomcat you can try creating an env variable and assign Value
    Variable Name:  CATALINA_OPTS
    Variable Value:  -server -Xmx800m
    please award points if usefull.
    Regards
    Souza
    Edited by: Souza Aluri on Apr 9, 2008 9:46 AM

  • How to let JavaScript   Communication with java

    he *,
    i have develop a firefox extension , i am using liveconnect let javascript communicate with java,
    it's my java code :
    public class javaCode{
            private int i;
            public javaCode() {
                    this.i = 0;
            public void testCount() {
                    while (true) {
                            String msg = "Call Java Method Count :" + this.i;
    }my javascript :
    function test() {
                             var myClass = loader.loadClass('com.example. javaCodeclass); 
    var myObj = myClass.newInstance(); 
    var binval = myObj. testCount ();
                    }when i install the extension into my firefox , i get a problem that is when restart firefox after i instll it ,I can't open the firefox ,but i find the firefox process is still running
    the problem is looks like the java is using "while(true)" , so it's won't stop ,
    but how to solve the problem using js or java ??
    any idea ?
    cheers,

    bobby92 wrote:
    Actually , i don't know how it will be active , so i have to using while (true)No, I'm pretty sure you don't need to. There are few cases where while(true) is needed and this isn't one of them.
    but can't i using javascript to stop the java method ??Nope, not in the middle of a while loop.
    or how to solve the problem ?What was your problem in the first place, what are you trying to achieve?

  • Applet not communicating with servlet when given ip address (not localhost)

    I have a strange problem with my applet -
    I have a java applet and a Tomcat server running. I am able to communicate between the applet
    and a servlet on the server (sending strings from applet to servlet, for example..) when the
    URL that I write in the applet is -
    "http://localhost:8080/ProjectName/ServletName "
    BUT - when instead of that "localhost" I insert my ip address, it throws the exception:
    java.net.ConnectException: Connection refused: connect
    in the line -
    urlConn.getOutputStream(); (urlConn is the HttpURLConnection that I created with the URL)
    also, I did port forwarding (I have a router)
    so that 8080 port will be directed to my computer, and tested the forwarding, and it does work.
    Does anybody know why there is a problem?
    Thank you.. :)

    >
    well, in the final version of the project the applet will be signed.. >Uh-huh..
    >
    but, I got tired of signing it every time I edited the code, so now I just simply run it as a "java applet" project
    from the eclipse.. NOT as a signed jar..>Eclipse has Ant built in. Write a script that will compile/build/sign the jar for you, then build it to the point of being signed for every test run. (Just today I was making some changes to a signed applet project that does just that - I probably built it 25 times before I was happy with the changed code - not a problem.)
    >
    you think that's the problem ?>Yep. Not that I provide support for Eclipse, nor know how it goes about launching applets (trusted or sandboxed).

  • Applet - JavaScript communication problem

    Hi,
    I am creating applet parameter using JavaScript (DOM Tree). But when i am accessing inside the applet, it is coming as null.
    Here is code:
    JavaScript Code:
    <html>
    <head>
    </head>
    <script language="JavaScript">
         function testXML(){
              var applet = document.getElementById("graftApplet");
              var param = document.createElement("param");
              param.setAttribute("name","graft4");
              param.setAttribute("value","25:10|20:50|172:220");
              applet.appendChild(param);          
    </script>
    <body onload=testXML()>
    Applet embedded here!
    <br>
    <hr>
    <APPLET id="graftApplet" CODE=Graft.class width=400 height=500 mayscript>
    </APPLET>
    <br>
    </body>
    </html>Applet code:
    public void init()
    System.out.println(getParameter("graft4")); //it is prinitng NULLcan you please tell me where i am wrong?
    Thanks
    Chintan

    Did u Try this
    <APPLET id="graftApplet" CODE=Graft.class width=400 height=500 mayscript>
    <PARAM NAME="name" VALUE="25:10|20:50|172:220">
    </APPLET>

  • Java Applet to Javascript Communication

    There is a Java Applet which digitally signs files after taking
    private key from a smart card.This applet takes external files.
    I want to do this "Generate digital signature of a web page with the
    help of an applet of which the applet is itself a part"
    I am trying using Java Applet to Javascript Communication.
    I am able to access the object which represents the HTML document.
    That abject is represented by document itself.
    Now I have to somehow generate the whole webpage i.e. like we view in a
    notepad like this:
    <HTML>
    <Title>my page</title>
    Then write into a file and then that file can be signed.
    This is what I feel.
    In C#.net there is a method .innerhtml.
    Does such kind of a method exists in Java.???
    I m searching but cudn't get till now.
    Will serialization work??

    Kindly forget the previous post. Read the following:
    JSObject browserWindow = JSObject.getWindow(this);
    JSObject doc = (JSObject)browserWindow.getMember("document");
    Here doc represents the object of the HTML document.
    This is accessed using Java Applet JavaScript Communication.
    I want to serialize the object represented by doc.
    Then write it into a file and generate it's digital signature.
    In the below written line the parameter fileName is passed.
    CertificationChainAndSignatureBase64 signingResult = signFile(fileName);
    For this I have added few lines in the code written below.
    see first 10-30 lines. Though this code gets compiled but it is not running. When I want to sign the file , it throws an error
    "Unexpected error:sun.plugin.javascript.ocx.JSObject"
    This code is just one class. Two other classes are needed to completely test the code.
    Should I post them ??
    Kindly see what is the error.
    I will be highly grateful and Sorry for confusing in the previous mail...
    private void signSelectedFile() {
    try {
    // Get the file name to be signed from the form in the HTML document
    JSObject browserWindow = JSObject.getWindow(this);
    JSObject mainForm = (JSObject) browserWindow.eval("document.forms[0]");
    String fileNameFieldName = this.getParameter(FILE_NAME_FIELD_PARAM);
    JSObject fileNameField = (JSObject) mainForm.getMember(fileNameFieldName);
    //This is another modification
    //String fileName = (String) fileNameField.getMember("value");
                   //here we get the document......
    JSObject doc = (JSObject)browserWindow.getMember("document");
    //String docum = doc.toString();
    String thePage = "as";
                   FileOutputStream out = new FileOutputStream(thePage);
                   ObjectOutputStream s = new ObjectOutputStream(out);
                   s.writeObject(doc);
                   String fileName = thePage;
                   JOptionPane.showMessageDialog(this, fileName); //"Unexpected error: " + e.getMessage());
    // Perform the actual file signing
    CertificationChainAndSignatureBase64 signingResult = signFile(fileName);
    if (signingResult != null) {
    // Document signed. Fill the certificate and signature fields
    String certChainFieldName = this.getParameter(CERT_CHAIN_FIELD_PARAM);
    JSObject certChainField = (JSObject) mainForm.getMember(certChainFieldName);
    certChainField.setMember("value", signingResult.mCertificationChain);
    String signatureFieldName = this.getParameter(SIGNATURE_FIELD_PARAM);
    JSObject signatureField = (JSObject) mainForm.getMember(signatureFieldName);
    signatureField.setMember("value", signingResult.mSignature);
    } else {
    // User canceled signing
    catch (DocumentSignException dse) {
    // Document signing failed. Display error message
    String errorMessage = dse.getMessage();
    JOptionPane.showMessageDialog(this, errorMessage);
    catch (SecurityException se) {
    se.printStackTrace();
    JOptionPane.showMessageDialog(this,
    "Unable to access the local file system.\n" +
    "This applet should be started with full security permissions.\n" +
    "Please accept to trust this applet when the Java Plug-In ask you.");
    catch (JSException jse) {
    jse.printStackTrace();
    JOptionPane.showMessageDialog(this,
    "Unable to access some of the fields of the\n" +
    "HTML form. Please check the applet parameters.");
    catch (Exception e) {
    e.printStackTrace();
    JOptionPane.showMessageDialog(this, "Unexpected error: " + e.getMessage());
    }

  • Applet/Javascript/JSP Communication

    I have defined the following for applet/javascript communication in my applet class
    JSObject topWindow;In my init() method I initialised topWindow as follows
    topWindow = JSObject.getWindow(this);I wrote this call to javascript in my applet destroy method.
    String userDetailsString[] = {String.valueOf(userCount), String.valueOf(userNumber)};
    topWindow.call("closeWindow", userDetailsString);My javascript method is as follows in my html page which has the applet
    function closeWindow(args)
               var userCount = args[0];
          var userNum = args[1];
          var filename = "http://localhost:7001/decrement.jsp?userCount="+userCount+"&userNum="+userNum;
          win1 = window.open(filename,'Logoff',config='height=100,width=200,toolbar=0,scrollbars=0,resizable=0,left=300,top=75');
       }This decrement.jsp call is a file on Weblogic and its supposed to decrement the value of userCount for the UserNum using a sql update query which are passed from the applet to javascript and then to this jsp.
    When I close the browser which should call the destroy method in the applet nothing happens and my javascript is not triggered. I do have MAYSCRIPT in my applet tags and also have the MAYSCRIPT as a param with true as its value within applet tags.
    Where am I going wrong and also have I used the args variable in my javascript correctly to retrieve the values from the applet into the javascript?
    Thanks

    Try to use window.eval("..") That could help sometimes!

  • Signed applet and javascript communication

    Hi All,
    I have an (jar) signed applet which I use to access system properties (e.g user.home). I also have a javascript code that communicates (call to a public function) with the applet to get the property "user.home" from the applet. Everything works fine in Java plugin 1.3 but since I have installed the latest plugin 1.4.2_01 from http://www.java.com/en/download/windows_automatic.jsp website I can not access the system properties even though everything in the code is same.
    I can however still access public functions/variables from the same applet which do not access system properties in the new plugin 1.4.2_01.
    The browser I am using is IE and OS is Windows 2000.
    Does anybody know if Sun has changed the security policy for 1.4.2_01, in the new plugin for java-javascript communication to block access to functions which uses system property,fileIO, socket etc. even if they are signed applet??
    Thanks in advance..

    When invokin applet methods via javascript, you are accessing privileged actions from an unsafe source.
    Depending on your needs, you could either load the system variables in applet init into class variables and return the information contained in the class variables to javascript or wrap the method calls inside AccessController.doPrivileged() calls.

  • Communicating with DI-Server through JavaScript (NodeJS with Express)

    Hello experts,
    i am looking for a way to communicate with the DI-Server from JavaScript.
    From .NET it's not a problem.. i add the COM Object of the DI-Server and call Interact(request);
    But how can i make calls from JavaScript.
    Can i maybe send direct SOAP requests to the DI-Server? if yes, how can i do that?
    my idea is to make a .NET Webservice (WebAPI or WCF) which handles the communication with the DI-Server
    and from my node.js application i just send DIS requests to the service and handle the responses.
    Is there maybe a better way to do this?

    Hi Jan,
    This seems a reasonable approach, although I would also have a look at the B1if. This framework allows you to create a RESTful interface which you could then use with your Node.js app.
    Have a look here to start with B1if.
    Good luck.
    Best regards,
    Pedro Magueija

  • How to Obtain Applet -servlet communication through https protocol

    We are trying to use https protocol.
    First I will explain Our Architecture. We are using JRun 3.0
    as servlet engine. We are using iplanet as a webserver.
    There are two iplanet webservers.
    There is a firewall between two iPlanet servers. i.e, one webserver
    is outside the firewall. JRun is communicating with inside iplannett
    webserver and inside iplannett webserver is communicating with
    outside iplannet server.
    If we are trying to run the application with
    this firewall, our applet is not loading,
    but the servlets and jsp pages are all working fine.
    Without the firewall, everything is working fine.
    The applet is also working fine.
    But, with the firewall, our applet is not loading.
    We are using JRE 1.3 as java plug-in.
    What is the problem so that the applet is not loading.
    and How to resolve this? can anybody give suggestion in this regard?
    Thanks in advance.

    No, I am not getting any security exception for the applet, but I am getting the following exception when working with HTTPS. The same application works fine with the default HTTP protocol
    java.net.UnknownServiceException: Input from HTTPS not expected until OutputStream is closed
         at sun.plugin.protocol.https.BrowserHttpsURLConnection.getInputStream(Unknown Source)
         at JBSchedulerXNew.initReceiveAppointmentData(JBSchedulerXNew.java:122)
         at JBSchedulerXNew.initReceiveAppointmentData(JBSchedulerXNew.java:92)
         at JBSchedulerXNewDemo.init(JBSchedulerXNewDemo.java:110)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)

  • "The software required for communicating with the iPod is not installed..."

    I realize my explanation of my problem is long-winded, so if you want a shortened version, here it is:
    I've followed all the instructions trying nearly everything, and no matter what I do, iTunes gives me the error saying: "The software required for communicating with the iPod is not installed correctly. Please reinstall iTunes to install the iPod's software." My G5 iPod (60GB) works on two other computers (both without any music on them), so I assume there something wrong with my computer and not the iPod itself.
    Now for the long-winded story of the last eight hours of my life...
    I just got the Generation-5 iPod Video (60GB) a today and I'm having problems already. I followed the instructions and installed the iPod software and then plugged in my iPod (iTunes has been on my computer for a while now). I was expecting iTunes to open after plugging in the iPod, but my device manager only detected and installed "a new device". I manually opened iTunes and got an error saying: "The software required for communicating with the iPod is not installed correctly. Please reinstall iTunes to install the iPod's software."
    After re-installing the iPod software and iTunes, and restarting my computer countless times, I came looking for help here. I found this page, which seemed to outline my problem exactly. My computer recognizes the iPod as a drive, but iTunes won't have anything to do with it. I have all the symptoms outlined in the heading, so I hoped to solve my problem there. I followed the instructions step-by-step, and after the final restart, I open iTunes to get the same exact error message.
    I decided to determine whether there was a problem with my iPod or if it was my computer. I plugged my iPod into my uncles's powerbook, and got to the point where I can name and configure my iPod. I expected it to work flawlessly on a Mac (which it did) but there is no way for me to continue using a Mac (after tomorrow) for my iPod. This formatted the iPod for a Mac, so I went to another (different from the original) Windows computer, clean of any iTunes and iPod software, and followed the instructions exactly as they're supposed to be followed. After the installations, I plugged in my iPod, and although iTunes didn't open, I was able to format back to Windows and name my iPod (a step in the right direction). I should note that my (anti-iPod) computer is a Windows XP Pro, and the working one is Windows XP Home Edition. This was all well and good, until I remembered there was no music on this computer. So my iPod is completely working there, but there isn't anything I can do with it.
    Next, I came back here and browsed around the discussion boards, hoping to find somebody with a similar problem to mine. There seems to be alot of errors concerning iTunes not recognizing the iPod, but none of the solutions I tried worked for me, including changing the drive letter. I get the "iPod Service Error" while trying to restore to factory settings through iPod updater.
    Of course, I could transfer all 32GB of music from one computer to another, but the second (working) computer isn't mine and I won't have access to it in a couple months. It would be most convenient if I could get my iPod working on my own computer. Any help would be appreciated, especially from somebody who has solved this problem or know how to solve this problem.
    P.S.
    Here are some other minor details that my be important, but I didn't feel they were worth including.
    - My brother has his iPod mini set up on my computer, under a different user login. He gets the same error once in a while, but re-installing iTunes always solves the problem for him. I had him try solving my problem his way, but nothing worked for him either.
    - My computer is an AMD Athlon 64 Processor 3200+, 512MB RAM with Windows XP Pro SP2 installed. My internal hard drive is partitioned, using the letters C, D and H (C being my system files, D used for recovery files and H for my applications and games). My E drive is used as a DVD/CD-ROM Drive, and drives F and G are reserved for virtual drives (none have been running during this entire ordeal). My external hard drive uses the letter I, and I manually set my iPod to use the letter J (I've never used 'J' for anything else before).
    - Yes, I have downloaded and installed the latest versions of iTunes and the iPod software.
    - I'm assuming there is a problem with my computer and not my iPod, since it worked on both other computers I tried. I'm hoping it's as simple as changing a registry file or cleaning out (yet another) temp directory.

    Solution to "Software required for communicating with the iPod is not installed"!
    I battled this same problem for about 5 hours. Going through re-installations, the "5 R's", all these discussion boards. Nothing worked.
    The problem is that iPodService was repeatedly crashing after minute or so. You can verify this by hitting Ctrl-Alt-Delete and noting that iPodService is missing from the process list (sort by image name), or by right-clicking on My Computer and selecting "Manage", then going to Services and checking out the IPodService service - if it gives you the option to "Start", then it's not running.
    Here is what worked.
    1. De-install iTunes and iPod (if you have the updater installed) completely by going to Start --> Control Panel --> Add/Remove Programs. Also delete the C:\Program Files\iTunes and c:\Progam Files\iPod\bin directories. (Don't worry, this doesn't affect your saved music files.)
    2. Log in as an Administrator
    3. Go into the registry (note this is dangerous - you should be careful) and remove the iPod entries that the uninstaller misses.
    3.1 Go to Start menu --> Run.
    3.2 Type in "regedit".
    3.3 Go to HKEYCLASSESROOT --> IPodService.iPodManager.
    There are two keys here, iPodManager and iPodManager.1. In my case, I did not have permission to view either of these. I think this is the root cause of the problem. I think the installer can't properly update these because it doesn't have permission. So you need to change the permissions:
    3.4 Right-click on IPodService.IPodManager
    3.4.1 Select "Permissions..." A warning will appear saying you don't have permission, but that you can change permissions.
    3.4.2 On the window that launches, click on "Advanced..."
    3.4.3 Click on the "Owner" tab.
    3.4.4 Select a valid account (the one you're logged in under) under "Change Owner To".
    3.4.5 Hit "OK".
    3.4.6 Back on the main Permissions window, hit Add and add the same account as a valid user.
    3.4.6.1 Where it says "Enter the object names to select", type in the account name, e.g. "Smith".
    3.4.7 Click on the "Allow" checkboxes for "Full Control" and "Read".
    3.4.8 Hit "OK".
    3.5 Repeat procedure for the "iPodManager.1" key.
    3.6 Now right-click and delete both of these keys.
    I think that's all that's required, but I also searched through the registry and deleted the following keys.
    4. Other keys I deleted:
    4.1 HKEYCLASSESROOT --> IPodManager.IPodManagerUI.1
    4.2 HKEYLOCALMACHINE --> SOFTWARE --> Apple Computer Inc. --> iPod
    I think that's all I deleted, but I'm not positive. I seached for instances of "ipod" using the Find... and Find Next functions under the Edit menu.
    5. Exit out of the registry editor.
    6. Re-install iTunes. I re-installed iTunes and reconnected the iPod, and everything worked.
    I want to repeat that editing the registry can completely mess up your computer if you modify the wrong things, so only do this if you're comfortable, and be extremely careful.
    Hopefully this helps!
    Apple support people: assuming this works, please add it to your solutions page, and feel free to reimburse me for spending half of Christmas figuring this out.
    Mark

  • ITunes Seem to Have Suddenly Stopped Communicating With the CD/DVD Burner

    Hello, I wonder if anybody can help - my itunes application seems to have suddenly stopped communicating with my laptop's cd/dvd burner
    (Generic Name (E: H - T-S D D A S - 20N ATA Device)).
    About 2 years ago, I have experienced a similar problem, but was able to resolve it by downloading 64-bit compatible GEAR drivers to my system. However, the problem has re-appeared when I have updated to iTunes Version 10.1. Funny enough, the cd/dvd burner started getting recognized again when I updated to iTunes Version 10.2, but halfway through me burning a large playlist to multiple cds has suddenly stopped recognizing the cd/dvd burner again, and has never "resolved itself" ever since.
    I have tried multiple approaches to solving this issue, including completely re-installing itunes software and completely re-installing GEAR drivers, but nothing works. I have even tried uninstalling GEAR drivers completely, as I read that it worked for someone on one of the similar forums, but that didn't work either.
    My itunes diagnostics runs all the points of the cd/dvd drive check successfully, except for the last point (Can Not Read Audio CD). Here's what the diagnostics summary looks like:
    Microsoft Windows Vista x64 x64 Home Premium Edition Service Pack 2 (Build 6002)
    Hewlett-Packard HP Pavilion dv9700 Notebook PC
    iTunes 10.2.1.1
    QuickTime 7.6.9
    FairPlay 1.11.16
    Apple Application Support 1.5
    iPod Updater Library 10.0d2
    CD Driver 2.2.0.1
    CD Driver DLL 2.1.1.1
    Apple Mobile Device 3.4.0.25
    Apple Mobile Device Driver not found.
    Bonjour 2.0.4.0 (214.3)
    Gracenote SDK 1.8.2.457
    Gracenote MusicID 1.8.2.89
    Gracenote Submit 1.8.2.123
    Gracenote DSP 1.8.2.34
    iTunes Serial Number 0016AB580A7B0C28
    Current user is not an administrator.
    The current local date and time is 2011-04-14 17:52:25.
    iTunes is not running in safe mode.
    WebKit accelerated compositing is enabled.
    HDCP is not supported.
    Core Media is supported.
    Video Display Information
    NVIDIA, NVIDIA GeForce 7150M / nForce 630M
    ** External Plug-ins Information **
    No external plug-ins installed.
    The drive F: Motorola MB810 Rev 0001 is a USB 2 device.
    iPodService 10.2.1.1 (x64) is currently running.
    iTunesHelper 10.2.1.1 is currently running.
    Apple Mobile Device service 3.3.0.0 is currently running.
    ** CD/DVD Drive Tests **
    No drivers in LowerFilters.
    UpperFilters: GEARAspiWDM (2.2.0.1),
    E: H-T-S DDA
    S_-20N, Rev W_05
    Audio CD in drive.
    Found 1 songs on CD, playing time 255:08 on Audio CD.
    Track 1, start time 00:02:00
    Audio CD reading failed. Error Code: 27 27 27 27 27 27 27 27 27 27 27 27 27 27 27 27 0 0 0 0.
    iTunes cannot play or import music from a CD in this drive. The drive may need a firmware update. Check with the manufacturer.
    Get drive speed succeeded.
    The drive CDR speeds are: 3 9 16 24.
    The drive CDRW speeds are: 3.
    The drive DVDR speeds are: 3.
    The drive DVDRW speeds are: 3.
    Error Correction is turned on for importing audio CDs.
    I have noticed that the diagnostics summary containes a suggestion to update firmware of my laptop's cd/dvd drive, but currently there are no such firmware updates available.
    Another frustrating issue that I ran into was trying to convey this issue to Apple Technical Support via e-mail using the Express Lane for the troubleshooting issues. I really fail to understand why I am being asked for the "hardware serial number" when I'm clearly choosing the categories for "iTunes/CD-DVD Import Issues" which are software, not hardware, categories! This prevents me from being able to simply send the description of my problem to the correct Apple Support department, and does not let me do that even when I enter my itunes' Serial Number, which can be found in the diagnostics summary provided above.
    Much Thanks to anyone who can provide any kind of helpful advice, even if it's just on how to be able to convey this problem to Apple Support via e-mail!

    Okay ... checking something else:
    Current user is not an administrator
    Is that true? Or do you in fact have a Windows user account with full administrative rights?
    (It's possible that a permission may have gone astray in your usual user account, which might be causing the burning issues.)

  • SOLUTION to "Software required for communicating with the iPod is not insta

    Folks, I can not take credit for this.....you should send your checks to MarkinMadison. I've included his post in it's entirety. For me, this was the Holy Grail !!
    My only comment is make sure when you are in the registry that you hit the "apply" button to change and add things.
    This probably won't solve everyone's problem but it clearly solved mine (and I tried all other "solutions"), as well as Mark's.
    Apple: please find out who MarkinMadison is and either cut him a big check or offer him free Ipods for life.
    "Solution to "Software required for communicating with the iPod is not installed"!
    I battled this same problem for about 5 hours. Going through re-installations, the "5 R's", all these discussion boards. Nothing worked.
    The problem is that iPodService was repeatedly crashing after minute or so. You can verify this by hitting Ctrl-Alt-Delete and noting that iPodService is missing from the process list (sort by image name), or by right-clicking on My Computer and selecting "Manage", then going to Services and checking out the IPodService service - if it gives you the option to "Start", then it's not running.
    Here is what worked.
    1. De-install iTunes and iPod (if you have the updater installed) completely by going to Start --> Control Panel --> Add/Remove Programs. Also delete the C:\Program Files\iTunes and c:\Progam Files\iPod\bin directories. (Don't worry, this doesn't affect your saved music files.)
    2. Log in as an Administrator
    3. Go into the registry (note this is dangerous - you should be careful) and remove the iPod entries that the uninstaller misses.
    3.1 Go to Start menu --> Run.
    3.2 Type in "regedit".
    3.3 Go to HKEYCLASSESROOT --> IPodService.iPodManager.
    There are two keys here, iPodManager and iPodManager.1. In my case, I did not have permission to view either of these. I think this is the root cause of the problem. I think the installer can't properly update these because it doesn't have permission. So you need to change the permissions:
    3.4 Right-click on IPodService.IPodManager
    3.4.1 Select "Permissions..." A warning will appear saying you don't have permission, but that you can change permissions.
    3.4.2 On the window that launches, click on "Advanced..."
    3.4.3 Click on the "Owner" tab.
    3.4.4 Select a valid account (the one you're logged in under) under "Change Owner To".
    3.4.5 Click the checkbox that says: "Replace owner on subcontainers and objects."
    3.4.5 Hit "OK".
    3.4.6 Back on the main Permissions window, hit Add and add the same account as a valid user.
    3.4.6.1 Where it says "Enter the object names to select", type in the account name, e.g. "Smith".
    3.4.7 Click on the "Allow" checkboxes for "Full Control" and "Read".
    3.4.8 Hit "OK".
    3.5 Repeat procedure for the "iPodManager.1" key.
    3.6 Now right-click and delete both of these keys.
    3.7 If you can't delete, you might need to open up the keys and repeat the procedure on the sub-keys.
    4. Exit out of the registry editor.
    5. Re-install iTunes. I re-installed iTunes and reconnected the iPod, and everything worked.
    I want to repeat that editing the registry can completely mess up your computer if you modify the wrong things, so only do this if you're comfortable, and be extremely careful.
    Hopefully this helps!
    Apple support people: assuming this works, please add it to your solutions page, and feel free to reimburse me for spending half of Christmas figuring this out.
    Mark"
    Dimension 4600   Windows XP  

    I have also posted the same question, earlier today. I purchased two for my children and cannot get the iPod to communicate with the computer. I have the iTunes software on my system, but during the installation process I cannot click the NEXT button, once I plug the iPod cable in. The computer does not detect it. I have tried all 6 USB 2.0 ports. I even removed the Dell Jukebox and MusicMatch programs. I am not a computer savvy person - just a mom who wants to give these to my children for Christmas. This is the first "chat" site I have even registered on. I am so very frustrated. Hopefully, this can be resolved.

Maybe you are looking for