Not every commen are included when the recipient prints the document i send him. Why?

When i email an pdf document, where i have added textboxes and drawings, sometimes when the documents are printed, the textboxes and drawings are not on paper pages after printing. It is proberly an problem with the printerdriver at the recipients end, but since the recipients IT skills sometimes are very poor, it is not an possibility to update the priinterdrivers. How can i solve that when i create the PDF document?

Check the outgoing mail server setting. Make sure that your username and password are in there.
Settings>Mail, Contacts, Calendars>Your email account>Account>Outgoing mail server - tap the server name next to SMTP and check in the primary server and make sure your username and password are entered and correct - even if it says that the password is optional.

Similar Messages

  • On Windows Server 2008, local account passwords are reset when the server is rebooted. Why, and how do we fix?

    We are running a commercial application on a Windows 2008 Server. After reboot, we cannot access the application because two services fail to start. The reason they fail to start is that the passwords to the local user accounts tied to those services have
    either been deleted or reset to a different value. In order to restart the application, we must reset the passwords of these two local accounts, then stop and restart all the application's services.  According to the application's maker, the accounts
    must be local.
    My colleague believes the passwords are being deleted or reset as a result of a global domain policy.  Is this likely?
    Assuming my colleague is correct, is there anything we can do locally to prevent these passwords from being deleted or reset when the server reboots?  If not, what is the most granular change we can ask our AD adminstrators to make to the policy, so
    that these local accounts are not touched at reboot.
    Thanks.

    Hello,
    have you configured the accounts to have the permission "Log on as a service"? I have seen that this is not given to the account and therefore the service fails to start.
    Best regards
    Meinolf Weber
    MVP, MCP, MCTS
    Microsoft MVP - Directory Services
    My Blog: http://blogs.msmvps.com/MWeber
    Disclaimer: This posting is provided AS IS with no warranties or guarantees and confers no rights.
    Twitter:  

  • I have selected calendars on my iPhone and macbook to synch with icloud. This works if I enter items on the phone, but not if they are entered on the macbook. Any suggestions why this is happening and how to fix it?

    I have selected calendars on my iphone and macbook to synch using icloud. If I enter an item on the iphone, it appears on the macbook calendar but not the other way round. Any suggestions why this is happening and how to fix it?

    Dartiesdad wrote:
    Hmmmm  Snow Leopard and iCloud.... not usually workable but here is an article that might be helpful.
    http://reviews.cnet.com/8301-13727_7-57511534-263/how-to-set-up-icloud-services- in-snow-leopard/
    10.7.5 is not Snow Leopard so we have to wait and see, the answers to the question I asked will define what it really is.

  • Why All Podcasts Files Are Included In The Music Playlist????

    I am desperate for an answer!!! I have searched online for hours and could not find a solution to this! I have the 5th Generation iPod and everything was fine in the beginning. I recently discovered all my podcast files are listed in the music playlist and this is very annoying because the podcasts are included in the library of songs! When I want to listen to songs, I just wanna listen to songs ... NOT PODCASTS! Why can't the iPod differentiate a podcast file with a music file? They lump them altogether in the music playlist!!!! Under the Podcast category, I found podcasts there also! Which means, the podcasts files are duplicates!!!
    In a summary, this is what's happening:
    1.) Podcast files are grouped in Podcasts playlist in iTunes. Music library does not show them - this is ok, everything's normal here
    2.) Podcast files are listed in Podcast playlist in iPod - this is ok, as it should be
    3.) Podcast files are listed in Music playlist in iPod - WHY????
    I would appreciate some answers to this bizarre problem!!!
    Thanks, guys!!!
    Irene

    well.....to get the podcasts out of the artists menu (if you don't mind them in the compilations menu) you have to go to the podcast's info and press "yes" for compilations. I hope that helps some of you because that isn't really my problem. Because i have a lot of podcasts there is a long list of them in the songs menu and that makes me angry. I wonder if Apple can make an update so that you can choose to have your podcasts in the Artists and Songs menus. If any Apple worker sees this, please do.
    I also have been looking in the internet for answers to this and i have found that the only reason that this is useful if you want to hear a series of podcasts without having to choose a single one every single time.
    I don't know if i read this here, but whoever said that iPods aren't perfect because of this flaw, then they are wrongs. How come they are rightly grouped in iTunes?
    I forgot to mention this. The solution posted doesn't work because:
    1. I erase all the podcast from iTunes and only keep them in my iPod.
    2. I had to erase all my songs from iTunes because i had to format my computer. Yes, it was stupid because i could have backed them up, but i forgot.
    3. When you sync something, you erase everything you have right now. It would take too long to download all the podcast and too much money to buy all the songs.
    Message was edited by: Ivan_G

  • [svn:fx-trunk] 11593: Advanced CSS fix - descendant selectors should search for arbitrary ancestors including when the universal selector is used .

    Revision: 11593
    Author:   [email protected]
    Date:     2009-11-09 15:20:36 -0800 (Mon, 09 Nov 2009)
    Log Message:
    Advanced CSS fix - descendant selectors should search for arbitrary ancestors including when the universal selector is used.
    QE notes: Please add test cases for arbitrary ancestor depth that involve using the universal * selector. Thanks for the additional testing on this patch too!
    Doc notes: N/A
    Bugs:
    SDK-23213 - descendent selectors can't catch components more than one level down
    Reviewer: Corey
    Tests run: Checkintests, test case
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-23213
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/CSSSelector.as

    Welcome guy -
    Unless you are using Spry menus as a learning experience, you should move forward to a menus system that will display properly on the millions of portable devices that won't work with Spry which was deprecated 2 years ago.
    Many are using JQuery menus or pure HTML/CSS menus.
    If you wish to continue your Spry for learning experience, we'll be glad to assist; please let us know.
    By the way, your submenus are not showing because you need to add the red value to this rule in your vertical CSS
    ul.MenuBarVertical ul.MenuBarSubmenuVisible{
        width: 220px;
        left: 180px;

  • Forgot whether automatic updates are included when you update Flashplayer.  Update was fine, just didn't see where to click to get automatic updates.

    Forgot whether automatic updates are included when you update Flashplayer.  Update was fine, just didn't see where to click to get automatic updates.  Please advise whether I need to do anything or not.  Thanks.

    If you are using Windows:
    You must be logged in from an Administrator account not a Standard account.
    Click on START, then Click on CONTROL PANEL, then be sure the View is set to Large Icons not Category.
    Click on the Flash Player Icon. The Flash Player Control Panel should come up.
    Click on the UPDATES tab. Now you can verify or select automatic updating.

  • Bridge Does Not Automatically Bring Up Photoshop When the Photo is Double-Clicked

    I have just purchased CS4 with Bridge for my new MacIntosh.  In Bridge for the PC, when I double click a photo it automatically brings up Photoshop.  On the Mac version, it gives me an error message saying that part of the application is not loaded.  I completely uninstalled the program, and reloaded the application and still get the same message.  So in Bridge on the Mac, to get around this, I right click the picture and go to "Open With" and there are two entries:  "Open with CS4 (default)" and "Open with CS4."  This works if I pick either option.  My Windows version only has "Open with CS4 (default)" as the option.
    I called Adobe support (in India?) with no solution.
    I really like the double click option rather that using the pop-out menu choice.  What is wrong with the Mac install, and how can I fix this issue?

    Thank you for your help.  I updated the software and it "healed" itself.
    Best regards,
    Gregory T. Stramat
    [email protected]
    801-978-4735 (Office - Preferred)
    801-652-0775 (Mobile)
    Omke Oudeman <[email protected]>
    01/22/2010 12:52 AM
    Please respond to
    [email protected]
    To
    Gregory Stramat <[email protected]>
    cc
    Subject
    Bridge Does Not Automatically Bring Up Photoshop When
    the Photo is Double-Clicked
    This might mean that you have either 2 installs of CS4 (one on an other
    disk?) or you did not use the the default application folder on root level
    but have it installed in the user account application folder. Could you
    check this?
    and go to "Open With" and there are two entries:

  • What types of samples are included with the EXSP?

    I'm considering purchasing Logic Express, but wanted to know what types of samples (orchestral, synth, drum, keyboard, etc) are included with the EXSP player. Can anyone owning Logic Express tell me what types of samples are included?
    Mac G5   Mac OS X (10.3)  

    Hello, Jeb247.
    This is merely a matter of personal opinion, but I believe that the included samples for EXSP are among the better features of the program. Granted, there are some cases where you have several instruments loosely based on the same samples run through different filters, but you are likely to find a decent array of what you need.
    You get all the Garageband instruments, as well as the ability to load the Jam Packs into EXSP. While the following list probably contains some overlap with those samples, it will still give you an idea of what's out there:
    The top-level hierarchy lists 41 different groups of sounds. After each listing, I'll note the approximate number of 'instruments' in each group:
    Piano (10)
    Guitars (11)
    Bass (5)
    Strings (9)
    Horns & Winds (9)
    Ethnic Instruments (2)
    Voices & Choir (3)
    Drum Kits (12)
    Effects(~50)
    Percussion & Specials (2)
    Analog: Bass (45), Leads (20), Pads (17), Percussive Waves (44), SpectrumSQ (25), Sweeps (30), Synthcomp (33), Waveforms (50+)
    Digital Chromatic Kits (12), Initial Waveforms (60+), Motion & FX (36), Pad Synths (46), Percussive Waves (23), Synths (31)
    FM Bass (17)
    Synth Atmospheres Layers (31), Singles (40)
    Synth Bass (45), Brass (12), Chords (21), Leads & Hooks (30), LFO Synths (21), Multi Sequence (6), Pads (44), Percussive Synths (44), Poly (28), Sidechain Chords (14), Spacious Effects (40), Strings (16), Sweeps & Swells (32), Vocalish (25)
    Now, as to the quality of the sounds... your mileage may vary. For orchestral stuff, nothing appeals to my ears like the Kurzweil -- largely because of those smooooooooooth output filters. That's not to say that the EXSP stuff isn't worth checking out; I just happen to use it for electronic textures and percussion rather than acoustic emulations. The drums simply don't cut it for me -- not nearly enough punch. But -- as I've mentioned before, you ears may report different pleasure levels.
    Suffice it to say that the EXSP comes with a substantial array of music-making potential. For the money (a freebie w/ Logic Express) it's a really good deal. Shortcomings in its sound set can be overcome by the careful purchase of additional material where your ears report unsatisfactory sounds. If you don't like the drums, iDrum or Battery might be a good idea (or my personal favorite: an outboard drum machine with dead-short latency...); if the orchestra stuff is weak, there are alternatives there, too.
    And your options for synth textures are beyond counting -- though I can specifically recommend the utterly astounding (and free!) Alphakanal "Automat". And you can have a pile of fun with the (equally free) NUSofting daHornet. And... and... the list goes on.
    Cheers,
    Michael

  • Folder Redirection policy is not applied to a user, when the server target is changed, but works after resetting the windows profile.

    Folder Redirection policy is not applied to a user, when the server target is changed. 
    After server target is changed via group policy, when user login  (roaming profile)first time, the the new server target has not been applied, instead it's pointing to the old folder redirection path.
    But if we reset the windows profile (roaming ), the new folder redirection works, can you please specify a solutions that the new folder redirection works when the user login for the first time. so it reduce the time on resetting users profile.
    it seems that we need to delete the old folder redirection path from the user profile (roaming user profile) via group policy or similar solutions..
    Many Thanks

    >   But when the specific users login they all get the same error, it
    Is the old server removed from the domain? Seems so - or some other
    authentication related issue, hard to tell from here...
    > seems that the roaming user profiles still keeps the old server details,
    Yes - if you change redirection targets, FR moves content from old to
    new, and only if this ends sucessfully, it will update the redirection
    target.
    Make the old redirection target accessible to the user and you'll be fine.
    Martin
    Mal ein
    GUTES Buch über GPOs lesen?
    NO THEY ARE NOT EVIL, if you know what you are doing:
    Good or bad GPOs?
    And if IT bothers me - coke bottle design refreshment :))

  • TS3092 My Apple bluetooth wireless keyboard caps lock keeps changing so that sometimes the caps are on when the lights on and sometimes the caps are on when the light is off. How do I control this?

    My caps lock keeps changing. That is, sometimes the caps are locked and the light is on the key and sometimes the caps are on when the light is off. It changes without my knowing it. Also when I hold the shift key down I hear a double click noise which changes the keys in some way. How do I get it to not change?

    Try resetting SMC and NVRAP and then reboot.
    http://support.apple.com/kb/HT3964
    http://support.apple.com/kb/PH4405
    Try booting the Recovery Partition.  Power off, boot and then hold down the Command and R keys.  Is the screen still black?  If so it is not a software problem so take it in for diagnosis and repairs.  Make a Genius Bar reservation http://www.apple.com/retail/geniusbar/ or find an Apple Authorized Service Provider https://locate.apple.com/country .
    If you are running Mavericks try upgrading to 10.9.2.  It has a fix for black screen problems.

  • How many sign-on's are included when I purchase Photoshop and Illustrator? Can more than one person have access on separate computers?

    How many sign-on's are included when I purchase Photoshop and Illustrator? Can more than one person have access on separate computers?

    You have 2 activations and the licenses is tied to you personally and you only. You cannot let other people use your software (unless they are family).
    Mylenium

  • Finding out the OH that are included in the process chain

    Hi,
    Please let me know how to find out the list of OH which are included in the process chain and which are not included.
    Is there any way where i can find out these OH are included in the Process chain.
    Regards,
    Prem

    Hi,
    http://help.sap.com/saphelp_NW70EHP1core/helpdata/en/43/7a69d9f3897103e10000000a1553f7/frameset.htm
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/01d3a090-0201-0010-9783-bc33ab690e70?QuickLink=index&overridelayout=true

  • What Fiori Apps are included with the ERP on HANA Trial?

    Is there a list of the Fiori apps that are included with the trial? This page mentions 60+ Fiori apps but there are 500 now available
    Is the full list of Fiori apps available and the page just not updated?

    hello,
    the Trial version was delivered last June, you can find the detailed Fiori list in the User Guide (as delivered in June 2014).
    The trial version will be updated in June 2015 again, with updating the Fiori Apps.
    best, Xiaohua

  • Issue: Not getting response when the document is having special chars

    Please help following issue: Not getting response when the document is having special chars(Use any doc with special char(ex: &, $, <, >,.....) TestErrorFour.doc
    Error message:
    System.FormatException: Invalid length for a Base-64 char array. at
    System.Convert.FromBase64String(String s) at
    Summarize.Summarizer.AccumulateBroadcast(String filedata, String givenWords) in
    c:\DocumentSummarizer\App_Code\Summarizer.cs:line 66
    Code:
    File 1:
    import java.io.BufferedReader;
    import java.io.FileInputStream;
    import java.io.FileNotFoundException;
    import java.io.FileReader;
    import java.io.IOException;
    import java.io.InputStreamReader;
    import java.io.OutputStream;
    import java.net.HttpURLConnection;
    import java.net.URL;
    import java.net.URLConnection;
    import java.util.Properties;
    import org.apache.poi.poifs.filesystem.POIFSFileSystem;
    import org.apache.poi.hwpf.*;
    import org.apache.poi.hwpf.extractor.*;
    import com.lowagie.text.Document;
    import com.lowagie.text.pdf.PRTokeniser;
    import com.lowagie.text.pdf.PdfReader;
    public class DocumentSummarizerClient {
         static Properties loadProperties() {
              Properties prop = new Properties();
              try {
                   prop.load(DocumentSummarizerClient.class.getClassLoader().getResourceAsStream("vep.properties"));
              } catch (Exception ioe) {
                   ioe.printStackTrace();
              return prop;
         public String getSummary(String fileName,String noOfWordsOrPercentage ){
              String summaryInputData ="";
              String summarizedData="";
              String summarizerURL = loadProperties().getProperty("Summarizer.serviceURL");
              try {
                   String fileExtension=fileName.substring(fileName.lastIndexOf(".")+1, fileName.length());
                   if (fileExtension.equalsIgnoreCase("doc")|| fileExtension.equalsIgnoreCase("txt")|| fileExtension.equalsIgnoreCase("pdf")) {
                                  if (fileExtension.equalsIgnoreCase("txt")) {
                                       BufferedReader bufferedReader = new BufferedReader(
                                                 new FileReader(fileName));
                                       String line = null;
                                       while ((line = bufferedReader.readLine()) != null) {
                                            summaryInputData += line;
                                  if(fileExtension.equalsIgnoreCase("doc")){
                                       POIFSFileSystem fs = null;
                                        fs = new POIFSFileSystem(new FileInputStream(fileName));
                                         HWPFDocument doc = new HWPFDocument(fs);
                                         WordExtractor we = new WordExtractor(doc);
                                         String[] paragraphs = we.getParagraphText();
                                         for( int i=0; i<paragraphs .length; i++ ) {
                                            paragraphs[i] = paragraphs.replaceAll("\\cM?\r?\n","");
                                  summaryInputData+= paragraphs[i];
                                  if(fileExtension.equalsIgnoreCase("pdf")){
                                       Document document = new Document();
                   document.open();
                   PdfReader reader = new PdfReader(fileName);
                   int pageCount =reader.getNumberOfPages();
                        for(int i=1;i<=pageCount;i++){
                                  byte[] bytes = reader.getPageContent(i);
                                  PRTokeniser tokenizer = new PRTokeniser(bytes);
                                  StringBuffer buffer = new StringBuffer();
                                  while (tokenizer.nextToken()) {
                                  if (tokenizer.getTokenType() == PRTokeniser.TK_STRING) {
                                  buffer.append(tokenizer.getStringValue());
                                  summaryInputData += buffer.toString();
                   else{
                        System.out.println("This is Invalid document. Presntly we support only text,word and PDF documents ");
                   // String encoded =new String (summaryInputData.getBytes("ISO-8859-1"),"UTF-8");
                        String encoded=Base64Utils.base64Encode(summaryInputData.getBytes());
                   // encoded =new String (summaryInputData.getBytes("ISO-8859-1"),"UTF-8");
                        String parameters= "base64String="+encoded+"&noOfWordsOrPercentage="+noOfWordsOrPercentage;
                        summarizedData= postRequest(parameters,summarizerURL);
                        String slength= "<string xmlns=\"http://tempuri.org/\">";
                        if(summarizedData.contains("</string>")){
                        summarizedData= summarizedData.substring(summarizedData.indexOf(slength)+slength.length(),summarizedData.indexOf("</string>"));
                        summarizedData = replaceVal(summarizedData);
                        //System.out.println("<?xml version=\"1.0\" encoding=\"utf-8\"?><![CDATA["+summarizedData+"]]>");
                        // System.out.println("Summarized data "+summarizedData);
                        if(summarizedData.contains("Please enter the percentage")){
                             summarizedData="Data given cannot be summarized further";
                   else{
                        System.out.println("Data given cannot be summarized further");
                        summarizedData="";
              } catch (FileNotFoundException e) {
                   return("The File is not found \n\n"+e.toString());
              } catch (IOException e) {
                   return("The File is already in use \n\n"+e.toString());
              } catch (Exception e) {
                   return(e.toString());
              return summarizedData;
         public static String postRequest(String parameters,String webServiceURL) throws Exception{
              Properties systemSettings = System.getProperties();
              systemSettings.put("http.proxyHost", loadProperties().getProperty("proxyHost"));
         systemSettings.put("http.proxyPort", loadProperties().getProperty("proxyPort"));
         System.setProperties(systemSettings);
              String responseXML = "";
              try {
                   URL url = new URL(webServiceURL);
                   URLConnection connection = url.openConnection();
                   HttpURLConnection httpConn = (HttpURLConnection) connection;
                   byte[] requestXML = parameters.getBytes();
                   httpConn.setRequestProperty("Content-Length", String
                             .valueOf(requestXML.length));
                   httpConn.setRequestProperty("Content-Type",
                             "application/x-www-form-urlencoded");
                   httpConn.setRequestMethod("POST");
                   httpConn.setDoOutput(true);
                   httpConn.setDoInput(true);
                   OutputStream out = httpConn.getOutputStream();
                   out.write(requestXML, 0, requestXML.length);
                   out.close();
                   InputStreamReader isr = new InputStreamReader(httpConn
                             .getInputStream());
                   BufferedReader br = new BufferedReader(isr);
                   String temp;
                   String tempResponse = "";
                   while ((temp = br.readLine()) != null)
                        tempResponse = tempResponse + temp;
                   responseXML = tempResponse;
                   br.close();
                   isr.close();
              } catch (java.net.MalformedURLException e) {
                   System.out
                             .println("Error in postRequest(): Secure Service Required");
              } catch (Exception e) {
                   System.out.println("Error in postRequest(): " + e.getMessage());
              return responseXML;
         public String replaceVal(String value) {
                   if (value == null) {
                        value = "";
                   value = value.replace("&lt;", "<");
                   value = value.replace("&gt;", ">");
                   value = value.replace("&amp;", "&");
                   return value;
              public static void main(String[] args) {  
                   DocumentSummarizerClient testdoc=new DocumentSummarizerClient();
                   System.out.println("hello");               
                   testdoc.getSummary("C:\\working_folder\\vep\\UnitTestCases\\VEP1.0\\DocumentSummarizerTestData\\TestErrorFour.doc","100%");     
    Note: Use any doc with special char(ex: &, $, <, >,.....) TestErrorFour.doc
    File 2:
    ---------public class Base64Utils {
    private static byte[] mBase64EncMap, mBase64DecMap;
    * Class initializer. Initializes the Base64 alphabet (specified in RFC-2045).
    static {
    byte[] base64Map = {
    (byte)'A', (byte)'B', (byte)'C', (byte)'D', (byte)'E', (byte)'F',
    (byte)'G', (byte)'H', (byte)'I', (byte)'J', (byte)'K', (byte)'L',
    (byte)'M', (byte)'N', (byte)'O', (byte)'P', (byte)'Q', (byte)'R',
    (byte)'S', (byte)'T', (byte)'U', (byte)'V', (byte)'W', (byte)'X',
    (byte)'Y', (byte)'Z',
    (byte)'a', (byte)'b', (byte)'c', (byte)'d', (byte)'e', (byte)'f',
    (byte)'g', (byte)'h', (byte)'i', (byte)'j', (byte)'k', (byte)'l',
    (byte)'m', (byte)'n', (byte)'o', (byte)'p', (byte)'q', (byte)'r',
    (byte)'s', (byte)'t', (byte)'u', (byte)'v', (byte)'w', (byte)'x',
    (byte)'y', (byte)'z',
    (byte)'0', (byte)'1', (byte)'2', (byte)'3', (byte)'4', (byte)'5',
    (byte)'6', (byte)'7', (byte)'8', (byte)'9', (byte)'+', (byte)'/'};
    mBase64EncMap = base64Map;
    mBase64DecMap = new byte[128];
    for (int i=0; i<mBase64EncMap.length; i++)
    mBase64DecMap[mBase64EncMap[i]] = (byte) i;
    * This class isn't meant to be instantiated.
    private Base64Utils() {
    * Encodes the given byte[] using the Base64-encoding,
    * as specified in RFC-2045 (Section 6.8).
    * @param aData the data to be encoded
    * @return the Base64-encoded <var>aData</var>
    * @exception IllegalArgumentException if NULL or empty array is passed
    public static String base64Encode(byte[] aData) {
    if ((aData == null) || (aData.length == 0))
    throw new IllegalArgumentException("Can not encode NULL or empty byte array.");
    byte encodedBuf[] = new byte[((aData.length+2)/3)*4];
    // 3-byte to 4-byte conversion
    int srcIndex, destIndex;
    for (srcIndex=0, destIndex=0; srcIndex < aData.length-2; srcIndex += 3) {
    encodedBuf[destIndex++] = mBase64EncMap[(aData[srcIndex] >>> 2) & 077];
    encodedBuf[destIndex++] = mBase64EncMap[(aData[srcIndex+1] >>> 4) & 017 |
    (aData[srcIndex] << 4) & 077];
    encodedBuf[destIndex++] = mBase64EncMap[(aData[srcIndex+2] >>> 6) & 003 |
    (aData[srcIndex+1] << 2) & 077];
    encodedBuf[destIndex++] = mBase64EncMap[aData[srcIndex+2] & 077];
    // Convert the last 1 or 2 bytes
    if (srcIndex < aData.length) {
    encodedBuf[destIndex++] = mBase64EncMap[(aData[srcIndex] >>> 2) & 077];
    if (srcIndex < aData.length-1) {
    encodedBuf[destIndex++] = mBase64EncMap[(aData[srcIndex+1] >>> 4) & 017 |
    (aData[srcIndex] << 4) & 077];
    encodedBuf[destIndex++] = mBase64EncMap[(aData[srcIndex+1] << 2) & 077];
    else {
    encodedBuf[destIndex++] = mBase64EncMap[(aData[srcIndex] << 4) & 077];
    // Add padding to the end of encoded data
    while (destIndex < encodedBuf.length) {
    encodedBuf[destIndex] = (byte) '=';
    destIndex++;
    String result = new String(encodedBuf);
    return result;
    * Decodes the given Base64-encoded data,
    * as specified in RFC-2045 (Section 6.8).
    * @param aData the Base64-encoded aData.
    * @return the decoded <var>aData</var>.
    * @exception IllegalArgumentException if NULL or empty data is passed
    public static byte[] base64Decode(String aData) {
    if ((aData == null) || (aData.length() == 0))
    throw new IllegalArgumentException("Can not decode NULL or empty string.");
    byte[] data = aData.getBytes();
    // Skip padding from the end of encoded data
    int tail = data.length;
    while (data[tail-1] == '=')
    tail--;
    byte decodedBuf[] = new byte[tail - data.length/4];
    // ASCII-printable to 0-63 conversion
    for (int i = 0; i < data.length; i++)
    data[i] = mBase64DecMap[data[i]];
    // 4-byte to 3-byte conversion
    int srcIndex, destIndex;
    for (srcIndex = 0, destIndex=0; destIndex < decodedBuf.length-2;
    srcIndex += 4, destIndex += 3) {
    decodedBuf[destIndex] = (byte) ( ((data[srcIndex] << 2) & 255) |
    ((data[srcIndex+1] >>> 4) & 003) );
    decodedBuf[destIndex+1] = (byte) ( ((data[srcIndex+1] << 4) & 255) |
    ((data[srcIndex+2] >>> 2) & 017) );
    decodedBuf[destIndex+2] = (byte) ( ((data[srcIndex+2] << 6) & 255) |
    (data[srcIndex+3] & 077) );
    // Handle last 1 or 2 bytes
    if (destIndex < decodedBuf.length)
    decodedBuf[destIndex] = (byte) ( ((data[srcIndex] << 2) & 255) |
    ((data[srcIndex+1] >>> 4) & 003) );
    if (++destIndex < decodedBuf.length)
    decodedBuf[destIndex] = (byte) ( ((data[srcIndex+1] << 4) & 255) |
    ((data[srcIndex+2] >>> 2) & 017) );
    return decodedBuf;
    issue 2: Exception when passing 2MB .txt file
    Steps to reproduce:
    Call getSummary() with 2MB .txt file
    Actual:
    The following exception has occured:
    1. Error in postRequest(): Unexpected end of file from server
    java.lang.NullPointerException
    Please provide your precious feedback/suggestions.
    Thanks in advance…..
    Edited by: EJP on 15/03/2011 16:52: added code tags. Please use them. Code is unreadable otherwise.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Thanks for your response….
    This is enhancement project and some one develops long back.
    Regarding point (b) You should be using the java.net.URLEncoder to encode URL parameters, not a base64 encoder.
    DocumentSummarizerClient.java I am using base64
    Ex:
    // String encoded =new String (summaryInputData.getBytes("ISO-8859-1"),"UTF-8");
                        String encoded=Base64Utils.base64Encode(summaryInputData.getBytes());
                   // encoded =new String (summaryInputData.getBytes("ISO-8859-1"),"UTF-8");
                        String parameters= "base64String="+encoded+"&noOfWordsOrPercentage="+noOfWordsOrPercentage;
                        summarizedData= postRequest(parameters,summarizerURL);
                        String slength= "<string xmlns=\"http://tempuri.org/\">";
                        if(summarizedData.contains("</string>")){
                        summarizedData= summarizedData.substring(summarizedData.indexOf(slength)+slength.length(),summarizedData.indexOf("</string>"));
                        summarizedData = replaceVal(summarizedData);
                        //System.out.println("<?xml version=\"1.0\" encoding=\"utf-8\"?><![CDATA["+summarizedData+"]]>");
                        System.out.println("Summarized data "+summarizedData);
                        if(summarizedData.contains("Please enter the percentage")){
                             summarizedData="Data given cannot be summarized further";
    Above specific please I need to modify to resolve above issue.
    Could you please suggest me what changes I need to do.
    Waiting for positive response.

  • Get error message that skype has problem loading when computer is turned on the first time every day. this started when the latest firefox v6.0 was downloaded.

    get error message that skype has problem loading when computer is turned on the first time every day. this started when the latest firefox v6.0 was downloaded.

    ''mbratlie [[#question-1055011|said]]''
    <blockquote>
    It was working fine and I had no problems, and then one day I tried opening a window and it froze. When I tried quiting the program my whole window went black. The x to the close the window doesn't work. The only option I have in my tool bar is Firefox and nothing happens when I try to quit firefox. Every time I try to shut down my computer Firefox prevents it. I haven't updated Firefox yet, so it's an older program, but only by a month or two. What's going on and how do I fix it?
    </blockquote>
    This is the first time it's ever happened. I downloaded the new operating system for Firefox but I can't install it until the Firefox currently running on my laptop quits, which it won't.

Maybe you are looking for

  • Problem loading content from iTunes library and Netflix

    Everytime I try watching a TV episode, movie, or Netflix show, I get an error sign with loading the content.  It's not restricted to Netflix and also includeds recently purchased and saved items through iTunes library.  What can I do to resolve this

  • Auto-scrolling of list view in Finder windows sometimes doesn't work

    I've noticed a minor bug in 10.4 that doesn't seem to show up in 10.3.9, and I thought I'd comment on it here because it's mildly annoying, and I'm not sure that anyone at Apple is aware of the issue. My Pictures folder is pretty large -- I have over

  • Can't synch apps to ipod touch

    The Apps icon does not appear in the ipod touch.  Also, apps does not appear under the list of categories that are in the ipod touch.  How do I get this working?

  • Version Management for Oracle forms/Reports/plSQL

    We currently use Serena VM (PVCS) Looking to migrate to an alternate one. Wondered what people used if htey migrated etc? SubVersion seems the obvious choice but thought id ask the people in same position as us development wise. Ideally a web based s

  • Modification in ML87 upload program to change contract type

    Hi Experts. I need your help regarding ML87 transaction code. I want to change contract type for uploading prog. Currently I am uploading for default contract type XYZ1 and now i want to change it as XY as new default contract so can you tell me the