Problem in opening a ms doc through server

I am having the problem with doc and xsl. I have added this
<mime-mapping> <extension>xls</extension> <mime-type>application/vnd.ms-excel</mime-type> </mime-mapping>
<mime-mapping> <extension>doc</extension> <mime-type>application/msword</mime-type> </mime-mapping>
to my web.xml. I even restarted the server. I still see doc and xsl in binary. Is there some other setting that needs to take place?
I am using WebLogic Server 8.1
I can see the doc and excel files in the browser if I don't go through the weblogic server. That just confirms it's not my browser.

Well /C is not the path to the app. It is a switch to
the command line.
set your file name to "C:/test.doc"
~TimSorry, I guess my reply doesn't really answer the problem. But you can supply the entire path as part of the file name string.
String file = "C:/Path/To/My/File/to execute/test.doc"

Similar Messages

  • Problem with opening the .fmx file through hyperlink

    I am trying to open a .fmx file through hyperlink. After clicking on the hyperlink a dilogue box opens up and asks for "open from the remote server", "save on the local disk" and cancel. If I click on open the .fmx file opens up and applications starts working.
    Problem is "I do not want this dialogue box to be opened after clicking on the hyperlink". I tried to change the mime type and changed the setting of Internet explorer. But it does not work.
    Any suggestion will be appreciated.
    thanx in advance
    anil dhiman

    whever i refresh the entire application in the tomact then its been recognizedMaybe you're creating and downloading it asynchronously so that the creation of the file isn't finished yet while you're about to download it.

  • Open multiple indd docs through SDK

    Hi guys
    How can I open multiple indesign documents found in a folder chosen
    through a folder chooser?
    I need to open each indesign doc in that folder and do some
    modification on each.
    Here is what I have already written. Now how do I proceed please
    SDKFolderChooser folderChooser;
    folderChooser.SetTitle("Select folder where Indesign Docs are");
    folderChooser.ShowDialog();
    if (!folderChooser.IsChosen())
    break; // cancelled
    IDFile inFolder = folderChooser.GetIDFile();
    PMString inFolderPath = folderChooser.GetPath();
    if (inFolderPath.IsEmpty())
    break;
    //Now open loop through each file and do some processing on each one at a time
    Logically I just have to loop through all the files in that folder,
    open them and do my processing but I just cant find the right snippets
    anywhere. I guess its pretty easy for u guys but am real new at that
    and just cant find any examples anywhere.
    Thanks for your help
    Alicia

    Hi Alicia!
    You can use the FileSystemIterator to go through all the files in a folder. See the paneltreeview sdk sample plug-in for example code for this.
    Basically you probably want something like this:
        PlatformFileSystemIterator iter;
        iter.SetStartingPath(inFolderPath);
        IDFile idFile;
        PMString filter("\\*.indd");
        bool16 hasNext = iter.FindFirstFile(idFile, filter);
        SDKLayoutHelper helper;
        if (FileUtils::DoesFileExist(idFile))
          do
              UIDRef docRef(helper.OpenDocument(idFile));
              ASSERT(docRef);
              helper.OpenLayoutWindow(docRef);
              hasNext = iter.FindNextFile(idFile);
          while (hasNext);
    Good luck!
    Oh, you need to include the actual implementations of PlatformFileSystemIterator and SDKLayoutHelper to your project so they are compiled into the plug-in, as they arent part of the InDesign runtime libs.
    /Andreas

  • Problem in opening MS Word doc from CRM back-end.

    Hi All:
    I have a MS Word document stored in my CRM system which opens by passing a transaction number as input. When we try to preview the word
    doc it opens properly from back-end.
    But the real problem exists when i'm trying to open it from my web-dynpro thru java, it never opens in a correct format(i mean it never opens at all). When I stored it in local machine to open it from notepad, i could see all the junk data along with original text.
    If any one have done this successfully before, plz do let me know the way or send me the code sample to read word from webdynpro java. I've implemented with couple of options which didnt worked.
    Munna_SAP

    Hi All:
         I've solved it by my own and it opens the word document properly.
    Solution: I didnt looked at the r\3 end that how it was coded, i've changed my code in java to meet the requirement.
    Tnx,
    Munna_SAP

  • Problem with opening MS Excel files through Portal

    Hi All,
    I have a user that is complaining about the behaviour of MS Excel files in the Portal. The MS Excel files do not match their behaviour at the windows level. The issue has to do with how MS Excel files never seem to open in a maximized sate when you open them from the portal. The same cannot be said about MS Word files. The behaviour of MS word files is consistent between windows and portal.
    Solutions will be REWARDED.
    Thanks & Regards,
    Krishnen Subramanian.

    Hi Hussain,
    I hav uploaded the excel file into my KM contentafter that when i try to open it , it does not open as maximized.
    Let me explain:
    I create a new excel file on my desktop:
    I open this file:
    I maximize the workbook and save:
    I close Excel and then open the file right back up:
    I notice that Excel and the workbook open up maximized. I close Excel again.
    I now upload the file to the portal:
    I then open the file from here:
    It is noticed that the Excel is not maximized. We would like for it to behave as it does from the desktop. In other words, if it is saved as maximized, it should open from the portal that way. If it is saved as half way open, it should open that way from the portal.
    I have found that MS Word documents behave in the portal as they do on the desktop. I create an MS Word file on my desktop:
    There appears to be something portal related that prevents MS Excel files from opening maximized.
    Hope you will be abl to solve the message.
    Thanks & Regards,
    Krishnen Subramanian.

  • Problem while opening Excel through OLE

    Hi Friends
    I am facing a problem while opening an excel file through OLE. it is working fine in SAP ECC 5.0, but the problem is in ECC 6.0.
    I am adjusting the cells for auto fit. I have written the code like below.
    CALL METHOD OF e_appl 'CELLS' = e_cell.
      CALL METHOD OF e_cell 'EntireColumn' = ole_columns .
      CALL METHOD OF ole_columns 'AutoFit'.
      set property of e_appl 'VISIBLE' = 1.
    if I take out the adjustment part it is working fine for this program, rest other programs even if I have this code, they working fine.
    When I am executing the statement set property of e_appl 'VISIBLE' = 1. the return code is coming as 2.
    Could anybody please help me to overcome this problem.
    Thanks
    Praveen

    In ECC 6.0, if the worksheet is portedcted SAP unable to open that sheet, now we have taken out this option so it is working.

  • Problem in opening existing web template in WAD

    hi,
      I am facing a problem when opening an existing template through Web Application Designer on my computer.
      We are on BW 3.5 and i am able to login into Web Application Designer and when i tried to open an existing template, it gives me the following error.
      " Run-time error '9':
        Subscript out of range"
    If anybody experienced any similar type of problem and resolved it, please let me know.
    I also want to let you know guys that my IExplorer version is 6.
    Thanks in advance.

    make sure no one else is editing the template when you open the template in WAD.
    Download the latest BW front end patch for BW 3.5, the latest patch available iS BW FE Ptach 6. This can downloaded from http://service.sap.com/patches .
    Thanks.

  • TS3276 I receive a pop up from ICal saying the server does not recognize me user name and password.  This started yesterday.  I have no problems with receiving or sending emails through Mail

    I receive a pop-up from ICal saying the server does not recognize my user name and password for my me.com email address.  This started yesterday and occurs about every 5 minutes or so.  There are no problems with receiving or sending email through Mail.  I did change me email password several days ago but have no problems sending/receiving since then.

    I fixed the problem.  I opened Preferences in ICal and entered my new password.  No more pop-ups

  • Strange problem when opening word doc situated in WLS virtual dir

    Hi all,
    we have a strange problem when opening word doc
    situated in C:\Oracle\Middleware\as_1\forms\webutil
    we put some word docs there and tried to open from forms using for example web.show_document('http://wp0606:9001/forms/webutil/mug00103.doc', '_blank');
    no problem using FF, however in IE8 the word doc is shown in its binary format, this also happens when we try to open the doc in IE8
    however when we google and search for instance for a test.doc and then click on this url a file save dialog is shown
    that's why we believe that this might be due to a configuration issue of WLS
    any help would be greatly appreciated
    Kr
    Martin

    I think you have 2 ways to go here. Figure out what html is from wherever weblogic gets it, meaning you have to delve into the docs, snoop
    around in directories and find what it must be sending (This is going to be unavoidable if you are going to change what weblogic is doing.
    Sooner or later you have to try to figure out where it gets this stuff from)
    or
    you can experimentally snoop on your url with a tool like wget or curl. These are fundamental web tools.
    The latter is always a useful thing to be able to do. (you need to formulate a query to get the content-type).
    Whoever managed to get weblogic to serve any files in the first place probably can figure this out.

  • Open Pages doc from server by two persons !!!

    Hi,
    We have noticed that you can open a pages doc from a Apple MAcOS X Server from two diffrent persons, what wil result in not saving any data. Normal you CAN'T open a file that s already open ... !! This is a really big risk .. ?
    What to do about this .. ?

    This is a flaw that has existed since version 1 of Pages. My solution is to work locally and save globally (locked). It is a pain, I know, but it keeps multiple people from attempting to work on the same file at one time.

  • TS3274 I am having problems with Safari  It keeps coming up with Safari could not open the page because the server stopped responding, when I click on Safari  How can I remedy this WiFi is OK.

    When I turn on my Ipad and click on Safari it says  Safari could not open the page because the server stopped responding.but I can get on internet with Google Chrome.   What is the problem and how can I repair it?

    Found the answer in the more like this panel and now working.  Thanks.
    But have 3 updates waiting in Apps but it is taking ages to update them and cannot get onto Apps by clicking Apps on the desktop.screen.

  • My IPad2 will not connect to the internet, "Safari could not open the page because the server stopped responding."  My AirPort utility shows that I am connected.  What could be the problem?

    My iPad2 will not connect to the internet, "Safari could not open the page because the server stopped responding".  I've run the AirPort utility and it shows that I'm connected to my Wi-Fi.  The connection works with both my iMac and iPhone.  I'm concerned that the problem is with hardware rather than software.

    Try the following:
    1. Turn router off for 30 seconds and on again
    2. Settings>General>Reset>Reset Network Settings
    3. Reset iPad; hold the Sleep and Home button down until you see the Apple Logo

  • Problem in opening pdf  or fdf  File in JSP page through firefox in Linux

    Hi,
    In my Webapplication , i have given link to FDF document available in server in a JSP page on click of which the corresponding FDF document should open in a new browser.
    Consider the location of FDF file in my server is
    ServerIP/MS/RDTEST/RDTEST-D-08-10245.fdf
    In my JSP link to FDF file is provided as follows.
    newpath="smb://"+username+":"+password+"@"+serverip+"/MS/RDTEST/RDTEST-D-08-10245.fdf" ;
    <a class ="one1" href="<%=newpath%>" target="dynamic" > RDTEST-D-08-10245 </a>My Requirement is When i click on the link it should open the corresponding fdf file in the browser by following the link provided.
    But it is not working if i try in this way.
    Can anybody suggest how to proceed with this issue.
    Any other ways are there to open fdf file exisitng in server in Firefox in A Linux machine.
    What settings to be made in firefox to support FDF or PDF features.
    What prerequisites needed in Linux to enable FDF or PDF features.
    I have Adobe Acrobat professional 5.0 installed in my Linux machine.
    Thanks in advance.

    Is your problem
    -. That a new browser window doesn't open?
    Solution: [Lookup the 'target' attribute|http://www.w3schools.com/HTML/html_links.asp]
    - That your file content isn't streaming to the browser?
    Solution: Your code assumes the browser understands and supports samba. This isn't always the case (IE for example). And you're providing a direct link to your file with the username and password - security concerns as well as possible portability issues. You'd be better off writing a [file servlet to download your files|http://www.google.com/search?q=file+download+servlet]

  • Upon opening LR I receive a "Server Busy" dialoge box: "This action cannot be completed because the other program is busy. Choose 'Switch To' to activate the busy program and correct the problem." I have no other programs open and when I wait a bit it cle

    Upon opening LR I receive a "Server Busy" dialoge box: "This action cannot be completed because the other program is busy. Choose 'Switch To' to activate the busy program and correct the problem." I have no other programs open and when I wait a bit it clears with the 'retry' button. Happened following a recent update. I'd really like this to go away - any ideas?

    For me this happens when I have Zenfolio or Facebook open in Google Chrome, even if Google Chrome is not active.  If you use Chrome, when the error shows up open Chrome and close each one of the tabs and click on the retry in Lightroom.  Also happens if Internet explorer is running with either of these two programs.

  • Unable to Open the HFM application through Workspace

    Hi,
    Here I am getting below error while i am trying to open the HFM application through Workspace.
    I was permitted allowed all IIS (Allow option checked ) but still the error coming i am unable to open my application through workspace , but i am able to do the all thing in HFM via Clien.The error is below
    There was some communication error. Response is : http://localhost:19000/hfm/GlobalWorkspaceNav/bpm/modules/com/hyperion/hfm/web/appcontainer/Adf.asp <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    <HTML><HEAD><TITLE>The page cannot be found</TITLE>
    <META HTTP-EQUIV="Content-Type" Content="text/html; charset=Windows-1252">
    <STYLE type="text/css">
    BODY { font: 8pt/12pt verdana }
    H1 { font: 13pt/15pt verdana }
    H2 { font: 8pt/12pt verdana }
    A:link { color: red }
    A:visited { color: maroon }
    </STYLE>
    </HEAD><BODY><TABLE width=500 border=0 cellspacing=10><TR><TD>
    The page cannot be found
    The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.
    <hr>
    Please try the following:
    Make sure that the Web site address displayed in the address bar of your browser is spelled and formatted correctly.
    If you reached this page by clicking a link, contact
    the Web site administrator to alert them that the link is incorrectly formatted.
    Click the Back button to try another link.
    HTTP Error 404 - File or directory not found.
    Internet Information Services (IIS)
    <hr>
    Technical Information (for support personnel)
    Go to Microsoft Product Support Services and perform a title search for the words HTTP and 404.
    Open IIS Help, which is accessible in IIS Manager (inetmgr),
    and search for topics titled Web Site Setup, Common Administrative Tasks, and About Custom Error Messages.
    </TD></TR></TABLE></BODY></HTML>
    "There was some communication error. Response is : http://localhost:19000/hfm/GlobalWorkspaceNav/bpm/modules/com/hyperion/hfm/web/appcontainer/Adf.asp"
    "

    there can be many causes to this error....
    1) you should check first of all that the redirection from Apache port 19000 to folder HFM within the IIS is actually working. try hitting http://apacheserver:19000/hfm and make sure you get "hfm" response back.
    2) check that ASP is turned on in the IIS ("file / directory not found" suggests that it isnt)
    3) check what URL you used when you created the application or when you registered it with shared services as the "Financial Management Web Server URL for Security". It should normally be http://apacheservername:19000/hfm. If you did this wrong then re-register it with shared services via Navigate->Administer->Classic Application Administration->Consolidation Administration.
    4) check that the application was registered with Shared Services in the first place.
    5) make sure that on the HFM web server, the HFM application server/cluster is properly registered
    6) stop and restart all services and test again...
    7) try not to use "localhost" but proper fully qualified domain names "servername.mydomain.com" wherever possible. you will have less problems. the only place where you should use a non qualified name is in Relational Content links... see the HFM readme.

Maybe you are looking for