PGP Decryption Error (File is no valid PGP Message)

Hi, I'm encountering an error while decrypting a pgp file.  Error is MP: exception caught with cause com.sap.aii.af.lib.mp.module.ModuleException: File is no valid PGP Message, could not apply decryption.
I have tested decrypting the file using an external tool and was able to decrypt it but not in PI.  Below is my configs in sender commChannel (Note: no file content conversion is involved).  Any ideas on how to resolve this? Thank you.

Hi Sarah, thanks for the response. I tried arranging the sequence as you've suggested but once saved, it will re-arrange to the old order as below:
keyRootPath
ownPrivateKey
partnerPublicKey
pwdOwnPrivateKey
With regards to running XPI Inspector Tool, i will install it first.
For the meantime, are there other suggestions?
Thank you.

Similar Messages

  • File Not a Valid MPEG ERROR # 20402

    I am trying to burn a demo reel DVD and whenever I go to burn it I get a error that says DVD ERROR FILE NOT A VALID MPEG ERROR [20404]. I removed a couple of the files that could possibly be suspect for being corrupted but I still get the error. By subtracting the amount of mega bytes still to burn from the amount of megs on the DVD I thought I had narrowed it down to just 2 of the videos. But alas no such luck. Is it possible that in the building of the motion menus it somehow didn't build them right? Its always towards the end of the disk when it decides to automatically cancel the build.

    Hi Guys,
    I've been using Encore for a few years, using AME to transcode all my Premiere Pro timelines and suddenly I've had a week of transcoding problems with Encore (CS5.1) saying everything from, I'm using the wrong aspect ratio to not a valid mpeg file. It was something different each time I fixed the previous problem (without it being a problem in the first place).
    After reading all your helpful tips throughout the different forums and trying your suggestions, I have solved my problem. Thought I would post this to hopefully help some of you.
    I simply let Encore transcode my timeline from Premiere Pro and my motion menus from After Effects (all assets in other words) making sure all are set to automatic. You can imagine how surprised I was when the disc popped out with the 100% complete message.
    Thanks for all your posts, hope this can help others.
    Wayne Le Compte.
    Loud Films.
    Loud Graphic Design.

  • Validation of outbound FIle with respect to outbound Message type

    Hi Experts,
       I have file system at outbound side and defined the Data Type, Message Type for this. Now a want to validate the outbound file against the Message type structure i have defined. Now if the file is not validated against Message type, i want to create the log file that will explain what were the errors in the outbound file and move the file to other archive else send it to inbound system.
    Plz suggest the solution.
    Thanks and regards,
    Vishal

    This is the best document for starting on Adapter Modules,
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3bdc14e1-0901-0010-b5a9-a01e29d75a6a">How To Create Modules for the J2EE Adapter Engine</a>
    Example Adapter Module,
    http://help.sap.com/saphelp_nw2004s/helpdata/en/e9/61e1407e858031e10000000a1550b0/content.htm
    Regards
    Bhavesh
    PS : Do a search on SDN. For instance, look into the How To gudies Section on the XI home page.You will find most of the documents available here.

  • AS2 decryption error on file sizes greater than 5MB.

    We have a client who is not using biztalk but transmitting files to us via AS2. The AS2 file transmission occurs seamlessly when the file size is below 5MB, but Biztalk AS2 decoder fails to decrypt when file size exceeds 5MB. After searching the forums,
    I learned that this is a known issue and there is a  hot fix available to fix that issue. I wanted to replicate the same issue in my test environment so that i can apply the hot fix in that environment and make sure nothing breaks. I replicated the AS2
    setup in 2 biztalk test machines . I used one machine as partner A and the other as partner B, then transmitted AS2 files from partner A to partner B. I sent  files with sizes 2MB, 5MB, 15MB, and 50MB, but partner B received all the decrypted files successfully.
    Production servers and test servers have biztalk 2010 installed.
    In conclusion, the decryption issue is occurring in production machine only, and I am unable to replicate that issue in our test servers. I am scared to apply the hot fix or CU5 directly in production. Please advise if there is something else i am missing. 
    Thank you.
    Error message:
    Error details: An output message of the component "Microsoft.BizTalk.EdiInt.PipelineComponents" in receive pipeline "Microsoft.BizTalk.EdiInt.DefaultPipelines.AS2Receive, Microsoft.BizTalk.Edi.EdiIntPipelines, Version=3.0.1.0, Culture=neutral,
    PublicKeyToken=31bf3856ad364e35" is suspended due to the following error:
    An error occurred when decrypting an AS2 message..
    The sequence number of the suspended message is 2
    Hot fixes to fix the issue:
    http://support.microsoft.com/kb/2480994/en-us
    For some people CU5 fixed the issue.
    Dilip Bandi

    First, make sure CU5 wasn't unintentionally applied by Windows Update to your test config.
    Second, either way, a valid strategy would be to apply CU5 as a normal patch, meaning DEV->TEST->UAT->PROD (or whatever your promotion path is).  That way, you'll test for any breaking changes anyway and if the AS/2 issues isn't fixed, well,
    you really no worse off.

  • Failed to decrypt protected XML node "DTS:Password" with error 0x8009000B "Key not valid for use in specified state

    we have developed packages to do the followings
    Extract data from DB2 Source and put it in MS Sql Server 2008 database (Lets Say DatabaseA).From MS Sql Server 2008 (DatabaseA)
    we will process the data and place it in another database MS Sql Server 2008 (DatabaseB)
    We have created packages in BIDS..We created datasource connection in Datasource folder in BIDS..Which has DB2 Connection and both Ms Sql Server connection (Windows authentication-Let
    say its pointing to the server -ServerA which has DatabaseA and DatabaseB).The datasource connections will be used in packages during development.
    For deployment we have created Package Configuration which will have both DB2 Connection and MS SqlServer connection in the config
    We deployed the packages in different MS SqlServer by changing the connectionstring in the config for DB2 and MS SqlServer...
    While runing the package we are getting the following error message
    Code: 0xC0016016     Source:       Description: Failed to decrypt protected XML node "DTS:Password" with error 0x8009000B "Key not valid for
    use in specified state.". You may not be authorized to access this information. This error occurs when there is a cryptographic error. Verify that the correct key is available.
    ilikemicrosoft

    Hi Surendiran,
    This is because the package has been created by somebody else and the package is being deployed under sombody else's account. e.g. If you are the creator then the package is encryption set according to your account and the package setup in SQL server is
    under a different user account.
    This happens because the package protection level is set to EncryptSensitiveWithUserKey which encrypts
    sensitive information using creator's account name.
    As a solution:
    Either you have to set up the package in SQL server under your account (which some infrastructures do not allow).
    OR
    Set the package property Protection Level to "DontSaveSensitive" and add a configuration file
    to the package and set the initial values for all the variables and all the connection manager in that configuration file (which might be tedious of-course).
    OR
    The third options (which I like do) is to open the package file and delete the password encryption entries from the package. Do note that this is not supported by designer and every time you make changes to the connection managers these encryption entries come
    back.
    Hope this helps. 
    Please mark the post as answered if it answers your question

  • Getting Error while decrypt a file using Blowfish algorithm

    I am using blowfish algorithm for encrypt and decrypt my file. this is my code for encrypting decrypting .
    while i am running program i am getting an Exception
    Exception in thread "main" javax.crypto.BadPaddingException: Given final block not properly padded
    at com.sun.crypto.provider.SunJCE_h.b(DashoA6275)
    at com.sun.crypto.provider.SunJCE_h.b(DashoA6275)
    at com.sun.crypto.provider.BlowfishCipher.engineDoFinal(DashoA6275)
    at javax.crypto.Cipher.doFinal(DashoA12275)
    at Blowfishexe.main(Blowfishexe.java:65)
    import java.security.*;
    import javax.crypto.*;
    import javax.crypto.spec.*;
    import java.io.*;
    import org.bouncycastle.crypto.CryptoException;
    import org.bouncycastle.crypto.KeyGenerationParameters;
    import org.bouncycastle.crypto.engines.DESedeEngine;
    import org.bouncycastle.crypto.generators.DESedeKeyGenerator;
    import org.bouncycastle.crypto.modes.CBCBlockCipher;
    import org.bouncycastle.crypto.paddings.PaddedBufferedBlockCipher;
    import org.bouncycastle.crypto.params.DESedeParameters;
    import org.bouncycastle.crypto.params.KeyParameter;
    import org.bouncycastle.util.encoders.Hex;
    public class Blowfishexe {
    public static void main(String[] args) throws Exception {
    KeyGenerator kgen = KeyGenerator.getInstance("Blowfish");
              kgen.init(128);
              String keyfile="C:\\Encryption\\BlowfishKey.dat";
    SecretKey skey = kgen.generateKey();
    byte[] raw = skey.getEncoded();
    SecretKeySpec skeySpec = new SecretKeySpec(raw, "Blowfish");
              System.out.println("key"+raw);
                   byte[] keyBytes = skey.getEncoded();
                   byte[] keyhex = Hex.encode(keyBytes);
                   BufferedOutputStream keystream =
    new BufferedOutputStream(new FileOutputStream(keyfile));
                        keystream.write(keyhex, 0, keyhex.length);
    keystream.flush();
    keystream.close();
    Cipher cipher = Cipher.getInstance("Blowfish");
    cipher.init(Cipher.ENCRYPT_MODE, skeySpec);
              System.out.println("secretKey"+skeySpec);
    FileOutputStream fos=new FileOutputStream("C:\\Encryption\\credit11.txt");
              BufferedReader br=new BufferedReader(new FileReader("C:\\Encryption\\credit.txt"));
              String text=null;
              byte[] plainText=null;
              byte[] cipherText=null;
              while((text=br.readLine())!=null)
              System.out.println(text);
              plainText = text.getBytes();
              cipherText = cipher.doFinal(plainText);
              fos.write(cipherText);
              br.close();
              fos.close();
              cipher.init(Cipher.DECRYPT_MODE, skeySpec);
              FileOutputStream fos1=new FileOutputStream("C:\\Encryption\\BlowfishOutput.txt");
              BufferedReader br1=new BufferedReader(new FileReader("C:\\Encryption\\credit11.txt"));
              String text1=null;
              /*while((text1=br1.readLine())!=null)
                   System.out.println("text is"+text1);
                   plainText=text1.getBytes("UTF8");
                   cipherText=cipher.doFinal(plainText);
                   fos1.write(cipherText);
              br1.close();
              fos1.close();
    //byte[] encrypted = cipher.doFinal("This is just an example".getBytes());
              //System.out.println("encrypted value"+encrypted);*/
    Any one pls tell me how to slove my problem
    thanks in advance

    hi
    i got the solution. its working now
    but blowfish key ranges from 56 to448
    while i am writing the code as
    KeyGenerator keyGenerator = KeyGenerator.getInstance("Blowfish");
    keyGenerator.init(448);
    this code is generating the key upto 448 bits
    but coming to encoding or decode section key length is not accepting
    cipher.init(Cipher.ENCRYPT_MODE, key);
    Exception in thread "main" java.security.InvalidKeyException: Illegal key size or default parameters
    at javax.crypto.Cipher.a(DashoA12275)
    at javax.crypto.Cipher.a(DashoA12275)
    at javax.crypto.Cipher.a(DashoA12275)
    at javax.crypto.Cipher.init(DashoA12275)
    at javax.crypto.Cipher.init(DashoA12275)
    at Blowfish1.main(Blowfish1.java:46)
    i am getting this error
    what is the solution for this type of exception.
    thank you

  • Error - 2048 not a valid movie file

    hello,
    I'm a NAPP member and had been following the photoshop TV casts on QT....however, now I get the error message 'error - 2048 not a valid movie file'...its an mpeg4 QT file, but I get the message whenever I attempt to play the downloaded file...or when I try to just watch the stream, it won't open the URL...these are the only movies that I'm having this problem with...as I can watch other movies from other sites w/o incident...NAPP hasn't replied to my inquiries except that they don't support the TV shows.
    Any ideas?...would be appreciated...
    Thanks...
    G5 - dual 1.8 ghz - 2ghz ram   Mac OS X (10.3.7)   Dell Inspiron Core Duo notebook w/ XP home

    T S
    Thank you very much for the link to videolan.org. I was having the same problem playing downloaded Photoshop TV videos. I tried MPlayer which worked but was not comprehensible. I had never heard of videolan, but it works like a charm.
    Thanks again.
    17 PowerBook, 1.33 Ghz   Mac OS X (10.4.6)   2 GB Ram, iWeb 1.1.1

  • REST API: Create Deployment throwing error BadRequest (The specified configuration settings for Settings are invalid. Verify that the service configuration file is a valid XML file, and that role instance counts are specified as positive integers.)

    Hi All,
    We are trying to access the Create Deployment method stated below
    http://msdn.microsoft.com/en-us/library/windowsazure/ee460813
    We have uploaded the Package in the blob and browsing the configuration file. We have checked trying to upload manually the package and config file in Azure portal and its working
    fine.
    Below is the code we have written for creating deployment where "AzureEcoystemCloudService" is our cloud service name where we want to deploy our package. I have also highlighted the XML creation
    part.
    byte[] bytes =
    new byte[fupldConfig.PostedFile.ContentLength + 1];
                fupldConfig.PostedFile.InputStream.Read(bytes, 0, bytes.Length);
    string a = Encoding.UTF8.GetString(bytes, 0, bytes.Length);
    string base64ConfigurationFile = a.ToBase64();
    X509Certificate2 certificate =
    CertificateUtility.GetStoreCertificate(ConfigurationManager.AppSettings["thumbprint"].ToString());
    HostedService.CreateNewDeployment(certificate,
    ConfigurationManager.AppSettings["SubscriptionId"].ToString(),
    "2012-03-01", "AzureEcoystemCloudService", Infosys.AzureEcosystem.Entities.Enums.DeploymentSlot.staging,
    "AzureEcoystemDeployment",
    "http://shubhendustorage.blob.core.windows.net/shubhendustorage/Infosys.AzureEcoystem.Web.cspkg",
    "AzureEcoystemDeployment", base64ConfigurationFile,
    true, false);   
    <summary>
    /// </summary>
    /// <param name="certificate"></param>
    /// <param name="subscriptionId"></param>
    /// <param name="version"></param>
    /// <param name="serviceName"></param>
    /// <param name="deploymentSlot"></param>
    /// <param name="name"></param>
    /// <param name="packageUrl"></param>
    /// <param name="label"></param>
    /// <param name="base64Configuration"></param>
    /// <param name="startDeployment"></param>
    /// <param name="treatWarningsAsError"></param>
    public static
    void CreateNewDeployment(X509Certificate2 certificate,
    string subscriptionId,
    string version, string serviceName, Infosys.AzureEcosystem.Entities.Enums.DeploymentSlot deploymentSlot,
    string name, string packageUrl,
    string label, string base64Configuration,
    bool startDeployment, bool treatWarningsAsError)
    Uri uri = new
    Uri(String.Format(Constants.CreateDeploymentUrlTemplate, subscriptionId, serviceName, deploymentSlot.ToString()));
    XNamespace wa = Constants.xmlNamespace;
    XDocument requestBody =
    new XDocument();
    String base64ConfigurationFile = base64Configuration;
    String base64Label = label.ToBase64();
    XElement xName = new
    XElement(wa + "Name", name);
    XElement xPackageUrl =
    new XElement(wa +
    "PackageUrl", packageUrl);
    XElement xLabel = new
    XElement(wa + "Label", base64Label);
    XElement xConfiguration =
    new XElement(wa +
    "Configuration", base64ConfigurationFile);
    XElement xStartDeployment =
    new XElement(wa +
    "StartDeployment", startDeployment.ToString().ToLower());
    XElement xTreatWarningsAsError =
    new XElement(wa +
    "TreatWarningsAsError", treatWarningsAsError.ToString().ToLower());
    XElement createDeployment =
    new XElement(wa +
    "CreateDeployment");
                createDeployment.Add(xName);
                createDeployment.Add(xPackageUrl);
                createDeployment.Add(xLabel);
                createDeployment.Add(xConfiguration);
                createDeployment.Add(xStartDeployment);
                createDeployment.Add(xTreatWarningsAsError);
                requestBody.Add(createDeployment);
                requestBody.Declaration =
    new XDeclaration("1.0",
    "UTF-8", "no");
    XDocument responseBody;
    RestApiUtility.InvokeRequest(
                    uri, Infosys.AzureEcosystem.Entities.Enums.RequestMethod.POST.ToString(),
    HttpStatusCode.Accepted, requestBody, certificate, version,
    out responseBody);
    <summary>
    /// A helper function to invoke a Service Management REST API operation.
    /// Throws an ApplicationException on unexpected status code results.
    /// </summary>
    /// <param name="uri">The URI of the operation to invoke using a web request.</param>
    /// <param name="method">The method of the web request, GET, PUT, POST, or DELETE.</param>
    /// <param name="expectedCode">The expected status code.</param>
    /// <param name="requestBody">The XML body to send with the web request. Use null to send no request body.</param>
    /// <param name="responseBody">The XML body returned by the request, if any.</param>
    /// <returns>The requestId returned by the operation.</returns>
    public static
    string InvokeRequest(
    Uri uri,
    string method,
    HttpStatusCode expectedCode,
    XDocument requestBody,
    X509Certificate2 certificate,
    string version,
    out XDocument responseBody)
                responseBody =
    null;
    string requestId = String.Empty;
    HttpWebRequest request = (HttpWebRequest)HttpWebRequest.Create(uri);
                request.Method = method;
                request.Headers.Add("x-ms-Version", version);
                request.ClientCertificates.Add(certificate);
                request.ContentType =
    "application/xml";
    if (requestBody != null)
    using (Stream requestStream = request.GetRequestStream())
    using (StreamWriter streamWriter =
    new StreamWriter(
                            requestStream, System.Text.UTF8Encoding.UTF8))
                            requestBody.Save(streamWriter,
    SaveOptions.DisableFormatting);
    HttpWebResponse response;
    HttpStatusCode statusCode =
    HttpStatusCode.Unused;
    try
    response = (HttpWebResponse)request.GetResponse();
    catch (WebException ex)
    // GetResponse throws a WebException for 4XX and 5XX status codes
                    response = (HttpWebResponse)ex.Response;
    try
                    statusCode = response.StatusCode;
    if (response.ContentLength > 0)
    using (XmlReader reader =
    XmlReader.Create(response.GetResponseStream()))
                            responseBody =
    XDocument.Load(reader);
    if (response.Headers !=
    null)
                        requestId = response.Headers["x-ms-request-id"];
    finally
                    response.Close();
    if (!statusCode.Equals(expectedCode))
    throw new
    ApplicationException(string.Format(
    "Call to {0} returned an error:{1}Status Code: {2} ({3}):{1}{4}",
                        uri.ToString(),
    Environment.NewLine,
                        (int)statusCode,
                        statusCode,
                        responseBody.ToString(SaveOptions.OmitDuplicateNamespaces)));
    return requestId;
    But every time we are getting the below error from the line
     response = (HttpWebResponse)request.GetResponse();
    <Error xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
      <Code>BadRequest</Code>
      <Message>The specified configuration settings for Settings are invalid. Verify that the service configuration file is a valid XML file, and that role instance counts are specified as positive integers.</Message>
    </Error>
     Any help is appreciated.
    Thanks,
    Shubhendu

    Please find the request XML I have found it in debug mode
    <CreateDeployment xmlns="http://schemas.microsoft.com/windowsazure">
      <Name>742d0a5e-2a5d-4bd0-b4ac-dc9fa0d69610</Name>
      <PackageUrl>http://shubhendustorage.blob.core.windows.net/shubhendustorage/WindowsAzure1.cspkg</PackageUrl>
      <Label>QXp1cmVFY295c3RlbURlcGxveW1lbnQ=</Label>
      <Configuration>77u/PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0NCiAgKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKg0KDQogIFRoaXMgZmlsZSB3YXMgZ2VuZXJhdGVkIGJ5IGEgdG9vbCBmcm9tIHRoZSBwcm9qZWN0IGZpbGU6IFNlcnZpY2VDb25maWd1cmF0aW9uLkNsb3VkLmNzY2ZnDQoNCiAgQ2hhbmdlcyB0byB0aGlzIGZpbGUgbWF5IGNhdXNlIGluY29ycmVjdCBiZWhhdmlvciBhbmQgd2lsbCBiZSBsb3N0IGlmIHRoZSBmaWxlIGlzIHJlZ2VuZXJhdGVkLg0KDQogICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioNCi0tPg0KPFNlcnZpY2VDb25maWd1cmF0aW9uIHNlcnZpY2VOYW1lPSJXaW5kb3dzQXp1cmUxIiB4bWxucz0iaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS9TZXJ2aWNlSG9zdGluZy8yMDA4LzEwL1NlcnZpY2VDb25maWd1cmF0aW9uIiBvc0ZhbWlseT0iMSIgb3NWZXJzaW9uPSIqIiBzY2hlbWFWZXJzaW9uPSIyMDEyLTA1LjEuNyI+DQogIDxSb2xlIG5hbWU9IldlYlJvbGUxIj4NCiAgICA8SW5zdGFuY2VzIGNvdW50PSIyIiAvPg0KICAgIDxDb25maWd1cmF0aW9uU2V0dGluZ3M+DQogICAgICA8U2V0dGluZyBuYW1lPSJNaWNyb3NvZnQuV2luZG93c0F6dXJlLlBsdWdpbnMuRGlhZ25vc3RpY3MuQ29ubmVjdGlvblN0cmluZyIgdmFsdWU9IkRlZmF1bHRFbmRwb2ludHNQcm90b2NvbD1odHRwcztBY2NvdW50TmFtZT1zaHViaGVuZHVzdG9yYWdlO0FjY291bnRLZXk9WHIzZ3o2aUxFSkdMRHJBd1dTV3VIaUt3UklXbkFrYWo0MkFEcU5saGRKTTJwUnhnSzl4TWZEcTQ1ZHI3aDJXWUYvYUxObENnZ0FiZnhONWVBZ2lTWGc9PSIgLz4NCiAgICA8L0NvbmZpZ3VyYXRpb25TZXR0aW5ncz4NCiAgPC9Sb2xlPg0KPC9TZXJ2aWNlQ29uZmlndXJhdGlvbj4=</Configuration>
      <StartDeployment>true</StartDeployment>
      <TreatWarningsAsError>false</TreatWarningsAsError>
    </CreateDeployment>
    Shubhendu G

  • Pages is not saving document correctly.  After saving the changes either do not appear or you can not open the file. The error is "not a valid format"  I am in Pages '09 4.1 (923).  I also use Parallels.  Anyone having similar issues?

    Pages is not saving document correctly.  After saving the changes either do not appear or you can not open the file. The error is "not a valid format"  I am in Pages '09 4.1 (923).  I also use Parallels.  Anyone having similar issues?

    I'm not sure that Lion AutoSave feature apply to network servers.
    I'm just sure that the Versions feature doesn't.
    Yvan KOENIG (VALLAURIS, France) samedi 21 janvier 2012
    iMac 21”5, i7, 2.8 GHz, 12 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
    My Box account  is : http://www.box.com/s/00qnssoyeq2xvc22ra4k
    My iDisk is : http://public.me.com/koenigyvan

  • ERROR   OGG-00446  No valid log files for current redo sequence 142

    2011-02-03 14:26:41 ERROR OGG-00446 No valid log files for current redo sequence 142,
    thread 1, error retrieving redo file name for sequence 142, archived =0,
    use_alternate = 0Not able to establish initial position for begin time 2011-02-03 14:25:17.
    Is this an error finding the redo logs or is this an error finding the archive redo logs.

    Yes. It depends - is that sequence number in the current log group, or is it in an archived redo log?

  • Import error: File is not a valid HTML DB export file

    Hi,
    This is driving me a bit nuts: I have made a change to a page and want to move it to another HTMLDB environment. I have 3 environments, DEV, TEST and PROD, they are all version 1.6.0.00.87. I export the page from DEV, then when I try and import it into TEST I get an error "File is not a valid HTML DB export file". The file looks OK to me, I have regenerated it several times, I have tried both DOS and UNIX formats, same result. How can I find out the root cause of this issue, I've been able to export/import individual pages without any problems up to now.
    Thanks,
    Steve

    This was tripping me up for a while too. Make sure that the workspace id (1236351 or some such large number) is the same across all environments. You can ensure this by taking a export of the DEV workspace itself from the Admin interface (login to workspace internal) and importing it into TEST and PROD.
    Once the workspace id is the same, you can export/import pages between them without a problem.
    Thanks

  • WSDL URL is invalid or the WSDL file is not valid or incorrect

    Hi All,
    I am using Oracle Soa Suite 11g. I have got Oracle database, Oracle weblogic admin server, Oracle SOA server all installed on my laptop.
    I have deployed a sample BPEL process. When I am trying to test the process it is giving an error
    "Either the WSDL URL is invalid or the WSDL file is not valid or incorrect. - WSDLException: faultCode=PARSER_ERROR: Failed to read wsdl file at: "http://KSNPavan-PC:8001/soa-infra/services/default/MyHumanWorkFlowSample1Project/vacationrequestprocess_client_ep?WSDL", caused by: java.net.ConnectException. : java.net.ConnectException: Connection refused: connect "
    Now, when I change the url address to
    "http://localhost:8001/soa-infra/services/default/MyHumanWorkFlowSample1Project/vacationrequestprocess_client_ep?WSDL"
    (Please note the difference in host name from KSNPavan-PC to localhost.)
    and click parse wsdl it is working well. I mean the test page is opening successfully and I am able to test the service.
    Testing the service from admin console is fine. Now I want to use this BPEL process service in another BPEL process. So, when I am piciking this service wsdl in JDeveloper it is throwing me the same error and I am unable to go ahead.
    Can anyone please tell me whetherI have to set property in the admin server console so that it always take local host in all the wsdl urls and solve my problem.
    Thank you,
    KSN Pavan.

    Hi All,
    My problem has got solved with the help of my colleagues. Actually the problem was that the host name KSNPavan-PC is not there in the C:\Windows\System32\Drivers\etc\hosts file. I Added the host name in the file with the IP same as that of local host and everything isworking well now.
    Thank you,
    KSN Pavan

  • Either the WSDL URL is invalid or the WSDL file is not valid or incorrect.

    Hi ,
    i deployed one bpel process in weblogic.
    when i am click on test below is error is coming. ( its on oracle soa 11)
    below is coming for all the process. previously it is working fine.
    Either the WSDL URL is invalid or the WSDL file is not valid or incorrect. - WSDLException: faultCode=OTHER_ERROR: Failed to read WSDL from http://xxxx:8001/soa-infra/services/default/ReadJMS/readtraxjms_client_ep?WSDL: HTTP connection error code is 503
    Please help me how it is resolved.
    Regards
    jan

    Hi Jan,
    We had the same issue in 11.1.1.3 and we used to restart the server to fix it. Hopefully before going to PROD we upgraded to 11.1.1.5 and next time we saw this issue was only when there was some problem with the OHS (it was down etc.).
    Which version you're on?
    Regards,
    Neeraj Sehgal

  • Need to decrypt the file in windows 8 (VS 2012) and WP8.1(VS 2013).

    I am decrypting a file which is already encrypted and working fine android app
    I tried this code in Windows 8 using Visual Studio 2012.
      public string pw = "3x5FBNs!";
    public string AES_Decrypt(string input, string pass)
          SymmetricKeyAlgorithmProvider SAP = SymmetricKeyAlgorithmProvider.OpenAlgorithm(SymmetricAlgorithmNames.AesEcbPkcs7);
          CryptographicKey AES;
          HashAlgorithmProvider HAP = HashAlgorithmProvider.OpenAlgorithm(HashAlgorithmNames.Md5);
          CryptographicHash Hash_AES = HAP.CreateHash();
          string decrypted = "";
          try
            byte[] hash = new byte[32];
            Hash_AES.Append(CryptographicBuffer.CreateFromByteArray(System.Text.Encoding.UTF8.GetBytes(pass)));
            byte[] temp;
            CryptographicBuffer.CopyToByteArray(Hash_AES.GetValueAndReset(), out temp);
            Array.Copy(temp, 0, hash, 0, 16);
            Array.Copy(temp, 0, hash, 15, 16);
            AES = SAP.CreateSymmetricKey(CryptographicBuffer.CreateFromByteArray(hash));
            IBuffer Buffer = CryptographicBuffer.DecodeFromBase64String(input);
            byte[] Decrypted;
            CryptographicBuffer.CopyToByteArray(CryptographicEngine.Decrypt(AES, Buffer, null), out Decrypted);
            decrypted = System.Text.Encoding.UTF8.GetString(Decrypted, 0, Decrypted.Length);
            return decrypted;
          catch (Exception ex)
            return null;
    Its always through an error "Bad Data. (Exception from HRESULT: 0x80090005)"
    Here is the Android code which is using for decrypt the same file
    package com.enable;
    import java.io.BufferedReader;
    import java.io.ByteArrayOutputStream;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.InputStreamReader;
    import java.nio.charset.Charset;
    import java.security.Key;
    import java.security.spec.KeySpec;
    import javax.crypto.Cipher;
    import javax.crypto.SecretKey;
    import javax.crypto.SecretKeyFactory;
    import javax.crypto.spec.IvParameterSpec;
    import javax.crypto.spec.PBEKeySpec;
    import javax.crypto.spec.SecretKeySpec;
    import org.apache.commons.net.util.Base64;
    import com.enable.classes.Singleton;
    import com.enable.classes.XMLPullParserHandler;
    import com.enable.classes.XMLPullParserStringHandler;
    import android.annotation.SuppressLint;
    import android.app.AlertDialog;
    import android.app.ProgressDialog;
    import android.content.Context;
    import android.content.DialogInterface;
    import android.content.Intent;
    import android.content.SharedPreferences;
    import android.content.res.AssetManager;
    import android.os.AsyncTask;
    import android.os.Bundle;
    import android.os.Environment;
    import android.preference.PreferenceManager;
    import android.util.Log;
    import android.view.LayoutInflater;
    import android.view.Menu;
    import android.view.MenuItem;
    import android.view.View;
    import android.widget.CheckBox;
    import android.widget.FrameLayout;
    public class MainActivity extends DrawerActivity{//{//ActionBarActivity{//DrawerActivity{//{
    public final static String SETTINGS_FILE = "settings_e3.xml";
    public final static String SETTINGS_FILE_E = "settings.xml";
    private ProgressDialog progressDialog = null;
    CheckBox tncCheckBox;
    @SuppressLint("InflateParams")
    @Override
    protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    //setContentView(R.layout.activity_main);
    FrameLayout frameLayout = (FrameLayout)findViewById(R.id.content_frame);
       // inflate the custom activity layout
       LayoutInflater layoutInflater = (LayoutInflater)getSystemService(Context.LAYOUT_INFLATER_SERVICE);
       View activityView = layoutInflater.inflate(R.layout.activity_main, null,false);
       // add the custom layout of this activity to frame layout.
       frameLayout.addView(activityView);
       // now you can do all your other stuffs
       tncCheckBox = (CheckBox) findViewById(R.id.tncCheckBox);
       //continue if the file is available and the terms and conditions are checked
       SharedPreferences preferences = PreferenceManager.getDefaultSharedPreferences(MainActivity.this);
       boolean checkedStatus = preferences.getBoolean("TnCAgreed", false);
       if(checkedStatus)
    new ParseAndLoadTask().execute();
       //load default settings
       boolean useDefaultSetting = preferences.getBoolean("useDefaultSettings", true);
       if(useDefaultSetting)
       SharedPreferences.Editor editor = preferences.edit();
    editor.putString("serverName", "Default 2Enable Server");
           editor.putString("hostIP", "192.168.1.199");
           editor.putInt("port", 21);
           editor.putString("username", "2Enable");
           editor.putString("password", "2En@ble2");
           editor.putBoolean("ftpCheck", false);
           editor.putBoolean("internetCheck", true);
           editor.commit();
    public void GetFTPDetails()
    Intent intent = new Intent(MainActivity.this, GetFTPDetailsActivity.class);
        startActivity(intent);
        finish();
    public void LoadTnC(View view) throws IOException {
    Intent intent = new Intent(MainActivity.this, TnCActivity.class);
            startActivity(intent);
            finish();
    public void LoadEssencePage(View view) throws IOException {
    Intent intent = new Intent(MainActivity.this, EssenceActivity.class);
             startActivity(intent);
             finish();
    /** Called when the user clicks the button 
    * @throws IOException */
        public void ProceedToLearningArea(View view) throws IOException {
            // Start a new thread that will download all the data
        if(tncCheckBox.isChecked())
        SharedPreferences preferences = PreferenceManager.getDefaultSharedPreferences(this);
        SharedPreferences.Editor editor = preferences.edit();
        editor.putBoolean("TnCAgreed", true);
        editor.commit();
        new ParseAndLoadTask().execute();
        else
        AlertDialog.Builder alertDialog = new AlertDialog.Builder(
                MainActivity.this);
                // Setting Dialog Message
                alertDialog.setTitle("Cannot Proceed");
                alertDialog.setMessage("Kindly read and accept the Terms and Conditions to Proceed.");
                alertDialog.setCancelable(false);
                // Setting Icon to Dialog
                // Setting OK Button
                alertDialog.setPositiveButton("OK",
                        new DialogInterface.OnClickListener() {
                            public void onClick(DialogInterface dialog,
                                    int id) {
                                dialog.cancel();
                alertDialog.show();
        private String convertStreamToString(InputStream is) {
       BufferedReader reader = new BufferedReader(new InputStreamReader(is));
       StringBuilder sb = new StringBuilder();
       String line = null;
       try {
           while ((line = reader.readLine()) != null) {
               sb.append(line + "\n");
       } catch (IOException e) {
           e.printStackTrace();
       } finally {
           try {
               is.close();
           } catch (IOException e) {
               e.printStackTrace();
       return sb.toString();
        private static Cipher getCipher(int mode) throws Exception {
           Cipher c = Cipher.getInstance("AES/CBC/PKCS5Padding");
           //a random Init. Vector. just for testing
           byte[] iv = "e675f725e675f725".getBytes("UTF-8");
           c.init(mode, generateKey(), new IvParameterSpec(iv));
           return c;
       private static String Decrypt(String encrypted) throws Exception {
           byte[] decodedValue = new Base64().decode(encrypted.getBytes("UTF-8")); // new BASE64Decoder().decodeBuffer(encrypted);
           Cipher c = getCipher(Cipher.DECRYPT_MODE);
           byte[] decValue = c.doFinal(decodedValue);
           return new String(decValue);
       private static Key generateKey() throws Exception {
           SecretKeyFactory factory = SecretKeyFactory.getInstance("PBKDF2WithHmacSHA1");
           char[] password = "3x5FBNs!".toCharArray();
           byte[] salt = "S@1tS@1t".getBytes("UTF-8");
           KeySpec spec = new PBEKeySpec(password, salt, 65536, 128);
           SecretKey tmp = factory.generateSecret(spec);
           byte[] encoded = tmp.getEncoded();
           return new SecretKeySpec(encoded, "AES");
        private class ParseAndLoadTask extends AsyncTask<String, Void, Void> 
        protected void onPreExecute (){
           MainActivity.this.progressDialog = ProgressDialog.show(MainActivity.this, "Please Wait.", "Loading Data...", true, false);
            protected Void doInBackground(String... args) {
        try {
        //check if the settings.xml file is available
               File extStore = Environment.getExternalStorageDirectory();
    File myFile = new File(extStore.getAbsolutePath() + "/2Enable/"+SETTINGS_FILE_E);
    if(myFile.exists() && myFile.length()>0)
    FileInputStream fileInputStream = new FileInputStream(myFile);
    XMLPullParserStringHandler parser = new XMLPullParserStringHandler();
    String  data = convertStreamToString(fileInputStream);
        try 
    String decrypt = Decrypt(data);
    Singleton.setSettings(parser.parse(decrypt));
        catch (Exception e) 
    e.printStackTrace();
    else
    AssetManager assetManager = getBaseContext().getAssets();
                   InputStream fileInputStream = null;
                   fileInputStream = assetManager.open(SETTINGS_FILE_E);
    if(fileInputStream != null)
    XMLPullParserStringHandler parser = new XMLPullParserStringHandler();
    String Data = convertStreamToString(fileInputStream);
    String decrypt = null;
    try 
    decrypt = Decrypt(Data);
    Singleton.setSettings(parser.parse(decrypt));
    catch (Exception e) 
    // TODO Auto-generated catch block
    e.printStackTrace();
    } catch (IOException e) {
    e.printStackTrace();
    return null;
                //return "replace this with your data object";
            protected void onPostExecute(Void result) {
                if (MainActivity.this.progressDialog != null) 
                    MainActivity.this.progressDialog.dismiss();
                Intent intent = new Intent(MainActivity.this, LearningAreaActivity.class);
                startActivity(intent);
                finish();
    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
    // Inflate the menu; this adds items to the action bar if it is present.
    getMenuInflater().inflate(R.menu.main, menu);
    return true;
    @Override
    public boolean onOptionsItemSelected(MenuItem item) {
    // Handle action bar item clicks here. The action bar will
    // automatically handle clicks on the Home/Up button, so long
    // as you specify a parent activity in AndroidManifest.xml.
    int id = item.getItemId();
    if (id == R.id.action_settings) {
    return true;
    return super.onOptionsItemSelected(item);
    sandeep chauhan

    Hi
    Please provide your issue so that we can understand where you are facing issue.
    For AES encryption please refer the msdn link
    https://msdn.microsoft.com/en-us/library/system.security.cryptography.aesmanaged(v=vs.110).aspx
    Regards
    Varun Ravindranath Please 'Mark as Answer' if my post answers your question and 'Vote as Helpful' if it helps you.

  • Prevent Sender File Adapter from retrying an error file

    Hi,
    I have a situation where there a number of source files[100+] to be picked from a source directory. The files are then processed by an adapter module before they are sent to the IE. Now, in the lot to be picked up there are files which do not conform to the input file structure validations in the module and consequently these would not[and should not] be picked. These files could occur anywhere in the input set and presently the adapter is re-trying the processing of these error files, with the result that the subsequent files are not processed.
    Is there a method to ensure that the entire input file set is processed regardless of the adapter encountering error files in between?
    Thanks,
    Anand

    Yes,
    In your sender communcation channel, you must activate  "Archive faulty source files" flag and indicate a directory for archiving files with errors.
    Regards,
    Carme

Maybe you are looking for

  • REVERESE SUBCONTRACTING WITH EXCISE DUTY

    Job Work done by Client with excise duty Business Process,                              Raw material got from the Customer & it is processed by Client finished goods are made the same will be delivered to the Customer with excise duty. Details: 1    

  • Using CURRENT_DATE function in DATE column

    Hi I am not able to use CURRENT_DATE function in my target DATE column.I am getting error like "EDATE": invalid identifier with defintion as 'Insert PK error'. This column is not there in the source table. Data Transfer from Oracle to Oracle IKM = SQ

  • Cash Flow Report S_ALR_87012271

    Dear SAP Gurus, I am trying to get cash flow reports thru S_ALR_87012271. For this, i have copied the form 0SAPRATIO-04 and created a Zform in tcode FSI6. But i not able to fetch data in the above report. Pls help and advise the future course of acti

  • Reflectivity with Gradient Mesh ?

    I want to know how to create glass using the gradient mesh tool. I want glass that is reflective with transparency, I don't want the transparency to show the object below or that would kill the effect, gradients work but I want quasi-realism unless g

  • Adobe Reader XI Pro又はstandard で複数ページを横スクロールさせる事は出来ますか?

    Adobe Reader XI Pro 又はstandard で複数ページを横スクロールさせる事は出来るのでしょうか? 何方か教えてください.