STMS check transport tool fails on Discovery server,

I run the TMS check transport tool option and I get an error that says
failed to read table SVERS, I also tried to run it from the command line
tp connect ERP and that fails as well. I need to install some transports.
How can I fix this, the transport directory is right, D:\usr\sap\trans.
Thanks
Update:
tp works ok, the only thing that doesn't is the TMS check transport tool. Same error message,
'failed to read table SVERS'
I don't quite understand why I am having this problem, the server came installed from the factory.
UPDATE: Is the Discovery Server based on MCOD or not? If it is then MSSQL_SCHEMA=erp is ok, if it is not shouldn't it be set to dbo? I read one of the notes that indicated so.
Message was edited by:
        Adrian Bereanu
Message was edited by:
        Adrian Bereanu
Message was edited by:
        Adrian Bereanu
Message was edited by:
        Adrian Bereanu

I applied note 610640 and it fixed the problem. Just be aware, the procedure ran for more than 6 hrs until I cancel it, although I think it only needs to run for a few minutes (10-15???).

Similar Messages

  • TMS Check Transport Tool Error

    Hello Experts,
    We have migrated the database from Informix(DEV old machine) to Oracle(DEV New machine) and found the system up and running fine except the DBconnect failed error when i run the STMS->system overview->select the system as DEV-->R3System->check->Transport tool.
    Please find the error log herewith:
    developertrace,0] Logon as OPS$-user to get SAPR3's password            
    developertrace,0] Connecting as /@DEV on connection 0 ...               
    developertrace,0]   >oci_logon(con_hdl=0, user='', dbname='DEV')        
    dbsloci.,6405] *** ERROR => CONNECT failed with sql error '1019'        
                                                             developertrace,0] Try to connect with default password        
    developertrace,0] Connecting as SAPR3/<pwd>@DEV on connection 0 ...     
    developertrace,0]   >oci_logon(con_hdl=0, user='SAPR3', dbname='DEV')   
                                                            dbsloci.,6405] *** ERROR => CONNECT failed with sql error '12705'       
    We have tried almost every option given in the SAP notes but couldnt figure out the issue. We are now not able to support PRD now as the DEV is not available. Can any one quickly help me in resolving the issue...
    R3 -> 45B
    OS: UNIX
    Kernel: 45B_EXT
    We are getting no error when we run R3Trans -x and R3Trans -d as well.
    Please help us in resolving the issue ASAP...
    P.S: If you could give your contact number, iam ready to call you and talk to you regarding the issue and can work upon this.
    Thanks and Regards,
    Mani
    +91 934 749 6777

    Hi Ruchit,
    Please find the trans.log file after I run R3Trans -x herewith:
    4 ETW000  [developertrace,0] New connection 0 created            20  0.034731
    4 ETW000  [developertrace,0] db_con_connect (con_name=R/3)       62  0.034793
    4 ETW000  [developertrace,0] Got ORACLE_HOME=/oracle/DEV/920_64 from environment
    4 ETW000                                                         89  0.034882
    4 ETW000  [developertrace,0] -->oci_initialize                   23  0.034905
    4 ETW000  [developertrace,0] Got ORACLE_SID=DEV from environment
    4 ETW000                                                         42  0.034947
    4 ETW000  [developertrace,0] Got NLS_LANG=AMERICAN_AMERICA.WE8DEC from environme
    nt
    4 ETW000                                                         29  0.034976
    4 ETW000  [developertrace,0] Logon as OPS$-user to get SAPR3's password
    4 ETW000                                                         22  0.034998
    4 ETW000  [developertrace,0] Connecting as /@DEV on connection 0 ...
    4 ETW000                                                         29  0.035027
    4 ETW000  [developertrace,0] -->oci_logon(con_hdl=0, user='', dbname='DEV')
    4 ETW000                                                         31  0.035058
    4 ETW000  [developertrace,0] Now I'm connected to ORACLE      62893  0.097951
    4 ETW000  [developertrace,0] Got SAPR3's password from table SAPUSER
    4 ETW000                                                       1408  0.099359
    4 ETW000  [developertrace,0] Disconnecting from connection 0 ...
    4 ETW000                                                         23  0.099382
    4 ETW000  [developertrace,0] -->oci_logoff(con_hdl=0)            22  0.099404
    4 ETW000  [developertrace,0] Now I'm disconnected from ORACLE
    4 ETW000                                                       1032  0.100436
    4 ETW000  [developertrace,0] Try to connect with the password I got from OPS$-us
    er
    4 ETW000                                                         25  0.100461
    4 ETW000  [developertrace,0] Connecting as SAPR3/<pwd>@DEV on connection 0 ...
    4 ETW000                                                         22  0.100483
    4 ETW000  [developertrace,0] -->oci_logon(con_hdl=0, user='SAPR3', dbname='DEV')
    4 ETW000                                                         22  0.100505
    4 ETW000  [developertrace,0] Now I'm connected to ORACLE      40345  0.140850
    So as this is not giving any error, i dont think this is a problem with sapr3 password.
    Apart from that we suspect that there is some problem with the env variable ORA_NLS33... but couldnt get to the bottom of the problem...
    Please find the trace file we got when we ran tp command:
    [developertrace,0] db_con_connect (con_name=R/3)                64  0.058188
    [developertrace,0] Got ORACLE_HOME=/oracle/DEV/920_64 from environment
                                                                     85  0.058273
    [developertrace,0] -->oci_initialize                            23  0.058296
    [developertrace,0] Got TNS_ADMIN=/oracle/DEV/920_64/network/admin from environment
                                                                     42  0.058338
    [developertrace,0] Got ORACLE_SID= from environment             43  0.058381
    [developertrace,0] Got NLS_LANG=AMERICAN_AMERICA.WE8DEC from environment
                                                                     29  0.058410
    [developertrace,0] Logon as OPS$-user to get SAPR3's password
                                                                     21  0.058431
    [developertrace,0] Connecting as /@DEV on connection 0 ...
                                                                     28  0.058459
    [developertrace,0] -->oci_logon(con_hdl=0, user='', dbname='DEV')
                                                                     30  0.058489
    [dbsloci.,6405] *** ERROR => CONNECT failed with sql error '1019'
                                                                   2235  0.060724
    [developertrace,0] Try to connect with default password         18  0.060742
    [developertrace,0] Connecting as SAPR3/<pwd>@DEV on connection 0 ...
                                                                     23  0.060765
    [developertrace,0] -->oci_logon(con_hdl=0, user='SAPR3', dbname='DEV')
                                                                     22  0.060787
    [dbsloci.,6405] *** ERROR => CONNECT failed with sql error '12705'
                                                                  60464  0.121251
    [        ,597] ***LOG BY2=>sql error 12705 performing CON       48  0.121299
    [        ,597] ***LOG BY0=>                                     17  0.121316
    [tpsqlora.c,1104] end: tp_connect                               13  0.121329
    Any help in this way is very much appreciative.
    Best Regards,
    Mani

  • Error in Check transport tool" DB Connect Link to database failed"

    Hello Guys,
    I am trying to close a request but I can't , the return this mensage :
    <b>"Test call of transport control progam(TP) ended with return code 0232"</b>
    when I try to check transport rout, I see the error below :
          <b>  DB connect            Link to database failed                  
            Offline call                   connect failed                           </b>
    My Database is SQL SERVER 2000
    Thanks

    Hai....
    Just i want to confirm, was STMS was configured previously,
    if No, Configure it .
    If yes log-in to the Domain Controller system 000 client, and execute the T-code STMS, From the menu goto Overview -> Systems
    you will be displayed all your systems, by selecting one by one system execute " Update Configuration"  from SAP System Menu.
    Regards
    KHS

  • Check Transport Tool error

    Hi,
    We are having a problem when checking the transport tool for our PRD system from the domain controller which is DEV system. Our landscape is this:
    Our DEV system/server resides in one location, the QAS and PRD server resides on another location which has different network than DEV. Is that possible to configure the transport management system with that kind of landscape? And if it is okay for a transport route to be generated for the three systems?
    When we check on the transport tool for PRD system from domain controller, we are getting inconsistent output. Please see attached screenshot.
    Hoping for a prompt response.
    Thank you!
    Regards,
    AJ

    Hi Deepanshu,
    Yes i have configured it by including PS3 and QS3 in the domain system of DEV (Domain controller) and approved it their. but when i do the distribute and activate TMS configuration, QS3 and PS3 is interrupted. Please see below error:
    And i again checked the RFC connections it is all working fine.
    But when i check the transport tool for PS3 it says below error:
    Thank you!
    Regards,
    AJ

  • STMS -- TRANSPORT TOOL ERROR DB CONNECT : LINK TO BD FAILED ? HELP

    HAI,
         i have installed a new sandbox with SAP 4.7c x200 , on windows 2003 and 64 bit kernel.
    I have to apply support packages to it .
    After fresh installation , i configured TMS and now when i check the tp  as
    STMS>OVERVIEW>SYSTEMS>SAP SYSTEM>CHECK-->TRANSPORT TOOLS , there a tree structure opens  and everything is fine except the tree part tp call  having DB CONNECT : LINNK TO DATABASE FAILED  AND
    offline call having  CONNECT  FAILED  DUOE TO DBSL LOAD FAIL
    these two comes in yellow and when i follow the detail it gives a pop up message
    as below:
          This is tp version 340.16.24 (release 640)         
    Warning: Parameter DBHOST is no longer used.       
    Warning: Parameter DBNAME is no longer used.       
    ERROR: No connect due to DbSl Load Lib Failure     
    ERROR: environment variable dbms_type is not set.  
    ERROR: Connect to UPG failed (20071102130751).     
    INFO: no trace information stored                  
    tp returncode summary:                             
    TOOLS: Highest return code of single steps was: 0  
    ERRORS: Highest tp internal error was: 0249        
    standard output from tp and from tools called by tp:
    So when i apply package it stops in CHECK_REQUIREMENT PHASE indicating that connection with db failed, also whe i reun to connect it is giving everything fine
    help me out
    regards
    manu

    Hi,
    please try to set the env variable 'dbms_type=mss' globally - just to make sure that we don't get confused here by specific users. I think tp should run under the account SAPService<SID>. Lets see what happens then...
    Regards,
    Sven

  • Transport Tool Check in STMS

    Hello Experts,
    I have problem integrating a Dev system into the production's domain controller.  There is an UAT system as well. But this system can be integrated without problem. I used the exact same method to integrate Dev.
    But when trying to 'accept' this into the domain, SAP system prompts me a message saying that this Dev is already in TPPARAM file.
    Regardless, I continued and the Dev is shown as activated and I distributed.
    When I do view this system in stms and perform 'Check Transport Tool', there Transport Profile is shown as not the domain controller's ...\sapmnt\trans but the Dev's ...\sapmnt\trans. This resulted in check failure for certain parts of this check eg. tp call could not connect to database and profile version is wrong.
    What's puzzling is that the transdir parameter in the domain controller is pointing correctly to its global transport directory and dbhost,dbnames etc of the 3 systems are correct. UAT system has no problem.
    So, I just like to find out how does the Check Tool get the location of the Transport Directory or Transport profile despite the tpparam and TP_DOmain_xxx.pfl already specifying correctly eg. transdir =
    <domaincontrollerhost>\sapmnt\trans\
    I tried overridding using Dev's instance parameter transport_exe to force point it to use <domaincontrollerhost> but to no avail.
    Please enlighten. Thank you.
    Regards,
    Mirella

    Dear Marcin,
    Thanks! Am I right to say that by default, the DIR_TRANS is not & need not be set in instance/default/start profile explicitly as it is pointing to saptranshost?
    Points awarded for your help.
    Regards,
    Mirella

  • DB failed in transport tool test STMS

    Hi all,
    I have a problem. It looks simple but I tried to resolve it with known way without sucess.
    I have two systems BWD (develop) and BWP (production).
    I configured in stms domain and transport group for these systems. Auth on DIR_TRANS is set properly, variable SAPTRANSHOST is set in hosts file.
    Tests in STMS of connection, transport tool and tsadm for BWD is ok. BWD is the domain controller.
    When i'm testing BWP connection, tsadm are ok but transport tool return an error.
    (dbms_type is not set. error code 0249.)
    db is mssql.
    I check env variables for user bwpadm and they disapear. I try to use ntenv2reg.exe but no variables are set.
    I try to add from OS to user bwpadm all necessary variables but after restart they disapear.
    Also I try to add these variables via regedit software-sap-bwp-enviroment and also after restart variables are missing.
    I don't have any other idea how to do set these variables...
    please help
    Regards,
    Michal

    1. Check to see you are running the right kernel, sometimes a 32 bit kernel will actually run in a 64 bit environment, but when cycling the service the registry won't get updated.
    2. Make sure you are running the latest version of the kernel.
    3. Worst case, remove then add the service back in, do both with sapstartsrv.exe.  When adding the service back, make sure to check the box which says use the user environment variable and put in the user running the service there.
    4. The user environment variable should contain all the necessary information.

  • I have to verify my iCloud email but every time I choose 'check mail' it says Connection to server failed cannot check mail. I have a iPhone 5c

    I have to verify my iCloud email but every time I choose 'check mail' it says Connection to server failed cannot check mail. I have a iPhone 5c

    Hi Calinalina,
    Thanks for visiting Apple Support Communities.
    You can use the steps in this article to troubleshoot iCloud mail on your iPhone:
    iCloud: Troubleshooting iCloud Mail
    http://support.apple.com/kb/ts4002
    All the best,
    Jeremy

  • Check STMS Customizing Transport request for equal entries

    Hi
    We use the BADI "CTS_REQUEST_CHECK" for some precheck before create and / or release customizing TA to inform the user that someone else is using the same customizing object in transport xy.
    Following scenario:
    Transport request 4711 is created 20.01.10 contains object "A" and released for testing in integrationsystem
    Transport request 4715 is created 10.04.10 contains object "A" and released for testing in integrationsystem
    When importing transport 4715 into productivsystem with STMS single transport there should be an error message that it's not allowed until transport 4711 is in productivsystem.
    Which BADI or Userexit could help me?
    Thanks in advance
    Michael

    Hi Diego,
    Thanks for your reply.
    I tranported the 'Default values for tax codes', are we suppose to do any pre/post activity to tranport this request.
    @Ravi: As you suggested i compared the transported before and after transport in our Dev and QA server. there is no mismatch.
    Many Thanks,
    Shanthosh

  • Transport Tool Not able to connect the DB

    Hi,
    When i check the  Transport Tool in STMS i got  this  problem :
      Link to database failed
    This is tp version 372.04.08 (release 700, unicode enabled)
    ERROR: No connect due to DbSl Load Lib Failure
    ERROR: environment variable dbms_type is not set.
    ERROR: Connect to S52 failed (20090729160937).
    INFO: no trace information stored
    tp returncode summary:
    TOOLS: Highest return code of single steps was: 0
    ERRORS: Highest tp internal error was: 0249
    standard output from tp and from tools called by tp:
    connect failed due to DbSL load lib fa..

    set the enviroment varible based on your database software as per the link below.
    [http://help.sap.com/saphelp_sm32/helpdata/EN/2b/f8993af7700577e10000000a11402f/content.htm]
    Try to connect database manually using sqlplus if it is oracle.

  • API: Transport connect failed

    Hello,
    I've a Tacacs server ver. 3.2 running on a Win2000 SRV SP4 for outbound connections and a twin server for validate inbound connections (from Vpn Cli).
    Sometimes service Tacacs seems hang (more often for outbound conns, but sometimes for inbound also), cpu's process CSTacas becomes over 90%, authentication/authorisation are not permitted and I should restart service to let Tacacs to work again.
    Any ideas ? I post TCS.log if useful, thanks in advance
    TCS 21/05/2010 14:50:18 A 0197 5608 API: Transport connect failed
    TCS 21/05/2010 14:50:19 A 0197 5608 API: Transport connect failed
    TCS 21/05/2010 14:50:19 A 0197 5012 API: Transport connect failed
    TCS 21/05/2010 14:50:20 A 0197 0524 API: Transport connect failed
    TCS 21/05/2010 14:50:25 A 0197 5872 API: Transport connect failed
    TCS 21/05/2010 14:50:25 A 0197 0524 API: Transport connect failed
    TCS 21/05/2010 14:50:25 E 0963 0524 AuthorizationFailed: failed to write log entry for user4(0)
    TCS 21/05/2010 14:50:26 A 0197 5872 API: Transport connect failed
    TCS 21/05/2010 14:50:26 E 0963 5872 AuthorizationFailed: failed to write log entry for user1(0)
    TCS 21/05/2010 14:50:36 A 0197 0524 API: Transport connect failed
    TCS 21/05/2010 14:50:36 E 0163 0524 Pix: user 'user2' fails location check for authorisation
    TCS 21/05/2010 14:50:37 A 0197 5012 API: Transport connect failed
    TCS 21/05/2010 14:50:37 E 0163 5012 Pix: user 'user2' fails location check for authorisation
    TCS 21/05/2010 14:50:39 A 0197 0524 API: Transport connect failed
    TCS 21/05/2010 14:50:39 A 0197 5608 API: Transport connect failed
    TCS 21/05/2010 14:50:39 E 0163 5608 Pix: user 'user3' fails location check for authorisation
    TCS 21/05/2010 14:50:39 A 0197 5872 API: Transport connect failed
    TCS 21/05/2010 14:50:39 A 0197 5880 API: Transport connect failed
    TCS 21/05/2010 14:50:40 A 0197 5892 API: Transport connect failed
    TCS 21/05/2010 14:50:40 A 0197 5868 API: Transport connect failed
    TCS 21/05/2010 14:50:40 A 0197 0524 API: Transport connect failed
    TCS 21/05/2010 14:50:40 E 0963 0524 AuthorizationFailed: failed to write log entry for user4(0)
    TCS 21/05/2010 14:50:44 A 0197 5868 API: Transport connect failed
    TCS 21/05/2010 14:50:45 A 0197 5868 API: Transport connect failed
    TCS 21/05/2010 14:52:21 A 0197 5880 API: Transport connect failed
    TCS 21/05/2010 14:52:22 A 0197 5880 API: Transport connect failed
    TCS 21/05/2010 14:52:46 A 0197 5012 API: Transport connect failed
    TCS 21/05/2010 14:53:14 A 0197 5892 API: Transport connect failed
    TCS 21/05/2010 14:53:14 A 0197 5880 API: Transport connect failed
    TCS 21/05/2010 14:53:15 A 0197 5892 API: Transport connect failed
    TCS 21/05/2010 14:53:40 A 0651 2096 Server stop requested
    TCS 21/05/2010 14:53:40 A 1256 2624 Release Host Cache
    TCS 21/05/2010 14:53:40 A 1262 2624 Close Proxy Cache
    TCS 21/05/2010 14:53:40 A 1285 2624 Calling CMFini()
    TCS 21/05/2010 14:53:41 A 1287 2624 CMFini() Complete
    TCS 21/05/2010 14:53:41 A 1301 2624 Closing Password Aging
    TCS 21/05/2010 14:53:41 A 1314 2624 Closing Finished
    TCS 21/05/2010 14:53:44 A 5020 6040 CSTacacs server starting ==============================
    TCS 21/05/2010 14:53:44 A 5026 6040 Running as NT service.
    TCS 21/05/2010 14:53:48 E 1051 6040 Doing Stats
    TCS 21/05/2010 14:53:48 A 1092 6040
    **** Registry Setup ****
    TCS 21/05/2010 14:53:48 A 1119 6040 Single TCP connection operation enabled
    TCS 21/05/2010 14:53:48 A 1129 6040 Base Proxy enabled.
    TCS 21/05/2010 14:53:48 A 1196 6040 ************************
    TCS 21/05/2010 14:53:48 E 1083 6040 TACACS+ server started
    TCS 21/05/2010 14:53:50 A 0825 6104 Created new Single Connection session num 0 (count 1/1)
    TCS 21/05/2010 15:08:35 A 0825 6104 Created new Single Connection session num 1 (count 2/2)
    TCS 21/05/2010 15:16:27 A 0825 4840 Created new Single Connection session num 2 (count 3/3)
    TCS 21/05/2010 15:16:27 A 0825 4840 Created new Single Connection session num 3 (count 4/4)
    TCS 21/05/2010 15:49:35 A 0825 5952 Created new Single Connection session num 4 (count 5/5)
    TCS 21/05/2010 15:49:35 A 0825 5952 Created new Single Connection session num 5 (count 6/6)
    TCS 21/05/2010 15:49:35 A 0825 5952 Created new Single Connection session num 6 (count 7/7)
    TCS 21/05/2010 15:49:35 A 0825 5952 Created new Single Connection session num 7 (count 8/8)
    TCS 21/05/2010 15:49:35 A 0825 4840 Created new Single Connection session num 8 (count 9/9)
    TCS 21/05/2010 15:49:35 A 0825 4840 Created new Single Connection session num 9 (count 10/10)
    TCS 21/05/2010 15:49:35 A 0825 4840 Created new Single Connection session num 10 (count 11/11)
    TCS 21/05/2010 15:49:35 A 0825 4840 Created new Single Connection session num 11 (count 12/12)
    TCS 21/05/2010 15:49:35 A 0825 4840 Created new Single Connection session num 12 (count 13/13)
    TCS 21/05/2010 15:49:35 A 0825 4840 Created new Single Connection session num 13 (count 14/14)
    TCS 21/05/2010 15:49:35 A 0825 4840 Created new Single Connection session num 14 (count 15/15)
    TCS 21/05/2010 15:49:35 A 0825 4840 Created new Single Connection session num 15 (count 16/16)

    Hello,
    This can happen due to,
    -Corrupt registry
    -SYN attack which overwhelmed the cstacacs service with half-open tcp connections.
    -Single to single connect, acs getting out of threads, please disable single connect on acs and on aaa-client.
    ACS-->Network configuration-->AAA-client--->Edit--->Single connect.
    Please check this bug,
    http://tools.cisco.com/Support/BugToolKit/search/getBugDetails.do?caller=pluginredirector&method=fetchBugDetails&bugId=CSCeh37849
    Regards,
    ~JG
    Do rate helpful posts

  • CryptDecrypt function failing on Windows Server 2012

    Hi,
    I have a sample program which does encryption / decryption.
    This program works on Win7 and Win8.1 but fails on Windows Server 2012.
    Please can somebody help me on resolving this issue?
    const char KEY_FILE[255] = "C:\\key.txt";
    In Constructor:
    dwResult= 0;
    hProv = 0;
    hKey = 0;
    hSessionKey = 0;
    cbBlob = 0;
    pbBlob = NULL;
    cbBlob = file_length(KEY_FILE);
    pbBlob = (BYTE*)malloc(cbBlob + 1);
    memset(pbBlob, 0, cbBlob + 1);
    FILE *fp = fopen(KEY_FILE, "rb");
    if (fp) {
    fread(pbBlob, 1, cbBlob, fp);
    fclose(fp);
    } else {
    free(pbBlob);
    pbBlob = NULL;
    if (!CryptAcquireContext(&hProv, NULL, MS_DEF_PROV, PROV_RSA_FULL, 0))
    dwResult = GetLastError();
    if (dwResult == NTE_BAD_KEYSET)
    if (!CryptAcquireContext(&hProv, NULL, MS_DEF_PROV, PROV_RSA_FULL, CRYPT_NEWKEYSET))
    dwResult = GetLastError();
    MessageBox("Error [0x%x]: CryptAcquireContext() failed.", "Information", MB_OK);
    return;
    } else {
    dwResult = GetLastError();
    return;
    if (pbBlob) {
    if (!CryptImportKey(hProv, pbBlob, cbBlob, 0, 0, &hSessionKey))
    dwResult = GetLastError();
    MessageBox("Error [0x%x]: CryptImportKey() failed.", "Information", MB_OK);
    return;
    } else {
    if (!CryptImportKey(hProv, PrivateKeyWithExponentOfOne, sizeof(PrivateKeyWithExponentOfOne), 0, 0, &hKey))
    dwResult = GetLastError();
    MessageBox("Error CryptImportKey() failed.", "Information", MB_OK);
    return;
    if (!CryptGenKey(hProv, CALG_RC4, CRYPT_EXPORTABLE, &hSessionKey))
    dwResult = GetLastError();
    MessageBox("Error CryptGenKey() failed.", "Information", MB_OK);
    return;
    //{{AFX_DATA_INIT(CCryptoEncryptionDlg)
    m_cipher = _T("");
    m_clear = _T("Encrypt me");
    When I click on Encryption Button:
    UpdateData();
    unsigned long length = m_clear.GetLength() +1;
    unsigned char * cipherBlock = (unsigned char*)malloc(length);
    memset(cipherBlock, 0, length);
    memcpy(cipherBlock, m_clear, length -1);
    if (!CryptEncrypt(hSessionKey, 0, TRUE, 0, cipherBlock, &length, length))
    dwResult = GetLastError();
    MessageBox("Error CryptEncrypt() failed.", "Information", MB_OK);
    return;
    m_cipher = cipherBlock;
    m_clear = "";
    free(cipherBlock);
    UpdateData(FALSE);
    When I click on Decrypt button:
    UpdateData();
    unsigned long length = m_cipher.GetLength() +1;
    unsigned char * cipherBlock = (unsigned char*)malloc(length);
    memset(cipherBlock, 0, length);
    memcpy(cipherBlock, m_cipher, length -1);
    int retVal = CryptDecrypt(hSessionKey, 0, TRUE, CRYPT_DECRYPT_RSA_NO_PADDING_CHECK, (BYTE*)cipherBlock, &length);
    if (!retVal)
    dwResult = GetLastError();
    MessageBox("Error CryptDecrypt() failed.", "Information", MB_OK);
    return;
    dwResult = GetLastError();
    m_clear = cipherBlock;
    m_cipher = "";
    free(cipherBlock);
    UpdateData(FALSE);
    The source is from http://www.codeproject.com/Articles/11578/Encryption-using-the-Win-Crypto-API
    I just got the source code from above link and compiled in VS2012. The same code works as-is in Win8.1 but fails in loading itself in Windows Server 2012.
    Thanks in advance.
    Regards,
    Raj

    Windows CE is pretty old but I see that used a bit in 3rd world markets where people are not rich enough to afford more modern gear.
    I use 7-zip for backups, and the SDK is open source which means it can be used in another project such a specialized backup or other tool
    7-zip has the AES in the SDK which is been checked as solid.
    Place your rig specifics into your signature like I have, makes it 100x easier!
    Hardcore Games Legendary is the Only Way to Play!
    Vegan Advocate How can you be an environmentalist and still eat meat?

  • Transport a request from one server(quality) to another server(production)

    Hi All,
    I want to transport a request from one server(quality) to another server(production)
    Can we transport a request from quality to production programatically i.e. by using programing logic.
    Regards,
    Swarup

    Hi,
    It cannot be done programmatically. Although it can be automated by basis guys. They configure it in TMS (Transport Management System). You can check it using STMS. (if you are authorized to view it).
    Transport path are defined in TMS.
    For Automated Transport configuration is done in TMS.
    Generally automatic Transport are not setup between quality and production. Changes are first tested in Quality and then Transported by basis team either periodically / individually.
    In case of manual transport Transport Request can be imported in production using STMS_IMPORT transaction in production. (Basis guy will do it for approved Transports)
    If there is no direct connectivity - Basis people copy "data" file and "co" file and Transport it to target server (This is generally not the case in Quality - production as Transport path is always defined).
    Regards,
    Mohaiyuddin

  • Running ant build scripts from cmd fails on Windows Server

    Hi all!
    I'm trying to build and package ME on a Windows Server calling the ant build script targets from cmd. This works fine on a Windows XP machine. On a Windows Server machine however the ant internal calls to nwcetool.bat are failing because -files are not found in DEPLOYARCHIVES. And these files are really not there although they should have been created by nwcetool.
    Does anyone have a clue why calling ant build script in cmd on a Windows XP machine will work but fails on Window Server?
    Thanks a lot!

    And this is part 2 :
    package.sca.impl:
       delete Deleting directory C:\SAP\SAPME\SDK\build\results\server\package.sca
        mkdir Created dir: C:\SAP\SAPME\SDK\build\results\server\package.sca
        mkdir Created dir: C:\SAP\SAPME\SDK\build\results\server\package.sca\ear
        mkdir Created dir: C:\SAP\SAPME\SDK\build\results\server\package.sca\sca\BUILDARCHIVES
        mkdir Created dir: C:\SAP\SAPME\SDK\build\results\server\package.sca\sca\DEPLOYARCHIVES
       delete Deleting directory C:\SAP\SAPME\SDK\build\results\server\create.application.xml
        mkdir Created dir: C:\SAP\SAPME\SDK\build\results\server\create.application.xml
         echo 2011-04-07 09:33:45 Creating application descriptor.
         xslt Processing C:\SAP\SAPME\SDK\extension\META-INF\application.xml to C:\SAP\SAPME\SDK\build\results\server\create.application.xml\application.xml
         xslt Loading stylesheet C:\SAP\SAPME\SDK\build\xslt\create-application-xml.xslt
         xslt ejbModule=
         xslt webModule=salt-webservice
         copy Copying 1 file to C:\SAP\SAPME\SDK\extension\META-INF
       delete Deleting directory C:\SAP\SAPME\SDK\build\results\server\merge.application.xml
        mkdir Created dir: C:\SAP\SAPME\SDK\build\results\server\merge.application.xml
         echo 2011-04-07 09:33:45 Merging application descriptor "C:\SAP\SAPME\SDK\extension\META-INF/application.xml" with "C:\SAP\SAPME\SDK\build\results\server\master\resources\xml/application.xml".
         xslt Processing C:\SAP\SAPME\SDK\build\results\server\master\resources\xml\application.xml to C:\SAP\SAPME\SDK\build\results\server\merge.application.xml\merged.xml
         xslt Loading stylesheet C:\SAP\SAPME\SDK\build\xslt\jee-application-merge.xslt
         xslt jee-application-merge: file to merge is C:\SAP\SAPME\SDK\extension\META-INF/application.xml
         xslt jee-application-merge: checking for module conflicts...
         xslt jee-application-merge: Base EJBs=me.activity.ejb-5.2.5.3-Base.jar m
    e.alarm.ejb-5.2.5.3-Base.jar me.appconfig.ejb-5.2.5.3-Base.jar me.backgroundproc
    ess.ejb-5.2.5.3-Base.jar me.browse.ejb-5.2.5.3-Base.jar me.common.frame.ejb-5.2.
    5.3-Base.jar me.container.ejb-5.2.5.3-Base.jar me.correctiveaction.ejb-5.2.5.3-B
    ase.jar me.customdata.ejb-5.2.5.3-Base.jar me.datacollection.ejb-5.2.5.3-Base.ja
    r me.dbsequence.ejb-5.2.5.3-Base.jar me.defaultvalue.ejb-5.2.5.3-Base.jar me.dem
    and.ejb-5.2.5.3-Base.jar me.integration.xml.ejb-5.2.5.3-Base.jar me.inventory.ej
    b-5.2.5.3-Base.jar me.nonconformance.ejb-5.2.5.3-Base.jar me.productdefinition.e
    jb-5.2.5.3-Base.jar me.production.ejb-5.2.5.3-Base.jar me.status.ejb-5.2.5.3-Bas
    e.jar me.numbering.ejb-5.2.5.3-Base.jar me.diagnostics.ejb-5.2.5.3-Base.jar me.d
    ocument.ejb-5.2.5.3-Base.jar me.httpserver.ejb-5.2.5.3-Base.jar me.integration.c
    nc.ejb-5.2.5.3-Base.jar me.integration.collaboration.ejb-5.2.5.3-Base.jar me.int
    egration.sap.ejb-5.2.5.3-Base.jar me.labor.ejb-5.2.5.3-Base.jar me.user.ejb-5.2.
    5.3-Base.jar me.ods.ejb-5.2.5.3-Base.jar me.plant.ejb-5.2.5.3-Base.jar me.produc
    tiondate.ejb-5.2.5.3-Base.jar me.reasoncode.ejb-5.2.5.3-Base.jar me.reporting.ej
    b-5.2.5.3-Base.jar me.rtw.ejb-5.2.5.3-Base.jar me.script.ejb-5.2.5.3-Base.jar me
    .security.ejb-5.2.5.3-Base.jar me.solutionverification.ejb-5.2.5.3-Base.jar me.t
    imegranularity.ejb-5.2.5.3-Base.jar me.tooling.ejb-5.2.5.3-Base.jar
         xslt jee-application-merge: SSP EJBs=
         copy Copying 1 file to C:\SAP\SAPME\SDK\build\results\server\sda\META-INF
         copy Copying 163 files to C:\SAP\SAPME\SDK\build\results\server\package.sca\ear
          jar Building jar: C:\SAP\SAPME\SDK\build\results\server\package.sca\sca\BUILDARCHIVES\me.ear
         echo 2011-04-07 09:33:45 nwce.tool=C:\SAP\SAPME\SDK\build\tools\ceclt\nwcetool\nwcetool.bat, nwce.tool.lib=C:\SAP\SAPME\SDK\build\tools\ceclt\lib, CECLT JDK=C:Program Files (x86)Javajdk1.5.0_22
         echo 2011-04-07 09:33:45 Executing CECLT with the following arguments:
    -c "createsda -n me/ear -v sap.com -l local -type J2EE -counter 5.2.5.3.330 -scn
    ME -scv sap.com -deps sap.com:me/security/loginmodule BUILDARCHIVES\me.ear DEPLOYARCHIVES\me.web-ext.sda-5.2.5.3-Base" -e
         exec The filename, directory name, or volume label syntax is incorrect.
         exec Result: 1
    BUILD FAILED
    C:\SAP\SAPME\SDK\build\script\build.dev.sobsap2.xml:1665: The following error occurred while executing this line:
    C:\SAP\SAPME\SDK\build\script\build.dev.sobsap2.xml:1723: Warning: Could not find file C:\SAP\SAPME\SDK\build\results\server\package.sca\sca\DEPLOYARCHIVES\me.web-ext.sda-5.2.5.3-Base.ear to copy.

  • J2EE Engine Not Starting Up In Discovery Server

    Hello All,
    We just got a new Discovery Server, I have completed all the steps pointed out in the SAP Guide, but then when I try to restart the server, teh J2EE Engine does NOT come up, I checked the log files and when I checked the Log File I keep seeing this message:
    DpProcKill: kill failed
    After this I checked the dev_jcontrol files and this is what I see:
    [Thr 5552] Fri May 15 09:08:37 2007
    [Thr 5552] *** ERROR => invalid return code of process [bootstrap] (exitcode = -2) [jstartxx.c   1642]
    [Thr 5552] JControlExecuteBootstrap: error executing bootstrap node [bootstrap] (rc = -2)
    [Thr 5552] JControlCloseProgram: started (exitcode = -2)
    [Thr 5552] JControlCloseProgram: good bye... (exitcode = -2)
    I read few other Forums and they keep saying its a NetWork issues can someone please tell how I can solve this problem.
    Best Wishes,
    John.

    First check what the issue is with the bootstrap loader. See in \usr\sap\SID\DVEBMSGnn\work directory and look for the contents of the following files:
    - std_bootstrap
    - dev_bootstrap
    - dev_server0

Maybe you are looking for

  • How to track what changes made in process order?

    Hello Friends, I want to find out the changes done in process order after its creation.Right now in administration tab in process order i can find the date , time and user name who made the last change.But even i want to see what changes that user ma

  • Mac Mini - iPod 5th gen - Mac PowerBook

    I generally use my Mac Mini at home to update my iPod (upgraded to a 5th gen). Now, since I travel, it would be nice to load the videos onto my PowerBook (since I'm allowed to authorize more computers). But I haven't seen a convenient way to do this.

  • Merging layers in Photoshop Elements 8

    I'm having trouble merging layers in photoshop elements 8. I have a .psd file that I have used in the past to add a background color, shape template, and restrict the size of images I have posted to my website. In the past I have used photoshop eleme

  • Which scanner do You recommend for Lion?

    my HP scanjet 3970 is signed by lion as a pc power programm that is no longer supported.

  • Selection Screen in Screens

    Hi, I am using Selection screen as a subscreen in a screen.The selection screen is having few parameters and a push button with function code. So how can i (to execute few statements by finding the function code) capturing  the function code by the u