Trying to close an excel workbook with client_ole2 leaves an excel process

Hello ,
I 'm trying to import data from forms (10g) to an excel workbook and i use client_ole2.
Everything seems to work fine except the last part of my code. The excel application is closing but it leaves a process open ( Windows Task Manager).The procedure I'm using
is the following
PROCEDURE fill_excel
IS
v_ole_excel client_ole2.obj_type;
v_ole_workbooks client_ole2.obj_type;
v_ole_workbook client_ole2.obj_type;
v_ole_worksheets client_ole2.obj_type;
v_ole_worksheet client_ole2.obj_type;
cell client_ole2.obj_type;
v_file_name VARCHAR2 (2000) := 'C:\F101.xls';
obj_hnd client_ole2.obj_type;
v_ole_range client_ole2.obj_type;
arglist client_ole2.list_type;
v_date_from DATE;
v_date_to_xr DATE;
v_date_to_chr VARCHAR2(20);
v_date_to DATE;
BEGIN
     -- INITIALIZATION OF DATES
     GET_XRISI('GEL',v_date_from,v_date_to_xr);
     select iso_lib.Get_ISO_CONFIG_Value('DATEE')
     into v_date_to_chr
     from dual;
     v_date_to:=to_date(v_date_to_chr,'DD/MM/YYYY');
-- OPEN EXCEL
v_ole_excel := client_ole2.create_obj ('Excel.Application');
client_ole2.set_property (v_ole_excel, 'visible', 0);
-- OPEN WORKBOOKS - WORKBOOK
v_ole_workbooks := client_ole2.get_obj_property (v_ole_excel, 'Workbooks');
arglist := client_ole2.create_arglist;
client_ole2.add_arg (arglist, v_file_name);
v_ole_workbook :=client_ole2.invoke_obj (v_ole_workbooks, 'open', arglist);
client_ole2.destroy_arglist (arglist);
--OPEN WORKSHEETS - WORKSHEET (1)
v_ole_worksheets := client_ole2.get_obj_property (v_ole_workbook, 'Worksheets');
arglist := client_ole2.create_arglist;
client_ole2.add_arg (arglist, 1);
v_ole_worksheet :=client_ole2.get_obj_property (v_ole_worksheets, 'Item', arglist);
client_OLE2.invoke(v_ole_worksheet,'activate');
client_ole2.destroy_arglist (arglist);
fill_cell (v_ole_worksheet, 'H6', value);
-- OPEN WORKSHEET (2)
arglist := client_ole2.create_arglist;
client_ole2.add_arg (arglist, 2);
v_ole_worksheet :=client_ole2.get_obj_property (v_ole_worksheets, 'Item', arglist);
client_OLE2.invoke(v_ole_worksheet,'activate');
client_ole2.destroy_arglist (arglist);
FILL_CELL(v_ole_worksheet,'AY2',value);      
-- save document as c:\F101_xxxx.xls
arglist := client_ole2.create_arglist;
client_ole2.add_arg (arglist, 'c:\F101_'||REPLACE(v_date_to_chr,'/' ,NULL)||'.xls');
client_ole2.invoke (v_ole_workbook, 'SaveAs', arglist);
client_ole2.destroy_arglist (arglist);
-- close C:\F101.xls
arglist := client_ole2.create_arglist;
client_ole2.add_arg (arglist, v_file_name);
client_ole2.invoke (v_ole_workbook, 'Close', arglist);
client_ole2.destroy_arglist (arglist);
-- exit Excel
client_ole2.invoke (v_ole_excel, 'Quit');
--To release all the memory object
client_ole2.RELEASE_OBJ (v_ole_worksheet);
client_ole2.RELEASE_OBJ (v_ole_workbook);
client_ole2.RELEASE_OBJ (v_ole_workbooks);
client_ole2.RELEASE_OBJ (v_ole_excel);
END;
Any suggestions will be appreciated...
Thanks Marina

The slowness you are experiencing is largely owing to the fact that the WebUtil package is running on the middle tier -- but the Jacob bean is running on the client. Loading a spreadsheet requires a lot of network I/O. To speed things up, implement your operation within a custom Java bean, in such a way that communication between the tiers is minimized. For example, write a Java class that receives all the data in one call, and understands how to write it to an Excel document. Deploy this class as a Java bean, and call it from your form as needed using FBEAN.INVOKE( ).
The catch: passing data through PL/SQL imposes the 32K-character limit for VARCHAR2. If you cannot be certain that the data to be written can be expressed as a string of this size, you must consider introducing compression, passing the data over multiple calls, or possibly both.
I've been working with this, using Java's GZIP libraries for compression, and Apache Axis' BASE64 function for binary-to-String conversion. Since I'm passing a complex data structure, I use open-source XStream to serialize this structure to XML, GZIP the XML string, Base64-encode and pass it along. Sounds awkward and cumbersome, but has worked fairly well so far.
The XML step may not be needed for simple tabular data, but because GZIP minimizes the cost of wrapping every value in tags, the incredible convenience offered by XStream makes it worth at least trying. (One call to marshall, one call to unmarshall.)
Sorry, but this is all I have time to write, at the moment -- hopefully it at least gives you an idea regarding the problem and possible solutions.
Regards,
Eric Adamson
Lansing, Michigan

Similar Messages

  • I have a Imac and I have 8.1 iphoto and it will not open my library  it started after i tried to close all the windows with no luck and had to force the system down by turning it off. everythig else came back up olay except Iphoto

    My iphto will not open after I had to shut down my imac due to it not being able to close iphoto . It just says opeartion not able to open.

    Try at the very least to update your iPhoto version to 8.1.2.

  • Killing an excel process

    Hi!
    That's my first message here, sorry if I left something... I'm having some problems deleting an excel process one I have make some processing previously.
    After calling collect and WaitForPendingFinalizers methods and release all the excel objects created (worksheet, workbook and excelapp in that order) the excel process is still there.
    I have tried to kill the excel process and I could kill it but then I got a system message telling me that the outlook integration addon has failed so my guess is that the outlook integration addon is messing with some dll related to excel also.
    Have you got in this situation and solved it ?
    Thanks a lot !!!

    I have released the ComObjects (using the ReleaseComObject marshal method) and closed the excel connections before and after releasing all the objects opened, but to no avail, the excel process is still there...
    The problem is that each time it opens a new excel instance so it could be a great resources problem if the process is executed a few times.
    Right now I could not put the code used but I would try later.
    Here's the code...
    Finally
                'If Not xlApp Is Nothing Then xlApp.Quit()
                Dim processId As IntPtr
                GetWindowThreadProcessId(New IntPtr(xlApp.Hwnd), processId)
                'AccCommon.Functions.ReleaseComObject(xlSheet)
                'AccCommon.Functions.ReleaseComObject(xlWB)
                'AccCommon.Functions.ReleaseComObject(xlApp)
                GC.Collect()
                GC.WaitForPendingFinalizers()
                GC.Collect()
                GC.WaitForPendingFinalizers()
                RelasseExcelObject(chartRange)
                RelasseExcelObject(xlSheet)
                xlWB.Close(False, Type.Missing, Type.Missing)
                xlApp.Workbooks.Close()
                RelasseExcelObject(xlWB)
                xlApp.Application.Quit()
                xlApp.Quit()
                RelasseExcelObject(xlApp)
                chartRange = Nothing
                xlSheet = Nothing
                xlWB = Nothing
                xlApp = Nothing
                If (processId <> 0) Then
                    Dim excelProcess As Process = Process.GetProcessById(processId)
                    excelProcess.CloseMainWindow()
                    excelProcess.Refresh()
                    excelProcess.Kill()
                End If
            End Try

  • Broadcasting a Excel Workbook with additional drilldowns

    I am trying to broadcast a Bex Excel Workbook by drilling down on couple of characteristics.  The Underlying workbook has already been set NOT to refer to the Queries Global Definition.
    So my problem is that when I broadcast this workbook after drilling down on the additional characteristics, it does not send it in the way I wanted, but it sends the workbook with whatever has been defined in the Bex Query (which is with no additional drilldowns). 
    I would like to know if there is way to add more drilldowns in the workbook and then distribute that workbook to the end users.

    No we don't want to save the workbook, becuase this is for the end user who wants to add a drilldown and then would like to send the output to his/her own email.   Basically end user should be able to add drilldowns to the workbook in the way he wants and wants to schedule the workbook in background using Broadcasting.

  • Excel Workbook with Excel Data Model stored on SharePoint - daily refresh

    I'm not sure if this is exactly the right forum but I'm hoping that someone here can either answer or point me in the right direction.
    I have an Excel Workbook with an Excel Data Model.
    The Excel Data Model uses SQL to contact our data warehouse and pull through data into tables.
    We are storing the Workbook on a SharePoint site and viewing it using Excel Services.
    The data in our data warehouse is updated daily and so I would like to refresh the workbook daily and remove the option to refresh the data in the browser.
    Is this possible with a workbook that has an Excel Data Model (I've seen lots of posts that relate to workbooks with connections to tabular models).
    Thanks
    Paul

    Hi Paul,
    I have answered this issue in this thread that you posted in SQL Server PowerPivot for SharePoint forum, please see:
    http://social.msdn.microsoft.com/Forums/en-US/9627939c-e9f1-48ae-a6ed-0c238d8f2d69/excel-workbook-with-excel-data-model-stored-on-sharepoint-daily-refresh?forum=sqlkjpowerpointforsharepoint
    Furthermore, this issue is more related to PowerPivot for SharePoint. If you have any more questions about PowerPivot for SharePoint, I would sugget you open a new thread in the forum below for better support:
    http://social.msdn.microsoft.com/Forums/en-US/home?forum=sqlkjpowerpointforsharepoint
    Thanks for your understanding.
    Regards,
    Elvis Long
    TechNet Community Support

  • At log-in Firefox stated that it was having a problem closing tabs and directed me to click a tab to continue, which I did, and sexually explicit images appeared on the screen and when I tried to close the screen, another screen popped up with additional

    At log-in Firefox the screen opened up with the message "Oops, We're embarrassed, we are having trouble closing tabs" or similar wording directing me to click on a tab to continue, which I did. At which time a screen full of rows of thumbnail pictures of a young girl in appeared on the screen. Some of the pictures had the girl imitating a sexual act. When I tried to close out of the screen by clicking on the 'X' at the top right of the screen, another screen opened with another larger picture of this little girl. I finally got out of Firefox. When I open it up again the message wasn't on the screen. As these pictures were disturbing I cleared them out of my history.
    My questions are - 1. Since these pictures appeared to be of a minor, can you backtrack to the source to find out where they originated and have something done about the individual who posted them? And,
    2. - Did my clicking on the link as directed - by Firefox, I thought - open my computer up to the personal information on my computer being compromised?
    == This happened ==
    Just once or twice
    == Around 11:30 on Sat June 19th

    It looks like you have some malware.
    Have you tried running an antivirus scan?
    Some free antivirus options:
    [http://www.avast.com/eng/programs.html]
    [http://www.avira.com/en/download/index.html]
    Malware program recommendations:
    Malwarebytes' Anti-Malware - [http://www.malwarebytes.org/mbam.php]
    SuperAntispyware - [http://www.superantispyware.com/]
    AdAware - [http://www.lavasoftusa.com/software/adaware/]
    Spybot Search & Destroy - [http://www.safer-networking.org/en/index.html]
    If these don't find it or can't clear it, post in one of these forums for specialized malware removal help:
    [http://www.spywarewarrior.com/index.php]
    [http://forum.aumha.org/]
    [http://www.spywareinfoforum.com/]

  • Ever get error code "-2146827284" when trying to open an Excel workbook using ActiveX

    The error message claims that the file cannot be found, but the file is clearly there. Ever seen this?
    Strangely, this happens on one machine, but not on another. I'm suspecting some kind of ActiveX incompatibility and would love suggestions on how to track this bugger down (I submitted to support also).
    Thanks
    Brad
    The attached vi exhibits this behavior (on one machine anyway)...
    Attachments:
    footest.vi ‏30 KB

    Brad,
    My suggestion is that if you know exactly where does your Excel ActiveX Library resides, please look for it and re-register it in windows, using the regsvr32 command. If not, please check wether the Excel version of the machine that is having problems is the same version as the machine where it is actually working. Last resource you may want to try to reinstall Excel after trying some of the Excel examples that came with LabVIEW. If you feel that you need more direct assistance please contact us directly, you may wish to call us or email us and you can find the information for doing so at www.ni.com/ask in the internet.
    Good luck!
    Nestor Sanchez
    Applications Engineer
    National Instruments
    Nestor
    National Instruments

  • Getting the error access denied trying to modify the workbook with identifier in Disocverer Admin

    Hi All,
    I have exported a workbook created by business user as an .eex file logging in as discoverer admin from a Production enviornment (transactional databse) and trying to import it to a different environment called reporting environment ( non transactional databse) and getting a warning 'WFS GTP REPORT SINAPORE.eex:Access denied trying to modify the workbook with identifier 'WFS_GTP_REPORT_SINGAPORE'.
    It says Files Partially Imported so clicked on Finish to complete the import.
    The report has been imported under the user account but the sharing to the different responsibilities/Users has not been imported. I need to import the report with the sharing of the responsibilities/users as well.
    I do not have an option login into discoverer administratore using the user account, i can only login using the administator account ( i know loging in as the business user it self will allow you to import the sharing). But our DBA's oppse this is a security threat for the users as you are logging in as the user in production environment.
    Please help with this issue.

    I have the same problem, and I figured out that my windows is installed in french, and every users groups are created in french also, groups like Everyone don't exists and i can't change by console.
    Regards, Roberto Borges please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • I've just updated OS to 10.10.1 and Finder keeps trying to open and then closes every 2 seconds with the message Finder is not Available. If Safari is opened full window it immediately closes and will only work with window smaller than maximum.

    I've just updated OS to 10.10.1 and Finder keeps trying to open and then closes every 2 seconds with the message Finder is not Available. If Safari is opened with the window full screen it immediately closes and will only work with window smaller than maximum. Driving me mad! Any help please!!

    Hi Linc
    Thank you for your response.
    I'm a bit of an amateur so I hope below is the information you've asked for:
    Step 1
    23/11/2014 09:19:14.007 ReportCrash[294]: Saved crash report for Finder[4349] version 10.10.1 (10.10.1) to /Users/AAAA/Library/Logs/DiagnosticReports/Finder_2014-11-23-091914_BBBB-MacBoo k-Pro-2.crash
    23/11/2014 09:19:14.008 ReportCrash[294]: Removing excessive log: file:///Users/AAAA/Library/Logs/DiagnosticReports/Finder_2014-11-23-091840_BBBB -MacBook-Pro-2.crash
    23/11/2014 09:19:14.000 kernel[0]: CODE SIGNING: cs_invalid_page(0x103809000): p=4357[Finder] final status 0x3000a00, denying page sending SIGKILL
    23/11/2014 09:19:14.000 kernel[0]: CODE SIGNING: process 4357[Finder]: rejecting invalid page at address 0x103809000 from offset 0x3f000 in file "" (cs_mtime:0.0 == mtime:0.0) (signed:0 validated:1 tainted:1 wpmapped:0 slid:0)
    23/11/2014 09:19:14.454 com.apple.xpc.launchd[1]: (com.apple.Finder[4357]) Binary is improperly signed.
    23/11/2014 09:19:14.454 com.apple.xpc.launchd[1]: (com.apple.Finder) Service only ran for 0 seconds. Pushing respawn out by 1 seconds.
    23/11/2014 09:19:15.584 Finder[4359]: assertion failed: 14B25: libxpc.dylib + 97940 [9437C02E-A07B-38C8-91CB-299FAA63083D]: 0x89
    23/11/2014 09:19:15.000 kernel[0]: CODE SIGNING: cs_invalid_page(0x10bfbf000): p=4359[Finder] final status 0x3000a00, denying page sending SIGKILL
    23/11/2014 09:19:15.000 kernel[0]: CODE SIGNING: process 4359[Finder]: rejecting invalid page at address 0x10bfbf000 from offset 0x3f000 in file "" (cs_mtime:0.0 == mtime:0.0) (signed:0 validated:1 tainted:1 wpmapped:0 slid:0)
    Step 2
    Process:               Finder [4626]
    Path: /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
    Identifier:            com.apple.finder
    Build Info: Finder_FE-932001003000000~1
    Responsible:           Finder [4626]
    PlugIn Path: /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
    PlugIn Identifier:       com.apple.finder
    -0 sec                         CODE SIGNING: cs_invalid_page(0x10c9a5000): p=4626[Finder] final status 0x3000a00, denying page sending SIGKILL
    -0 sec                         CODE SIGNING: process 4626[Finder]: rejecting invalid page at address 0x10c9a5000 from offset 0x3f000 in file "" (cs_mtime:0.0 == mtime:0.0) (signed:0 validated:1 tainted:1 wpmapped:0 slid:0)
    -2 sec                         CODE SIGNING: cs_invalid_page(0x10c5b3000): p=4624[Finder] final status 0x3000a00, denying page sending SIGKILL
    -2 sec                         CODE SIGNING: process 4624[Finder]: rejecting invalid page at address 0x10c5b3000 from offset 0x3f000 in file "" (cs_mtime:0.0 == mtime:0.0) (signed:0 validated:1 tainted:1 wpmapped:0 slid:0)
    -3 sec                         CODE SIGNING: cs_invalid_page(0x10f4bd000): p=4622[Finder] final status 0x3000a00, denying page sending SIGKILL
    -3 sec                         CODE SIGNING: process 4622[Finder]: rejecting invalid page at address 0x10f4bd000 from offset 0x3f000 in file "" (cs_mtime:0.0 == mtime:0.0) (signed:0 validated:1 tainted:1 wpmapped:0 slid:0)
    -5 sec                         CODE SIGNING: cs_invalid_page(0x105ecf000): p=4620[Finder] final status 0x3000a00, denying page sending SIGKILL
    -5 sec                         CODE SIGNING: process 4620[Finder]: rejecting invalid page at address 0x105ecf000 from offset 0x3f000 in file "" (cs_mtime:0.0 == mtime:0.0) (signed:0 validated:1 tainted:1 wpmapped:0 slid:0)
    -7 sec                         CODE SIGNING: cs_invalid_page(0x1012cd000): p=4617[Finder] final status 0x3000a00, denying page sending SIGKILL
    -7 sec                         CODE SIGNING: process 4617[Finder]: rejecting invalid page at address 0x1012cd000 from offset 0x3f000 in file "" (cs_mtime:0.0 == mtime:0.0) (signed:0 validated:1 tainted:1 wpmapped:0 slid:0)
    --> __TEXT 000000010c966000-000000010ce55000 [ 5052K] r-x/rwx SM=COW /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
        __DATA 000000010ce55000-000000010cf53000 [ 1016K] rw-/rwx SM=COW /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
    0   com.apple.finder                                 0x000000010c9a521f 0x10c966000 + 258591
    10  com.apple.finder                               0x000000010c9977b5 0x10c966000 + 202677
    11  com.apple.finder                               0x000000010c988154 0x10c966000 + 139604
    12  com.apple.finder                               0x000000010c987e15 0x10c966000 + 138773
    13  com.apple.finder                               0x000000010c987d35 0x10c966000 + 138549
    14  com.apple.finder                               0x000000010c987cfd 0x10c966000 + 138493
    28  com.apple.finder                               0x000000010c96b960 0x10c966000 + 22880
    1   com.apple.finder                                 0x000000010c98a69d 0x10c966000 + 149149
    2   com.apple.finder                                 0x000000010c98aba7 0x10c966000 + 150439
    3   com.apple.finder                                 0x000000010c9795d2 0x10c966000 + 79314
    4   com.apple.finder                                 0x000000010c98aa0b 0x10c966000 + 150027
    5   com.apple.finder                                 0x000000010c98a952 0x10c966000 + 149842
    6   com.apple.finder                                 0x000000010c98a78a 0x10c966000 + 149386
    7   com.apple.finder                                 0x000000010c979496 0x10c966000 + 78998
    8   com.apple.finder                                 0x000000010c98a548 0x10c966000 + 148808
    9   com.apple.finder                                 0x000000010c98a410 0x10c966000 + 148496
    10  com.apple.finder                               0x000000010c983df6 0x10c966000 + 122358
           0x10c966000 -        0x10ce54ffb  com.apple.finder (10.10.1 - 10.10.1) <33C3024A-4A16-3485-B2B1-89FA33B9558A> /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
    Many thanks
    David

  • Combining multiple spreadsheets into one workbook with excel

    Im working on a project that requires a workbook with all the raw and calculated data merged into one excel workbook. Currently I have all the sheets saved separately but for the life of me can't figure anything out from the examples i've seen so far. How would I Initially go about doing this?

    Why save the spreadsheets separately?  Can you combine them from the gitgo using the Report Generation toolkit.  How are you collecting the data?  Is the data entry done manually or is it automated?  From your post, it seems you collect the data by some other means other than with LV, but you want to merge the data with LV, correct?
    Take a look at the example finder if you haven't done so.
    Reese, (former CLAD, future CLD)
    Some people call me the Space Cowboy!
    Some call me the gangster of love.
    Some people call me MoReese!
    ...I'm right here baby, right here, right here, right here at home

  • We are trying to close caption our telecasts. We get the captioning files done out of house, pull them back into Premiere, and then embed them. The TV station requires .mxf files with the file embedded as a 708 stream, to play on their Grass Valley K2 vid

    We are trying to close caption our telecasts. We get the captioning files done out of house, pull them back into Premiere, and then embed them. The TV station requires .mxf files with the file embedded as a 708 stream, to play on their Grass Valley K2 video servers. We have tried multiple scenarios and cannot get the captions to display.
    Whenever I export, it becomes a 608 stream, and will not play on their servers.

    Hello there,
    I'm sorry to hear you are having a problem. Thank you for taking the time to post here.
    Here are some questions:
    1. What version of PPRO are you using? MAC or WIN?
    2. Is the caption data you are embedding a 708 caption stream?
    3. When you re-import the MXF with captioning embedded back into PPRO, does it show 708 closed captions in PPRO?
    PPRO will embed 708 caption streams to MXF -- I just did this, re-imported the embedded MXF to PPRO, and I see the captions in the MXF.
    If you could share one of your files with me, I could take a look.
    Take care and thanks again,
    CM

  • Facebook app is blocked on "waiting..". I tried to close the app firstly but it doesn't appear on the multitasking. I tried the normal and the hard reset. I tried to move the app in another group with itunes but it is still in "waiting". Any suggestion?

    Facebook app is blocked on "waiting..". I tried to close the app firstly but it doesn't appear on the multitasking. I tried the normal and the hard reset. I tried to move the app in another group with itunes but it is still in "waiting". Any suggestion?

    I can't! Tried to deleteit  from the iphone and from itunes but the X doesn't appear!

  • Excel service and OWA - getting ERROR while trying to open/edit Excel documents

    Hi All,
    We have configured SharePoint 2013 with Excel Service and OWA (Office Web Apps).
    After configuring, we are able to view/edit Word or PowerPoint documents from the browser (as OWA is configured). But we are getting errors while trying to open/edit Excel documents.
    We are not able to view/edit the excel workbook from the browser (through OWA).
    To open the excel in the browser, decision has to be taken at the farm level on what to be used – Excel Service or OWA Server? Is it possible to do setting at site collection level?
    Error details are given below:
    Event code: 3005
    Event message: An unhandled exception has occurred.
    Event time: 3/25/2013 1:29:08 PM
    Event time (UTC): 3/25/2013 7:59:08 AM
    Event ID: fc2e0530f493493896e6c8b6297a0423
    Event sequence: 10
    Event occurrence: 3
    Event detail code: 0
    Application information:
        Application domain: /LM/W3SVC/2/ROOT/x-1-130086717598089315
        Trust level: Full
        Application Virtual Path: /x
        Application Path: C:\Program Files\Microsoft Office Web Apps\ExcelServicesWfe\
        Machine name: VHYDMANTHSTP-02
    Process information:
        Process ID: 1252
        Process name: w3wp.exe
        Account name: NT AUTHORITY\NETWORK SERVICE
    Exception information:
        Exception type: ArgumentException
        Exception message: An entry with the same key already exists.
       at System.Collections.Generic.TreeSet`1.AddIfNotPresent(T item)
       at System.Collections.Generic.SortedDictionary`2..ctor(IDictionary`2 dictionary, IComparer`1 comparer)
       at Microsoft.Office.Excel.Server.ServiceHost.ServiceHost.GetInstalledUICultures()
       at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.IsUICultureSupported(String cultureTag, CultureInfo& cultureInfo)
       at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.SafeSetCurrentUICulture(String cultureTag, Boolean useOleo, Boolean allowCustomFallback)
       at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.SafeSetCurrentUICultureFromFrontEnd(String uiCultureTag, Boolean allowFallback)
       at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.SafeSetCurrentCulturesFromFrontEnd(String uiCultureTag, String dataCultureTag)
       at Microsoft.Office.Excel.Server.ServiceHost.ServiceHost.Microsoft.Office.Excel.Server.Host.IEwaHost.SetCurrentCulturesFromContext(HttpContext context)
       at Microsoft.Office.Excel.Server.ServiceHost.ServiceHost.Microsoft.Office.Excel.Server.Host.IEwaHost.PreProcessRequest(HttpContext context)
       at Microsoft.Office.Excel.WebUI.XlPreview.OnLoad(EventArgs e)
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    Request information:
        Request URL:
    http://mysrevr/x/_layouts/xlpreview.aspx?ui=en-US&rs=en-US&WOPISrc=http://myservernames1/_vti_bin/wopi.ashx/files/f36d669ceb814d67bdad0e1e1f98e466&wdSmallView=1
        Request path: /x/_layouts/xlpreview.aspx
        User host address: 10.81.138.92
        User: 
        Is authenticated: False
        Authentication Type: 
        Thread account name: NT AUTHORITY\NETWORK SERVICE
    Thread information:
        Thread ID: 13
        Thread account name: NT AUTHORITY\NETWORK SERVICE
        Is impersonating: False
        Stack trace:    at System.Collections.Generic.TreeSet`1.AddIfNotPresent(T item)
       at System.Collections.Generic.SortedDictionary`2..ctor(IDictionary`2 dictionary, IComparer`1 comparer)
       at Microsoft.Office.Excel.Server.ServiceHost.ServiceHost.GetInstalledUICultures()
       at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.IsUICultureSupported(String cultureTag, CultureInfo& cultureInfo)
       at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.SafeSetCurrentUICulture(String cultureTag, Boolean useOleo, Boolean allowCustomFallback)
       at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.SafeSetCurrentUICultureFromFrontEnd(String uiCultureTag, Boolean allowFallback)
       at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.SafeSetCurrentCulturesFromFrontEnd(String uiCultureTag, String dataCultureTag)
       at Microsoft.Office.Excel.Server.ServiceHost.ServiceHost.Microsoft.Office.Excel.Server.Host.IEwaHost.SetCurrentCulturesFromContext(HttpContext context)
       at Microsoft.Office.Excel.Server.ServiceHost.ServiceHost.Microsoft.Office.Excel.Server.Host.IEwaHost.PreProcessRequest(HttpContext context)
       at Microsoft.Office.Excel.WebUI.XlPreview.OnLoad(EventArgs e)
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

    I have the same issue while opening the file , i have checked every thing twice. but unable to fix this thing . can any one help.
    One more thing which is i am wondering none of the MS representative replied on this post which is originally posted on March 27-2013.
    is microsoft alive??
    Imran Bashir Network Administrator MCP, JNCIA-EX,ER,JNIOUS +92-333-4330176

  • Webutil error while trying to open an excel file

    Hi, I´m using oracle forms to read an excel file, I have two installations in different servers using oracle app server 9.04 and in one of this installations while trying to read an excel file i get the following error message in the java console:
    2006-jul-14 10:45:27.718 ERROR>WUO-708 [OleFunctions.get_obj_property()] No se ha podido obtener la propiedad: Workbooks; Excepción
    com.jacob.com.ComFailException: A COM exception has been encountered:
    At Invoke of: Workbooks
    Description: An unknown COM error has occured.
    2006-jul-14 10:45:36.140 WUO[getProperty()] Getting property WUO_OLE2_CREATE_ARGLIST
    2006-jul-14 10:45:37.781 WUO[setProperty()] Setting property WUO_OLE2_HANDLE to 2
    2006-jul-14 10:45:37.781 WUO[setProperty()] Setting property WUO_OLE2_ADD_ARG to SD:\UPLOADS\FILE.xls
    I dont really know where to start to try and solve this issue, any help is greatly appreciated
    Thanks
    Hi, I´m using oracle forms to read an excel file, I have two installations in different servers using oracle app server 9.04 and in one of this installations while trying to read an excel file i get the following error message in the java console:
    2006-jul-14 10:45:27.718 ERROR>WUO-708 [OleFunctions.get_obj_property()] No se ha podido obtener la propiedad: Workbooks; Exception
    com.jacob.com.ComFailException: A COM exception has been encountered:
    At Invoke of: Workbooks
    Description: An unknown COM error has occured.
    2006-jul-14 10:45:36.140 WUO[getProperty()] Getting property WUO_OLE2_CREATE_ARGLIST
    2006-jul-14 10:45:37.781 WUO[setProperty()] Setting property WUO_OLE2_HANDLE to 2
    2006-jul-14 10:45:37.781 WUO[setProperty()] Setting property WUO_OLE2_ADD_ARG to SD:\UPLOADS\FILE.xls
    I dont really know where to start to try and solve this issue, any help is greatly appreciated
    Thanks

    I created a system DSN named odbc_excel. Then, I created a file named initexcelsid.ora with the following arguments:
    HS_FDS_CONNECT_INFO = odbc_excel
    HS_AUTOREGISTER = TRUE
    HS_DB_NAME = dg4odbc
    In the location, I put excelsid in the Service_Name entry. Do you need me to post the listener.ora file or something else?
    Thank you.

  • Getting error message when i am trying to update the excel file using script task in ssis package

    Hi Guys,
    I am getting error message when I am trying to update the excel. Please find the error messages as below
    Error at Update File [Update File]: Failed to compiled scripts contained in the package. Open the package in SSIS Designer and resolve the compilation errors.
    Error at Update File [Update File]: BC30002 - Type 'Microsoft.Office.Interop.Excel.Application' is not defined., ScriptMain.vb, 32, 32
    Error at Update File [Update File]: BC30002 - Type 'Microsoft.Office.Interop.Excel.Workbook' is not defined., ScriptMain.vb, 33, 25
    Error at Update File [Update File]: The binary code for the script is not found. Please open the script in the designer by clicking Edit Script button and make sure it builds successfully.
    Warning at Update File [Update File]: Found SQL Server Integration Services 2008 Script Task "ST_050fcae972904039b4f0fe59b7528ece" that requires migration!
    and the code that   I am using is
    Dell - Internal Use - Confidential
    ' Microsoft SQL Server Integration Services Script Task
    ' Write scripts using Microsoft Visual Basic
    ' The ScriptMain class is the entry point of the Script Task.
    Imports System
    Imports System.Data
    Imports System.Math
    Imports Microsoft.SqlServer.Dts.Runtime
    Imports Microsoft.Office.Interop.Excel
    <System.AddIn.AddIn("ScriptMain", Version:="1.0", Publisher:="",
    Description:="")> _
    <System.CLSCompliantAttribute(False)> _
    Partial
    Public Class ScriptMain
    Inherits Microsoft.SqlServer.Dts.Tasks.ScriptTask.VSTARTScriptObjectModelBase
    Enum ScriptResults
                Success = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Success
    Failure = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Failure
    End Enum
    Public Sub Main()
            Dts.TaskResult = ScriptResults.Success
    'Dim proc As System.Diagnostics.Process
    'kill all instances of excel
    'For Each proc In System.Diagnostics.Process.GetProcessesByName("EXCEL")
    ' proc.Kill()
    'Next
    Dim excelnacomm As
    New Microsoft.Office.Interop.Excel.Application
    Dim wbnacomm As Microsoft.Office.Interop.Excel.Workbook
            wbnacomm = excelnacomm.Workbooks.Open("http://test.xlsx")(renamed
    the excel)
            wbnacomm.RefreshAll()
            wbnacomm.Save()
            wbnacomm.Close()
            excelnacomm.Quit()
            Runtime.InteropServices.Marshal.ReleaseComObject(excelnacomm)
    End Sub
    End
    Class
    Please let me know what could be the reason
    Smash126

    Download:
    Microsoft Office 2010: Primary Interop Assemblies Redistributable
    How to: Add or Remove References By Using the Add Reference Dialog Box  /  How to:
    Add and Remove References in Visual Studio (C#)
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

Maybe you are looking for

  • Why is the itunes download so slow

    why is the itunes download so slow - I am trying to download itunes update to recognize my new ipod touch 5th generation and my pc will not even show it in itunes, in trying to download the update the speeds are so slow that it is estimating download

  • Black line on the dock

    Hi All, I have an iMac 27'' (late 2013) that I have just updated to Yosemite. All well and smooth, although the iMac seems a bit slower at startup... The only strange occurrence is a black line, about 1cm long, that I see on the right hand-side of th

  • After Updating my iTunes it won't open

    I just get the "iTunes has encountered a problem and needs to close." message. I have uninstalled and reinstalled and I don't know what to do. Someone please help me.

  • Time Machine restore fail: "Unable to find Driver for platform ACPI"

    After restoring a recent Time Machine backup of a 2010 MacBook Pro Snow Leopard system, I'm getting boot errors like panic(cpu 0 caller 0x5591cb: "Unable to find driver for this platform: \"ACPI\".\n"@/SourceCache/xnu/xnu-1504.7.4/iokit/Kernal/IOPlat

  • BEX Query Web-Convert Key Fig to Characteristic-Right justify characteristi

    Hi, I have converted a Key Figure into a characteristic. Let's call the new characteristic Z_NUMCHAR. When Z_NUMCHAR is displayed in the BEX Query (HTML), it is left justified. I have concatenated additional SPACES to the front of Z_NUMCHAR. However