Want to open a excel file from remote Linux server through ADF UI
HI,
My scenario is a excel template is located in LInux server in a directory. Then I need to download this excel file when I click on a hyperLink which will call the method mentioned below.
however, below method works fine if the file is on windows machine/server but not if on Linux machine. In case of LInux it gives junk file.
please suggest if any solution exists.
Thanks,
Sachin
Moderator Action and Advice:
@ user8106712,
Your post has been split away from the completed 2006 thread you had resurrected.
Hijacking someone else's discussion is poor forum etiquette.
When you do that you are saying:
"My issue is more important than yours. Ignore all that earlier stuff and just pay attention to me."
If you want considerate responses, always start your own new post.
You may also need to occasionally review the OTN Forums FAQ that is linked at the top corner of every page.
Similar Messages
-
I have uploaded an excel file from my desk top to the Windows Live (HOTMAIL?) office suite. When I try to open the file I get an error that says my system is not supported. My system passes all of the listed criteria except for one. That is a plug in from Firefox. The instructions say to go to the Firefox menu, click on tools then plug-ins. Of course when I go to tools plug-ins is not immediately available, but when I do go to plug-ins, I am to click on Microsoft Office 2010. This plug in is supposed to allow earlier versions of office documents to be viewed as well as Office 2010. The plug-in is not available. When I search the Firefox website I am not able to find such a plug-in.
I am using Microsoft XP, Office 2007 and the version of Firefox prior to V4. V4 does not support all of my e-mail clients so am not able to use V4.I am using Microsoft XP, Office 2007 and the version of Firefox V4 but I have this same problem.
-
Hi,
I want to open an excel file on click of a link in the jsp.
At present iam using href which i feel is not correct as it is not able to recognize the excel format and paints the entire screen with special characters.Can anyone please help me out.
Thanks,In your server, there should be some way to tell the server the mime type of a file based on the file's extension. So, you tell the server for every file with the extension of .xls, it should use the mime type of application/vnd.ms-excel. Then, when the link is clicked on, the browser will receive the mime-type message of application/vnd.ms-excel and will open Excel to work with the file.
Hope this helps,
Ron -
Why I cannot open raw files (NEF) from camera Nikon D3200 through Adobe Bridge and/or Photoshop ?
Thanks for the tip. It worked out perfectly.
De: ssprengel [email protected]
Enviada em: terça-feira, 14 de janeiro de 2014 19:14
Para: Aecio Paes Leme
Assunto: Why I cannot open camera raw files from camera Nikon 3200 through Adobe Bridge and/or Photoshop?
Re: Why I cannot open camera raw files from camera Nikon 3200 through Adobe Bridge and/or Photoshop?
created by ssprengel <http://forums.adobe.com/people/ssprengel> in Adobe Camera Raw - View the full discussion <http://forums.adobe.com/message/6012775#6012775 -
Opening the Excel file from Application server
Hi All,
I had uploaded an excel file on the application server for using it in my program .
But when i am opening the uploaded file on the Application server it shows some special characters and those are also displayed on my report output while reading the file from the application server.
Please suggest how to get rid of those special characters.
my open data set statement is
OPEN DATASET pg_out2 FOR INPUT IN TEXT MODE ENCODING NON-UNICODE.Hi ,
if it a Excel file ..
do the following..
OPEN DATASET pg_out2 "appl file
FOR INPUT IN TEXT MODE
ENCODING DEFAULT.
IF sy-subrc EQ 0.
DO.
READ DATASET p_infile INTO w_temp.
* Condition To check when cursor reaches End Of file
IF sy-subrc EQ 0.
PERFORM f_split_appl_data.
ELSE.
EXIT.
ENDIF.
ENDDO.
CLOSE DATASET p_infile.
ELSE.
MESSAGE 'Error in opening file' type 'E'.
ENDIF.
FORM f_split_appl_data .
SPLIT w_temp AT ',' INTO : wa_inputfile-plannum ...... "Split at , for excel or CSV file formats at appl files
APPEND wa_inputfile TO t_inputfile.
ENDFORM. " F_SPLIT_APPL_DATA
Prabhudas -
Office 2013 can't open word, excel files from the network after upgrade to 8.1
Hello,
Recently, I upgraded all PCs from WIN 8 to Win 8.1. After the upgrade I noticed that I can't open any word documents and excel files. Before the upgraded I have no problem opened any files. All PCs have over 500GB free space on hard drive. Other PCs that
run Win 7 have no problem open them only the one with Win 8.1. This is what I got:
I right click--> property and there is no unblocked. All files resided on the network server.
Please help.
JimmyHi Jimmy,
Did you get any error message when you try to open an Excel file/Word document?
If so, you can post the error message and event log here.Also ,if you had antivirus software installed, try to disable them to test this issue.
In addition, what happens if you add the network server location as a trusted location?
Wind Zhang
TechNet Community Support -
Opening new excel file from available Template-Urgent
Hi Friends,
I have the functionality like this. I have one excel template. In that i am getting two text files(header and row values) and filling it on the excel file. After that i am doing operation on it. These things i have succeded already. The problem is i am opening the excel file like this
Process pro = Runtime.getRuntime().exec(strExcelPath+" "+"..\\std\\app\\client\\resource\\SkillReport.xlt");
when i am opening like this it is opening the tempalte for editing in stead of getting new instance from it. Can any one help me to get a new instance in stead of opening the template itself.Thanks guys. I've found another way of doing the same.
-
How to open an excel file from labview?
I tried to use "open file" vi from File I/O -- Advanced file functions to open an excel file in LabVIEW. Why the excel file wouldn't open after I run the program?
In addition to ActiveX, you can also manipulate Excel data files using the Windows ADO interface - a technique that is more robust, faster and IMHO easier. Do a search on the forum as there have been several threads within the last week or so discussing this very thing.
Mike...
Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion
"... after all, He's not a tame lion..."
Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps -
Opening an excel file from a button. square brackets in filename
Internet explorer 6. Apex 3.1
When I open an excel file (via a button) , it has the filename as follows:
production_report[1].csv
The prompt to save or open has the name as production_report.csv
This prevents people saving the opened file as square brackets are not allowed in the file name.
Is this an apex issue (ie a problem with the way I specify the filename) or a browser issue, and is there a solution?
I am passing the filename in to my excel download page using the items/values settings.
eg
ITEM P12_FILENAME
ITEM VALUE production_report.csvYes, It works on firefox. It is only an issue with Internet Explorer.
However our web based application has to use IE and therefore when it calls apex it is in an IE browser.
I am really just producing a csv file, and opening it in excel. If this was fixed (or customisable in some way in IE that would help) -
Can I open a excel file from labview
I have a program who write temperature in a excel file and i want to open this file from labview .
This depends slightly on the amount of data you have stored within Excel.
You can use the "Labview Functions>>FileIO>>Read from Spreadsheet file.vi" which effectively reads all lines from a text file and converts it into a numeric array.
Alternatively, if your data structure in Excel is more complex than this, you can use ActiveX calls to Excel to retrieve it.
Use an "ActiveX>>Automation Refnum" control and select the Excel server class. This will then enable you to access properties and methods of Excel to retrieve data from specific cells and pages.
The attached example should help.
Dan
Attachments:
Excel_Automation.vi 60 KB -
Opening an Excel file from a Website
We have an .XLS file that our users open from an IIS 6.0 website. A majority of our users can open the current version of the file.
Some of our users get a cached version of the file from days ago when they click on the website's URL for the spreadsheet. The Excel spreadsheet opens as [Read Only] [Shared] [Compatability Mode] for all of our users. We have multiple users on
the same PC and not all of the users have the same issue of opening a cached version.
I have narrowed it down to something going on with the profile because I delete the profile of a user experiencing the issue and the current version of the spreadsheet opens. This is a painful bandaid to fix the issue.
I have found multiple copies of the spreadsheet in C:\users\<USERID>\appdata\Roaming\Microsoft\Excel Is this where Excel stores copies of the spreadsheet when it downloads? Is there a place in the profile that Excel stores offline
copies of spreadsheets that are downloaded?
I have thought about one of the following to resolve the issue:
1. Saving the master spreadsheet as HTML on the web site. The problem is the webpage opens and transitoins to other "tabs" slower than the actual spreadsheet
2. Write a login\logoff script to clear out the location the cached file is stored. I first have to make sure that I have the correct location.
3. Change settings in Excel or IE to clear out the cache that Excel is using.
4. Convert the Excel spreadsheet to an .XLSX file and update the URL on the website to reflect the new file
Am I missing something or does anyone have another suggestion to resolve the issue?Hi,
Please try the steps below and check if it helps:
1. Search for "Upload Center" in your Windows.
2. In the Upload Center window, click Settings.
3. Tick the check box labelled "Delete files from the Office Document Cache when they are closed".
4. Click "Delete cached files" button.
5. Click OK.
Regards,
Steve Fan
TechNet Community Support
It's recommended to download and install
Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
programs. -
Want to open an Excel file and load it into Oracle - Oracle COM Automation
I'm doing some test and I got the following errors in the dbms output:
Creating Excel application...
COM-0004: The registered CLSID for the ProgID is invalid.
Invoking Workbooks...
COM-0004: The registered CLSID for the ProgID is invalid.
Invoking Add to WorkBooks...
COM-0002: Invalid Token or no interface for token
I tried to register the orawpcom10.dll on the server but I could not.
I changed the orawpcom10.dll file for a newer one, but I got the same error.
I tried to google the error messages, but I did not find any solution.
Could you give me any idea?
Thanks again,
Javier
Edited by: 882807 on 01-sep-2011 6:01Sorry, I was a little bit busy at work. You can see my answers below:
1. Post your database version from v$version.
SQL> SELECT * FROM v$version;
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.0.1.0 Production
TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - Production
SQL>2. The path where orawpcomxx.dll stored (preferably with dir command from command prompt).
C:\oracle\product\10.2.0\db_1\BIN>dir orawpco*.dll
El volumen de la unidad C no tiene etiqueta.
El número de serie del volumen es: E0C2-001B
Directorio de C:\oracle\product\10.2.0\db_1\BIN
22/06/2010 17:40 81.920 orawpcom10.dll
1 archivos 81.920 bytes
0 dirs 31.090.524.160 bytes libres
C:\oracle\product\10.2.0\db_1\BIN>3. Definition (CREATE statement) of UTILS_LIB
create library utils_lib as 'C:\oracle\product\10.2.0\db_1\BIN\orawpcom10.dll';4. Relevant portion of TNSNAMES.ora and LISTNER.ora.
TNSNAMES.ORA
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
)LISTENER.ORA
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = vsdwh1.AD.SMS.CARM.ES)(PORT = 1521))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
(PROGRAM = extproc)
...5. Status (valid/invalid) of ORDExcelSB from all/dba/user_objects.
SQL> select object_name,object_type,status from all_objects where object_name =
'ORDEXCELSB';
OBJECT_NAME OBJECT_TYPE STATUS
ORDEXCELSB PACKAGE VALID
ORDEXCELSB PACKAGE BODY VALID
SQL>6. How you are calling and the actual error (copy paste from SQL prompt).
SQL> SET SERVEROUT ON
SQL> DECLARE
2 v_Name varchar2(90);
3 v_SlNo varchar2(100);
4 v_Job varchar2(200);
5 v_Dept varchar2(100);
6 v_recon_remark varchar2(50);
7 v_sal_amt_usd number;
8 v_Bonus_amt_usd number;
9 result INTEGER;
10
11 i binary_integer;
12 filename varchar2(255);
13 BEGIN
14
15 filename := 'C:\Example.xls';
16
17 result := ORDExcelSB.CreateExcelApplication('');
18 result := ORDExcelSB.OpenExcelFile(filename, 'Sheet1');
19
20 /* Excluding the header row and reading the first 5 row */
21 FOR n in 2 .. 5 LOOP
22
23 v_Name := ORDExcelSB.GetDataStr('A' || n);
24 v_SlNo := ORDExcelSB.GetDataReal('B' || n);
25 v_Job := ORDExcelSB.GetDataStr('C' || n);
26 v_Dept := ORDExcelSB.GetDataStr('D' || n);
27 v_sal_amt_usd := ORDExcelSB.GetDataNum('E' || n);
28 v_Bonus_amt_usd := ORDExcelSB.GetDataNum('F' || n);
29
30 dbms_output.put_line(v_Name || ' ' || v_SlNo || ' ' || v_Job || ' ' ||
31 v_Dept || ' ' || v_sal_amt_usd || ' ' ||
32 v_Bonus_amt_usd);
33
34 END LOOP;
35
36 result := ORDExcelSB.ExitExcel();
37 EXCEPTION
38 WHEN OTHERS THEN
39 result := ORDExcelSB.ExitExcel();
40 RAISE;
41 END;
42 /
Creating Excel application...
COM-0004: The registered CLSID for the ProgID is invalid.
Invoking Workbooks...
COM-0004: The registered CLSID for the ProgID is invalid.
Opening Excel file C:\Example.xls ...
COM-0002: Invalid Token or no interface for token
Opening WorkBook
COM-0002: Invalid Token or no interface for token
Invoking WorkSheets..
COM-0002: Invalid Token or no interface for token
Invoking WorkSheet
COM-0002: Invalid Token or no interface for token
Opened
COM-0002: Invalid Token or no interface for token
COM-0002: Invalid Token or no interface for token
COM-0002: Invalid Token or no interface for token
COM-0002: Invalid Token or no interface for token
COM-0002: Invalid Token or no interface for token
COM-0002: Invalid Token or no interface for token
COM-0002: Invalid Token or no interface for token
COM-0002: Invalid Token or no interface for token
COM-0002: Invalid Token or no interface for token
COM-0002: Invalid Token or no interface for token
COM-0002: Invalid Token or no interface for token
COM-0002: Invalid Token or no interface for token
0 0 0
COM-0002: Invalid Token or no interface for token
COM-0002: Invalid Token or no interface for token
COM-0002: Invalid Token or no interface for token
COM-0002: Invalid Token or no interface for token
COM-0002: Invalid Token or no interface for token
COM-0002: Invalid Token or no interface for token
COM-0002: Invalid Token or no interface for token
COM-0002: Invalid Token or no interface for token
COM-0002: Invalid Token or no interface for token
COM-0002: Invalid Token or no interface for token
COM-0002: Invalid Token or no interface for token
COM-0002: Invalid Token or no interface for token
0 0 0
COM-0002: Invalid Token or no interface for token
COM-0002: Invalid Token or no interface for token
COM-0002: Invalid Token or no interface for token
COM-0002: Invalid Token or no interface for token
COM-0002: Invalid Token or no interface for token
COM-0002: Invalid Token or no interface for token
COM-0002: Invalid Token or no interface for token
COM-0002: Invalid Token or no interface for token
COM-0002: Invalid Token or no interface for token
COM-0002: Invalid Token or no interface for token
COM-0002: Invalid Token or no interface for token
COM-0002: Invalid Token or no interface for token
0 0 0
COM-0002: Invalid Token or no interface for token
COM-0002: Invalid Token or no interface for token
COM-0002: Invalid Token or no interface for token
COM-0002: Invalid Token or no interface for token
COM-0002: Invalid Token or no interface for token
COM-0002: Invalid Token or no interface for token
COM-0002: Invalid Token or no interface for token
COM-0002: Invalid Token or no interface for token
COM-0002: Invalid Token or no interface for token
COM-0002: Invalid Token or no interface for token
COM-0002: Invalid Token or no interface for token
COM-0002: Invalid Token or no interface for token
0 0 0
Closing workbook and quitting...
Closing workbook...
COM-0002: Invalid Token or no interface for token
Closing workbooks...
COM-0002: Invalid Token or no interface for token
COM-0002: Invalid Token or no interface for token
PL/SQL procedure successfully completed.
SQL>Thanks again for your interest.
Javier -
Want to open an Excel Spreadsheet from a link.
I am working with financial website and it has a link to a Excel Spreadsheet already design to performa complex calculation. Spreadsheet is in Excel. Clicking on the link does not open it and I cannot figure how to get it to open in Numbers - any ideas.
Hi Laura,
This note, from a cell in the Excel spreadsheet, likely explains the difficulty:
If you are using on older version of Excel, you may need to install an “Add-In.” On the Tools menu at the top of your screen, click Add-Ins. Select the Analysis ToolPak box, and then click OK. If necessary, follow the instructions in the setup program.
The add-ons in Excel's Analysis Toolpak are, to the best of my knowledge, not supported in Numbers.
Regards,
Barry -
Upload and download of excel file in the application server in background
Hi all,
i want to download the excel file from application server into internal table and after processing i have to upload to excel file in the application server in the background mode..
i mean i'll schedule the program in background.
im using FM ALSM_EXCEL_TO_INTERNAL_TABLE its working fine in fore ground but not in back ground.
what method i have to follow ?Hi Ankit,
I think this is not possible to open a Excel-File from the application server because the Excel format before Office 2007 where a binary format (Suffix: .xls). The newer Office file format (Suffix: xlsx) is a zipped XML Format. To read the binary Excel-Format you need an OLE Connection between SAP GUI and Office. But at the application server in background you doesn't have this OLE Connection.
In my opinion you have two possibilities:
1. Convert all files in the CSV format. This file format can be read with open dataset.
2. Upload the files from the presentation server in forground. There are some funktion modules in the standard which can read the xls format. But they have some limits regarding the length of cells content.
My recommendation is solution no. 1. If you know an VBA expert, he can write an Excel-macro which converts all Excel Files in the CSV-Fomat.
Regards
Dirk -
Opening Excel Files from DB (blob column)
My project has implemented a WEBUTIL solution to attach files into the database, view the files stored in the database (in a BLOB column), and remove the files stored in the database.
Everything has been running smoothly. We are in final testing and have found a couple of interesting scenarios ...
When a user tries to view an Microsoft Excel 2007 file from our application, the Excel file displays properly (as long as Microsoft Excel isn't already open - outside of our Oracle application). Once the Excel file is viewed, the system will not allow the user back to our application until after the Excel file is closed (we use the start /wait myExcelFile.xls ... command). This works perfectly for us.
The two scenarios we encounter occur when
1.) The user has Microsoft Excel open outside of our application and tries to open an Excel file from within our application, or
2.) The user has the file already open (either from within our application or outside of our application) and then tries to open the file from within our application.
Let me explain a little further because the above two scenarios are interrelated.
When a user has Microsoft Excel open (outside of our application), and then clicks the button to open the Excel file, the system will open the file as another window (within Excel). The system will allow the user to navigate back to our application (where as, if Excel is not open outside of our application, the system will not allow the user to navigate back to our application). Once the user navigates back to our application (while the file is still open), the user can click the button to view the file again. At this point, the user is displayed a WUT-105 error message (I assume b/c the system is trying to open a file that is already open).
I assume the two solutions are the following:
a.) Do not allow a user to open a file that is already open (not sure how to check this from within Forms ?)
b.) Do not allow a user to open an Excel file when another EXCEL process is already running (this will avoid allowing the user to naviagate back to our application)
I don't know if there is a better solution.
Do you experts have any recommendations?
We are using Oracle Application Server 10g R2 (10.1.2.0.2), Oracle Database 10g R2 (10.2), and Oracle Developer 10g (10.1.2.0.2)
I hope this all makes sense.
Thanks,
Mike
Edited by: user639843 on Oct 20, 2008 2:15 PM
Edited by: user639843 on Oct 20, 2008 2:20 PMThank you, Thank you, Thank you!!!!
I believe that will work (adding a sequence number to the end of the filename)!
We do not allow a user to update the file, only view. If a user wants to make a change, they need to remove the existing file (from the database), create a new file (outside of our application), and attach the file in our application (into the database). All updates occur outside of our application - we are not a document authoring system, just a document storage system.
Once again, many thanks on the solution!
Mike
Maybe you are looking for
-
ITunes quit unexpectedly while using the CoreAudio plug-in. How can I fix this?
It will not start at all. Logging in as guest and trying to start iTunes gives the same error. Any suggestions? Process: iTunes [1712] Path: /Applications/iTunes.app/Contents/MacOS/iTunes Identifier: com.apple.iTunes Version:
-
December update fixes AJA output
I just got updates to CC this morning. Kona3 now outputs to my broadcast monitor.
-
HT201272 music wont download into iTunes
My songs stored in icloud are appearing in itunes, but i can't get them to download onto my computer when I click the on the "download from the cloud" icon. Any suggestions? I deauthorized all computers and then reauthorized the one I'm trying to ge
-
Help help everything gone!
so when i open my finder i decided to rename the House looking thing, sorry I'm new to mac, and now all my photos that were in iphoto are gone. I don't know what i did wrong and its as if I've reset everything. Whats going on?
-
I keep getting this error on my new Macbook Pro w/ Retina. "Time Machine completed a verification of your backups. To improve reliability, Time Machine must create a new backup for you." Connected to a wifi network and QNAP storage system. There are