"Security error accessing url" - Accessing HTTP service   running on another machine

Flex app is hosted as web service and is trying t access data
from HTTP Service
running on different machine. It throws following error
[RPC Fault faultString="Security error accessing url"
faultCode="Channel.Security.Error" faultDetail="Destination:
DefaultHTTP"]
at
mx.rpc::AbstractInvoker/
http://www.adobe.com/2006/flex/mx/internal::faultHandler
at mx.rpc::Responder/fault()
at mx.rpc::AsyncRequest/fault()
at ::DirectHTTPMessageResponder/securityErrorHandler()
at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunctio
n()
at flash.events::EventDispatcher/dispatchEvent()
But when I run the HTTP Services (data provider) on same
machine application
works fine.
Already used crossdomain.xml

Sorted the cross domain problem by using mx:Webservice rather
than an httpservice.

Similar Messages

  • Urgent requirement : security error accessing url and http error: standalone flex

    Hi,
    I have a requirement to create record from standalone flex. I am using Flex builder 3.
    I used Flex-force toolkit to login  to salesforce. The swf file generated when used internal to salesforce it works great.
    But my requirement is to run it from public sites page / standalone pages. How will I configure it? I am getting error 'security error accessing url', default HTTP
    The requirement is on priority, please help me to resolve this issue.
    The login code is also furnished below. please help.
    Full error details:
    (com.salesforce.events::ApexFaultEvent)#0
      bubbles = false
      cancelable = true
      context = (null)
      currentTarget = (null)
      eventPhase = 2
      fault = (mx.rpc::Fault)#1
        content = (null)
        errorID = 0
        faultCode = "Channel.Security.Error"
        faultDetail = "Destination: DefaultHTTP"
        faultString = "Security error accessing url"
        message = "faultCode:Channel.Security.Error faultString:'Security error accessing url' faultDetail:'Destination: DefaultHTTP'"
        name = "Error"
        rootCause = (flash.events::SecurityErrorEvent)#2
          bubbles = false
          cancelable = false
          currentTarget = (flash.net::URLLoader)#3
            bytesLoaded = 0
            bytesTotal = 0
            data = (null)
            dataFormat = "text"
          eventPhase = 2
          target = (flash.net::URLLoader)#3
          text = "Error #2170: Security sandbox violation: file:///C|/Users/R/DOCUME%7E1/FLEXBU%7E1/TESTLO%7E1/BIN%2DRE%7E1/TESTLO%7E1.SWF cannot send HTTP headers to https://login.salesforce.com/services/Soap/u/14.0?1000.1153011256829."
          type = "securityError"
      headers = (null)
      message = (mx.messaging.messages::ErrorMessage)#4
        body = (null)
        clientId = "DirectHTTPChannel0"
        correlationId = "B8A1B02E-CE17-DCBA-4894-F2E4CBEB7C04"
        destination = ""
        extendedData = (null)
        faultCode = "Channel.Security.Error"
        faultDetail = "Destination: DefaultHTTP"
        faultString = "Security error accessing url"
        headers = (Object)#5
          DSStatusCode = 0
        messageId = "41F6A90D-ECAE-EA2D-7C84-F2E4DABD72F3"
        rootCause = (flash.events::SecurityErrorEvent)#2
        timestamp = 0
        timeToLive = 0
      messageId = "41F6A90D-ECAE-EA2D-7C84-F2E4DABD72F3"
      statusCode = 0
      target = (null)
      token = (mx.rpc::AsyncToken)#6
        message = (mx.messaging.messages::HTTPRequestMessage)#7
          body = "<se:Envelope xmlns:se="http://schemas.xmlsoap.org/soap/envelope/"><se:Header xmlns:sfns="urn:partner.soap.sforce.com"/><se:Body><login xmlns="urn:partner.soap.sforce.com" xmlns:ns1="sobject.partner.soap.sforce.com"><username>uname</username><password>pwdandsec token</password></login></se:Body></se:Envelope>"
          clientId = (null)
          contentType = "text/xml; charset=UTF-8"
          destination = "DefaultHTTP"
          headers = (Object)#8
            DSEndpoint = "direct_http_channel"
          httpHeaders = (Object)#9
            Accept = "text/xml"
            SOAPAction = """"
            X-Salesforce-No-500-SC = "true"
          messageId = "B8A1B02E-CE17-DCBA-4894-F2E4CBEB7C04"
          method = "POST"
          recordHeaders = false
          timestamp = 0
          timeToLive = 0
          url = "https://login.salesforce.com/services/Soap/u/14.0?1000.1153011256829"
        responders = (Array)#10
          [0] (::SalesForceResponder)#11
        result = (null)
      type = "fault"
    Login code:
    [Bindable] public var sfdc:Connection = new Connection();
    private function login():void {
    Security.loadPolicyFile("http://salesforce.com/services/crossdomain.xml");
    var lr:LoginRequest = new LoginRequest();
    lr.username = "uname";
    lr.password = "pwdtoken";
    sfdc.protocol = "https";
    sfdc.serverUrl = "https://login.salesforce.com/services/Soap/u/14.0";
    lr.callback = new AsyncResponder(loginSuccess, loginFault);
    sfdc.login(lr);

    This is resolved.
    I have copied the crossdomain.xml file to tomcat Root folder
    and the issue is resolved.

  • Lightroom 5. I've reinstalled it on a macbook pro but when I click "Develop" it states the module is disabled and I need to purchase a licence but I've got a full licence and it's running on another machine. How do I fix it?

    Lightroom 5. I've reinstalled it on a macbook pro but when I click "Develop" it states the module is disabled and I need to purchase a licence but I've got a full licence and it's running on another machine. How do I fix it?

    Lightroom doesn't launch or returns "Develop module is disabled" error after 5.5 update

  • I accessed the page protected by ADF security using direct url access attac

    hi,
    I played with my application which is based on SRDemo code (with added ADF security handling protection of resources) using direct url access scenarios. I was able to access a protected page as authenticated but not authorized user. I'll try to explain what I did.
    There are two folders/web resources in my application, faces/folderA/* and faces/folderB/*.
    roleA only is configured to access first web resource and the roleB is configured to access the second resource.
    I used ADF security to authorize only roleA for page in folderA and to authorize only roleB for page in folderB.
    I configured error pages in web.xml:
    <error-page>
    <error-code>400</error-code>
    <location>faces/error/error400.jspx</location>
    </error-page>
    <error-page>
    <error-code>401</error-code>
    <location>faces/error/error401.jspx</location>
    </error-page>
    <error-page>
    <error-code>403</error-code>
    <location>faces/error/error403.jspx</location>
    </error-page>
    <error-page>
    <error-code>404</error-code>
    <location>faces/error/error404.jspx</location>
    </error-page>
    <error-page>
    <exception-type>java.lang.Throwable</exception-type>
    <location>faces/error/error500.jspx</location>
    </error-page>
    Other config params are:
    <login-config>
    <auth-method>FORM</auth-method>
    <form-login-config>
    <form-login-page>infrastructure/ABLogin.jspx</form-login-page>
    <form-error-page>faces/error/error401.jspx</form-error-page>
    </form-login-config>
    </login-config>
    <security-constraint>
    <web-resource-collection>
    <web-resource-name>AB Prototype</web-resource-name>
    <url-pattern>faces/ABAbout.jspx</url-pattern>
    <url-pattern>faces/ABHelp.jspx</url-pattern>
    <url-pattern>faces/ABLogout.jspx</url-pattern>
    <url-pattern>faces/ABWelcome.jspx</url-pattern>
    </web-resource-collection>
    <auth-constraint>
    <role-name>A</role-name>
    <role-name>B</role-name>
    </auth-constraint>
    </security-constraint>
    <security-constraint>
    <web-resource-collection>
    <web-resource-name>AZone</web-resource-name>
    <url-pattern>faces/folderA/*</url-pattern>
    </web-resource-collection>
    <auth-constraint>
    <role-name>A</role-name>
    </auth-constraint>
    </security-constraint>
    <security-constraint>
    <web-resource-collection>
    <web-resource-name>BZone</web-resource-name>
    <url-pattern>faces/folderB/*</url-pattern>
    </web-resource-collection>
    <auth-constraint>
    <role-name>B</role-name>
    </auth-constraint>
    </security-constraint>
    <filter>
    <filter-name>adfBindings</filter-name>
    <filter-class>oracle.adf.model.servlet.ADFBindingFilter</filter-class>
    <init-param>
    <param-name>unauthorizedErrorPage</param-name>
    <param-value>faces/error/error401.jspx</param-value>
    </init-param>
    </filter>
    <filter>
    <filter-name>adfFaces</filter-name>
    <filter-class>oracle.adf.view.faces.webapp.AdfFacesFilter</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>adfBindings</filter-name>
    <url-pattern>*.jsp</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>adfBindings</filter-name>
    <url-pattern>*.jspx</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>adfFaces</filter-name>
    <url-pattern>*.jsp</url-pattern>
    <dispatcher>FORWARD</dispatcher>
    <dispatcher>REQUEST</dispatcher>
    <dispatcher>ERROR</dispatcher>
    </filter-mapping>
    <filter-mapping>
    <filter-name>adfFaces</filter-name>
    <url-pattern>*.jspx</url-pattern>
    <dispatcher>FORWARD</dispatcher>
    <dispatcher>REQUEST</dispatcher>
    <dispatcher>ERROR</dispatcher>
    </filter-mapping>
    <servlet>
    <servlet-name>Faces Servlet</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet>
    <servlet-name>resources</servlet-name>
    <servlet-class>oracle.adf.view.faces.webapp.ResourceServlet</servlet-class>
    </servlet>
    <servlet>
    <servlet-name>adfAuthentication</servlet-name>
    <servlet-class>oracle.adf.share.security.authentication.AuthenticationServlet</servlet-class>
    <load-on-startup>2</load-on-startup>
    </servlet>
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>/faces/*</url-pattern>
    </servlet-mapping>
    Once I authenticated as user in roleA I was trying to directly access URLs accessible only by users in roleB. In the beginning everything worked OK: I was dispatched to error401.jspx page with message Not authorized... etc.
    But I kept trying to access different URLs, like http://localhost:8988/AB/faces, http://localhost:8988/AB/faces/folderB, http://localhost:8988/AB/faces/folderB/pageB.jspx, http://localhost:8988/AB
    (not necessarily in that order, I played for a couple of minutes and the system would always dispatch to error401.jspx page if unauthorized attempt. But all of sudden, to my surprise, I got the pageB.jspx page while logged in as user belonging to roleA!)
    Not sure how that happened but the connectedUser on pageB (#{userInfo.authenticated}) shows that I am logged in as user whose role is A.
    I checked Authorization in ADF security and it is still correct: pageB is only accessible to roleB and pageA is only accessible to roleA.
    I hope I made some stupid mistake in my configuration?

    Hi,
    ADF Security is JAAS permission based and not container managed. Note that unless you explicitly configured ADF Security you don't use ADF Security but container managed security, which is all that I can see in your configurations.
    Not sure which version fo JDeveloper you use, but if you could change the following setting
    <security-constraint>
    <web-resource-collection>
    <web-resource-name>AZone</web-resource-name>
    <url-pattern>faces/folderA/*</url-pattern>
    </web-resource-collection>
    <auth-constraint>
    <role-name>A</role-name>
    </auth-constraint>
    </security-constraint>
    <security-constraint>
    <web-resource-collection>
    <web-resource-name>BZone</web-resource-name>
    <url-pattern>faces/folderB/*</url-pattern>
    </web-resource-collection>
    <auth-constraint>
    <role-name>B</role-name>
    </auth-constraint>
    </security-constraint>
    to contain jspx file references instead of wildcards like in faces/folderB/* then what you see should no longer be possible. There was a known issue with the security settings in SRDemo that was caused by a defect in OC4J container managed security. I would expect this issue to be fixed in a more recent version of OC4J.
    However, the work around until then is to protect all JSPX files in a directory instead of using wild card matches
    Frank

  • *Security Error Issue while accessing youtube search method.

    Hello All,
    I am creating a flex aplication which has youtube videos search control. it works fine on local , but when I am trying to access this from any server its getting security error "[RPC Fault faultString="Security error accessing url" faultCode="Channel.Security.Error" faultDetail="Destination: DefaultHTTP"] " while  accessing the search method url using httpservice. Can any one help me.
    Thanks.

    You may need to add the -use-network=true compiler argument. When in Flex Builder this does not matter as much:
    From Flex Builder main menubar,   Project - Properties - Flex Compiler - Additional compiler arguments:  -use-network=true
    If this post answers your question or helps, please mark it as such.

  • Security Error when creating a web service with Flex

    Hello comminuty.
    I'm using Flex to create a standalone application and I have to use web services to retrieve data from SAP.
    I used the bapi bapi_flight_getlist to create an associated WS that works fine (tested with the Eclipse's WS Explorer).
    In Flex Builder, I use the following code to create my web service:
         <mx:WebService
              showBusyCursor="true"
              id="service"           
              wsdl="{wsdl}"
              result="resultCreateWSHandler(event);"
              fault="faultCreateWSHandler(event);">
                <mx:operation name="FlightGetList"
                     result="resultWSHandler(event)"
                     fault="faultWSHandler(event)"></mx:operation>                    
            </mx:WebService>
    And this is the error I'm getting:
    (mx.messaging.messages::ErrorMessage)#0
      body = (null)
      clientId = "DirectHTTPChannel0"
      correlationId = "E578ED8C-EF29-44E7-8D57-57B4DB6EB613"
      destination = ""
      extendedData = (null)
      faultCode = "Channel.Security.Error"
      faultDetail = "Destination: DefaultHTTP"
      faultString = "Security error accessing url"
      headers = (Object)#1
        DSStatusCode = 0
      messageId = "6E7AC45E-418D-90CD-96AD-57B52DB1DAF4"
      rootCause = (flash.events::SecurityErrorEvent)#2
        bubbles = false
        cancelable = false
        currentTarget = (flash.net::URLLoader)#3
          bytesLoaded = 0
          bytesTotal = 0
          data = (null)
          dataFormat = "text"
        eventPhase = 2
        target = (flash.net::URLLoader)#3
        text = "Error #2048: Violation de la sécurité Sandbox : http://localhost:8300/ztest2/bin-debug/ztest2.swf ne peut pas charger de données à partir de http://XXXX:8006/sap/bc/srt/wsdl/bndg_DEB8A28C2E19EEF19C080050568D135B/wsdl11/allinone/ws_policy/document?sap-client=800."
        type = "securityError"
      timestamp = 0
      timeToLive = 0
    Translation: "Error #2048: Sandbox security violation: http:....swf cannot load data from http:...client=800"
    Would any of you have an idea about what is causing this error??
    Thanks for any help you can provide.
    Regards,
    C.

    Hi Cristina
    Did your flex application worked. i am also having same problm. cant access the BAPI from standalone flex application.
    Jay

  • After upgrade to 10.10, can't send email (SMTP cert. error).  On previous version running on another machine, can still send find.  This new version is missing the "Usual Ports" checkbox option.  Can someone please help?

    I just upgraded to 10.10.  On the mail program, one of my accounts is having an issue sending email.  I am getting the following error message:
    The certificate for this server is invalid.
    Select a different outgoing mail server from the list below or click Try Later to leave the message in your Outbox until it can be sent.
    But on another machine running Mavericks, I can still continue to send email.  The same is try from my iPhone 5S.
    On that machine running Mavericks the SMTP is configured as SSL and for "Usual Ports" (25, 465, 587) but THIS OPTION IS MISSING ON THE NEW VERSION.  On the new version I have tried configuring the port to 25 and then 465 and 587 with no success.  I have used the Network Utility to see if my provider is blocking me -- it is not.  I have no third-party software on this machine (anti virus).  I can receive email fine.  On the new Yosemitie Mail there are new checkbox options of Automatically check my settings and Allow unsecure connections.  I tried to uncheck SSL for SMTP but then it says it cannot send securely my passowrd and i need to check the option "Allow to send unsecurely".  I did that but the same error message keeps appearing.  So I have tried nearly everything I have been able to, all to no avail.  Please can somebody help?

    Thanks for your reply.  Yes, it is a POP account.  Incoming mail is fine.  My port for incoming is also 110.  But the outgoing port should be 587 (or 24, 465 and 587 as on Mavericks' "Usual Ports" option).  I am using the same configuration across three different devices and only the machine running Yosemite is having issues.  I notice in the new version of Mail there is no longer the "Usual Ports" option.  I am not sure this is the culprit or not.  But the fact is no matter how I configure it, it will not send mail for these particular servers.  I have multiple clients and only one is affected, meaning I can send email from other email addresses (different hosting contracts) on Yosemite but on this one particular one I cannot. 

  • ConnectException when running in another machine

    Hi,
    I am getting ConnectException when i am running the server in another machine which is linux server,and when i am calling it from my local system it throws ConnectException.
    But i didn't get it when i am running both in my local system.Please tell what modifications have i to made with my programs.
    regards,
    j.mouli

    The problem is with the command being used to start the RMI server. If you are starting it with the flag
    -D:java.rmi.server.hostname=localhost
    chang the flag to
    -D:java.rmi.server.hostname=johnb

  • Oracle Service Bus -- Business service access to a HTTPS service

    Hello,
    One of the services OSB has to access runs HTTPS (SSL no authentication).
    I can access the service test page from the browser as https://server:port/myservice
    From OSB I need to configure the Business Service to access this service.
    Which steps should I perform on the WL server and on OSB? (create a service provider? a keystore?)
    Any experience welcome,
    Thanks
    Deborah

    The root certificate of the CA who has signed the certificate of the HTTPS site has to be imported into the trust keystore for your managed servers. This includes setting up a custom trust keystore for the servers in WLS console and then importing the CA root certificate into the custom keystores using the keytool utility. All these are WLS configuration and not OSB specific. If your server has Hostname verification enabled ( another option under SSL tab in Server --> SSL on admin console) then ensure that the hostname on the site's certificate matches with the hostname part of the https URL..
    Edited by: atheek1 on Mar 4, 2010 4:32 AM

  • Can't access url  pc:9001/forms/frmservlet from another pc & only using8888

    Hi,
    i have a weblogic server installed in Windows 2003 R2 in a domained windows network, i'm using forms & report 11.1.2 and weblogic 10.3.5
    after installation every thing is ok, i can access the forms and report from network using the OHS port which is 8888
    for example :
    http://myweblogic:8888/forms/frmservlet?config=system
    and for reports
    http://myweblogic:8888/reports/rwservlet?report=xxxxxxxx
    but when i try to run the forms or the report using the default ports which are : 9001 for forms & 9002 for report
    i can't run it from network ( other pc) only from the host itself.
    no firewall, nothink blocks these ports !!!!!
    any idea why i'm not able to access this path from network and can access it from host
    http://myweblogic:9001/forms/frmservlet?config=system
    http://myweblogic:9002/reports/rwservlet?report=xxxxxxx
    please help ...

    Generally, if you cannot access WLS ports off of the host, this usually suggests that the machine is using DHCP and/or does not have a DNS registered name. If using DHCP, fixing this can become clumsy at this point. Reinstallation might be easier after correcting the networking issue. Please refer to the product Installation Guide and Release Notes. This is a good recommendation for everyone prior to performing any installation.
    Refer to these two references:
    http://docs.oracle.com/cd/E21764_01/install.1111/e12003/claqi.htm#BGBEHBGF
    http://docs.oracle.com/cd/E21764_01/core.1111/e10105/host.htm

  • Error return from JOB_SUBMIT / SUBMIT when running with another  username

    I am trying to run the program RSBDCSUB after setting up a BDC session.
    Due to our authorisations in the production environment I have to run this program under a generic user (l_ernam) that has the authorisations as most users do not.
    Here is the code I am using:
    CALL FUNCTION 'JOB_OPEN'
    EXPORTING
    jobname = l_jobname
    IMPORTING
    JOBCOUNT = l_jobcount
    CHANGING
    RET = l_ret
    EXCEPTIONS
    CANT_CREATE_JOB = 1
    INVALID_JOB_DATA = 2
    JOBNAME_MISSING = 3
    OTHERS = 4
    Submit RSBDCSUB And Return
    User l_Ernam
    Via Job l_Jobname Number l_Jobcount
    with mappe = l_mappe .
    CALL FUNCTION 'JOB_CLOSE'
    EXPORTING
    jobcount = l_jobcount
    jobname = l_jobname
    STRTIMMED = 'X'
    EXCEPTIONS
    CANT_START_IMMEDIATE = 1
    INVALID_STARTDATE = 2
    JOBNAME_MISSING = 3
    JOB_CLOSE_FAILED = 4
    JOB_NOSTEPS = 5
    JOB_NOTEX = 6
    LOCK_FAILED = 7
    OTHERS = 8
    When I run this with a restricted user I get a return of 8 from the submit rsbdcsub - has anyone seen this before and can you offer advice on how to solve it?.
    I have also tried using JOB_SUBMIT with the following settings instead
    CALL FUNCTION 'JOB_SUBMIT'
    EXPORTING
    authcknam = l_ernam
    jobcount = l_jobcount
    jobname = l_jobname
    REPORT = l_report
    VARIANT = l_variant
    EXCEPTIONS
    BAD_PRIPARAMS = 1
    BAD_XPGFLAGS = 2
    INVALID_JOBDATA = 3
    JOBNAME_MISSING = 4
    JOB_NOTEX = 5
    JOB_SUBMIT_FAILED = 6
    LOCK_FAILED = 7
    PROGRAM_MISSING = 8
    PROG_ABAP_AND_EXTPG_SET = 9
    OTHERS = 10
    and in this case get a return of 3 (INVALID_JOBDATA) - anyone any ideas as to how to resolve this?.

    Hello Caroline,
    I do not know whether this issue is resolved at your end. I faced a similar problem and found that User Type for the generic user(l_Ernam) was the cause.
    We had initially defined User Type for the generic user as a 'Communication' and it was giving return code 8 after SUBMIT.
    We later changed the User Type to 'System' and it worked as intended. Job was created under the name of the user who executed the main program and the steps added using the generic user(l_Ernam).
    Please note that the user who is running the main program will need authorization to add job steps using the generic user.
    With Kind Regards,
    Jatin.

  • ORA-12545 when running on another machine

    Hi All,
    I have developed an app in Visual C# 2008, which uses ODP.NET for connecting to Oracle.
    It works perfectly, but when I pass the application binaries to my colleagues, they keep getting the [ORA-12545|http://ora-12545.ora-code.com/] error.
    They have the same client version (11.1.0.6.0), but at a different location.
    From the nature of the error, I assume that the application "finds" the oracle client (and thus the Oracle.DataAccess.dll) correctly.
    What can I do to make the app run on their computer as well? They have the same tnsnames.ora and every setting is the same, other applications (like Toad) work for them using the same client and tnsnames.ora.
    Thanks,
    David.
    Edited by: king4aday on 2010.05.11. 6:26

    Well, given that, I think getting a sqlnet trace would be a good idea. Have you done that before by chance? It's not terribly difficult, but maybe a bit messy to do through a forum posting (not impossible mind)... If you have a support contract you can open an SR to help with that.
    As an example, here's my sqlnet.ora file from an 11.2 ODAC install with all the tracing enabled (need to change path as appropriate, of course):
    SQLNET.AUTHENTICATION_SERVICES=(NTS)
    NAMES.DIRECTORY_PATH=(TNSNAMES, EZCONNECT)
    DIAG_ADR_ENABLED=OFF
    TRACE_LEVEL_CLIENT=16
    TRACE_DIRECTORY_CLIENT=C:\oracle\11.2\odac\Network\Admin\TraceWhen I deliberately place an invalid host name in my tnsnames.ora file as a simple test, the section of the resulting trace file of interest looks like this:
    (5840) [11-MAY-2010 11:10:08:581] nttbnd2addr: entry
    (5840) [11-MAY-2010 11:10:08:581] snlinGetAddrInfo: entry
    (5840) [11-MAY-2010 11:10:08:581] snlinGetAddrInfo: getaddrinfo() failed with error 11001
    (5840) [11-MAY-2010 11:10:08:581] snlinGetAddrInfo: exit
    (5840) [11-MAY-2010 11:10:08:581] nttbnd2addr: looking up IP addr for host: bogus
    (5840) [11-MAY-2010 11:10:08:581] snlinGetAddrInfo: entry
    (5840) [11-MAY-2010 11:10:10:833] snlinGetAddrInfo: getaddrinfo() failed with error 11004
    (5840) [11-MAY-2010 11:10:10:833] snlinGetAddrInfo: exit
    (5840) [11-MAY-2010 11:10:10:833] nttbnd2addr:  *** hostname lookup failure! ***
    (5840) [11-MAY-2010 11:10:10:834] nttbnd2addr: exit
    (5840) [11-MAY-2010 11:10:10:834] nserror: entry
    (5840) [11-MAY-2010 11:10:10:834] nserror: nsres: id=0, op=77, ns=12545, ns2=12560; nt[0]=515, nt[1]=1004, nt[2]=0; ora[0]=0, ora[1]=0, ora[2]=0
    (5840) [11-MAY-2010 11:10:10:834] nsc2addr: error exitSo, you can clearly see the 12545 in this trace and the file will have lots of other information such as the tnsnames.ora file used, etc.
    Regards,
    Mark

  • Installation error occurred when the air is built from another machine.

    The senerio is that .
    AIR SDK: 2.0
    I orginally built an AIR versioned 1.05 from a mac 10.0.6 with FlashBuilder 4.6 and now I used the same code based and same application.xml to build a newer version 1.06 from a windows 7 x64  FlashBuilder 4.5 then i got the following error
    The application could not be installed because an application with that name already exists at the selected installation location. Try installing to a different location.
    I have put publisherID into the descriptor xml.
    Could somebody please help

    I found out the cause.
    What I do:
    Copy the Flex sdk from mac to pc directly.
    More info:
    The reason why i didnt do the above step at the begining because there are so many hidden files are generated by mac and which let the flashbuilder in PC keep prompting error.As a result, I manually deleted all the hidden files (more than 2k files) and build release with that sdk and finally the installation error not show.
    Also,I found that although both mac and pc are using Flex 4.1 sdk ,may be with different build number? The point is I will/may face the same problem if I decide to update the flex sdk from 4.1 to newers version.
    This is a very big problem because there are so many ppl installed the old version  and they may have to manually uninstall and install again and I will receive so many phone calls for support but  which is fine if they are all hot girls..

  • Make unzip scrip run on another machine

    H i all so I came up with this little script. It's very unoptimized and I want to make the unzip part into a function. My main question is I'm copying this zip folder to another machine. Will it actually use this machine to unzip or will the work load be
    done on the host that I'm sending it from.
    Here's the code:
    $a = Get-Content C:\Users\cody-horton\Desktop\list.txt
    function Expand-ZIPFile($file, $destination)
    $shell = new-object -com shell.application
    $zip = $shell.NameSpace($file)
    foreach($item in $zip.items())
    $shell.Namespace($destination).copyhere($item)
    for($i=0;$i -lt $a.Length; $i++){
    if(!(Test-Connection -Cn $a[$i] -BufferSize 16 -Count 1 -ea 0 -quiet)){
    Write-Host $a[$i] -foregroundcolor red
    else{
    #Create directory
    New-Item -ItemType directory -Path "\\$($a[$i])\C`$\Users\Public\Documents\Android SDK\adt-bundle-windows-x86_64-20131030\sdk\" -Force
    #Move zip to directory
    Copy-Item "\\nlcr2553218x4-1\C`$\Users\ttinker\Desktop\adt-bundle-windows-x86_64-20131030.7z" "\\$($a[$i])\C`$\Users\Public\Documents\Android SDK\adt-bundle-windows-x86_64-20131030\sdk" `
    -Recurse -Force
    #Unzip file
    Expand-ZIPFile –File "\\$($a[$i])\C`$\Users\Public\Documents\Android SDK\adt-bundle-windows-x86_64-20131030\sdk\adt-bundle-windows-x86_64-20131030." `
    –Destination "\\$($a[$i])\c$\Users\Public\Documents\Android SDK\adt-bundle-windows-x86_64-20131030\sdk"
    #Delete zip folder
    Remove-Item "\\$($a[$i])\C`$\Users\Public\Documents\Android SDK\adt-bundle-windows-x86_64-20131030\sdk\adt-bundle-windows-x86_64-20131030.7z" -Recurse
    Write-Host $a[$i] -foregroundcolor green
    $b = new-object -comobject wscript.shell
    $c = $b.popup("DONE!!",10,"Test Message Box",1)
    Would I need to make a batch file and if so how would I do this. Thanks

    You'd need to use either Invoke-Command (if you have PS Remoting enabled) or PSExec (if not) to launch the extraction script on the remote machine.

  • URL Access Scripting & accented characters

    I'm trying to write a small iTunes script that checks whether track titles of an album match those in the MusicBrainz database. But I'm running into a small problem when I try to retrieve the album information when it's title has accented characters.
    Here's a snippet of code:
    property baseURL : "http://musicbrainz.org/ws/1/release/"
    property tempFile : "Data:temp:tempAlbumInfo.xml"
    property albumTitle : "með suð í eyrum við spilum endalaust"
    set queryURL to "?type=xml&releasetypes=Official&limit=10&title=" & albumTitle
    set the clipboard to (baseURL & queryURL)
    -- Fetch the releases info from musicbrainz
    tell application "URL Access Scripting"
    download (baseURL & queryURL) to tempFile replacing yes
    end tell
    This gives me a 503 error from URL Access Scripting, but when I paste the variable just copied to the clipboard into Firefox, the page loads perfectly. Pasting it into Safari, it doesn't work.
    I'm guessing it has something to do with either the way URL Access Scripting and Safari rawurlencode their URLs, or some Unicode / Latin-1 problems.
    Oh, and for album titles without accented characters it all works perfectly. Any idea why this is happening? Thanks!

    Hello
    I think you need to escape URI string properly.
    Try replacing the line:
    set queryURL to "?type=xml&releasetypes=Official&limit=10&title=" & albumTitle
    with these two lines:
    set escapedTitle to do shell script "echo " & quoted form of albumTitle & " | perl -Mutf8 -MURI::Escape -lne 'print uri_escape($_);'"
    set queryURL to "?type=xml&releasetypes=Official&limit=10&title=" & escapedTitle
    Hope this may help,
    H
    Message was edited by: Hiroto (fixed typo: URI::Escape is the correct module.)

Maybe you are looking for

  • Can't find my music in iTunes - new hard drive

    I just had my computer repaired and they replaced the hard drive. Before I took it in for repair, I backed up all my data including music. But to do this I just copied all my files onto an external hard drive (I did not use any specific back up progr

  • Mac Mail Signature Font

    Hello Everyone, I am having a very strange problem in my Mac mail program and was wondering if anyone had any advice. Our company has new customized email signatures and whenever we use this signature in an email it changes the font in the body of th

  • Editing/Uploading in Cyberduck

    How do you upload/synchronize just one page when working with Cyberduck? I can only seem to get the information to change on my site if I upload the entire site. There has to be a quicker way than that!

  • HT4527 how do you enable Bonjour from older version (10) in iTunes

    Please Help, I am trying to setup home sharing for my father from an old computer to a new computer, and it says that the "Bonjour" program that enables  iTunes 10.1 to share with other devices has been disabled, but I don't know how yhat happened no

  • Early 2008 Mac pro freeze - anyone ?

    I just deployed my 2.8 Mac Pro yesterday, and within two days, I had three instances when the computer froze. The mouse pointer was still moving on the screen, but apart from that, no response to keys or clicks. There was also one instance when the v