Unable to Open the Word Document

Hi Experts,
I have a scenario to generate word document with the information comming from R/3 into bookmarks located in the document. This we are doing with WordML. We have uploaded WordML templates to server and at the run time we are getting the content from those templates replacing book marks with corresponding data comming from R/3.
Once we replace all those book marks and we are writing into another ".doc" file and opening the same ".doc" file in another window.
This functionality (opening document in another window) is working fine in my system (runnig with MicroSoft Word2003). Where as in another systems (runnig with MicroSoft Word2007) is not working, in that system it's opening new window and immediatly it's closing with out waiting to chose either "Open", "Save" or "Cancle" option from user.
Following is the code used for this purpose:
IWDCachedWebResource cachedWebResource=WDWebResource.getWebResource(inp,WDWebResourceType.DOC);
cachedWebResource.setResourceName("XXXXXXXXXX.doc");
wdComponentAPI.getWindowManager().createNonModalExternalWindow(cachedWebResource.getURL(),"XXXXXXX.doc").open();
NOTE: inp is the inputstream which contains the content that has to open in the final ocument.
Please help me out in where exactly it's causing the problem.
Thanks,
Udaya Dumpa.

Hi Udaya Dumpa,
I am currently working on a project of my own where I would need to open different versions of Word documents using different version of office.
I am using the method cl_gui_frontend_services=>EXECUTE and just passing the location and file name to the parameter document.
I have tested this and so far have no problems.

Similar Messages

  • I am unable to open attachments (Word Documents, Excel file, Adobe) from my Gmail with Firefox.

    I am unable to open attachments (Word Documents, Excel file, Adobe) from my Gmail with Firefox. My computer freezes when I try to open the (email attachment) file. Task Manager says "not responding".
    You can respond to [email protected]

    You may first want to look into Safari's "Installed Plugins" section within the browser. This is (usually) found under the Safari Help header in the top of a browser. I say usually, because I don't use Safari often and mine is an older version. They handle applications and plugins like most others, to a point.
    I see in Safari Installed Plugins that mine would use
    application/pdf
    Acrobat Portable Document Format
    Acrobat Reader & reader plugin v9.5.5 for web browsers
    (in Safari 5.x, where I looked into this)
    While I use FireFox, SeaMonkey (Mozilla) and others, where I can choose in preferences the helper applications to open from the browser, Safari has different methods; so if you can change this in the preferences or settings of Safari in a later version I am not certain.
    You could see what the defaults are by using Safari help menu to open the Installed plugins, and maybe find out what happend to Adobe reader plugin. Could be it was 'sandboxed' in a later OS X and needs to be installed differently to be accepted as safe.
    It is easier to set how a file type is handled once it is inside the computer and not held in the browser; by file type in general or specific to each single document. I do both, and seldom let an a browser do these things due to security considerations. I download and open them, only then if I feel they are safe.
    Sorry to not have a specific answer for that anomaly.
    Good luck & happy computing!

  • Unable to open the Excel document in browser

    Hi,
    I have configured excel service in CA, and i started Excel calculated service. but
    unable to open the excel document in web browser. getting below error message.
    ULS LOG
    Excel Services Application Web Front End acbd
    Critical Unable to reach Excel Calculation Serviceshttp://SHAREPOINT:32843/cc8a18cec8c74085b5ea7e4167b48acc/ExcelService*.asmx.
    [Session: User: Domain\sp_webapp] 7574e2c9-a664-46e2-9e43-4a3a0f1f290a
    04/13/2015 12:04:18.38 w3wp.exe (0x1FA4) 0x0468 Excel Services Application Web Front End accf Medium ServerSession.ProcessWebException:
    A Web exception during ExecuteWebMethod has occurred for server:
    http://SHAREPOINT:32843/cc8a18cec8c74085b5ea7e4167b48acc/ExcelService*.asmx,
    method: GetHealthScore, ex: System.Net.WebException: The remote server returned an error: (503) Server Unavailable. at System.Net.HttpWebRequest.GetResponse() at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan
    timeout), response: 'System.Net.HttpWebResponse', status ProtocolError, user name: Domain\sp_webapp. 7574e2c9-a664-46e2-9e43-4a3a0f1f290a
    04/13/2015 12:04:18.38 w3wp.exe (0x1FA4) 0x0468 Excel Services Application Web Front End
    acco
    Critical There was an error in communicating with Excel Calculation Services
    http://SHAREPOINT:32843/cc8a18cec8c74085b5ea7e4167b48acc/ExcelService*.asmx exception: The remote server returned an error: (503) Server Unavailable. [Session:
    User: Domain\sp_webapp]. 7574e2c9-a664-46e2-9e43-4a3a0f1f290a
    I have verified in IIS , excel service related Application pool has started . and unable to recycling, throwing error message not possible
    Is it requried to restart the server???

    Hi,
    Please check your event log and see if there is relevant error message.
    If you have observed event id 5021 like this "The identity of application pool 625dfcc8e4054c7d8da14feaca288250 is invalid. The user name or password that is specified
    for the identity may be incorrect, or the user may not have batch logon rights".
    Then the error indicates the issue is caused by either of these:
    1. The account doesn’t have user rights to to “log on as a batch job” and “log on as a service” in group policy.
    2. The account permission is out of sync between SharePoint database and AD.
    If not, let me know the event id.
    Regards,
    Rebecca Tu
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Unable to open a Word document?

    Hey,
    Was wondering if someone can provide me guidance as to why I cannot open a Word document sent to me (the file is received and downloaded by email).
    The error message that I get whenever trying to open the document is as follow:
    Tried opening the document using other software but without success. Also tried the suggested in the error message (i.e. repaired the file, open with text recovery... no success)
    I previously used PCs to open the same document. I notice that PCs from Asia are able in opening the file, while PCs in North America weren't... Very confused about the file type.
    Appreciate all your help!
    Peter

    Hi Csound1,
    I do agree that it has to do with the file itself. As far as I can see, the file itself is a .doc (Word document).
    I attached a document info screen shot here:
    Thanks again.

  • Unable to open a word document in SharePoint 2013

    Dear all,
    We are using SharePoint Foundation 2013 with Office Word 2010. Uploading an updating a document in SharePoint generally works fine.
    We have a word document uploaded to SP on which we work a lot. I uploaded it yesterday and continued to work on the document. This morning when I wanted to open the document I get the message from Word: "Could not open 'http://xxxxxxxxx/sites/documents/General/document.docx'
    (where xxxx is the name of the server).
    This is the second time that we have this issue.
    Except this message there is nothing on SharePoint log site.
    Best, Jeppen
    Jeppen Twitter: @DoSTHGreat

    Thank you for your answer. Unfortunately these post do not help.
    Strange thing is that we can work again with the document.
    I forgot to mention that the "Download a Copy" always worked.
    Jeppen Twitter: @DoSTHGreat

  • Please help, I can not open the word document after I have exported from a PDF

    Please help, I have bought this programme to convert PDF documents to word documents. All I find at the moment is that the document is not being converted and will not open once I have saved. It asks which programme I would like to select to open the saved file, and them does not work.
    Please let me know where I am going wrong?
    Ko

    Good day Ko,
    It sounds like the file extension may have been dropped when you saved the file to your computer.
    Does your converted file have the .docx or .xlsx extension on the end?  If it doesn't, try renaming the file and appending the  file extension.  You should be able to open your saved document in Word or Excel then.
    Kind regards,
    David

  • Download to PDF - Unable to open the Downloaded Document.

    hi all
    I am reading all the files in a KM repository using webdynpro. I am able to open and save all files except PDFs. However I am able to open the PDF before uploading to KM and also using the KM interface. But when i download it using the Download UI in Webdynpro it fails to open. I understand that it is an encoding problem during the retrieval. I used the Resource property to set the type in the Download UI.
    Can anyone tell me how to get around this?
    Server WAS NetWeaver 2004s.
    NetWeaver Studio 7.0.07.
    thank you.
    reg
    vln

    Hi,
    I am not sure, but i think you should create a Input or OutputStream to upload / download a pdf. Maybe this tutorial is helpful.
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/3547e8cd-0401-0010-a4a0-c7667f3263b2">pdf Api</a>
    Kind regards,
    Maarten.

  • Error while calling the com object to open the word document.

    Below is the error: Though it says the insufficient memory,
    we have enough memory on the server and it is avaialable. I have
    checked the server statistics and cpu usage too.
    Error also talk about CF_COMPROXY and I am not sure about
    this. Has any one seen this before or does anybody has any
    solutions for this.
    Detail The cause of this exception was that:
    AutomationException: 0x800a13e9 - There is insufficient memory.
    Save the document now. in 'Microsoft Word'.
    Message An exception occurred when executing a Com method.
    RootCause struct
    Code 2148144105
    Description There is insufficient memory. Save the document
    now.
    Message AutomationException: There is insufficient memory.
    Save the document now.
    Source Microsoft Word
    Thank you all in advance.

    What version of Word do you have installed? Are you trying to
    save it as
    another format?
    This could be completely unrelated, and the only reason I ask
    is because I
    get that same "out of memory" error (without the com part) if
    I try to save
    an invoice from MS Money 2005 Small Business as a pdf using
    Cute PDF Writer.
    It will also throw an error when trying to save an invoice
    template if the
    printer is assigned to PDF Writer. Now I use Flash Paper to
    save them as
    pdfs. I still get the error when trying to save a template,
    but at least I
    can now generate the pdf.
    The only reason I mention it is because it makes me think
    there is something
    in MS product that is trying to prevent you from using non-MS
    formats. I
    could be way off and, honestly, I have no clue what is
    causing the problem,
    but is seemed too similar to be a coincidence so I thought I
    would pass it
    along just in case.
    Bryan Ashcraft (remove brain to reply)
    Web Application Developer
    Wright Medical Technology, Inc.
    Macromedia Certified Dreamweaver Developer
    Adobe Community Expert (DW) ::
    http://www.adobe.com/communities/experts/
    "t_sam_2000" <[email protected]> wrote in
    message
    news:[email protected]...
    > Below is the error: Though it says the insufficient
    memory, we have enough
    > memory on the server and it is avaialable. I have
    checked the server
    > statistics and cpu usage too.
    >
    > Error also talk about CF_COMPROXY and I am not sure
    about this. Has any
    > one
    > seen this before or does anybody has any solutions for
    this.
    >
    > Detail The cause of this exception was that:
    AutomationException:
    > 0x800a13e9 -
    > There is insufficient memory. Save the document now. in
    'Microsoft Word'.
    > Message An exception occurred when executing a Com
    method.
    > RootCause struct
    > Code 2148144105
    > Description There is insufficient memory. Save the
    document now.
    > Message AutomationException: There is insufficient
    memory. Save the
    > document
    > now.
    > Source Microsoft Word
    >
    > Thank you all in advance.
    >
    >

  • Still unable to edit a word document after conversion from pdf?

    I converted a pdf file to a word document but am still unable to edit the word document and save as a newly created word document.  please help, thanks.

    Hi Disc9,
    In order to help you. Let me know which application of Adobe you are using including the version.
    Also let me know the complete workflow how you convert the PDF to docx/doc.
    Regards.

  • When opening a Word document... an option box displays which I placed a check to 'Do this automatically...' but when redoing same process... option box display.

    We're using EBS application that has a option to open/create download Word document. When we use Firefox v30 to open a Word document, a option box displays to inform where the document is to be open and/or save and a check box which is unmarked... which states... 'Do this automatically for files like this from now on'. I've checked the box and clicked 'OK'. I also checked Firefox options to the application and I checked and verified the Word document settings to 'default'. What happens after re-checking the process to open a Word document... the same open option box displays again... the check box is engage though. I would think that after selecting the box... this display box will not display but directly open the Word document. Please let me know if there is another setting or suggestion.
    Thanks,
    Wil

    The server must
    * Send the correct Content-Type header (e.g. ''application/msword'' MIME type).
    * Not send the ''Content-Disposition: attachment'' header.
    You can use the Web Console to examine the response headers for the file request in question and see if the above two conditions are met.
    * https://developer.mozilla.org/docs/Tools/Web_Console
    If they're not, the workarounds are the Force Content-Type and InlineDisposition add-ons, respectively. I don't know if Force Content-Type still works though.
    * https://addons.mozilla.org/firefox/addon/force-content-type/
    * https://addons.mozilla.org/firefox/addon/inlinedisposition/

  • Unable to open the document when combining files.

    We have a user that gets an error when combining files. It says
    Unable to open the document:
    <Filename and path>
    Please check to see if you have read permission for the above file.
    Retry and cancel buttons.
    We get this error on every subsequent file, it works on the first one after the computer starts.
    This computer has Windows Vista Business with SP2, Adobe Acrobat X with the latest patches.
    It doesn't matter if the files are local or on a network drive, the same always occurs. I have cleared
    all user and system temporary files, re-installed, verified the Acrobat Add-In for Word 2010 is active,
    verifed the PDF printer is working fine. It only happens when trying to combine files. I have given the
    user local administrator privilidges, tried with my account that has domain admin priviledges, no luck.
    I really need some suggestions...
    Thanks,
    Tom

    I have found out from Adobe technical support that this is a known issue with Office 2010 SP1 installed.
    This is an FYI for anyone else experiencing this issue, remove SP1 and it will work ok.
    They said an update to correct this issue will be coming within the next quarter.
    TP

  • Acrobat X Pro - Unable to open the document

    I'm having issues testing Acrobat X Pro trial version and Office 2010 on XP Pro SP3.  When trying to convert a Word document I consistently get the message - Unable to open the document.  Please check to see if you have read permission for the above file.  If I hit "Retry" a few times it will eventually convert the document.  If I initiate the conversion from within Word it seems to work fine. I've confirmed that permissions are not the problem.  It doesn't matter if the files are on the C: drive or a network location.  Most of my users use the combine so converting from within Word is not an option.  Any help would be greatly appreciated!

    Sorry but no.  Big bummer.  Keeping me from going to Win7 and Office 2010 on many systems. Honestly,  I haven't looked to see if there are any patches avaliable since I orginally posted.

  • XenApp 6.5 and Acrobat issue: "Unable to open the document".

    We are using XenApp 6.5 with a published desktop Windows 7 x64. If we open Acrobat Pro 10.1.5 and Create PDF we get an error "Unable to open the document". If we do the same action directly on the XenApp server then it works as expected. The Word doc in question was created by the test user and is located on their Home drive area so the permissions are correct. If i try to save the Word doc as PDF it works fine directly and indirectly.
    There seems to be lots of people asking similar questions here:
    http://forums.adobe.com/message/4275334
    Thanks
    Gary

    From the link below:
    http://www.adobe.com/devnet-docs/acrobatetk/tools/AdminGuide/citrix.html
    what does: Deploy enterprise files to the product’s directories (rather than per-user directories) so they are available to all users mean in practice...?

  • I am changing from Word to Pages. I have created my custom template with all my styles etc and that is what comes up when I go for a New Document. Fine. How do I get it to use the same Custom Template when I use Pages to open a Word document?

    I am changing from Word to Pages. I have created my custom template with all my styles etc and that is what comes up when I go for a New Document. Fine. How do I get it to use the same Custom Template when I use Pages to open a Word document?

    The template is a document in itself, it is not applied to an existing document whether it is a Pages document or a Word document converted to a Pages document.
    You would need to either copy and paste content, using existing styles, or apply the styles to the converted Word document.
    You can Import the Styles from an existing document and those imported Styles can be used to override the current document's styles:
    Menu > Format > Import Styles
    The process is simplified if the styles use the same names, otherwise you will need to delete the style you don't want and replace it with the one that you do want when asked, then the substitution is pretty straightforward.
    Peter

  • I installed Firefox 3.6. Since then, I am unable to open pdf documents in Firefox. I get a black page. I tried opening the same document in Internet Explorer. It worked fine. I recently installed Nuance's pdf reader and thought that might be the problem.

    I installed Firefox 3.6. Since then, I am unable to open pdf documents in Firefox. I get a black page. I tried opening the same document in Internet Explorer. It worked fine. I recently installed Nuance's pdf reader and thought that might be the problem. Uninstalled it. Still have the problem with Firefox.
    == This happened ==
    Every time Firefox opened

    How about if you right click on the PDF and select Save Link As..., and then open it locally from within Reader? Does it work ok then?  That might be a workaround until the issue within the browser is resolved.
    Rob Jaworski
    Intl Program Manager

Maybe you are looking for