Error Message like Illegal Start of Type,and Class interface and enum expec

import java.applet.*;
import java.awt.*;
//Inheriting the Applet class with firstApplet class
public class firstApplet extends Applet{
     private Button reset,submit;
     private TextArea addr;
     private TextField name,addr,sex,mar;
     Panel p=new Panel();
     Choice m_choice = new Choice();
     Label namel=new Label("Name");
     Label addrl=new Label("Address");
     Label sexl=new Label("Sex");
     Label marl=new Label("Maital");
     //In it function
public void init()
     setLayout(new FlowLayout());
     add(m_choice);
     m_choice.addItem("Select Mode");
     m_choice.addItem("Create");
     m_choice.addItem("Edit");
     m_choice.addItem("Delete");
     m_choice.addItem("Search");
     add(namel);
     name=new TextField(20);
     add(name);
     add(addrl);
     addr=new TextArea(5,20);
     add(addr);
     add(sexl);
     sex=new TextField(10);
     add(sex);
     add(marl);
     mar=new TextField(20);
     add(mar);
     submit =new Button("Submit");
     add(submit);
     reset =new Button("Reset");
     add(reset);
     t=new TextField(30);
     add(t);
public boolean action(Event e,Object o){
     if (e.target instanceof Button){
               String s= (String)o;
               if(s.equals ("Submit"))
                    t.setText("Error Occured While Saving to the database");
               else if (s.equals("Reset")){
                    name.setText("");
                    addr.setText("");
                    sex.setText("");
                    mar.setText("");
                    t.setText("");}
               return true;
     else
          return false;
}I this program while compiling i am getting the above specified.This is the Code i used.At that Bolded else and return false lines are showing as error lines.Why this error is coming?Pls send help me with some hint,Because i am new to Java.

Be consistent about your placement of {} and use of indentation. Sun's code
conventions provide an example: http://java.sun.com/docs/codeconv/html/CodeConvTOC.doc.html

Similar Messages

  • Error in code, cannot figure it out. - class, interface, or enum expected

    IT is telling me i have an error in line 22 and it says class, interface, or enum expected
    import java.util.Scanner
    * @(#)Blahh.java
    * Blahh application
    * @author
    * @version 1.00 2010/1/29
    public class Blahh {
    public static void main(String[] args) {
         // TODO, add your application code
         System.out.println("Hello World!");
    // PURPOSE: An exercise in tracing a program and understanding
    // assignment statements and expressions.
    import java.util.Scanner
    Public class Trace
    public static void main (String[] args)
    int one, two, three;
    double what;
    Scanner scan = new Scanner(System.in);
    System.out.print ("Enter two integers: ");
    one = scan.nextInt();
    two = scan.nextInt();
    system.out.print("Enter a floating point number: ");
    what = scan.nextDouble();
    three = 4 * one + 5 * two;
    two = 2 * one;
    system.out.println ("one " + two + ":" + three);
    one = 46 / 5 * 2 + 19 % 4;
    three = one + two;
    what = (what + 2.5) / 2;
    System.out.println (what + " is what!");
    }}

    youngtron92 wrote:
    IT is telling me i have an error in line 22 and it says class, interface, or enum expected
    import java.util.Scanner
    * @(#)Blahh.java
    * Blahh application
    * @author
    * @version 1.00 2010/1/29
    public class Blahh {
    public static void main(String[] args) {
         // TODO, add your application code
         System.out.println("Hello World!");
    // PURPOSE: An exercise in tracing a program and understanding
    // assignment statements and expressions.
    import java.util.Scanner
    Public class Trace
    public static void main (String[] args)
    int one, two, three;
    double what;
    Scanner scan = new Scanner(System.in);
    System.out.print ("Enter two integers: ");
    one = scan.nextInt();
    two = scan.nextInt();
    system.out.print("Enter a floating point number: ");
    what = scan.nextDouble();
    three = 4 * one + 5 * two;
    two = 2 * one;
    system.out.println ("one " + two + ":" + three);
    one = 46 / 5 * 2 + 19 % 4;
    three = one + two;
    what = (what + 2.5) / 2;
    System.out.println (what + " is what!");
    }}Is that all a single source file? The import statement(s) need to be at the top, and each import has to be terminated by a semicolon.
    Also this is wrong. Case matters.
    Public class Trace

  • ERROR MESSAGE: 20: illegal start of expression

    There is something wrong with my program because I have one error and it says "illegal start of expression" and all of my parenthesis and brackets are correct what else is wrong. Here is my program:
    import javax.swing.*;
    import java.util.*;
    public class StudentApp
         public static void main(String [] args) throws NullPointerException
              //declare variables and initialize
              String sID, sName, sHoursStr;
              int choice = 0, sHours, i;
              Student aStudent = Null;
              Vector sVector = new Vector();
              //add objects to Vector
              Vector studentVector = new Vector();
              studentVector = addStudent(studentVector);
              sVector.add(aStudent);
              public static Vector addStudent(Vector sVector)
                   public static Vector addStudent(Vector sVector)
                        sVector.remove(aStudent);
                        aStudent = (Student) sVector.get(i);
                        sID = aStudent.getID();
                        aStudent = (Student) sVector.get(i);
                        sHours = aStudent.getHours();
                   //get objects from a vector and print
                   for(i = 0; i < sVector.size(); i++)
                        aStudent = (String) sVector.get(i);
                        System.out.println(aStudent);
                   //copy vector contents into an Array
                   String [] anArray = new String[sVector.size()];
                   sVector.copyInto(anArray);
                   for(j = 0; j < anArray.length; j++)
                        System.out.println(anArray[j]);
                   System.exit(0);
              System.exit(0);
              public static Student[] addStudent(Student [] anArray)
                   String sID = JOptionPane.showInputDialog("Enter student's ID: ");
                   String sName = JOptionPane.showInputDialog("Enter student's name: ");
                   String sHoursStr = JOptionPane.showInputDialog("Enter student's hours: ");
                   int sHours = Integer.parseInt(sHoursStr);
                   Student aStudent = new Student(sID, sName, sHours);
                   for(int i = 0; i < anArray.length; i++)
                        if(anArray.getID() == "")
                             anArray[i] = aStudent;
                             System.out.println(anArray[i]);
                             break;
                   return(anArray);
              public static void addHours(Student [] anArray)
                   int totalHours = 0;
                   for(int i = 0; i < anArray.length; i++)
                        totalHours += anArray[i].getHours();
                   JOptionPane.showMessageDialog(null, "Total hours are: " + totalHours);
              public static void findStudent(Student [] anArray)
                   String requestedID = JOptionPane.showInputDialog("Enter ID of student: ");
                   boolean foundIt = false;
                   for(int i = 0; i < anArray.length; i++)
                        if(anArray[i].getID().equals(requestedID))
                             JOptionPane.showMessageDialog(null, anArray[i]);
                             foundIt = true;
                             break;
                   if(!foundIt)
                        JOptionPane.showMessageDialog(null, "Student not found");
    Could someone help me out please?

    import javax.swing.*;
    import java.util.*;
    public class StudentApp
         public static void main(String [] args) throws NullPointerException
              //declare variables and initialize
              String sID, sName, sHoursStr;
              int choice = 0, sHours, i;
              Student aStudent = Null;
              Vector sVector = new Vector();
              //add objects to Vector
              Vector studentVector = new Vector();
              studentVector = addStudent(studentVector);
              sVector.add(aStudent);
              //get objects from a vector and print
              for(i = 0; i < sVector.size(); i++)
                        aStudent = (String) sVector.get(i);
                        System.out.println(aStudent);
                   //copy vector contents into an Array
                   String [] anArray = new String[sVector.size()];
                   sVector.copyInto(anArray);
                   for(j = 0; j < anArray.length; j++)
                        System.out.println(anArray[j]);
                   for(i = 0; i < studentArray.length; i++)
                             studentArray[i] = new Student(); // load the array with empty data
                             while(choice != 4) // keep repeating the menu until 4 is selected
                                  String instructions = "Enter\n"
                                                      + "      1 to add a Student\n"
                                                 + "      2 to delete a Student given the ID\n"
                                                 + "      3 to sum and display the semester hours for all the current Students\n"
                                                 + "      4 to quit";
                                  String choiceStr = JOptionPane.showInputDialog(instructions);
                                  choice = Integer.parseInt(choiceStr);
                                  switch(choice)
                                       case 1:
                                            studentArray = addStudent(studentArray); // call method, send array
                                            break;
                                       case 2:
                                            deleteStudent(studentArray); // call method, send array
                                            break;
                                       case 3:
                                            addHours(studentArray); // call method, send array
                                            break;
                                  } // end switch
                                  System.exit(0);
                             } // end while
              System.exit(0);
    public static Vector addStudent(Vector sVector)
              public static Vector addStudent(Vector sVector)
                   sVector.remove(aStudent);
                   aStudent = (Student) sVector.get(i);
                   sID = aStudent.getID();
                   aStudent = (Student) sVector.get(i);
                   sHours = aStudent.getHours();
                   Vector studentVector = new Vector();
                   studentVector = addStudent(studentVector);
                   sVector.add(aStudent);
                        String sID = JOptionPane.showInputDialog("Enter student's ID: ");
                        String sName = JOptionPane.showInputDialog("Enter student's name: ");
                        String sHoursStr = JOptionPane.showInputDialog("Enter student's hours: ");
                        int sHours = Integer.parseInt(sHoursStr);
                        Student aStudent = new Student(sID, sName, sHours);
                        for(int i = 0; i < anArray.length; i++)
                             if(anArray.getID() == "")
                                  anArray[i] = aStudent;
                                  System.out.println(anArray[i]);
                                  break;
                        return(anArray);
                   System.exit(0);
              public static void deleteStudent(Student [] anArray)
                   String requestedID = JOptionPane.showInputDialog("Enter ID of student that you would like to delete: ");
                   sVector.remove(aStudent);
                   aStudent = (Student) sVector.get(i);
    sID = aStudent.getID();
                   sVector.remove(aStudent);
                   if(!foundIt)
                        JOptionPane.showMessageDialog(null, "Student not found");
              public static void addHours(Student [] anArray)
                   for(i = 0; i < sVector.get; i++)
                        aStudent = (Student) sVector.get(i);
                        sHours = aStudent.getHours();
                        totalHours += sHours; // add up hours
                        JOptionPane.showMessageDialog(null, "Total hours are: " + totalHours);
    Here is my program.. can someone please fix it?

  • Error in CLR: InvalidOperationException - The current type is an interface and cannot be constructed. Are you missing a type mapping?

    Hi, I'm trying to execute a .NET assembly's method from SQL Server 2012 Express, but I'm stuck with this error calling the sp:
    Microsoft.Practices.ServiceLocation.ActivationException: Activation error occured while trying to get instance of type ISymmetricCryptoProvider, key "TripleDESCryptoServiceProvider" ---> Microsoft.Practices.Unity.ResolutionFailedException:
    Resolution of the dependency failed, type = "Microsoft.Practices.EnterpriseLibrary.Security.Cryptography.ISymmetricCryptoProvider", name = "TripleDESCryptoServiceProvider".
    Exception occurred while: while resolving.
    Exception is: InvalidOperationException - The current type, Microsoft.Practices.EnterpriseLibrary.Security.Cryptography.ISymmetricCryptoProvider, is an interface and cannot be constructed. Are you missing a type mapping?
    At the time of the exception, the container was:
      Resolving Microsoft.Practices.EnterpriseLibrary.Security.Cryptography.ISymmetricCryptoProvider,TripleDESCryptoServiceProvider
     ---> System.InvalidOperationException: The current type, Microsoft.Practices.EnterpriseLibrary.Security.Cryptography.ISymmetricCryptoProvider, is an interface and cannot be constructed. Are you missing a type mapping?
    System.InvalidOperationException:
       en Microsoft.Practices.ObjectBuilder2.DynamicMethodConstructorStrategy.ThrowForAttemptingToConstructInterface(IBuilderContext context)
       en BuildUp_Microsoft.Practices.EnterpriseLibrary.Security
    Microsoft.Practices.ServiceLocation.ActivationException:
       en Microsoft.Practices.ServiceLocation.ServiceLocatorImplBase.GetInstance(Type serviceType, String key)
       en Microsoft.Practices.ServiceLocation.ServiceLocatorImplBase.GetInstance[TService](String key)
       en Microsoft.Practices.EnterpriseLibrary.Security.Cryptography.Cryptographer.GetSymmetricCryptoProvider(String symmetricInstance)
       en Microsoft.Practices.EnterpriseLibrary.Security.Cryptography.Cryptographer.DecryptSymmetric(String symmetricInstance, String ciphertextBase64)
       en ...
    Is there any limitation by design for Interface instantiation from CLR database?
    Any help I will appreciate, thanks a million!!

    Bob, thanks for your response.. Yes, the code works fine outside of SQLCLR. This is the class I'm trying to instantiate, I'm using it to envolve Cryptographer, an Enterprise Library 5.0 class actually, so I have no control to test it without referring the
    interface.
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using Microsoft.Practices.EnterpriseLibrary.Security.Cryptography;
    using System.Security.Cryptography;
    using Microsoft.SqlServer.Server;
    using System.Data.SqlTypes;
    namespace Cars.UtileriasGlobales.Helpers
        /// <summary>
        /// Clase que permite encriptar y desencriptar cadenas de textos utilizando
        /// TripleDESCryptoServiceProvider de Enterprise Library 5.0
        /// </summary>
        public static class Cryptography
            #region Metodos
            [SqlProcedure]
            public static void DesencriptarSQLServer(SqlString cadena, out SqlString cadenaDesencriptada)
                cadenaDesencriptada = !String.IsNullOrEmpty(cadena.ToString()) ? Cryptographer.DecryptSymmetric("TripleDESCryptoServiceProvider", cadena.ToString().Replace(" ", "+"))
    : String.Empty;
            #endregion
    I have collected all the dependent assemblies in one directory 'C:\migrate', so the create assembly finish ok. This is the script to create the assembly I'm using:
    sp_configure 'clr enable', 1
    GO
    RECONFIGURE
    GO
    ALTER DATABASE cars SET TRUSTWORTHY ON
    GO
    CREATE ASSEMBLY CryptographyEntLib5
    AUTHORIZATION dbo
    FROM 'C:\migrate\Cars.UtileriasGlobales.dll'
    WITH PERMISSION_SET = UNSAFE
    GO
    CREATE PROCEDURE usp_Desencriptar
    @cadena nvarchar(200),
    @cadenaDesencriptada nvarchar(MAX) OUTPUT
    AS EXTERNAL NAME CryptographyEntLib5.[Cars.UtileriasGlobales.Helpers.Cryptography].DesencriptarSQLServer
    GO
    DECLARE @msg nvarchar(MAX)
    EXEC usp_Desencriptar 'Kittu And Tannu',@msg output
    PRINT @msg

  • Illegal start of type error when adding for loop to applet

    I have typed the following applet to print a horizontal row of stars with the length entered by the user (i.e. user enters 4 and applet prints out 4 stars in a row). Here is my code:
    import java.awt.Graphics;
    import javax.swing.*;
    public class Histograms extends JApplet
           String input = "";
            int number;
         public void init()
              input = JOptionPane.showInputDialog ( null,
              "Enter a number\nbetween 1 and 30:" );
              number = Integer.parseInt( input );
         public void paint ( Graphics g )
              for ( int counter = 1; counter <= number; counter++ )
                                    System.out.print( "*" );
               System.out.println();
    };Now I am trying to make it do this 5 times, so it seems like just surrounding the init and paint methods in a for loop (i.e. for ( int i=1; i <= 5; i++ ) ) would do the trick but when I do that I get an illegal start of type error when trying to compile. Does anyone know why this error would show up. The most common reply to questions of this sort seems to be to check the closing braces but I have checked very carefully after adding the for loop and don't see any problems with mismatched braces. Could you please help me get on the right track as to how I can make this applet print a horizontal row of stars five times? All help is appreciated.

    Hello JTMOBOP:
    You were correct in figuring that I was trying to get the applet to print five rows of stars of different length according to five different inputs from the user. I tried your suggestions, and the code now does compile and run, but it still does not run properly (i.e. only asks user once for input and displays row of stars but does not show an input dialog again). Here is the code I have retyped:
    import java.awt.Graphics;
    import javax.swing.*;
    public class Histograms extends JApplet
       String input = "";
       int[] number = new int[5];
       public void init()
          for ( int i = 0; i < 5; i++ )
             input = JOptionPane.showInputDialog ( null,
                "Enter a number\nbetween 1 and 30:" );
             number[i] = Integer.parseInt( input );
       public void paint ( Graphics g )
          for ( int i = 0; i < 5; i++ )
             for ( int myNumber = 0; myNumber <= number; myNumber++ )
    System.out.print( "*" );
    System.out.println();
    Any ideas what's going on here?
    Also, your comments about not being able to loop a method make sense. Thank you for the input so far.

  • Error with illegal start of type

    Hi. I have a problem on illegal start of type at "public BookDetails findBook( String bookTitle ){" this sentence. Can you help me to solve it?
    rest of the class are able to compile.Left with this only...
    here is my class file:
    import java.util.Scanner;
    public class Book{
              private BookDetails[] details;
              public Book(){
              BookDetails[] details = new BookDetails[15];
              details[0] = new BookDetails("The Secret", "Rhonda Byrne", "0001", 10);
              details[1] = new BookDetails("Secrets of Self-Made Millionaires", "Adam Khoo", "0002", 10);
              details[2] = new BookDetails("An Illustrated Biography of the World's Most Successful Investor", "Warren Buffet", "0003", 15);
              details[3] = new BookDetails("How good do we have to be?", "Harold Kushner", "0004", 8);
              details[4] = new BookDetails("Half a Life", "V.S.Naipaul", "0005", 5);
              details[5] = new BookDetails("Subconscious", "Murphy McMahan", "0006", 6);
              details[6] = new BookDetails("The Road Less Travelled", "M. Scott Peck", "0007", 5);
              details[7] = new BookDetails("Stop the insanity!", "Susan Powter", "0008", 5);
              details[8] = new BookDetails("Business As Usual", "Anita Roddick", "0009", 6);
              details[9] = new BookDetails("Rich Kid, Smart Kid", "Robert Kiyosaki", "0010", 6);
              details[10] = new BookDetails("Secrets of the Millionaire Mind", "Harv Eker", "0011", 10);
              details[11] = new BookDetails("Where have all the leaders gone?", "Lee Iacocca", "0012", 15);
              details[12] = new BookDetails("If success is a game, these are the rules", "Cherie Carter", "0013", 8);
              details[13] = new BookDetails("Think Big", "Donald Trump", "0014", 15);
              details[14] = new BookDetails("Blink", "Malcolm Gladwell", "0015", 10);
              do{
                   Scanner input = new Scanner( System.in );
                   System.out.print( "Enter the title of the book.");
                   bookTitle = input.nextLine();
                   public BookDetails findBook( String bookTitle ){
                   int Book = details.length;
                   for( int i = 0; i < Book; i++ ){
                        if( details.getBookTitle().equalsIgnoreCase( bookTitle ))
                        return details[i];
                   System.out.println( "Book title : " + bookTitle + " found" + "\n"
                             + "Details for book title " + bookTitle + "\n"
                             + "Author : " + BookDetails.getAuthor() + "\n"
                             + "CatalogueNo : " + BookDetails.getCatalogueNo() + "\n"
                             + "Cost : $" + BookDetails.getCost());
                   System.out.println( "Proceed to rent? <Y/N> : ");
                   select = input.nextLine();
                   if ( select.equalsIgnoreCase( "Y" ))
                   System.out.print("Enter the name of customer : ");
                   na = input.nextLine();
                   System.out.print("Enter the address of customer : ");
                   add = input.nextLine();
                   System.out.print("Enter the phone number of customer : ");
                   phone = input.nextLine();
                   CustomerDetails person = new CustomerDetails( na, add );
                   System.out.println( "Printing out receipt for " + person.getName() + ".....");
                   System.out.println( "At address : " + person.getAddress() );
                   System.out.println( "Renting book title " + bookTitle + " for $" + BookDetails.getCost());
                   System.out.println( "Serving next customer....." );
                   if ( select.equalsIgnoreCase( "N" ))
                   System.out.println( "Serving next customer....." );
                   }//for
                   System.out.println( "Book title: " + bookTitle + " not found" );
                   System.out.println( bookTitle + " not available" + "\n"
                                  + "Serving next customer....." );
                   return null;
                   }//class
              }while( "E" );

    ok. Now is like this:
    import java.util.Scanner;
    public class Book{
              String bookTitle, na, add, phone, select;
              BookDetails bookDetails = new BookDetails();
              do{
                   Scanner input = new Scanner( System.in );
              do{
                   System.out.print( "Enter the title of the book.");
                   bookTitle = input.nextLine();
                   BookDetails = BookDetails.findBook(book Title);
              }while(Book == null);
                   System.out.println( "Book title : " + bookTitle + " found" + "\n"
                             + "Details for book title " + bookTitle + "\n"
                             + "Author : " + BookDetails.getAuthor() + "\n"
                             + "CatalogueNo : " + BookDetails.getCatalogueNo() + "\n"
                             + "Cost : $" + BookDetails.getCost());
                   System.out.println( "Proceed to rent? <Y/N> : ");
                   select = input.nextLine();
                   if ( select.equalsIgnoreCase( "Y" ))
                   System.out.print("Enter the name of customer : ");
                   na = input.nextLine();
                   System.out.print("Enter the address of customer : ");
                   add = input.nextLine();
                   System.out.print("Enter the phone number of customer : ");
                   phone = input.nextLine();
                   CustomerDetails person = new CustomerDetails( na, add );
                   System.out.println( "Printing out receipt for " + person.getName() + ".....");
                   System.out.println( "At address : " + person.getAddress() );
                   System.out.println( "Renting book title " + bookTitle + " for $" + BookDetails.getCost());
                   System.out.println( "Serving next customer....." );
                   if ( select.equalsIgnoreCase( "N" ))
                   System.out.println( "Serving next customer....." );
                   }//class
              }while( "E" );
    But, there's still error saying illegal start of type at "do{"

  • Got a MacBook with 10.5.8  I am anable to burn cds, dvds, and dl dvds.  Everything worked before I reformatted my computer but now it comes up with error messages like unable to communicate or something about the laser power levels.  Help! Anyway to check

    Got a MacBook with 10.5.8  I am anable to burn cds, dvds, and dl dvds.  Everything worked before I reformatted my computer but now it comes up with error messages like unable to communicate or something about the laser power levels.  Help! Anyway to check to see what is going on?

    Hi I am having the identical problem with my 24" intel iMac 2007..... Did you ever figure out what the problem was? I'm on round 3 now and with a completely blank grey screen and it won't start up from the disk 1.. I also have diskwarrior and techtool pro as well as the osx leopard and snow leopard disk... The HD is new.. Replaced by apple 3 months ago.. Don't know the cause the first time this happened about 9 months ago.. 2nd time, 6 months ago it never rebooted from the office for mac 2008 critical update... Did a clean install after backing up to TC... Took it to apple replaced HD even though it appeared ok, they checked all hardware and I ran techtool pro daily ever since. Last week software update had several updates avail. Office for mac being one of them.. I updated and have never booted since.. . I swear to never ever use another Microsoft product as long as I live if I can just fix this once more... Help me please

  • Got an error message that said "start up disk full". On reboot, only got a blue screen. Can move mouse around and shutdown but that is it. Firewired it to another mac and cleaned off about 2 gigs of space. Still on reboot only getting blue screen. ???

    Got an error message that said "start up disk full". On reboot, only got a blue screen. Can move mouse around and shutdown but that is it. Firewired it to another mac and cleaned off about 2 gigs of space. Still on reboot only getting blue screen. ???

    Startup in Safe Mode.
    http://support.apple.com/kb/PH11212?viewlocale=en_US

  • N79 (Error message :Unable to open .File type not ...

    Dear nokia service manager,,
    Iam sivakumar using the nokia N79 handset.Iam getting the message like this (Error message :Unable to open .File type not supported)when i was trying to open the video file shooted by some other camera.I have tried changing the format of the file..but no use ..i dont get ant suitable software converter in the internet.So kindly look into this matter as i need this very uregently...
    hope its a mandatory feature as laptop and mobile interface are simple task nowadays in mobile...
    pls reply me..its very urgent...thanku..

    You could try Videora (http://www.videora.com/) - the downside here is that they have specific versions for specific phones, and sometimes it will makea file that plays perfectly in the desired phone but can't be shared to other models. The don't show a version for the N79, but try the N96 one because the N96 is the most similar OS to yours that they offer.

  • Getting the error message The content of element type "navigation-case" mus

    I am getting this error message when I start the Jboss server ,,
    What could be reason , I have checked in and out , Everything is correct it seems,.
    The content of element type "navigation-case" must match "(description*,display-name*,icon*,from-action?,from-outcome?,to-view-id,redirect?)"
    Please respond
    Thanks
    Suresh

    That's an XML validation error for faces-config.xml. What is the content of that file?

  • Received error message Microsoft Word starter 2010 cannot be opened. Try again or repair the product

    I received an error message today in the click-to-run application manager box that read: Microsoft Word Starter 2010 cannot be opened. Try again, or repair in control panel. At this point nothing seems to work. HELP.

    if you bare receiving error message Microsoft Word starter 2010 cannot be opened. For this you need to make use of MS Word Repair Tool.  Word File Repair Tool which is especially designed to repair and recover corrupt or inaccessible (.doc) and (.docx) files back. It extracts the content from the file and rebuilds a new healthy word file that you can access easily. It effectively recovers document texts along with its other important stuffs like indentation, formatting, charts, hyperlinks, images, tables etc. This powerful tool even repairs the severely damaged DOC files in seconds and save you from great disaster in work. So just download DOC Repair Tool straight away and repair & restore your Word files in seconds. 

  • While creating SAP ISU Device category i got one error message like The material 5 does not exist or is not activated Message no. M3305

    while creating SAP ISU Device category EG01 .i got one error message like The material 5 does not exist or is not activated Message no. M3305

    I don't know EG01 transaction, but if SAP says "material 5 does not exist " then SAP is usually right.
    Can you give an evidence that material 5 exists? e.g. screenshot from  SE16 at table MARA, MARC and MAST

  • After getting the dreaded gray/blue screen, I tried to run disk repair on the internal disk. I got an error message saying "Disk Utility can't repair this disk and restore your backed-up files. The volume Macintosh HD could not be verified completely

    After getting the dreaded gray/blue screen, I tried to run disk repair on the internal disk. I got an error message saying "Disk Utility can't repair this disk and restore your backed-up files. The volume Macintosh HD could not be verified completely." What do I do now? This is an iMac and I'm running 10.6.8.

    Clean Install of Snow Leopard
    Be sure to make a backup first because the following procedure will erase
    the drive and everything on it. See below for how to clone a drive.
         1. Boot the computer using the Snow Leopard Installer Disc or the Disc 1 that came
             with your computer.  Insert the disc into the optical drive and restart the computer.
             After the chime press and hold down the  "C" key.  Release the key when you see
             a small spinning gear appear below the dark gray Apple logo.
         2. After the installer loads select your language and click on the Continue
             button. When the menu bar appears select Disk Utility from the Utilities menu.
             After DU loads select the hard drive entry from the left side list (mfgr.'s ID and drive
             size.)  Click on the Partition tab in the DU main window.  Set the number of
             partitions to one (1) from the Partitions drop down menu, click on Options button
             and select GUID, click on OK, then set the format type to MacOS Extended
             (Journaled, if supported), then click on the Apply button.
         3. When the formatting has completed quit DU and return to the installer.  Proceed
             with the OS X installation and follow the directions included with the installer.
         4. When the installation has completed your computer will Restart into the Setup
             Assistant. Be sure you configure your initial admin account with the exact same
             username and password that you used on your old drive. After you finish Setup
             Assistant will complete the installation after which you will be running a fresh
             install of OS X.  You can now begin the update process by opening Software
             Update and installing all recommended updates to bring your installation current.
    Download and install Mac OS X 10.6.8 Update Combo v1.1.
    You may be able to backup your data if you have an erased external drive you can use. Before you do the above but after you have opened Disk Utility you can try to clone your drive:
    Clone using Restore Option of Disk Utility
      1. Open Disk Utility.
      2. Select the destination volume from the left side list.
      3. Click on the Restore tab in the DU main window.
      4. Select the destination volume from the left side list and drag
           it to the Destination entry field.
      5. Select the source volume from the left side list and drag it to
          the Source entry field.
      6. Double-check you got it right, then click on the Restore button.
    Destination means the external backup drive. Source means the internal startup drive.
    Now this will only work if the drive is accessible and can be cloned by Disk Utility. Otherwise, you would need to access your drive from another Mac that you can connect via Firewire - Target Disk Mode.

  • I tried to rename a file, it gave me an error message (can't remember the number - 43??) and then the file disappeared from the original folder. When I do a search, the file comes up under the new name, but it does not show a path, and even though preview

    I tried to rename a file, it gave me an error message (can't remember the number - 43??) and then the file disappeared from the original folder. When I do a search, the file comes up under the new name, but it does not show a path, and even though preview shows the contents, I can't open the document (Powerpoint) and I can't move the document. I tried "Copy" and paste but it doesn't work. I tried "Share" with Airdrop and iChat, but the file is inaccessible. When i try to rename the file, it says the filename is too long.
    When I try to open it, it says the alias is not good, and asks if I want to fix the alias. I'm afraid to do that and lose all access to this document.
    Right now, it feels like a ghost document - it is on the computer intact, but it is in an undisclosed location and inaccessible.
    Please help!!

    I was able to resolve this by repairing permissions, even though no permissions error was listed specifically for that file.
    I could also have recovered it through Time Machine, but I'm interested in knowing how not to have this happen again!
    I was afraid of rebooting and possibly losing track even of the ghost.
    I did not try EasyFind - I'll keep that in mind next time.
    Thanks for all the comments.

  • ITunes 10.6.0.40 will not open on Windows 7, no error messages come up. Have tried un-installing it and re-installing it many times.

    iTunes 10.6.0.40 will not open on Windows 7, no error messages come up. Have tried un-installing it and re-installing it many times. Please help.

    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down the page in case one of them applies.
    Your library should be unaffected by these steps but there is backup and recovery advice elsewhere in the user tip.
    If the advice above doesn't resolve things you could try this alternate version:
    iTunes 12.1.0.71 for Windows (64-bit - for older video cards) - itunes64setup.exe (2015-01-28)
    which is a 64-bit installer for the 32-bit version of the core application, similar to previous 64-bit releases.
    Or roll back to the previous build:
    iTunes 12.0.1.26 for Windows (32-bit) - iTunesSetup.exe (2014-10-16)
    iTunes 12.0.1.26 for Windows (64-bit) - iTunes64Setup.exe (2014-10-16)
    tt2

Maybe you are looking for

  • Single-Sign-On (SSO) configuration on JAVA Stack through HTTP Header method

    Hello SDN community, in the context of a Proof of Concept, we are testing the integration of Microsoft Sharepoint Portal with SAP Backend (addin) systems. As the architecture impose use an external scenario (access from the internet), we couldn't use

  • Posting values from a table into checkboxes in a checkboxgroup

    Here is my situation. I have a table I am reading into my web dynpro.  There are five fields, each may or may not contain an 'X'. I have a checkboxgroup in my web dynpro.  What I need to do is read field one, and if it is 'X', set the first checkbox

  • Cannot install latest version of itunes on my pc

    been trying to install the latest version of itunes (11.1) on my PC.  get an error message half way throught the download process and it quites.  Any ideas?

  • Two layouts in one report

    I have a requirement where I have two queries giving two different outputs, I want these two in one single report with two layouts, I was able to achieve this with Concatenate option and there by build by RTF templates based on the Groups of each que

  • Can Ajax concept apply in SAP R/3?

    Dear All, The term Ajax is used to describe a set of technologies that allow browsers to provide users with a more natural browsing experience. Before Ajax, Web sites forced their users into the submit/wait/redisplay paradigm, where the users' action