Error while trying to validate two input boxes at client side.

This is the code i am using to validate two input boxes.
I get an error in the IE which says: <b>'undefined is null or not an object'</b>
       function validateInput(){
            var noNull = validateNull();
            var noNullTwo = validateNullTwo();
            if(noNull==true)
            else
                 alert("Enter values");
                 htmlbevent.cancelSubmit="true";
     function validateNull(){
          var startRange;
          funcName = htmlb_formid + "_getHtmlbElementId";
          func = window[funcName];
          var temp1 = eval(func("range_Start"));
          startRange = temp1.getValue();
          if(startRange == '')
               return false;
          else
              if(startRange.length < 8)
                 alert("Enter the value in proper format");
                 htmlbevent.cancelSubmit="true";
              else
                  return true;
     function validateNullTwo(){
          var endRange;
          funcName2 = htmlb_formid + "_getHtmlbElementId";
          func2 = window[funcName2];
          var temp2 = eval(func("range_End"));
          endRange = temp2.getValue();
          if(startRange == '')
               return false;
          else
              if(endRange.length < 8)
                 alert("Enter the value in proper format");
                 htmlbevent.cancelSubmit="true";
              else
                  return true;
     </script>
   <hbj:form id="myFormId" >
     <hbj:textView id="title" text="Enter Sales Order Search Range" design="HEADER2"/><br><br>
     <hbj:label id="lb_SearchStart" text="Start Range:" labelFor="range_Start" />
     <hbj:inputField id="range_Start" jsObjectNeeded="true" type="string" required="true" maxlength="25"/>
     <hbj:label id="lb_SearchEnd" text="End Range:" labelFor="range_End" />
     <hbj:inputField id="range_End" type="string" maxlength="25"/><br><br>
     <hbj:button id="submit" text="Search!" tooltip="Click me to Search" onClientClick="validateInput()" onClick="searchPressed" design="emphasized" />
   </hbj:form>
  </hbj:page>

Hi Portal Newbie,
   Please follow the below code. One i/p filed ,a button and a Java Script function.
    In the function i searched with only null, if you want you can perform another function.
   If you have any issues, please write me back.
  <hbj:inputField
        id="SystemId"
     disabled="false"
     type="string"
     maxlength="60"
     value=""
     jsObjectNeeded="true" />
  <hbj:button
        id="Search"
       text="Update"
       width="125px"
        tooltip=""
        onClick="UpdateSystem"
        onClientClick="validateFields()"
        disabled="false"
        design="EMPHASIZED"/>
<script language= "JavaScript" >
     function validateFields(){
       var funcName=htmlb_formid+"_getHtmlbElementId";
       func=window[funcName];
       var inputfield=eval(func("SystemId"));
       var value=inputfield.getValue();
       if(value=="")
         alert("Please enter a value");
</script>
Thanks,
Sridhar

Similar Messages

  • Error while trying to connect to weblogic from remote client

    Hi
    I was trying to connect to JMX MBeanserver from a aremote client using some sample code that was posted. Ive tried even the samples that I found in the Admin Guide itself. Im not certain if any server configuration is needed. Ive tried the below with all three protocols t3, iiop, http with the same result. I had also enabled IIOP on the server through the console.
    I get an error when trying to conenct using the JMXConnection Factory i.e. at the last line of the following code:
    String protocol = "t3"; // can be t3, http, iiop
    String hostname = "santapoco.eng";
    int port = 7001;
    String uri = "/jndi/"+"weblogic.management.mbeanservers.runtime";
    JMXServiceURL serviceURL = new JMXServiceURL(protocol, hostname, port, uri);
    Hashtable h = new Hashtable();
    h.put(Context.SECURITY_PRINCIPAL, "weblogic");
    h.put(Context.SECURITY_CREDENTIALS, "weblogic");
         h.put(JMXConnectorFactory.PROTOCOL_PROVIDER_PACKAGES, "weblogic.management.remote");
    JMXConnector connector =JMXConnectorFactory.connect(serviceURL, h);
    The error is:
    "Root exception is java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
         java.io.EOFException]
         at weblogic.jrmp.Context.lookup(Context.java:189)"

    Pratima Gogineni <> writes:
    This is what worked for me:
    URI uri = new URI(args[0]);
    JMXServiceURL serviceURL =
    new JMXServiceURL(uri.getScheme(), uri.getHost(), uri.getPort(),
    "/jndi/weblogic/management/mbeanservers/runtime");
    Hashtable h = new Hashtable();
    h.put(Context.SECURITY_PRINCIPAL, "system");
    h.put(Context.SECURITY_CREDENTIALS, "ejb2come");
    // String[] jmxCredentials = new String[]{ "system", "ejb2come" };
    // h.put(JMXConnector.CREDENTIALS, jmxCredentials);
    h.put(JMXConnectorFactory.PROTOCOL_PROVIDER_PACKAGES,
    "weblogic.management.remote");
    h.put(Context.PROVIDER_URL, args[0]);
    // h.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.cosnaming.CNCtxFactory");
    h.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
    // InitialContext ic = new InitialContext(h);
    // ic.lookup("weblogic/management");
    JMXConnector connector = JMXConnectorFactory.connect(serviceURL, h);
    MBeanServerConnection connection = connector.getMBeanServerConnection();
    NOTE this was with weblogic 91--

  • Error while trying to run a secure web proxy client

    Hi,
    I was able to generate a secure proxy client using JDev10.1.3 and I'm able to open the jks file using the keytool gui client. The jks file does not appear to be corrupt or tampered with in anyway. However, when I try to run the secure proxy client, I'm getting the following error:
    Nov 28, 2006 12:42:57 PM oracle.security.jazn.util.KeyStoreUtil loadKeystore
    SEVERE: Error reading keystore data
    java.io.IOException: Keystore was tampered with, or password was incorrect
         at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:768)
         at java.security.KeyStore.load(KeyStore.java:1150)
         at oracle.security.jazn.util.KeyStoreUtil.loadKeystore(KeyStoreUtil.java:260)
         at oracle.security.wss.config.ConfigVisitor.validateKeyStore(ConfigVisitor.java:225)
         at oracle.security.wss.config.ConfigVisitor.visitPortConfig(ConfigVisitor.java:116)
         at oracle.security.wss.interceptors.SecurityPortDescriptor.validate(SecurityPortDescriptor.java:182)
         at oracle.security.wss.interceptors.SecurityPortDescriptor.configure(SecurityPortDescriptor.java:156)
         at oracle.j2ee.ws.client.mgmt.runtime.ClientInterceptorPortRuntime.reconfigure(ClientInterceptorPortRuntime.java:57)
         at oracle.j2ee.ws.client.mgmt.runtime.ClientInterceptorPortRuntime.<init>(ClientInterceptorPortRuntime.java:34)
         at oracle.j2ee.ws.client.mgmt.runtime.ClientInterceptorRuntime.createInterceptorPort(ClientInterceptorRuntime.java:155)
         at oracle.j2ee.ws.common.mgmt.runtime.InterceptorContainerImpl.setupPort(InterceptorContainerImpl.java:80)
         at oracle.j2ee.ws.common.mgmt.runtime.InterceptorContainerImpl.handlePortChange(InterceptorContainerImpl.java:165)
         at oracle.j2ee.ws.common.mgmt.runtime.InterceptorContainerImpl.handleChange(InterceptorContainerImpl.java:254)
         at oracle.j2ee.ws.common.mgmt.runtime.AbstractInterceptorConfig.notifyConfigListeners(AbstractInterceptorConfig.java:47)
         at oracle.j2ee.ws.common.mgmt.runtime.AbstractInterceptorConfig.notifyConfigListeners(AbstractInterceptorConfig.java:54)
         at oracle.j2ee.ws.client.mgmt.runtime.ClientInterceptorConfig.parsePortElement(ClientInterceptorConfig.java:88)
         at oracle.j2ee.ws.client.mgmt.runtime.ClientInterceptorConfig.load(ClientInterceptorConfig.java:56)
         at oracle.j2ee.ws.common.mgmt.runtime.InterceptorContainerImpl.initializeContainer(InterceptorContainerImpl.java:41)
         at oracle.j2ee.ws.client.mgmt.runtime.ClientInterceptorPipeline.init(ClientInterceptorPipeline.java:76)
         at oracle.j2ee.ws.client.StubBase.setupInterceptor(StubBase.java:333)
         at oracle.j2ee.ws.client.StubBase.setupConfig(StubBase.java:300)
         at sevissecuredirectclientv2.proxy.runtime.SevisServiceSoapBinding_Stub.<init>(SevisServiceSoapBinding_Stub.java:47)
         at sevissecuredirectclientv2.proxy.runtime.ValidatingSevisServiceProxyService_Impl.getSevisService(ValidatingSevisServiceProxyService_Impl.java:60)
         at sevissecuredirectclientv2.proxy.SevisServiceClient.<init>(SevisServiceClient.java:18)
         at sevissecuredirectclientv2.proxy.SevisServiceClient.main(SevisServiceClient.java:26)
    SEVERE: Invalid port config oracle.security.wss.config.SecurityPortImpl@1d10a5c
    java.lang.RuntimeException: Invalid port config : Error reading keystore data
         at oracle.security.wss.interceptors.SecurityPortDescriptor.configure(SecurityPortDescriptor.java:159)
         at oracle.j2ee.ws.client.mgmt.runtime.ClientInterceptorPortRuntime.reconfigure(ClientInterceptorPortRuntime.java:57)
         at oracle.j2ee.ws.client.mgmt.runtime.ClientInterceptorPortRuntime.<init>(ClientInterceptorPortRuntime.java:34)
         at oracle.j2ee.ws.client.mgmt.runtime.ClientInterceptorRuntime.createInterceptorPort(ClientInterceptorRuntime.java:155)
         at oracle.j2ee.ws.common.mgmt.runtime.InterceptorContainerImpl.setupPort(InterceptorContainerImpl.java:80)
         at oracle.j2ee.ws.common.mgmt.runtime.InterceptorContainerImpl.handlePortChange(InterceptorContainerImpl.java:165)
         at oracle.j2ee.ws.common.mgmt.runtime.InterceptorContainerImpl.handleChange(InterceptorContainerImpl.java:254)
         at oracle.j2ee.ws.common.mgmt.runtime.AbstractInterceptorConfig.notifyConfigListeners(AbstractInterceptorConfig.java:47)
         at oracle.j2ee.ws.common.mgmt.runtime.AbstractInterceptorConfig.notifyConfigListeners(AbstractInterceptorConfig.java:54)
         at oracle.j2ee.ws.client.mgmt.runtime.ClientInterceptorConfig.parsePortElement(ClientInterceptorConfig.java:88)
         at oracle.j2ee.ws.client.mgmt.runtime.ClientInterceptorConfig.load(ClientInterceptorConfig.java:56)
         at oracle.j2ee.ws.common.mgmt.runtime.InterceptorContainerImpl.initializeContainer(InterceptorContainerImpl.java:41)
         at oracle.j2ee.ws.client.mgmt.runtime.ClientInterceptorPipeline.init(ClientInterceptorPipeline.java:76)
         at oracle.j2ee.ws.client.StubBase.setupInterceptor(StubBase.java:333)
         at oracle.j2ee.ws.client.StubBase.setupConfig(StubBase.java:300)
         at sevissecuredirectclientv2.proxy.runtime.SevisServiceSoapBinding_Stub.<init>(SevisServiceSoapBinding_Stub.java:47)
         at sevissecuredirectclientv2.proxy.runtime.ValidatingSevisServiceProxyService_Impl.getSevisService(ValidatingSevisServiceProxyService_Impl.java:60)
         at sevissecuredirectclientv2.proxy.SevisServiceClient.<init>(SevisServiceClient.java:18)
         at sevissecuredirectclientv2.proxy.SevisServiceClient.main(SevisServiceClient.java:26)
    SEVERE: Error reading keystore data
    java.io.IOException: Keystore was tampered with, or password was incorrect
         at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:768)
         at java.security.KeyStore.load(KeyStore.java:1150)
         at oracle.security.jazn.util.KeyStoreUtil.loadKeystore(KeyStoreUtil.java:260)
         at oracle.security.wss.config.ConfigVisitor.validateKeyStore(ConfigVisitor.java:225)
         at oracle.security.wss.config.ConfigVisitor.visitPortConfig(ConfigVisitor.java:116)
         at oracle.security.wss.interceptors.SecurityPortDescriptor.validate(SecurityPortDescriptor.java:182)
         at oracle.security.wss.interceptors.SecurityPortDescriptor.configure(SecurityPortDescriptor.java:149)
         at oracle.security.wss.interceptors.AbstractSecurityInterceptor.init(AbstractSecurityInterceptor.java:86)
         at oracle.j2ee.ws.common.mgmt.runtime.InterceptorChainImpl.createInterceptor(InterceptorChainImpl.java:82)
         at oracle.j2ee.ws.common.mgmt.runtime.InterceptorChainImpl.<init>(InterceptorChainImpl.java:46)
         at oracle.j2ee.ws.client.mgmt.runtime.ClientPortRuntime.getInterceptorChain(ClientPortRuntime.java:146)
         at oracle.j2ee.ws.client.mgmt.runtime.ClientInterceptorPipeline.init(ClientInterceptorPipeline.java:79)
         at oracle.j2ee.ws.client.StubBase.setupInterceptor(StubBase.java:333)
         at oracle.j2ee.ws.client.StubBase.setupConfig(StubBase.java:300)
         at sevissecuredirectclientv2.proxy.runtime.SevisServiceSoapBinding_Stub.<init>(SevisServiceSoapBinding_Stub.java:47)
         at sevissecuredirectclientv2.proxy.runtime.ValidatingSevisServiceProxyService_Impl.getSevisService(ValidatingSevisServiceProxyService_Impl.java:60)
         at sevissecuredirectclientv2.proxy.SevisServiceClient.<init>(SevisServiceClient.java:18)
         at sevissecuredirectclientv2.proxy.SevisServiceClient.main(SevisServiceClient.java:26)
    SEVERE: Invalid port config oracle.security.wss.config.SecurityPortImpl@1d10a5c
    java.lang.RuntimeException: Invalid port config : Error reading keystore data
         at oracle.security.wss.interceptors.SecurityPortDescriptor.configure(SecurityPortDescriptor.java:159)
         at oracle.security.wss.interceptors.AbstractSecurityInterceptor.init(AbstractSecurityInterceptor.java:86)
         at oracle.j2ee.ws.common.mgmt.runtime.InterceptorChainImpl.createInterceptor(InterceptorChainImpl.java:82)
         at oracle.j2ee.ws.common.mgmt.runtime.InterceptorChainImpl.<init>(InterceptorChainImpl.java:46)
         at oracle.j2ee.ws.client.mgmt.runtime.ClientPortRuntime.getInterceptorChain(ClientPortRuntime.java:146)
         at oracle.j2ee.ws.client.mgmt.runtime.ClientInterceptorPipeline.init(ClientInterceptorPipeline.java:79)
         at oracle.j2ee.ws.client.StubBase.setupInterceptor(StubBase.java:333)
         at oracle.j2ee.ws.client.StubBase.setupConfig(StubBase.java:300)
         at sevissecuredirectclientv2.proxy.runtime.SevisServiceSoapBinding_Stub.<init>(SevisServiceSoapBinding_Stub.java:47)
         at sevissecuredirectclientv2.proxy.runtime.ValidatingSevisServiceProxyService_Impl.getSevisService(ValidatingSevisServiceProxyService_Impl.java:60)
         at sevissecuredirectclientv2.proxy.SevisServiceClient.<init>(SevisServiceClient.java:18)
         at sevissecuredirectclientv2.proxy.SevisServiceClient.main(SevisServiceClient.java:26)
    Process exited with exit code 0.
    I'm using X509 to authentic.
    Please help.
    Thanks in advance for your quick response.
    Regards,
    David R

    I am using a single self signed certificate created using keytool on both the client and server end.
    Tried this sample code to fetch the WSDL of my webservice. Successfully did this.
    ===========================================================
    import HTTPClient.HTTPConnection;
    import HTTPClient.HTTPResponse;
    import javax.security.cert.X509Certificate;
    import oracle.security.ssl.OracleSSLCredential;
    import java.io.IOException;
    import javax.net.ssl.SSLPeerUnverifiedException;
    import javax.net.ssl.SSLSession;
    public class SSLSocketClientWithClientAuth {
    public static void main(String[] args) {
    if (args.length < 4) {
    System.out.println("Usage: java HTTPSConnectionTest [host] [port] " +
    "[wallet] [password]");
    System.exit(-1);
    String hostname = args[0].toLowerCase();
    int port = Integer.decode(args[1]).intValue();
    String walletPath = args[2];
    String password = args[3];
    HTTPConnection httpsConnection = null;
    OracleSSLCredential credential = null;
    try {
    httpsConnection = new HTTPConnection("https", hostname, port);
    } catch (IOException e) {
    System.out.println("HTTPS Protocol not supported");
    System.exit(-1);
    try {
    credential = new OracleSSLCredential();
    credential.setWallet(walletPath, password);
    } catch (IOException e) {
    System.out.println("Could not open wallet");
    System.exit(-1);
    httpsConnection.setSSLEnabledCipherSuites(new String[]{"SSL_RSA_WITH_RC4_128_SHA","SSL_RSA_WITH_3DES_EDE_CBC_SHA","SSL_RSA_WITH_RC4_128_MD5","SSL_RSA_WITH_DES_CBC_SHA","SSL_DH_anon_WITH_3DES_EDE_CBC_SHA"});
    // httpsConnection.setSSLCredential(credential);
    System.out.println("Set credentials and cipher suite");
    try {
    httpsConnection.connect();
    System.out.println("Connected!!!!!");
    } catch (IOException e) {
    System.out.println("Could not establish connection");
    e.printStackTrace();
    System.exit(-1);
    //javax.servlet.request.
    X509Certificate[] peerCerts = null;
    /* try {
    SSLSession sslSession = httpsConnection.getSSLSession();
    System.out.println("Getting session.........");
    httpsConnection.connect();
    }catch(Exception e){
    e.printStackTrace();
    System.out.println("null Getting session.........");
    System.exit(-1);
    try{
    peerCerts =
    (httpsConnection.getSSLSession()).getPeerCertificateChain();
    } catch (javax.net.ssl.SSLPeerUnverifiedException e) {
    System.err.println("Unable to obtain peer credentials");
    e.printStackTrace();
    System.exit(-1);
    String peerCertDN =
    peerCerts[peerCerts.length - 1].getSubjectDN().getName();
    peerCertDN = peerCertDN.toLowerCase();
    if (peerCertDN.lastIndexOf("cn=" + hostname) == -1) {
    System.out.println("Certificate for " + hostname +
    " is issued to " + peerCertDN);
    System.out.println("Aborting connection");
    System.exit(-1);
    try {
    HTTPResponse rsp = httpsConnection.Get("/spmlws/HttpSoap11?wsdl");
    System.out.println("Server Response: ");
    System.out.println(rsp.getText());
    System.out.println("Server Response: ");
    System.out.println(rsp.getText());
    } catch (Exception e) {
    System.out.println("Exception occured during Get");
    e.printStackTrace();
    System.exit(-1);
    =====================================================
    But on using the client proxy generated for my webserice using JDeveloper and then setting the system properties such as
    System.setProperty("javax.net.ssl.keyStore",keyStore);
    System.setProperty("javax.net.ssl.keyStorePassword", keyStorePassword);
    System.setProperty("javax.net.ssl.trustStore", trustStore);
    System.setProperty("javax.net.ssl.trustStorePassword",trustStorePassword);
    System.setProperty("javax.net.ssl.keyStoreType","JKS");
    System.setProperty("javax.net.ssl.trustStoreType","JKS");
    I get the following exception:
    <MSG_TEXT>IOException in ServerSocketAcceptHandler$AcceptHandlerHorse:run</MSG_TEXT>
    <SUPPL_DETAIL><![CDATA[javax.net.ssl.SSLProtocolException: handshake alert: no_certificate
                at com.sun.net.ssl.internal.ssl.ServerHandshaker.handshakeAlert(ServerHandshaker.java:1031)
                at com.sun.net.ssl.internal.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1535)
                at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:863)
                at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1025)
                at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1038)
                at oracle.oc4j.network.ServerSocketAcceptHandler.doSSLHandShaking(ServerSocketAcceptHandler.java:250)
                at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:868)
                at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
                at java.lang.Thread.run(Thread.java:595)
    ]]></SUPPL_DETAIL>
    Please if anybody can help me with this!!!!
    Thanks in advance
    Nilesh

  • 403 Forbidden Error while trying to access External SharePoint site Via Client Object Model

    Hi,
    I am accessing the External SharePoint site from an intranet. When I try to access local sharepoint site in my intranet via Client object model to upload few documents into a library, it works perfectly fine without any issues.
    But when I try to do the same (upload few docs ) to an external SharePoint 2010 site out of my intranet from my intranet, I get 403, forbidden error. It looks like there is some issue with login credentials of this site. But when I try to navigate to the
    site URL in Visual studio  2010, it asks for credentials and takes me to home page.
    I supplied the credentials in different forms like
    ctx.Credentials = new NetworkCredential("username", "password", "domain");
    and
    clientContext.AuthenticationMode = ClientAuthenticationMode.FormsAuthentication;
    and
    FormsAuthenticationLoginInfo formsAuthInfo = new FormsAuthenticationLoginInfo("MyUser", "MyPassword");
    clientContext.FormsAuthenticationLoginInfo = formsAuthInfo;
    but nothing seems working and I get the Same 403 error. What am I missing here?
    Thanks,
    K.V.N.PAVAN

    Hi Pal,
    Thanks for posting your query, Just try to add credentials to your clientContext object as mentioned below
    NetworkCredential credentials =
         new NetworkCredential("username", "pwd", "domain");
    clientContext .Credentials = credentials;
    or use
    clientContext.Credentials = System.Net.CredentialCache.DefaultNetworkCredentials;
    I hope this will be helpful to you, If this works, Please mark it as Answered.
    Regards,
    Dharmendra Singh (MCPD-EA | MCTS)
    Blog :http://sharepoint-community.net/profile/DharmendraSingh

  • Error while trying to retrieve text for error ORA-12154

    Hello,
    I try to install php 5.1.2 on a WIN2003 server and IIS6 with the OCi8 extension without success from several days.
    On my server I've a 920 oracle client and the 10.1 instant client, I copy the tnsnames.ora in the instant client's directory.
    I've declare many environnement variables :
    - NLS_LANG : AMERICAN_AMERICA.WE8MSWIN1252
    - TNS_ADMIN : E:\...\oracle\instantclient_10_1
    - ORA_NLS33 : E:\..\oracle\920\ocommon\nls\ADMIN\DATA
    With the php command line the oci_connect function correctly works : the php command line use the instant client's tnsnames.ora. I can query with success my database.
    When I try to load a web php script (the same as the php command line script) I have the following error " Error while trying to retrieve text for error ORA-12154" ( oci_connect( $user , $pass, $sid ) . The $sid variable have the value of an alias declared in the tnsnames.ora.
    If I replace the sid's alias by something like this " (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=xx.xx.xx.xx)(PORT=1521)))(CONNECT_DATA=(SID=xx)" in the oci_connect function, I have another error : Error while trying to retrieve text for error ORA-12705.
    A web page with the phpinfo function displays the following messages about oci8 extension : It seems to be correct.
    oci8
    OCI8 Support enabled
    Revision $Revision: 1.269.2.8 $
    Active Persistent Connections 0
    Active Connections 0
    Temporary Lob support enabled
    Collections support enabled
    Do you have any idea ? Thanks a lot

    The web server is not seeing the Oracle environment correctly. You need to set PATH to the instant client libraries. ORA_NLS33 is not used for Oracle 10g clients. Perhaps you have some library conflict with two versions of Oracle on the machine?
    These may help:
    http://www.oracle.com/technology/tech/php/htdocs/php_troubleshooting_faq.html#envvars
    http://blogs.oracle.com/opal/2006/05/01

  • Error while trying to remove an object with dsrm command

    hello,
    i get an error while trying to delete an object computer with the command line tool, DSRM. i get this view:
    actually, it's a one of hundreds of commands, that help cleaning the active directory of the obsolete objects. it is saying : "Access Denied" (in french, accès refusé). i say that the account used to execute this command, is a member of domain
    admins group, and enterprise admins group too. so i cannot believe it's a mater of some missing rights... :/
    thanks in advance, for your help,
    regards
    Lotfi BOUCHERIT

    Hi,
    I was able to reproduce your issue when using a non-elevated command prompt in a 2008R2 box. So please try to elevate your command prompt and your command will most likely go through.
    In addition to above, I'd suggest you look in to PowerShell instead, which in most cases is more effective.(and doesn't need to run in an elevated prompt to make AD-Changes)
    The same as above could be done with the powershell cmdlet Remove-AdComputer.
    Remove-AdComputer -Identity "Distinguishedname"
    Hope this helps you!
    Microsoft Certified Trainer
    MCSE: Desktop, Server, Private Cloud, Messaging
    Blog: http://365lab.net

  • "error while trying to synchronize Audio and MIDI"

    Hello All,
    Just got Logic 8... installed (as upgrade from 7)
    I keep (consistantly) getting this:
    "error while trying to synchronize Audio and MIDI" when in play or record mode... has anyone any ideas regarding a 'fix' or maybe even to point out stupidity on my part re settings; I'm open to comments here and would obviously love to get this fixed/sorted out.
    System is basically: G5 Dual 1.8/OS 10.4.10/MOTU 828 Mk2
    Thanks in advance.

    Hi,
    I first did what the manual was telling me but that made no difference as the sync would drop within 5 to 15 bars... very frustrating.
    Since my original posting I have spoken with MOTU regarding this Audio/MIDI sync problem. There is evidently a simple reset that needs to be done (that is if like me you are using a MOTU 828 Mk2 interface), you have to toggle through both digital input and output settings in the Audio Control Panel. The problem then goes away.
    I hope that is helpful. I think that this probably is relevant to all MOTU interfaces, or is at least worth trying if you are having this problem... maybe other manufacturers too... ?
    Cheers, Kick

  • Error while trying to synchronize audio and MIDI.  Sample rate 42804 recognized.  Check conflict between Garageband and external device.

    Sometimes, while playing back my software instrument songs, I get an intermittent pop-up error message, saying "Error while trying to synchronize audio and MIDI.  Sample rate 42804 recognized.  Check conflict between Garageband and external device."
    (Sometimes the five digit number is different, but remains a five-digit number beginning with "4".)
    Simultaneously, the song stops until I press the "Okay" button in the pop-up window.
    When I continue to play the song, the sound is jerky and clipped, and the playhead doesn't keep up with the song, and then suddenly jumps to the part of the song currently being played.
    There's also a sound of static.
    The issue seems to occur whether or not I have my MIDI controller turned on and plugged into my desktop Imac.
    Tony

    Hello,
    open your Audio MIDI Setup utility and set the input to 44100
    https://discussions.apple.com/message/12710638#12710638

  • Error while trying to sync audio and MIDI, sample rate 39100 recognised??

    When I press record a message appears saying 'error while trying to syncronise audio and MIDI, sample rate 39100 recognised. Check conflict between garage band and external device. I'm using a Behringer UMC-202 interface. The inputs are selected as the device but no audio is present either.

    Just click the icon on each track that stops it acting as a live input. It looks like a sound wave. Only have them clicked orange when using the track to record! I don't know if that will solve your problem!

  • How to solve: Error while trying to synchronize Audio and MIDI.

    The project consists of an hour long DVD of a play which I have loaded into Logic ( on a MacbookPro) and stripped the audio
    and cut it up into regions  to name the different parts of the play ( verse/music etc)
    Usually I am able to play the project with a small window showing the Movie and watching the audio in the back ground adding markers and notes.
    Most of the time this works fine.. but then I get the following message re-occurring every few seconds:
    "Error while trying to synchronize Audio and MIDI.
    Sample Rate 26848 recognized.
    Check conflict between Logic Pro and external device"
    There is no MIDI, there is no external device, the Sample Rate is the usual 44.1
    Can anyone explain how to stop getting this error message which keeps interrupting workflow?

    Hello,
    open your Audio MIDI Setup utility and set the input to 44100
    https://discussions.apple.com/message/12710638#12710638

  • Solution for "Error while trying to synchronize Audio and MIDI" and "System Overload" messages

    Article for those who hate Logic error windows
    Seen in Logic Pro 9.1.7 on Mac OS X Lion 10.7.4
    and Logic Pro 9.0.0 on Mac OS X Snow Leopard 10.6.5
    Logic Pro:
    System Overload.
    The audio engine was not able to process all required data in time.
    (-10011)
    Error while trying to synchronize Audio and MIDI.
    Sample Rate xxxxx recognized.
    Check conflict between Logic Pro and external device.
    The search in the help given as follows: overload occurs when you use a lot of tracks and a lot of effects on them, and the synchronization is lost when the selected MIDI track for recording or playback. Yes, this is all that is written in the resources. And here are useful tips that have been found:
    The Bounce function allows the entire instrument track to be recorded as an audio file. This bounced audio file can then be used (as an audio region) on a standard audio track, allowing you to reassign the available processing power for further software instrument tracks. For more details, see "Bouncing Your Project."
    You can also make use of the Freeze function to capture the output of a software instrument track, again saving processing power. For details, see "Freezing Tracks in the Arrange Area."
    These tips - about the timing. About overload - there are no tips, except as "reducing the number of plug-ins" and "increasing latency". Zero useful tips - I got two errors in the test project with a blank audio track with no effects, MIDI drums and standard synthesizer, it was no aux buses, and the entire project was only a single plugin in the master track.
    Here is the configuration of my computer:
    iMac12, 2
    CPU: Intel Core i5 3,1 GHz
    Memory: 4 GB
    And here's a project that almost immediately stops Logic, all instruments and plug-ins with the init-patch, ie not the most demanding settings:
    It's sad.
    When this happened the first time, I could start the project only if the empty audio track has been selected, a track specially designed so that you can at least start the project. Then, this problem has evaporated along with the changing conditions of work and I forgot about it until the last case.
    I was looking for the cause of the problem in the console and the system monitor for two days, and finally I found that Logic ping to the network frequently. I remembered the exact time of occurrence of the problem, and system logs revealed that the problems began immediately, as soon as I deactivate the service of the Internet.
    Solution: enable the Internet, or add a new network service on a computer with no Internet. I just created the Ethernet connection to the ip address 1.0.0.0
    Logic immediately began to sing.

    Hi gabaghoul
    Yes, it worked for me on four different OS and Logic versions (10.6 - 10.8 and 9.0 - 9.1.6)
    It does not work in some cases, hard enough to tell in which one, but you can try, it very easy: go to the net settings and create new Ethernet connection to the ip address 1.0.0.0 and connect LAN cable to the port.
    Also you can try to figure out what happens in your system while Logic error occured - fot that you just start Console and search "logicpro"
    Pay attention to repetitive events in a console and events with suitable timing, not so far from error
    The problem may be related to the GUI or system memory, sometimes turning off Safari (or Chrome, others browsers) might help.
    Message was edited by: spred

  • GarageBand: Error while trying to synchronize Audio and MIDI.

    This error recently started popping up for me while using garageband.
    GarageBand: Error while trying to synchronize Audio and Midi
    Sample rate xxxxxx recognized
    Check conflict between garageband and external device
    When I use garageband, my input and output are usually set to my scarlett 2i2 interface and I've never received the synchronizing error before today.  I am not using any Midi.
    I've checked the Audio Midi Setup tool to make sure that my format is at 44100.0Hz and have set the "sound" in system preferences to use my scarlett 2i2 interface for input and built-in system for output.
    Can anyone help me out with why i'm receiving this error?

    Good grief!  I'm on a Mac OS X and was having this same problem.  All these discussions about so much technical jargon just had me exhausted ... not only did I not understand what was being referred to, but I couldn't imagine how to do what was being said.
    Here's what got me straight:
    1.  Go to System Preferences and click on Sound
    2.  Click on Input and select your USB mic (or whatever you're using)
    3.  Click on Output and select Internal Speakers
    Done.  No more problem with Garageband!

  • Re: ERROR while trying to synchronize Audio and MIDI

    Hi Guys/Gals
    A bit of a strange one. Yes, I have posted a similar question concerning my trusted 2.7ghz G5 PPC and my Digidesign 003R which it turned out that the Digi's FW ports were to blame.
    New issue. I have just completed an install on a client's machine, here's it's specs etc:
    Hardware:
    iMac 2.8Ghz Duo Core Intel, 4Gb ram, 500Gb HD etc (the custom top end before last week's upgrade) arrived last week. Running Leopard 10.5.2 and has all the latest updates. (firmware/software)
    Apogee Ensemble (with newest firmware update/upgrade)
    Iomega ULTRAMAX HARD DRIVE 1TB USB 2.0/FIREWIRE® 400/800 (sorry, copied from their site)
    M-Audio Axiom 49 USB Midi controller/keyboard
    Software:
    Logic Pro 8 (latest 8.0.1) All standard plugs/samples, no third parties at all, just 100% Apple install.
    Reason 4 (latest 4.0.1)
    I reformatted the built-in hd to two partitions of equal size, one for the OS and one for whatever. I formated the external terrabyte into two partitions also of equal size, non are journalized, all are GUI partitions. I copied the LP 8 demos to both the internal "spare" partition and to the primary "Audio1" partition of the external drive. The Iomega HD is connected via the 800FW port and the Apogee Ensemble is connected via the 400FW port (the iMac has one of each). If I play any of the demo songs from the internal partition, they play perfectly, if I play them off the external Iomega partitions (either) within 8 bars I get:
    "Error while trying to synchronize Audio and MIDI
    Sample Rate 45946 recognized.
    Check conflict between Logic Pro and external device."
    As I said, any demo played back from the internal drives absolutely perfectly..... Any ideas?
    Cheers!!
    Bobs

    There are a lot of different opinions about partitioning in Mac OS X and you can read some of them here:
    http://forums.cnet.com/5208-7592_102-0.html?forumID=25&threadID=44865&messageID= 530144
    and here
    http://forums.appleinsider.com/archive/index.php/t-8096.html
    My opinion is that partitions cam be useful when:
    1. the OS can't manage big volumes (as it was in the past)
    2. the OS can't optimize the space on big volumes
    3. want to install 2 or more separate OSes
    4. organization (like in your case).
    Now, OS X filesystem (HFS+) is robust and reliable and OS X is a multitasking system that parallelizes I/O operations like reading or writing a disk.
    So if you have 2 separate hard disk the system can parallelize the operations (i.e. reading from one and writing into another one) but if you have 2 partitions the system (or better the disk subsystem) have to jump back and forth among the partitions.
    About the linking schema of the Audio interfaces and the FW hard disks it can change: I connect my FW disk to the MOTU and the MOTU to the mac while a friend of mine have to put the disk before of his Presonus.
    Thanks for the beer!
    cheers
    rob

  • (rare?) Error while trying to synchronize Audio and MIDI.

    Hello there,
    My problem: Until today, I've been working with all my projects without any problems with my configuration, but today I've turned on the computer and when I play any project (including a new project with one or two audio tracks or the SAME PROJECT that i've been working the last night), 3 or 4 seconds later I get the fantastic and typical error from logic and an apparently more slow performance loading projects...
    everytime... play, and error...play (or pause) and error...
    "Error while trying to synchronize Audio and MIDI.
    Sample Rate 41347 recognized.
    Check conflict between Logic Pro and external device."
    and sometimes... (randomly)  
    "System Overload. The audio engine was not able to process all required data in time."
    ... and I haven't touched anything / no updates / no setup changes... NOTHING.
    I've tried all these things (searching in the forum) with NO luck:
    http://support.apple.com/kb/TS2111
    http://support.apple.com/kb/TA24535
    My equipment:
    Macbook pro 2,4 Intel Core 2 Duo / 2 GB RAM
    Logic Pro 9.1.3
    Snow Leopard 10.6.7
    Motu ultralite Mk2
    Lacie quadra 1 TB (FW800)
    - I have a motu ultralite mk2, but i've tried with the built-in audio too, and I'll just get the same performance.
    - I've tried with the lacie hardrive on and off and with projects in the internal hardrive and others with all the audios in the external.
    The funny thing is that i've been working in a project this last night and all PERFECT, and now its impossible work with it, and I haven't changed anything.
    PLEASE, any help? I'm confused and I need to finish some works...
    THANKS!

    If the MOTU unit has a reset procedure, unplug it from the Mac and do it now. That's simialr to what the older 828MkII units used do when they needed to be run through the reset procedure.
    It can be caused by a Firewire/USB glitch or power surge when powering up the computer.
    p.s.
    As a side note, I remember that same error.....
    "Error while trying to synchronize Audio and MIDI. Sample Rate 41347 recognized."
    From Logic 3.5, it's been around for that long, with different sample rates of course.
    Back then it was from bad audio drivers.. it's difficult to pin down some of these errors as they can be caused by different things.
    pancenter-

  • Error while trying to assign a role via CUP in Portal

    Hello Experts,
    I am trying to  create a request to assign a role in EP via CUP ( 5.3)
    EP Connector is working fine as I have imported Portal roles etc
    SPML service is working fine
    I have done the  mapping in the Provisioning tab for Portal system
    logonname in portal is email address of an employee
    So the I have done the following mapping
    AC Field                             Application field
    email addres-Stndard       logonname
    And I have the following error while trying to create a request which I grabbed form the log
    ERROR Exception during EJB call, Ignoring and trying Webservice Call
    LinkageError: loader constraints violated when linking com/virsa/cc/xsys/webservices/dto/WSRAInputParamDTO class
    ERROR com.virsa.ae.core.BOException: Exception from the service : Invalid System
    com.virsa.ae.core.BOException: Exception from the service : Invalid System
    ERROR : BO Exception in Save request
    Any suggestions would be really appreciated
    Regards
    Kev

    Kevin,
    I was able to replicate your issue and there is a setting in the CUP that you have to disable, Goto the config tab in the CUP and select NO for the "Risk Analysis On Request Submission " under risk analysis.
    Issue here is you did not create a connector for your EP in the RAR, I believe you have the above mentioned parameter to yes and so when you are submitting a request CUP is trying to do the risk analysis but RAR was not able to find any System, so it is thowing an error.
    You can resolve this issue in two ways, one is to create a connector in RAR or the other is to disable the setting in the CUP.
    Hope this helps.
    Naveen

Maybe you are looking for

  • How do i make my iphone 4 number show on caller id?

    I want my caller id to show when I am calling friends and home.  However, there is no setting on Iphone 4 to do so.  It is not in settings under phone.  Only 3 buttons exist in this mode and neither has anything to do with caller id.  What am I missi

  • This is on Facebook.. I want to know if it's legit

    Sorry for posting this here but I couldn't find ANY other way to ask this question & I'm hoping to get my answer here. A friend shared the following message today on Facebook that's supposedly from Apple. I want to know if it's legit or not. If anyon

  • Using the ComboboxColumn Object with a grid

    Hello everyone, I am writing an addon dealing with user tables, it basically loads data from user tables into a grid and then lets the user perform several operations on it, my problem is that whennever a field contains valid values, the grid display

  • How can I do to deleted an especific aplicación?

    in my Ifhone 5 I have app that I want to eliminated how can I do ?

  • 1 Applicant Number 2 Personnel Number

    Dear Experts, Can we use 1 applicant number for 2 personnel number? Here is the situation, i want to hire former employee but no using the same personnel number, but since there is recruitment process the former employee must follow the process too,