Remove imageicon problem!!Please help!!

Hi!I m trying to do this:When the delete button is pressed , remove the jlabels appeared by one, from the last one to the first one!!How can i do this?I tried to do it with icon.set(null) but they all dissapear!Thank you!
package icons;
import java.applet.*;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class Icons extends Applet {
  JButton jButton1 = new JButton("a");
  JButton jButton2 = new JButton("b");
  JButton jButton3 = new JButton("c");
  JButton jButton4 = new JButton("d");
  JButton jButton5 = new JButton("e");
  JButton jButton6 = new JButton("f");
  JButton jButton7 = new JButton("g");
  JButton jButton8 = new JButton("compare");
  JButton jButton9 = new JButton("delete");
  FlowLayout flowLayout1 = new FlowLayout();
  JLabel jLabel1 = new JLabel();
  JLabel jLabel2 = new JLabel();
  JLabel jLabel3 = new JLabel();
  JLabel jLabel4 = new JLabel();
  JLabel jLabel5 = new JLabel();
  JLabel jLabel6 = new JLabel();
  JLabel jLabel7 = new JLabel();
String s=new String();
  int i =1;
  ImageIcon myIcon1 = new ImageIcon("eikones/image1.gif");
  ImageIcon myIcon2 = new ImageIcon("eikones/image2.gif");
  ImageIcon myIcon3= new ImageIcon("eikones/image3.gif");
  ImageIcon myIcon4= new ImageIcon("eikones/image4.gif");
  ImageIcon myIcon5  = new ImageIcon("eikones/image5.gif");
  ImageIcon myIcon6 = new ImageIcon("eikones/image6.gif");
  ImageIcon myIcon7 = new ImageIcon("eikones/image7.gif");
  public void init() {
    jButton1.setPreferredSize(new Dimension(150, 25));
    jButton1.setIcon(myIcon1);
    jButton1.addActionListener(new Icons_jButton1_actionAdapter(this));
     jButton2.setPreferredSize(new Dimension(150, 25));
    jButton2.setIcon(myIcon2);
    jButton2.addActionListener(new Icons_jButton2_actionAdapter(this));
    jButton3.setPreferredSize(new Dimension(150, 25));
    jButton3.setIcon(myIcon3);
    jButton3.addActionListener(new Icons_jButton3_actionAdapter(this));
    jButton4.addActionListener(new Icons_jButton4_actionAdapter(this));
    jButton4.setPreferredSize(new Dimension(150, 25));
    jButton4.setIcon(myIcon4);
    jButton5.addActionListener(new Icons_jButton5_actionAdapter(this));
    jButton5.setPreferredSize(new Dimension(150, 25));
    jButton5.setIcon(myIcon5);
    jButton6.setPreferredSize(new Dimension(150, 25));
    jButton6.setIcon(myIcon6);
    jButton6.addActionListener(new Icons_jButton6_actionAdapter(this));
    jButton7.setPreferredSize(new Dimension(150, 25));
    jButton7.setIcon(myIcon7);
    jButton7.addActionListener(new Icons_jButton7_actionAdapter(this));
    jButton8.setPreferredSize(new Dimension(150, 25));
    jButton8.addActionListener(new Icons_jButton8_actionAdapter(this));
    jButton9.setPreferredSize(new Dimension(150, 25));
    jButton9.addActionListener(new Icons_jButton9_actionAdapter(this));
    jLabel1.getIcon();
    jLabel2.getIcon();
    jLabel3.getIcon();
    jLabel4.getIcon();
    jLabel5.getIcon();
    jLabel6.getIcon();
    jLabel7.getIcon();
    add(jButton1);
    add(jButton2);
    add(jButton3);
    add(jButton4);
    add(jButton5);
    add(jButton6);
    add(jButton7);
    add(jButton8);
    add(jButton9);
    add(jLabel1);
    add(jLabel2);
    add(jLabel3);
    add(jLabel4);
    add(jLabel5);
    add(jLabel6);
    add(jLabel7);
      public Icons()
                this.setLayout(new FlowLayout(FlowLayout.LEFT));
  void jButton1_actionPerformed(ActionEvent e) {
   if (i==1)
      jLabel1.setIcon(myIcon1);
        else if (i==2)
     jLabel2.setIcon(myIcon1);
   else if (i==3)
      jLabel3.setIcon(myIcon1);
    else if (i==4)
        jLabel4.setIcon(myIcon1);
      else if (i==5)
        jLabel5.setIcon(myIcon1);
       else if (i==6)
        jLabel6.setIcon(myIcon1);
     else if (i==7)
     jLabel7.setIcon(myIcon1);
      s=s+jButton1.getText();
      i++;
  void jButton2_actionPerformed(ActionEvent e) {
    if (i==1)
      jLabel1.setIcon(myIcon2);
   else if (i==2)
     jLabel2.setIcon(myIcon2);
    else if (i==3)
     jLabel3.setIcon(myIcon2);
  else if (i==4)
        jLabel4.setIcon(myIcon2);
      else if (i==5)
         jLabel5.setIcon(myIcon2);
        else if (i==6)
         jLabel6.setIcon(myIcon2);
      else if (i==7)
      jLabel7.setIcon(myIcon2);
        s=s+jButton2.getText();
      i++;
  void jButton3_actionPerformed(ActionEvent e) {
    if (i==1)
     jLabel1.setIcon(myIcon3);
    else if (i==2)
      jLabel2.setIcon(myIcon3);
    else if (i==3)
      jLabel3.setIcon(myIcon3);
   else if (i==4)
    jLabel4.setIcon(myIcon3);
     else if (i==5)
        jLabel5.setIcon(myIcon3);
       else if (i==6)
        jLabel6.setIcon(myIcon3);
     else if (i==7)
      jLabel7.setIcon(myIcon3);
        s=s+jButton3.getText();
    i++;
  void jButton4_actionPerformed(ActionEvent e) {
   if (i==1)
    jLabel1.setIcon(myIcon4);
   else if (i==2)
     jLabel2.setIcon(myIcon4);
   else if (i==3)
      jLabel3.setIcon(myIcon4);
    else if (i==4)
        jLabel4.setIcon(myIcon4);
      else if (i==5)
        jLabel5.setIcon(myIcon4);
       else if (i==6)
        jLabel6.setIcon(myIcon4);
     else if (i==7)
      jLabel7.setIcon(myIcon4);
        s=s+jButton4.getText();
      i++;
  void jButton5_actionPerformed(ActionEvent e) {
    if (i==1)
      jLabel1.setIcon(myIcon5);
   else if (i==2)
     jLabel2.setIcon(myIcon5);
    else if (i==3)
     jLabel3.setIcon(myIcon5);
  else if (i==4)
        jLabel4.setIcon(myIcon5);
      else if (i==5)
         jLabel5.setIcon(myIcon5);
        else if (i==6)
         jLabel6.setIcon(myIcon5);
      else if (i==7)
      jLabel7.setIcon(myIcon5);
        s=s+jButton5.getText();
      i++;
  void jButton6_actionPerformed(ActionEvent e) {
    if (i==1)
     jLabel1.setIcon(myIcon6);
    else if (i==2)
      jLabel2.setIcon(myIcon6);
    else if (i==3)
      jLabel3.setIcon(myIcon6);
   else if (i==4)
    jLabel4.setIcon(myIcon6);
     else if (i==5)
        jLabel5.setIcon(myIcon6);
       else if (i==6)
        jLabel6.setIcon(myIcon6);
     else if (i==7)
      jLabel7.setIcon(myIcon6);
     s=s+jButton6.getText();
    i++;
  void jButton7_actionPerformed(ActionEvent e) {
   if (i==1)
    jLabel1.setIcon(myIcon7);
   else if (i==2)
     jLabel2.setIcon(myIcon7);
   else if (i==3)
      jLabel3.setIcon(myIcon7);
    else if (i==4)
        jLabel4.setIcon(myIcon7);
      else if (i==5)
        jLabel5.setIcon(myIcon7);
       else if (i==6)
        jLabel6.setIcon(myIcon7);
     else if (i==7)
      jLabel7.setIcon(myIcon7);
       s=s+jButton7.getText();
      i++;
  void jButton8_actionPerformed(ActionEvent e) {
  void jButton9_actionPerformed(ActionEvent e) {
      s="";
  jLabel4.setText(null);
i=1;
class Icons_jButton1_actionAdapter implements java.awt.event.ActionListener {
  Icons adaptee;
  Icons_jButton1_actionAdapter(Icons adaptee) {
    this.adaptee = adaptee;
  public void actionPerformed(ActionEvent e) {
    adaptee.jButton1_actionPerformed(e);
class Icons_jButton2_actionAdapter implements java.awt.event.ActionListener {
  Icons adaptee;
  Icons_jButton2_actionAdapter(Icons adaptee) {
    this.adaptee = adaptee;
  public void actionPerformed(ActionEvent e) {
    adaptee.jButton2_actionPerformed(e);
class Icons_jButton3_actionAdapter implements java.awt.event.ActionListener {
  Icons adaptee;
  Icons_jButton3_actionAdapter(Icons adaptee) {
    this.adaptee = adaptee;
  public void actionPerformed(ActionEvent e) {
    adaptee.jButton3_actionPerformed(e);
class Icons_jButton4_actionAdapter implements java.awt.event.ActionListener {
  Icons adaptee;
  Icons_jButton4_actionAdapter(Icons adaptee) {
    this.adaptee = adaptee;
  public void actionPerformed(ActionEvent e) {
    adaptee.jButton4_actionPerformed(e);
class Icons_jButton5_actionAdapter implements java.awt.event.ActionListener {
  Icons adaptee;
  Icons_jButton5_actionAdapter(Icons adaptee) {
    this.adaptee = adaptee;
  public void actionPerformed(ActionEvent e) {
    adaptee.jButton5_actionPerformed(e);
class Icons_jButton6_actionAdapter implements java.awt.event.ActionListener {
  Icons adaptee;
  Icons_jButton6_actionAdapter(Icons adaptee) {
    this.adaptee = adaptee;
  public void actionPerformed(ActionEvent e) {
    adaptee.jButton6_actionPerformed(e);
class Icons_jButton7_actionAdapter implements java.awt.event.ActionListener {
  Icons adaptee;
  Icons_jButton7_actionAdapter(Icons adaptee) {
    this.adaptee = adaptee;
  public void actionPerformed(ActionEvent e) {
    adaptee.jButton7_actionPerformed(e);
class Icons_jButton8_actionAdapter implements java.awt.event.ActionListener {
  Icons adaptee;
  Icons_jButton8_actionAdapter(Icons adaptee) {
    this.adaptee = adaptee;
  public void actionPerformed(ActionEvent e) {
    Graphics g = getGraphics();
    if(s.equals("a"+"b"+"b"+"e"))
       g.drawString("ok",350,300);
          else
       g.drawString("wrong",150,300);
    adaptee.jButton8_actionPerformed(e);
class Icons_jButton9_actionAdapter implements java.awt.event.ActionListener {
  Icons adaptee;
  Icons_jButton9_actionAdapter(Icons adaptee) {
    this.adaptee = adaptee;
  public void actionPerformed(ActionEvent e) {
    adaptee.jButton9_actionPerformed(e);
public void paint(Graphics g){
  g.setColor (back);
   g.fillRect (0,0,300,250);
   g.setColor (back1);
   g.fillRect (0,250,100,50);
  super.paint(g);
}

I don't really understand what you are trying to do but it is easier to write a single listener for all your buttons with code something like the following:
ActionListener listener = new ActionListener()
    public void actionPerformed(ActionEvent e)
        JButton button = (JButton)e.getSource();
        String command = button.getActionCommand();
        if ("a".equals( command ))
            jLabel1.setIcon( null );
        else if ("b".equals( command ) )
            jLabel2.setIcon( null );
};Another option would be to store you buttons and labels in an array. Then you would search the button array to find the index of the button clicked. Once you know this index then you can reset the label at the same index.

Similar Messages

  • ImageIcon problem *Please HELP*

    Hello
    I am having problems adding an Image to this code I have tried everything I know but to no avail. Could u please give me some pointers as to what I am doing wrong.
    Thank you Michael
    The code:
    {color:#003300}package calculator;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    class calculator extends JFrame {
    {color}
    {color:#003300}
    public calculator(){
    Container con = getContentPane();
    setSize(800, 600);
    con.setLayout(new GridLayout(5, 1));
    final JTextField value1, value2, sum;
    {color}
    {color:#003300}
    {color:#ff0000}ImageIcon img = new ImageIcon("images/calculator.jpg");
    JButton button = new JButton();
    button.setIcon(img);
    con.add(button);{color}
    value1 = new JTextField();
    value2 = new JTextField();
    sum = new JTextField();
    sum.setEditable(false);
    con.add(button);
    con.add(value1);
    con.add(value2);
    con.add(sum);
    JButton button1 = new JButton("Test 1");
    button1.setText("Equals");
    button1.addActionListener(new ActionListener(){public void actionPerformed(ActionEvent e)
    int val1 = Integer.parseInt(value1.getText());
    int val2 = Integer.parseInt(value2.getText());
    int val3 = val1 + val2;
    String val4 = Integer.toString(val3);
    sum.setText(val4);
    con.add(button1);
    pack();
    setVisible(true);
    }{color}

    Hello thank you for replying to my post I reposted the code in the correct way. I have tried running your code that you have provided but the image would still not show up on the screen. Is there any advice or problems that you can see with my code ? Any help is greatly appreciated.
    Thank you Michael
    /* Author Michael
    package calculator;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    class calculator extends JFrame {
        private static final String CALC_IMAGE_STRING = "images/calculator.jpg";
        public calculator(){
        Container con = getContentPane();
        setSize(800, 600);
        con.setLayout(new GridLayout(5, 1));
        final JTextField value1, value2, sum;
        ImageIcon img = new ImageIcon(CALC_IMAGE_STRING);
        JButton button = new JButton(img);
        System.out.println("The File is located at " + CALC_IMAGE_STRING);
        System.out.println("image height: " + img.getIconHeight());
        con.add(button);
        value1 = new JTextField();
        value2 = new JTextField();
        sum = new JTextField();
        sum.setEditable(false);
        con.add(button);
        con.add(value1);
        con.add(value2);
        con.add(sum);
        JButton button1 = new JButton("Test 1");
        button1.setText("Equals");
        button1.addActionListener(new ActionListener(){public void actionPerformed(ActionEvent e)
            int val1 = Integer.parseInt(value1.getText());
            int val2 = Integer.parseInt(value2.getText());
            int val3 = val1 + val2;
            String val4 = Integer.toString(val3);
            sum.setText(val4);
        con.add(button1);
        setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        pack();
        setVisible(true);
    }

  • I am using firefox 3.6.17 i upgraded it to 4.1.but it does not work properly sometimes it opens every website and most of the time it does not work . so what is the problem please help . thank you

    i am using firefox 3.6.17 i upgraded it to 4.1.but it does not work properly sometimes it opens every website and most of the time it does not work . so what is the problem please help . thank you

    Did you check your security software (firewall)?
    A possible cause is security software (firewall) that blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
    Remove all rules for Firefox from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox and the plugin-container process.
    See:
    * [[Server not found]]
    * [[Firewalls]]

  • Hi .. my iPad 4 with iso 7.0.3 he is restarting himself ... How can i solve this problem please help me

    Hi .. my iPad 4 with iso 7.0.3 he is restarting himself ... How can i solve this problem please help me

    Standard troubleshooting...
    1. Try a Restart by pressing the sleep/lock button until you see the slider.  Slide to power off.  Restart by pressing the sleep/lock button until you see the Apple logo.
    2. Try a Reset by pressing the home and sleep buttons until you see the Apple logo. Takes about 5-15 secs of button holding and you won't lose any data or settings.
    3. Remove apps from Recently Used list...
    - From any Home Screen, double tap the home button to bring up the Recents List
    - Swipe up on the app preview card to remove it from the list
    - Press the home button when done.
    4. If still a problem restore with your backup.
    5. If still a problem restore as new, i.e. without your backup. See how it runs with nothing synced to it.
    6. If still a problem, it's likely a hardware issue.

  • My iphone 5 32 gb has an camera autofocus problem, please help me solve this

    my iphone 5 32 gb has an camera autofocus problem, please help me solve this

    Hi teejayfs,
    Thanks for visiting Apple Support Communities.
    If you've noticed unexpected behavior with your iPhone camera, start with these steps to isolate or resolve the issue:
    Camera isn't functioning or has undesired image quality
    If the screen shows a closed lens or black image, force quit the Camera app.
    If you do not see the Camera app on the Home screen, try searching for it in Spotlight. If the camera does not show up in the search, check to make sure that Restrictions are not turned on by tappingSettings > General > Restrictions.
    Ensure the camera lens is clean and free from any obstructions. Use a microfiber polishing cloth to clean the lens.
    Cases can interfere with the camera and the flash. Try gently cleaning the lens with a clean dry cloth or removing the case if you see image or color-quality issues with photos.
    Try turning iPhone off and then back on.
    Tap to focus the camera on the subject. The image may pulse or briefly go in and out of focus as it adjusts.
    Try to remain steady while focusing:
    Still images: Remain steady while taking the picture. If you move too far in any direction, the camera automatically refocuses to the center.
    Note: If you take a picture with iPhone turned sideways, it is automatically saved in landscape orientation.
    Video: Adjust focus before you begin recording. You can also tap to readjust focus while recording. Exiting the Camera application while recording will stop recording and will save the video to the Camera Roll.
    Note: Video-recording features are not available on original iPhone or iPhone 3G.
    If your iPhone has a front and rear camera, try switching between them to verify if the issue persists on both.
    You can find these steps here:
    iPhone: Hardware troubleshooting
    http://support.apple.com/kb/TS2802
    Regards,
    Jeremy

  • My iphone is on recovery mode and i can´t turn on it, when i try to recover it from itunes i get: "unknown error (36), i´ve tried to do lot of things but i can´t  solve my problem. please help!!

    my iphone is on recovery mode and i can´t turn on it, when i try to recover it from itunes i get: unknown error (36), i´ve tried to do lot of things but i can´t solve my problem. please help!!

    Hi, i had the same problem. Try to find the file "apple" or "itunes" don't know it anymore exactly. Ahm well you need to delet any information or just plug in your iphone into an other computer. important is that your iphone never has been pluged in this computer before. This was what i did, and it worked!

  • Problem Please help me.....Let me know the area to look for it I am a DBA..

    Problem Please help me.....Let me know the area to look for it I am a DBA..Thanks in advance to let me know the cause and the area to look and fix it...
    Server Error in '/' Application.
    Problem with SAP/BAPI. SAP.Connector.RfcCommunicationException: Connect to message server failed Connect_PM MSHOST=prddb01.lamrc.com, R3NAME=PRD, GROUP=Prod HR PRD LOCATION CPIC (TCP/IP) on local host ERROR service 'sapmsPRD' unknown TIME Wed May 04 08:59:06 2005 RELEASE 620 COMPONENT NI (network interface) VERSION 36 RC -3 MODULE ninti.c LINE 428 DETAIL NiPServToNo SYSTEM CALL getservbyname COUNTER 1 at SAP.Connector.SAPConnection.ThrowRfcException(RFC_ERROR_INFO_EX rfcerrInfo, Encoding encoding, String languangeCode) at SAP.Connector.SAPConnection.Open() at SAP.Connector.SAPClient.RfcInvoke(String method, Object[] methodParamsIn) at SAP.Connector.SAPClient.SAPInvoke(String method, Object[] methodParamsIn) at SoftwareKeySAPG.SAPProxy1.Z_Bapi_Load_Kpi_Region(ZSOFT_KPI_REGIONS_MTable& Kpi_Regions, ZSOFT_PROD_TYPETable& Prod_Type) at SoftwareKeySAPG.SAPGSK.LoadKPIRegion(DataSet dsProduct)
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.Web.Services.Protocols.SoapException: Problem with SAP/BAPI. SAP.Connector.RfcCommunicationException: Connect to message server failed Connect_PM MSHOST=prddb01.lamrc.com, R3NAME=PRD, GROUP=Prod HR PRD LOCATION CPIC (TCP/IP) on local host ERROR service 'sapmsPRD' unknown TIME Wed May 04 08:59:06 2005 RELEASE 620 COMPONENT NI (network interface) VERSION 36 RC -3 MODULE ninti.c LINE 428 DETAIL NiPServToNo SYSTEM CALL getservbyname COUNTER 1 at SAP.Connector.SAPConnection.ThrowRfcException(RFC_ERROR_INFO_EX rfcerrInfo, Encoding encoding, String languangeCode) at SAP.Connector.SAPConnection.Open() at SAP.Connector.SAPClient.RfcInvoke(String method, Object[] methodParamsIn) at SAP.Connector.SAPClient.SAPInvoke(String method, Object[] methodParamsIn) at SoftwareKeySAPG.SAPProxy1.Z_Bapi_Load_Kpi_Region(ZSOFT_KPI_REGIONS_MTable& Kpi_Regions, ZSOFT_PROD_TYPETable& Prod_Type) at SoftwareKeySAPG.SAPGSK.LoadKPIRegion(DataSet dsProduct)
    Source Error:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. 
    Stack Trace:
    [SoapException: Problem with SAP/BAPI.
    SAP.Connector.RfcCommunicationException: Connect to message server failed
    Connect_PM  MSHOST=prddb01.lamrc.com, R3NAME=PRD, GROUP=Prod HR PRD
    LOCATION    CPIC (TCP/IP) on local host
    ERROR       service 'sapmsPRD' unknown
    TIME        Wed May 04 08:59:06 2005
    RELEASE     620
    COMPONENT   NI (network interface)
    VERSION     36
    RC          -3
    MODULE      ninti.c
    LINE        428
    DETAIL      NiPServToNo
    SYSTEM CALL getservbyname
    COUNTER     1
       at SAP.Connector.SAPConnection.ThrowRfcException(RFC_ERROR_INFO_EX rfcerrInfo, Encoding encoding, String languangeCode)
       at SAP.Connector.SAPConnection.Open()
       at SAP.Connector.SAPClient.RfcInvoke(String method, Object[] methodParamsIn)
       at SAP.Connector.SAPClient.SAPInvoke(String method, Object[] methodParamsIn)
       at SoftwareKeySAPG.SAPProxy1.Z_Bapi_Load_Kpi_Region(ZSOFT_KPI_REGIONS_MTable& Kpi_Regions, ZSOFT_PROD_TYPETable& Prod_Type)
       at SoftwareKeySAPG.SAPGSK.LoadKPIRegion(DataSet dsProduct)]
       System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) +1503
       System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) +218
       SoftwareKeyUI.InstalledBaseDataWS.InstalledBaseData.LoadKPIRegionMulti(DataSet products)
       SoftwareKeyUI.InstalledBaseDataAccess.LoadKPIRegionMulti(DataSet products)
       SoftwareKeyUI.InstalledBase.GetRegionDetails(Int32 userId, String product, String regionType)
       SoftwareKeyUI.FilteredAccess.GetRegionDetails(Int32 userId, String product, String regionType)
       SoftwareKeyUI.search.LoadRegionDetails()
       SoftwareKeyUI.search.regionType_SelectedIndexChanged(Object sender, EventArgs e)
       System.Web.UI.WebControls.ListControl.OnSelectedIndexChanged(EventArgs e) +108
       System.Web.UI.WebControls.DropDownList.System.Web.UI.IPostBackDataHandler.RaisePostDataChangedEvent() +26
       System.Web.UI.Page.RaiseChangedEvents() +115
       System.Web.UI.Page.ProcessRequestMain() +1099

    The error is a very basic one - the sapmsPRD service is not known. You will have to go to <NT_ROOT>\system32\drivers\etc and add the entry sapmsPRD 3600 to this file.
    This is basically telling the requester at what port to look for the message server.
    C

  • Problem Please help me.....Let me know the area to look for it

    Problem Please help me.....Let me know the area to look for it I am a DBA..Thanks in advance to let me know the cause and the area to look and fix it...
    Server Error in '/' Application.
    Problem with SAP/BAPI. SAP.Connector.RfcCommunicationException: Connect to message server failed Connect_PM MSHOST=prddb01.lamrc.com, R3NAME=PRD, GROUP=Prod HR PRD LOCATION CPIC (TCP/IP) on local host ERROR service 'sapmsPRD' unknown TIME Wed May 04 08:59:06 2005 RELEASE 620 COMPONENT NI (network interface) VERSION 36 RC -3 MODULE ninti.c LINE 428 DETAIL NiPServToNo SYSTEM CALL getservbyname COUNTER 1 at SAP.Connector.SAPConnection.ThrowRfcException(RFC_ERROR_INFO_EX rfcerrInfo, Encoding encoding, String languangeCode) at SAP.Connector.SAPConnection.Open() at SAP.Connector.SAPClient.RfcInvoke(String method, Object[] methodParamsIn) at SAP.Connector.SAPClient.SAPInvoke(String method, Object[] methodParamsIn) at SoftwareKeySAPG.SAPProxy1.Z_Bapi_Load_Kpi_Region(ZSOFT_KPI_REGIONS_MTable&amp; Kpi_Regions, ZSOFT_PROD_TYPETable&amp; Prod_Type) at SoftwareKeySAPG.SAPGSK.LoadKPIRegion(DataSet dsProduct)
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.Web.Services.Protocols.SoapException: Problem with SAP/BAPI. SAP.Connector.RfcCommunicationException: Connect to message server failed Connect_PM MSHOST=prddb01.lamrc.com, R3NAME=PRD, GROUP=Prod HR PRD LOCATION CPIC (TCP/IP) on local host ERROR service 'sapmsPRD' unknown TIME Wed May 04 08:59:06 2005 RELEASE 620 COMPONENT NI (network interface) VERSION 36 RC -3 MODULE ninti.c LINE 428 DETAIL NiPServToNo SYSTEM CALL getservbyname COUNTER 1 at SAP.Connector.SAPConnection.ThrowRfcException(RFC_ERROR_INFO_EX rfcerrInfo, Encoding encoding, String languangeCode) at SAP.Connector.SAPConnection.Open() at SAP.Connector.SAPClient.RfcInvoke(String method, Object[] methodParamsIn) at SAP.Connector.SAPClient.SAPInvoke(String method, Object[] methodParamsIn) at SoftwareKeySAPG.SAPProxy1.Z_Bapi_Load_Kpi_Region(ZSOFT_KPI_REGIONS_MTable&amp; Kpi_Regions, ZSOFT_PROD_TYPETable&amp; Prod_Type) at SoftwareKeySAPG.SAPGSK.LoadKPIRegion(DataSet dsProduct)
    Source Error:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
    Stack Trace:
    [SoapException: Problem with SAP/BAPI.
    SAP.Connector.RfcCommunicationException: Connect to message server failed
    Connect_PM MSHOST=prddb01.lamrc.com, R3NAME=PRD, GROUP=Prod HR PRD
    LOCATION CPIC (TCP/IP) on local host
    ERROR service 'sapmsPRD' unknown
    TIME Wed May 04 08:59:06 2005
    RELEASE 620
    COMPONENT NI (network interface)
    VERSION 36
    RC -3
    MODULE ninti.c
    LINE 428
    DETAIL NiPServToNo
    SYSTEM CALL getservbyname
    COUNTER 1
    at SAP.Connector.SAPConnection.ThrowRfcException(RFC_ERROR_INFO_EX rfcerrInfo, Encoding encoding, String languangeCode)
    at SAP.Connector.SAPConnection.Open()
    at SAP.Connector.SAPClient.RfcInvoke(String method, Object[] methodParamsIn)
    at SAP.Connector.SAPClient.SAPInvoke(String method, Object[] methodParamsIn)
    at SoftwareKeySAPG.SAPProxy1.Z_Bapi_Load_Kpi_Region(ZSOFT_KPI_REGIONS_MTable&amp; Kpi_Regions, ZSOFT_PROD_TYPETable&amp; Prod_Type)
    at SoftwareKeySAPG.SAPGSK.LoadKPIRegion(DataSet dsProduct)]
    System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) +1503
    System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) +218
    SoftwareKeyUI.InstalledBaseDataWS.InstalledBaseData.LoadKPIRegionMulti(DataSet products)
    SoftwareKeyUI.InstalledBaseDataAccess.LoadKPIRegionMulti(DataSet products)
    SoftwareKeyUI.InstalledBase.GetRegionDetails(Int32 userId, String product, String regionType)
    SoftwareKeyUI.FilteredAccess.GetRegionDetails(Int32 userId, String product, String regionType)
    SoftwareKeyUI.search.LoadRegionDetails()
    SoftwareKeyUI.search.regionType_SelectedIndexChanged(Object sender, EventArgs e)
    System.Web.UI.WebControls.ListControl.OnSelectedIndexChanged(EventArgs e) +108
    System.Web.UI.WebControls.DropDownList.System.Web.UI.IPostBackDataHandler.RaisePostDataChangedEvent() +26
    System.Web.UI.Page.RaiseChangedEvents() +115
    System.Web.UI.Page.ProcessRequestMain() +1099

    Hi
    You should make a mapping for the service sapmsPRD in your /etc/services file (On Windows: C:WINDOWSSYSTEM32DRIVERSETCservices). If your instance number is 00 you will have to add the following entry:
    sapmsPRD      3600/tcp
    Good luck!
    René van Es

  • [TV@Master] Problem please help

    I have Msi.mother board PT8-Neo -LSR ,  Model No.Ms-6799 , main board bios -Phonenix ,maind board version i updat it to 2.2 , cpu size 2.4 G celleron D/256/533 , memory size 256DDram (400),display card Nvidia Riva TNT2 model 64
    the problem that i face it when i put my TV@nywhere -master card ,the pc stop at the main page that show the biso version and name of bios company and the letters do not bost well it look like a virus work , and when i take tha card off the pc go normally , i tried put it to other PCI the same problem
    please help

    i meany by fix the problem of getting the pc go on to windows with card on PCI salot but i still have the broblem of the driver
    please read my reply again
    my operating system is win me and i have also another pc have XP
    when i log in to windows the system show that found my TV@nywhere card but it didnt took the installatin driver for it i tried to install the driver directly
    but it give me this 2 mesages  when i try to install the driver
    MSI TV card is not found ,stop the installation
    the other message is
    MSI pvs driver installatin failed
    i download the driver from msi page also give me the same messages
    for known on Device Manager it show me that the driver there but do not have the driver and the ? mark beside them
    what to do now 

  • I want to buy an in-app purchase but i don`t remember my security questions and i cant access my recovery email either, what can i do? i have 100$ on my account and cant use it because of that problem, please help URGENT

    I want to buy an in-app purchase but i don`t remember my security questions and i cant access my recovery email either, what can i do? i have 100$ on my account and cant use it because of that problem, please help URGENT

    If you have a rescue email address on your account then you can use that - follow steps 1 to 5 half-way down this page will give you a reset link on your account : http://support.apple.com/kb/HT5312
    If you don't have a rescue email address (you won't be able to add one until you can answer your questions) then you will need to contact Support in your country to get the questions reset : http://support.apple.com/kb/HT5699

  • I'm in trouble, my iPod Touch is giving 4th shock when recharge and the battery does not last any more. who knows or has a similar problem, please help me. Note: all this after I downloaded the new version OS5.

    I'm in trouble, my iPod Touch is giving 4th shock when recharge and the battery does not last any more. who knows or has a similar problem, please help me. Note: all this after I downloaded the new version OS5.

    I would make an appointment at the Genius Bar of an Apple store because of the shock issue. I doubt it was caused by the update.

  • My iphone 4 is acting like crap right i can't even restore it everytime i try to reboot it my iphone freezes at the apple logo it is ******* to the point where i just want to smash it how do i solve this problem please help?

    my iphone 4 is acting like crap right i can't even restore it everytime i try to reboot it my iphone freezes at the apple logo it is ******* me off to the point where i just want to smash it how do i solve this problem please help?

    Don't worry, just follow these steps to fix iPhone stuck on Apple logo
    => First of all Start your Computer and then connect with Internet connection, now Download the latest version of the iTunes application
    => Now install the iTunes application in your System and connect your Device with computer via Data cable
    => Now connect your Device with iTunes application and then Tab on summary option, see in the left side bar of iTunes
    => Now Select restore option from iTunes and then confirm the Restore Message for better results. After this unplug your Device and Restart it
    I hope that will surely
    Thank you...

  • Hello!i have problem to insttal potoshop cs6 this is,we've encountered the following issues.installer failed to initialize.this could be due to a missing file.please download adobe support advisor to detected the problem.please,help me

    this is,we've encountered the following issues.
    installer failed to initialize.this could be due to a missing file.please download adobe support advisor to detected the problem.
    please,help me!

    Hi there Mylenium, is there any way you can help me? My cs6 is doing all kinds weird things lately. The liquifying too stopped working completely, when I try to work with the actions, it starts flickering and changing opacity in color by itself. It starts flickering and is completely out of whack! I tried uninstalling and reinstalling and still no luck. I tried getting in touch with adobe and no luck with that neither! Is there anyway you might be able to help?

  • My iPad stop working suddenly i see black screen only pressing the home? and sleep button dose not solve the  problem please help?

    My iPad stop working suddenly i see black screen only pressing the home and sleep button dose not solve the problem please help ?

    Frozen or unresponsive iPad
    Resolve these most common issues:
        •    Display remains black or blank
        •    Touch screen not responding
        •    Application unexpectedly closes or freezes
    http://www.apple.com/support/ipad/assistant/ipad/
    iPad Frozen, not responding, how to fix
    http://appletoolbox.com/2012/07/ipad-frozen-not-responding-how-to-fix/
    iPad Frozen? How to Force Quit an App, Reset or Restart Your iPad
    http://ipadacademy.com/2010/11/ipad-frozen-how-to-force-quit-an-app-reset-or-res tart-your-ipad
    Black or Blank Screen on iPad or iPhone
    http://appletoolbox.com/2012/10/black-or-blank-screen-on-ipad-or-iphone/
    What to Do When Your iPad Won't Turn On
    http://ipad.about.com/od/iPad_Troubleshooting/ss/What-To-Do-When-Your-Ipad-Wo-No t-Turn-On.htm
    iOS: Not responding or does not turn on
    http://support.apple.com/kb/TS3281
    Home button not working or unresponsive, fix
    http://appletoolbox.com/2013/04/home-button-not-working-or-unresponsive-fix/
    Fixing an iPad Home Button
    http://tinyurl.com/om6rd6u
    iPad: Basic troubleshooting
    http://support.apple.com/kb/TS3274
     Cheers, Tom

  • My Ipad 2 does not turn on when not plugged to electricity. Even when plugged to electricity, it constantly restarts/switches itself off. what is the problem, please help??

    My Ipad 2 does not turn on when not plugged to electricity. Even when plugged to electricity, it constantly restarts/switches itself off. what is the problem, please help??

    i plugged it and pressed the home button for a few seconds. the connect to itunes screen appeared and the moment i disconnect the cable from the electric plug, it switches off. when i connect the cable to the PC, nothing happens, its as if nothing has been done.

  • X-Fi Fatal1ty Plat1num Champion Ed. problem, please help!

    9X-Fi Fatalty Platnum Champion Ed. problem, please help!? Hi there everyone,
    So i have a X-Fi Fatalty Platnum Champion Ed. and a computer with Windows 7.
    I've searched the web and i found many people saying that the card it's working and perfectly compatible so i would like to exclude this option as far as the problems that i'm having.
    So, right out of the box i've placed the front panel in with the ribbon cable and the power connected to it, then i connected the other end of the ribbon cable and finally placed the card in one of the PCI slots i have free.
    Now, when i start my PC, i don't hear any particolar "beep messages" but nothing will come on the screen, in few words my PC will not boot at all. I can hear the HDD spinning, everything sounds normal except for that "little" problem.
    So, i re-did all the connections thinking that maybe i did something wrong, but following the instruction i did exactly as told. So i tried again to power up the computer and i've noticed that the X-Fi logo is lit up (red light) and.. I don't really know if that means something or it's just something aside that doesn't really matter.. But, what is it's The PCI card is broken or there's something else?
    I did try to disable the sound card (integrated mobo sound) from the BIOS but that didn't change anything. I did try all the software options but this looks like more of an hardware problem (please correct me if i'm wrong and/or i've missed something).
    There's something that popped up in my mind.. the PSU. I noticed that i have a 300W PSU (mm.. low, isn't it's)?and i was wondering if that's enough or i need a more powerful one.. and if that's may be the case for the PCI to not work at all causing all i've already explained above. I mean.. It seems like i've installed a dead peripheral and that's impeding the computer to start up..
    I don't know.. I need clarification and help, PLEASE.
    Thank you very much in advance!

    Look at the beta thread sticked above but good luck waiting for a new driver. That beta driver has been there since January and although better than the normal driver it is still crap.
    All the boot type issues are with the SSD but if you getting in game crashes etc... under windows 8 that is simply that the driver stinks.

Maybe you are looking for

  • Can I upload a Time Machine backup (Passport) made on my computer to my husband's computer?

    I'm afraid that my present Macbook is starting to have problems.  I have an old Time Machine backup that I made on a Passport USB drive last year (using OS 10.6) so I can transfer the contents of my computer to my husband's Macbook (also OS 10.6).  B

  • Multiple Flows of Same Name in One File

    (FM11 on Win7) The Compare Documents utility reports that the same file has multiple flows of the same name, and so does not compare the files. Doh! The report from the utility seems accurate. I see two end-of-flow markers in the file, one on the sec

  • Need suggestion whether to use ATM or MPLS in DSL implementation

    Presently i am working in ISP, and we are providing internet access via simple dialup, ISDN and IVS. and now we want to implement DSL i ve talk with few peoples regarding whether to use ATM or MPLS in DSL implementation but because they are solution

  • Stacked canvas dimentions problem

    Hello Why if i had used an inherited stacked canvas and tried 2 change the height and width of it ... it doesn't change it remains with the same size,can any body answer me why it behaves like this...!? Thanks in advance, Regards, Abdetu...

  • Hp 7510 not putting ink on paper

    Hp 7510 was working fine.  off line for month.  Plenty of ink (new cart) printing blank pages now/reset. ran diagnostic.reloaded ink.reloaded paper.reset printer to network. restarted.  Help