FTP_CONNECT failed for SAPFTP from WD4A to external Server

Hi experts,
this is a challange to you.
He do have a WD4A application runnig on a BI with  SAP NetWeaver 2004s and a SAP BASIS 700 Level 21 highest Support package SAPKB70021.
The application runs well and only some strange behaviors in CZ and HU we have obtained. But this is not the Question i will ask:
For an excel template download we will use at an external MS Server2003. We want to sent the data string which has to
be displayed in excel via FTP to this server (The server will convert the data string with makros and send it back zu WD4A).
So far so good. But every time we tried to open the connection with FTP_CONNECT we the communication failed.
What do we do exactly?
1. Event through Button
1. Creating the data string on Eventhandler method (View)
2. using a Function Call from Eventhandler to start the file transfer.
3. Parameters are user, pwd, host, destination ...
4. with HTML_SCAMBLE hint pwd
5. call function 'FTP_CONNECT'
The connection failed.
WE DO CALL the Function correct, cause testing FTP_CONNECT with Program RSFTP002 the connection works.
IF we start the Function Call we use inside the WD4A outside the WD4A, the connection works.
We do have an ITS Service which works on this Server. An RFC CALL to the ERP R/3 with the same Function Call fails also as the Call in BI.
Does anyone know, if  there are technical limits to WD4A to use the connections to an external server via SAPFTP ? It is forbidden to mount the file system of the server directly on the SAP BI System.
Our Basis and Network guys would not find anything.
At least: WE do use an Excel download with templates without using the MS Server. Therefore we have problems with different MS Office Versions, Language and date display. Thats why we want to go the way above.
lot of greetings
Thorsten

Hi,
where exactly is the FM crashing and why? Did you debug? Is it occuring at
CALL FUNCTION 'FTP_CONNECT' DESTINATION RFC_DESTINATION
     EXPORTING USER = USER PWD = PASSWORD ACCT = ACCOUNT HOST = HOST
               TRACE = FTP_TRACE GUSER = GATEWAY_USER
               GPWD = GATEWAY_PASSWORD GHOST = GATEWAY_HOST
     IMPORTING HANDLE = HANDLE ERROR = CERROR
     EXCEPTIONS SYSTEM_FAILURE = 1 COMMUNICATION_FAILURE = 2.
or earlier?
Try tracing with ST01, one time with the way it works, and another time out of the WebDynpro where it crashes, then compare the logs.
regards, Lukas

Similar Messages

  • Error: Load operation failed for query 'GetAuthenticationInfo'. The remote server returned an error: NotFound.

    Hello,
    I have a lightswitch web-application in development, which I need to copy from one computer to the other. I have tried doing it both through Git and by simply copying the solution and opening the project on another machine. The project builds without errors,
    but when I try to debug it, it opens a web-browser, loads to 100% and pops up an error - Load operation failed for query 'GetAuthenticationInfo'. The remote server returned an error: NotFound.
    Now, I have tried repairing Visual Studio on my machine, reinstalling .NET framework and setting  <basicAuthentication enabled="false" /> in web.config, yet it still does not run.
    When using Fiddler, it shows an error while loading the application - "HTTP/1.1 500 Internal Server Error" , which I honestly don't know what it means.
    The application uses ComponentOne and Telerik modules, but they are both installed on both machines. 
    The application does run perfectly on the original machine, but it is not working on any other one.
    Both machines are using Win 8.1 and Visual Studio 2013 Update 4.
    I have tried to look this up online, but most people's problem are when they are deploying the app, not just debugging. I would be really happy for any help with this issue.
    Thanks!

    I have the same problem on one of my development machines. Whenever I create a new project, the System.IdentityModel.Tokens.Jwt nuget package is not referenced properly. The project compiles correctly but you are not able to debug as I get the same error
    as you.
    If you open up your references and there is an error next to any of your references make sure that you correct them. In the case of the jwt reference error, I have to remove the jwt reference and then add it back from the packages folder.
    This may not be your problem but could point you in a direction?

  • Non-SysAdmins get error 18456 Severity 14 State 11 Login Failed for user _ Reason Token-based server access validation failed with an infrastructure error.

    I have a SQL 2008 R2 system (10.50.4000) where I'm having problems connecting any user that is not a SysAdmin.  Example: I setup a new SQL Login to use Windows Authentication and grant that user db_datareader on the target database.  The user attempts
    to connect using Excel client or Access or SQL Management Studio and receives Error 18456.  The SQL Server Logs shows Error 18456 Severity 14 State 11 Login Failed for user _ Reason Token-based server access validation failed with an infrastructure error.
    The strange part is that if I temporarily grant the user the sysadmin server role then the user can connect successfully and retrieve data.  But, if I take away that sysadmin server role then the user can no longer connect but again receives the Error
    18456 Severity 14 State 11 Login Failed for user _ Reason Token-based server access validation failed with an infrastructure error.
    We've turned off UAC on the client machine to see if that was the problem, but no change.
    I have dropped and re-added the user's SQL Login (and the related database user login info).  No success.
    The Ring Buffers output shows:
    The Calling API Name: LookupAccountSidInternal
    API Name: LookupAccountSid
    Error Code: 0x534
    Thanks for any help.
    -Walt

    Yes, you understand correctly.  The user is logging onto a workstation (not the server) with a Windows Authenticated id.  The user is using either Excel or Access or SSMS and connecting to the server using a Windows Authenticated SQL Login account.
     If the account has sysadmin role (which is only for testing) then the connection is successful.  If I take away sysadmin role from the account then the connection is unsuccessful and the SQL Server Log shows Error
    18456 Severity 14 State 11 Login Failed for user _ Reason Token-based server access validation failed with an infrastructure error.
    (SQL Authentication is not an option here.  I must use Windows Authentication).
    Any other troubleshooting assistance you can offer would be appreciated.  Thanks.
    -Walt 

  • The Imap command UID copy (to deleted messages) failed for the mailbox "bulk mail" with server error UID copy mailbox in use.  PLease try again later

    The Imap command UID copy (to deleted messages) failed for the mailbox "bulk mail" with server error UID copy mailbox in use.  PLease try again later

    What program are you using?  And what version?

  • TS3276 The IMAP command "UID COPY" (to Deleted Messages) failed for the mailbox "Bulk Mail" with server error: UID COPY Mailbox in use. Please try again later.

    I have been getting the following message and have no idea how to clear it.  Any help will be greatly appreciated!!!  I have force closed Mail, and have tried to re-sync my accounts but no luck.
    The IMAP command “UID COPY” (to Deleted Messages) failed for the mailbox “Bulk Mail” with server error: UID COPY Mailbox in use. Please try again later.

    What program are you using?  And what version?

  • How to send a file from FTP to external server

    My requirement is to send a file from FTP to D3(External) server.
    Now I am able to store the file in Appln server.
    I want to send the file created by the program thru FTP to D3 server.
    I know the username,Password,HostID,RFC destination details.
    How to send the file from FTP to D3.
    If u have any program,Plz send it...
    I dont want the function modules name...I want the example code ....
    Thanks in advance.

    Hi Sumi,
    You could do it so that you create a .bat or .cmd script to your server which does your ftp transfer.
    To do this you must use sm69 to create a external operating system command which you can call from FM SXPG_COMMAND_EXECUTE. To SXPG_COMMAND_EXECUTE you the file you need to transfer as a parameter.
    What happens is that your abap program passes the file to windows batch script (.bat .cmd) which will then do the transfer for you.
    Here's a sample of ftp-script for windows:
    echo open IP_ADDRESS_TO_YOUR_SERVER > c:zftp_transfer.ftp
    echo USERNAME>> c:zftp_transfer.ftp
    echo PASSWORD>> c:zftp_transfer.ftp
    echo put YOUR_FILE>> c:zftp_transfer.ftp
    echo quit>> c:zftp_transfer.ftp
    ftp -s:c:zftp_transfer.ftp
    also take a look here for more details:
    http://support.microsoft.com/?kbid=96269
    Ok, this might be a bit trivial but if your server is unix/aix etc.. Instead of using batch script you must do a shell script.
    Regards,
    Ville

  • LOGIN FAILED for POP3 from multiple clients

    Hi - I recently moved (changed service address). Since then, I have not been able to POP or IMAP my mail. It was working perfectly for many years before then. Many calls and chats with tech support have resulted in promises for Comcast to have someone call me - but they never call. Basicaly I'm very stuck.  I can log into my comcast webmail perfectly and everything is great there. I've tried every combination listed on this page: http://customer.xfinity.com/help-and-support/internet/email-client-programs-with-xfinity-email/ And this one: http://customer.xfinity.com/help-and-support/internet/configuring-comcast-email-mac I've tried it on multiple Macs, iPhones, you name it. Very carefully make sure username, password, SSL enabled, ports, etc. etc. are correct. No combination ever works.  Related - perhaps? When I moved my email was completely disabled. Tech support said that happens when you change addresses. Pretty darn strange as email is virtual and shouldn't be related, but okay. Tech support re-enabled it and then webmail worked, but still no POP or IMAP.  Comcast Tech Support really doesn't have a clue here how to even understand the issue, let alone fix it. I'm kind of thinking somewhere in there they need to enable the account to allow POP3 access or something, but I can never get to anyone that knows what they are doing.  Ideas?? Thanks for any help or ideas anyone has. 

    Has someone left the company or has an account of some nature been dropped/replaced?
    Please click "Mark As Answer" if my post helped. Tony C.
    Hi Tony,
    Srry but No.  We just installed the monthly updates.
    I went back and found I had missed removing a patch.  I missed the rollup for Windows Server 2003:
    Event Type: Information
    Event Source: NtServicePack
    Event Category: None
    Event ID: 4382
    Date:  3/12/2015
    Time:  12:26:04 PM
    User:  NETTEST\admin
    Computer: DATA1
    Description:
    Windows Server 2003 KB954920 was removed from your computer, and the previous Windows Server 2003 configuration was restored.
    After I removed that is still didn't work but after about five minutes it started working.
    I guess I ned to report that to MS after I research what might be changed to make the patch work.
    Every time I get stuck and ask for help it seems to be just before I stumble on the solution.
    Thanks for replying.
    Well - maybe this will help someone else.
    Thanks again for replying Tony
    ¯\_(ツ)_/¯

  • CSCtl86766 - Controller config backup task fails for controllers from PI

    Does anyone know what the affected release for this bug, 8.0(34.0), is referring to?
    As far as I can see, the most recent release code for present 4400 WLCs is 7.0.240.0 which means either this bug was found during the development of the new code version, 8.0 or 8.0(34) actually refers to the release of something else.
    Any insights?
    Many thanks

    Does anyone know what the affected release for this bug, 8.0(34.0), is referring to?
    As far as I can see, the most recent release code for present 4400 WLCs is 7.0.240.0 which means either this bug was found during the development of the new code version, 8.0 or 8.0(34) actually refers to the release of something else.
    Any insights?
    Many thanks

  • HT1338 Guys I need some help with deleting junk mail/bulk mail...I keep getting this air message that says THE IMAP COMMAND "UID COPY" (TO DELETED MESSAGES) FAILED FOR THE MAILBOX "BULK MAIL" WITH SERVER ERROR: UID COPY SERVER ERROR- PLEASE TRY AGAIN LATE

    I need help in deleting my junk mail/bulk mail...when I dump junk mail and bulk mail into the trash it not allowing me to delete all mail only some. HELP!!

    What program are you using?  And what version?

  • Cannot connect to SERVER. Login failed for user 'DOMAIN\user'. (Microsoft SQL Server, Error 18456) - SQL Server 2012 on Windows Server 2008 R2

    I've seen multiple blogs and forums with similar problems and SQL 2012 or 2008. But no solutions that work for me.
    I have installed SQL Server in mixed mode (SQL and Windows authentication). I can create new Login accounts in either mode. However, I cannot get an AD security group Login account to work. I am trying to add group 'DOMAIN\Domain Admins' or 'SERVER\Administrators'
    as a Login so that any of the domain's administrator accounts can open SQL Server Management Studio and act as an 'sa' account on this server.
    I have deleted the SQL account 'DOMAIN\Domain Admins'.
    I have restarted SQL.
    I have restarted the Win2K8r2 server.
    I have launched SSMS as Administrator from the desktop of SERVER.
    I have launched SSMS as another user (and used 'DOMAIN\user' to lauch it) from the desktop of SERVER.
    I can create a login account named 'DOMAIN\user' (who happens to be a member of the 'DOMAIN\Domain Admins' group) and give this account 'sa' security, and when I do that, this account works as expected...
    How do I add a security group as a Login account and give all members of that group the ability to be an 'sa' account?

    Hi geoperkins,
    Are you getting the following error message?
    Error: 18456, Severity: 14, State: 11
    Login failed for user <Domain\user>. Reason: Token-based server access validation failed with an infrastructure error.
    If that is the case, the issue could be due to that the Windows login has no profile or that permissions could not be checked due to UAC. Please disable UAC firstly and check if it is successful to log in SQL Server.
    Another reason could be that the domain controller could not be reached. You may need to resort to re-creating the login. Create a new group in AD, add users to the new group, then add the group to the local admin group and create login for the group in SQL
    Server.
    There is a connect item describing similar issue for your reference.
    https://connect.microsoft.com/SQLServer/feedback/details/680705/cant-login-to-sql-using-windows-authentication-when-user-is-in-a-domain-security-group
    For more details about above error, please review the following blog.
    http://sqlblogcasts.com/blogs/simons/archive/2011/02/01/solution-login-failed-for-user-x-reason-token-based-server-access-validation-failed-and-error-18456.aspx
    Thanks,
    Lydia Zhang
    Lydia Zhang
    TechNet Community Support

  • Lync to Lync calls not working when users outside of network. But calls from Lync to external numbers do work.

    Hello,
    We are having the following issue: when our lync users are outside of our network, just connected to their home internet or a public WiFi  and not on VPN, they cannot place calls to other
    Lync users inside our network. They get a poor network connection message on the call window. But they are able to make calls from Lync to external numbers without a problem.
    Inside our network, Lync to Lync calls work perfectly fine, the same for calls from Lync to external numbers.
    Does anybody know what could be the cause of our issue? Perhaps I'm missing a setting on our Edge server. What should be the first thing I should check on my Lync servers?
    Thanks for any help!

    Have you opened up ports on your firewall from your internal clients to the edge on UDP/3478 and TCP/443?  This sounds like you might have a problem there.  Can you internal clients properly route to this subnet and resolve the pool name of your
    edge pool? 
    Ports and protocols poster, check out in A/V section client traffic to edge showing UDP/3478 and TCP/443:
    http://www.microsoft.com/en-us/download/details.aspx?id=39968 
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question please click "Mark As Answer".
    SWC Unified Communications
    This forum post is based upon my personal experience and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • SLDCHECK fails for XI server - SLD on separate system

    Dear All,
    I have SLD configured on my solution manager system. All systems including XI are updating data in SLD -> Technical Systems.
    My problem
    When I execute SXMB_IFR, SLD web page opens up fine. But in transaction log is see following:
    Calling function LCR_LIST_BUSINESS_SYSTEMS
    Retrieving data from the SLD server...
    Function call returned exception code     4
    => Check whether the SLD is running!
    Also, when I try to execute Runtime Workbench, is throws following errors:
    5 Message(s) :  SLD agent unable to specify domain - Error class com.sap.aii.rwb.exceptions.BuildLandscapeException: Error during communication with System Landscape Directory: User credentials are invalid or user is denied access - Attempt to create JCo connection object failed for domain domain.00.zonexid - Integration Server unable to specify a JCo client - No component names available from Integration Server -
    I have checked authorizations for all users, PIRWBUSER, PIAPPLUSER (used in SLDAPICUST) etc, but couldn't solve it.
    Post installation, I changed client setting for integration server after client copy and followed "Wizard-based basic configuration" for PI steps.
    Can anyone pls point out where I'm failing.
    regards, Sean.

    Hi,
    Can you check this way.
    in SMSY_SETUP --> Edit --> Expert Setting
    Write Data Back into SLD
    SLD Host <hostname>
    Namespace in SLD sld/active
    SLD Server Port 5??00
    Passwort SLD <password>
    SLD User XIAPPLUSER
    And then schedule the data update again.
    If you cannot find the Password SLD field follow the OSS note 757204 report YKSLDPW.
    Report YKSLDPW.
    TABLES SMSY_OPTIONS.
    SMSY_OPTIONS-SYS_OPTION = 'SLD_PW'.
    SMSY_OPTIONS-VALUE = 'Ihr SLD_PW'.
    SMSY_OPTIONS-VISIBLE = 'X'.
    SMSY_OPTIONS-EDITABLE = 'X'.
    Modify SMSY_OPTIONS.
    Report YKSLDPW helped us to set up an automatic data capture.
    Regards,
    Srini Nookala

  • SLDCHECK fails in XI - SLD running on Solman server

    Dear All,
    I have SLD configured on my solution manager system. All systems including XI are updating data in SLD -> Technical Systems.
    My problem
    When I execute SXMB_IFR, SLD web page opens up fine. But in transaction log I see following:
    Calling function LCR_LIST_BUSINESS_SYSTEMS
    Retrieving data from the SLD server...
    Function call returned exception code 4
    => Check whether the SLD is running!
    Also, when I try to execute Runtime Workbench, is throws following errors:
    5 Message(s) : SLD agent unable to specify domain - Error class com.sap.aii.rwb.exceptions.BuildLandscapeException: Error during communication with System Landscape Directory: User credentials are invalid or user is denied access - Attempt to create JCo connection object failed for domain domain.00.zonexid - Integration Server unable to specify a JCo client - No component names available from Integration Server -
    I have checked authorizations for all users, PIRWBUSER, PIAPPLUSER (used in SLDAPICUST) etc, but couldn't solve it.
    Post installation, I changed client setting for integration server after client copy and followed "Wizard-based basic configuration" for PI steps.
    Can anyone pls point out where I'm failing.
    regards, Sean

    Dear All,
    I'm finally able to access SLD from tools, but alas partially.
    I have new issues
    1) When I try to import s/w components through Integration Repository as PIREPUSER, it says not authorised. But, PISUPER can. I checked all default auth for PIREPUSER, both in XI and SLD server, passwords are same in SU01, Exchange profile yet nothing.
    2) In runtime workbench, I cannot go pass "Configuration". Message:
    Unable to read the current configuration for the selected XI domain because the system was unable to estable a connection to the monitoring server (possibly due to incorrect logon data). Error message: Unable to log on to system zonexid in language en with user PIRWBUSER
    When I can login using this user into RWB, how am I unable to proceed further??
    Any ideas??
    regards, Sean.
    P S: Our customer has not given us domain name to use, so we are performing local installations. Consequentially, I am not using any FQDN.

  • BCS - Message from External System : 'Login failed for user 'NT AUTHORITY\IUSR'.'.

    Hello,
     I have create a an external content type .
     I Choose "Connect with user's Identity".
     I create a external list that uses the ExternalContentType.
     When I try open the external list from browser by User "TestUser" . I get the following error "Message from External System : 'Login failed for user 'NT AUTHORITY\IUSR'.'"
       My Question :
           I need to know why pass the credential "NT AUTHORITY\IUSR" to connect to the data base not the
            current log in"TestUser" ?  How Can I solve it ?
            Thanks
             Hema
    ASk

    Hi,
    did you configure Kerberos delegation?
    NTLM fails when you try to open external list from client computer, because SharePoint cannot pass user's identity - "Double Hop" issue.
    Take a look at confguring Kerberos for SharePoint 2010 white paper
    Download Configuring Kerberos Authentication for Microsoft SharePoint 2010 Products from Official Microsoft Download Center
    http://www.microsoft.com/en-us/download/details.aspx?id=23176
    Robi MCT Kompas Xnet d.o.o. Ljubljana | blog: http://xblogs.kompas-xnet.si | website: http://www.kompas-xnet.si
    Slovenia
    Please vote if you find reply useful or mark it as answer.
    Thank you

  • Hi, I've been trying for days to download Windows support software via Bootcamp assistant, but it always failed with message 'Can't install Windows Support Software because it is not currently available from the Software update server.' Any advice welcome

    Hi,
    I've been trying for days to download Windows support software via Bootcamp assistant but it always fails with message 'Can't install windows software because it is not currently available from the software update server.'
    Anyone else had problems or success with this?
    Thanks in advance.

    9thdoc wrote:
    I'm getting a similar but distinct error message in snow leopard: Download could not continue. "The windows support software is not available" and have no original snow leopard instal disc with me.
    Your issue is completely different. You are running Snow Leopard. There is no download for Windows Support software for Snow Leopard, hence the error you see. Snow Leopard Windows Support software is on the Snow Leopard installation disk.
    You need the Snow Leopard installation disk or a replacement for it.

Maybe you are looking for

  • How can I change my Creative Cloud Team account to Single user?

    From a mistake I have extended my Creative Cloud account as Team account, however I would like to use as a single user. As the abonement has been already done, is there any chance to modify? Thank you!

  • Process take a while to go from Queued to Initiated

    Just wondering if anyone had any suggestions about how to speed up processes going from queued to initiated. E.g. you kick off a process, and it takes 15 or more more seconds to change status from queued to initiated and then start processing. Things

  • Caremefile is causing problems.

    Over the last two days I have had my Safari browser frozen by a website called Caremefile, (www.caremefile.info), while "Googeling" some web search, which invites you to download something. The first time it said my Media Player was out of date and a

  • CPU overload

    Hi, I thought this topic had been covered in great detail but when I searched, I didn't find relevant info. I'm using 4 instances of a plug-in ( Alchemy ), 2 sent to Bus 6 and 2 sent to Bus 7. On each bus I've placed Reverb ( Space Designer ), and an

  • I need your help with solving a non-standard solutions.

    Hello! I need your help with solving a non-standard solutions. My name is Andrii and I represent the civil charity. Not so long ago, one man gave us the iPhone 4S (as a donation). But later - it became known that this iPhone can not work with SIM car