Problems faced while using MicrosoftOfficeInterop

We are developing a windows program solution in which we programmatically access the Excel functionality and control the behaviour of the *.xlsx files. 
We are using
 Visual Studio 2012 Professsional,
 Language C# 
 Namespace Microsoft.Office.Interop.Excel.
 Functions being used are standard functions  like 
ExcelApp.Workbooks.Open(…….)
WorkBook.Save(..)
WorkBook.Close(..) etc.
To control behaviour of .xlsx files, We are also using events like 
BeforeClose
BeforeSave
BeforePrint   etc 
On few systems (operating systems Windows 7 and above with Microsoft Office 2010 and above) we are facing problems. It gives exception with exception message as  “HRESULT: 0x800AC472”.  This exception is raised randomly (i.e. if it is raised while
using WorkBook.Save(..) but few seconds  before this , same file is successfully saved at same machine and same path. OR if it is raised while using ExcelApp.Workbooks.Open(…….), the same was successful just before few miliseconds.)
We know one instance where it is expected to happen. If we are working on a machine where the office installed is a trial version (i.e. the Product Key id is not entered during installation), the above problem is known to happen. But it disappears immediately
after we feed the Product key. The Program behaves perfectly.
But on few machines where the windows is properly installed and the Office is also properly installed, the above mentioned problem is faced and we are not able to locate why the problem occurs.
Can you guide us to locate  the problem and overcome the same?

Hi Mukund,
The
Excel for Developers forum is a better place for Office development questions. Please feel free to open a new thread at there.
Thank you for your understanding.
Best Regards,
Franklin
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • Problem Faced While Using The Expdp Utility in Oracle 10g

    We are getting the following error while exporting the tables of a schema.
    ORA-39127: unexpected error from call to export_string :=DMSYS.DBMS_DM_MODEL_EXP
    .instance_info_exp('DM$P_MODEL_EXPIMP_TEMP','YEARLID',1,1,'10.01.00.03.00',newbl
    ock)
    ORA-06503: PL/SQL: Function returned without value
    ORA-06512: at "DMSYS.DBMS_DM_MODEL_EXP", line 1061
    ORA-06512: at line 1
    ORA-06512: at "SYS.DBMS_METADATA", line 4995
    ORA-39125: Worker unexpected fatal error in KUPW$WORKER.UNLOAD_METADATA while ca
    lling DBMS_METADATA.FETCH_XML_CLOB [TABLE:"YEARLID"."CONTACTS_PGRANT_NOV22"]ORA-06502: PL/SQL: numeric or value error: invalid LOB locator specified: ORA-22
    275
    The table CONTACTS_PGRANT_NOV22 has got a column of type CLOB. We are exporting in the metadata only mode. Interestingly when we are exporting only this table individually, we are not getting any problem. Please suggest at the earliest.

    Hi,
    I need to take full export of the database with out data and for all schemas. Can you tell is below syntax correct or not:
    expdp system directory=DATA_PUMP dumpfile=FullDB1_Jan25_08.dmp job_name=test3 logfile=FullDB1_Jan25_08_EXPDP.log CONTENT=METADATA_ONLY full=y
    if I use above syntax I am not seeing all schema names in log file during expdp as we see in exp option.
    Please let me know correct syntax.

  • Problem faced while using BAPI_FIXEDASSET_CREATE1 to create assets in SAP

    Hi all,
    in which internal table of BAPI_FIXEDASSET_CREATE1 can i pass the field 'Profit center' and 'Segment' in AS01

    hi,
    i tink you cannot pass it directly
    (dependant from cost centre)
    A.

  • Classification System CA-CL: Problems / Dumps while using a new class type

    Hi All,
    You'd really make my day by helping me out w. hints or even a solution. Would reward points for your efforts...
    The problem: in order to develop a class hierachy of product groups (in industry system, Rel. 6.40) I created a new class type (let's call it ZWG).
    While doing so R/3 requsted me to provide info on the objects to assign to this class type as well as the transaction for displaying these objects. For Product Groups (material classes) this is object-table T023 and transaction WG24.
    Furthermore the sys demands the implementation of a function module. This module's task is to check the existence of a given object as well as the locking and later unlocking in the process of classifying objects. Following SAP's naming convention I implemented and activated FM OBJECT_CHECK_T023.
    After that I created a new class (FIRST_CLASS) of class-type ZWG.
    I managed to assign exactly one (1) prod-grp to this class but afterwards I only receive dumps while using transactions CL20N, CL24N  to assign objects.
    The Message from ST22 says:
    Assignment error: Overwriting a protected field.
    Error in ABAP application program.                                                                               
    The current ABAP program "SAPLCLCV" had to be terminated because one of the 
    statements could not be executed.                                                                               
    This is probably due to an error in the ABAP program.                       
    Do I have to debug throughout thís enormous amount of coding now? :-(((
    Hope someone get's my "message in a bottle"
    Best Regards
    Udo

    Yatin please see attached for warning.I am trying to create Z class using 001

  • Problem Facing while analyzing Dim/Fact Table % using RSRV

    Hi All,
    When we analyzing the infocube in RSRV to see percentage of Dimension tables, system is showing 0% for all the dimensions and also for Fact tables.
    But data is existing in fact table of infocube and also in dimensions tables, when we see in SE11.we also executed report SAP_INFOCUBE_DESIGNS in SE38, in their also we are not able to find any entry for particular infocube.Please advice on this ASAP.
    Regards
    Manoj

    Hi,
      Check whethere the statistics for the cube is run. If not refresh the stats ans then chk in RSRV or in SAP_INFOCUBE_DESIGNS you will get the ratio betwene ur dim and fact table
    Hope it helps.
    Regards,
    Malar B

  • Problems faced when using xsl:include and extension functions

    I am Working in XML and XSLT using Oracle's XML Parser V2.
    Previously i had worked in Microsoft technology using MSXMLParser.
    I am facing some problems in XSLT. They are as below...
    1. Using <xsl-include href="Somexsl.xsl">
    the oraclexmlparser processor is giving the error : XSL-1002: Error while processing include XSL file (no protocol: Submenu.xsl).
    * Can u tell me why i am getting this error, and what is the fix for this.
    The same case with <xsl:import> too.
    2. In case i have to write some functions in the previous WD of xsl i used these statements
    <?xml version='1.0'?>
    <!DOCTYPE PageRoot SYSTEM "../../Common/dtd/PageNavBar.dtd">
    <xsl:stylesheet
    xmlns:xsl="http://www.w3.org/TR/WD-xsl"
    xmlns:html="http://www.w3.org/TR/REC-html40"
    result-ns="">
    <xsl:script xmlns:xsl="uri:xsl"><![CDATA[
    var strWebContentPath = "/SurSITE/Content/";
    var strWebImagePath = "/SurSITE/sursitegraphics/";
    function IncScript()
    return "<script language='javascript' src='/SurSITE/Includes/avalidations.js'></script>";
    ]]>
    </xsl:script>
    To call the function i used this
    <xsl:eval no-entities='true'> IncScript();</xsl:eval>
    * Can u tell me how do i do this now, i tried with the code above using the current name space (<xsl:stylesheet version="1.1"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform" />)
    Please use the example given above.
    I will be very greatfull to u if u can give me some suggestion or help for the above said problems.
    Thanking you and eagerly waiting for your reply(s).
    null

    The current version is "1.0" not "1.1"
    You haven't included the code for what your <xsl:include>
    statement looks like, which seems to be what it's complaining
    about...
    XSLT 1.0 has no <xsl:eval>, this is a microsoft specific tag
    from a pre-XSLT-1.0 version.
    XSLT 1.0 has no <xsl:script> element either.

  • Problem facing while connecting to GPRS for Nokia ...

    When I am connecting to GPRS or while doing switch on of my nokia 3110 it screen goes blank and it automatically switch off and switch on.

    Hi
    I was facing this problem all of a sudden when i use Sigle sign-on method to connect to SAP.
    It throws me from my connection process when i reach the code to connect to the company database.
    So i uninstalled all SAP components and reinstalled them again (based on one of the earlier post )... this has sorted my issue.
    Thank you for your response
    Regards
    Mini

  • Rep-0756 problem facing while opening the report in 10g

    Hi,
    I am facing problem while opening RDF in oracle 10g.
    I follow the next steps.
    1. Open the RDF in 10g.
    2. Open the PLL in report builder and compile that PLL and save in same path where report located.
    3. reattach the library with RDF.
    4. Close the RDF
    5. Reopen the RDF and facing the error.
    6. REP-0756- unable to open attached............
    7. I set the report_path in Registry also where PLL exists
    Please give me the solution for this problem
    Waiting for quick reply.
    ashok

    Thank you fs,
    I am also facing the similar issue in reports 10g, I am keeping the .pll file in my local machine say c:\me\reports\xyz.pll. When I am opening this pll, I am getting the error REP-0756 though the path 'c:\me\reports\' is added to the REPORTS_PATH. Your suggestion resolved the issue.
    Many thanks,
    Lokesh.

  • Problems facing while installing Oracle 8i personal edition under win98se

    hello,
    I am having problems while installing Oracle 8i personal edition
    under win98se.
    I am stuck on the creation of database. it always stuck at 85%.
    I've try installed many many times.. but it still the same..
    what can i do?
    i am using win98 se.
    is there any solution for this problems?
    thanks~!

    Under Win 98SE (Personal Oracle 8i)creation of database - very
    long. Therefore choose a mode of creation of base - copy from CD.
    Then the base can be increased.
    Best regards - Alex

  • Problems faced while hosting BO in Citrix server

    Post Author: antlupeter
    CA Forum: Authentication
    Hi,
    We have planned to move BO to Citrix servers located in a different location. We are facing a strange issue here.
    While testing BO in the new server we figured that only accounts with admin access were able to use BO. User accounts in BO were not able to use or even login to BO which is currently residing in the new server. The version we use is 5.1.6.
    Any pointers as to why this is occuring. Appreciated response at the earliest.
    Regards,
    Rocky

    Post Author: antlupeter
    CA Forum: Authentication
    Hi,
    We have planned to move BO to Citrix servers located in a different location. We are facing a strange issue here.
    While testing BO in the new server we figured that only accounts with admin access were able to use BO. User accounts in BO were not able to use or even login to BO which is currently residing in the new server. The version we use is 5.1.6.
    Any pointers as to why this is occuring. Appreciated response at the earliest.
    Regards,
    Rocky

  • Problem faced while configuring the domain configuration in WLS 10.0

    Hi all, I am trying to set up a Weblogic server 10.0 web application development environment in which we use persistence store, jms server, jms system module, subdeployments and jms system resources. when i configure everything and activate the changes, i get weird exception. but, i could not figure out why it happens. this is the exception
    weblogic.store.io.jdbc.JDBCStoreException: [Store:280064]Expected empty table. (server="AdminServer" store="limJMSPersistentStore" table="limJMSWLStore")
         at weblogic.store.io.jdbc.JDBCStoreIO.initializeEmptyTable(JDBCStoreIO.java:656)
         at weblogic.store.io.jdbc.JDBCStoreIO.open(JDBCStoreIO.java:375)
         at weblogic.store.internal.PersistentStoreImpl.recoverStoreConnections(PersistentStoreImpl.java:327)
         at weblogic.store.internal.PersistentStoreImpl.open(PersistentStoreImpl.java:318)
    It says weblogic.management.DeploymentException: The persistent store "limJMSPersistentStore" does not exist. but it is configured in the domain when i see in console. After that all the resources to jms system module also throws the below exception
    weblogic.application.ModuleException: ERROR: Could not activate limJMSSystemModule!limLidbResponseQueue
    reason is weblogic.messaging.kernel.KernelException: The Messaging Kernel limJMSServer has not yet been opened. I also have another problem with resource bundle properties file. weblogic server could not find the properties file. it throws MissingresourceException for all the properties file. i have placed the properties file inside DOMAIN_HOME/app_classes folder

    Hi all,
    The deployment failure of the "limJMSPersistenceStore" - jdbc store was the root cause. I use "limjms" prefix for this persistence store.It was not able to persist because of the data present in the "limJMSWLStore" table in the db schema. when i deleted all the rows and committed. then, restarted the server. Everything worked just fine :). Thanks!

  • Problem facing while cumulating the key fig

    Hi to all,Arun & gopi
    The report excecute for current month.
    Forecast values have month starting day to ending date.
    Actual values have month starting date to the present day(system date).
    According to client requirement in layout, i have to show shipmentforecast(day) and shipmenforecast(cumulate) from month starting date to ending date and shipmentactual(day) and shipmentactual(Cumulate) from month starting day to present day(system date).
    shipmentforecast(day) and shipmentactual(day) comes from cube, based on that i created shipmentforecast(cumulate) and shipmentactual(cumulate) using new selection and in properties i selected cumaulte, apply to the result, cumulate along rows.
    while cumulating, shipmentactual(cumulate) is showing corect cumulate values from month staring day to present day(system day), after present day it showing last cumulate value ( present day value) by default to remaining days.
    Even i am restricted the Actual(cumulate) with a customer exit variable( month starting date to system date ), still it showing last cumulate valye to remaing cells ( after present day to end of the month)
    i should not get this.
    In rows i taken 0calday.
    in columns i taken Key figs which are
    1) shipmentforecast(day)
    2) shipmentactual(day)
    3) shpmentforecast(cumulate)
    4) shipmentactual(cumulate)
    5) gap(cumulative) is calculated as ( NODIM ( 'Actual(Day)' ) <> 0 ) * 'Actual(Day)' - 'Foreseen(Day)' and properties i checked the cumulate.
    in filters i taken as Ocalyear/month which is restricted for current month.
    i mean total reprot has to display for  current month  days.
    and forecast(day) and forecast(cumulate) values has to display for whole month.
    actual(day) and actual(cumulate) values has to display for form starting of the month to the current day(system date)
    Please give me help.
    with regards
    m.rajnikanth reddy

    Hi to all,Arun & gopi
    The report excecute for current month.
    Forecast values have month starting day to ending date.
    Actual values have month starting date to the present day(system date).
    According to client requirement in layout, i have to show shipmentforecast(day) and shipmenforecast(cumulate) from month starting date to ending date and shipmentactual(day) and shipmentactual(Cumulate) from month starting day to present day(system date).
    shipmentforecast(day) and shipmentactual(day) comes from cube, based on that i created shipmentforecast(cumulate) and shipmentactual(cumulate) using new selection and in properties i selected cumaulte, apply to the result, cumulate along rows.
    while cumulating, shipmentactual(cumulate) is showing corect cumulate values from month staring day to present day(system day), after present day it showing last cumulate value ( present day value) by default to remaining days.
    Even i am restricted the Actual(cumulate) with a customer exit variable( month starting date to system date ), still it showing last cumulate valye to remaing cells ( after present day to end of the month)
    i should not get this extra values.
    In rows i taken 0calday.
    in columns i taken Key figs which are
    1) shipmentforecast(day)
    2) shipmentactual(day)
    3) shpmentforecast(cumulate)
    4) shipmentactual(cumulate)
    5) gap(cumulative) is calculated as ( NODIM ( 'Actual(Day)' ) <> 0 ) * 'Actual(Day)' - 'Foreseen(Day)' and properties i checked the cumulate.
    in filters i taken as Ocalyear/month which is restricted for current month.
    i mean total reprot has to display for  current month  days.
    and forecast(day) and forecast(cumulate) values has to display for whole month.
    actual(day) and actual(cumulate) values has to display for form starting of the month to the current day(system date)
    Please give me help.
    with regards
    m.rajnikanth reddy

  • Problem faced when using calculated field as filter

    Iam using an Oracle External Data Source.The external table contains a timestamp field and I add this to my data object.The year,month etc. functions work well on this field and results appear on list views.But when I try to generate a filter for this field and display the view I get errors.
    SQLSYNTAXERROREXCEPTION_REPORTSERVER_STREAMINGLIST_INITIALIZE
    Exception Message ORA-00904: "MONTH": invalid identifier
    So,I tried out with the call center data object found in bam samples.This had a datetime field.Filters on calculated fields work fine here.
    Is the former problem due to timestamp datatype or external datasource or anything else?
    Thanks,
    Raghuram

    Answer to following questions will help me narrow down the problem:
    1. Which version of BAM are you on - 10g or 11g?
    2. What condition are you using in filter i.e. "is equal to", "is less than equal to", "is like"...etc?
    3. In which format is the timestamp data being given in the filter? (by format, I mean mm-dd-yy HH:MM:SS etc)
    4. Can you give the exact datatype of the DB in which this timestamp data is stored?

  • Problems faced when using JSTL

    Hi all,
    I am a beginner in using JSTL 1.1 tag library in my web application and I got problems when I was dealing with it. The problem is, how can I pass the form bean parameter value (e.g. ArrayList) into the core tag? What should I do before defining the <c:forEach/> and the attributes I should defined inside the tag? I am confused with them. Could anyone have suggestions? Please do shout. Many thanks!
    Van

    JSTL works with JSF only in particular circumstances. Those are some guides about this topic:
    http://jsffaq.com/Wiki.jsp?page=DoJSTLAndJSFCanBeUsedTogether
    http://jsffaq.com/Wiki.jsp?page=IsItPossibleToUseJSTLsCForEachWithFacesContext
    http://jsffaq.com/Wiki.jsp?page=IsItPossibleToUseJSTLsConditionalTagsWithFacesContext
    Sergey : http://jsfTutorials.net

  • Problem faced while installing adobe reader X.

    While trying to install adobe reader X, the installation is interuppted after about 85% installation is complete and a message pops up " The instruction at "0X00000047" referenced memory at "0X00000047". The memory could not be read. Click on OK to terminate the program. Click on cancel to debug the program.
    Please help me solve this problem so that i can install adobe reader successfully on my computer.
    Thank You!

    Try to download and run the offline installer from http://get.adobe.com/reader/enterprise/

Maybe you are looking for

  • Can't log out of twitter on my iPad.  It doesn't work.  I am able to do it using the website.

    The twitter app for iPad doesn't work when I try to logout.  It's so frustrating that I deleted it and use twitter online.

  • Cannot save an MP3 file from a webpage after Leopard upgrade

    Hello, I am a graduate student and my instructor posts his lectures online as mp3 files. When I was using Tiger and Safari, I was able to right click the file and save it to my computer. Now, after I upgraded to Leopard, I right click and attempt to

  • Webservice response in BPM scenario

    I am doing a BPM scenario where I take data from ERP asynchronously using proxy and send it as a request to a third party synchronous webservice. The webservice gives a response and I am using the response to send it further along to other systems. E

  • DVD ROM displays, but nor working - Please help

    Hi, I have a Pavilion dv4t-1400 and recently upgraded it to Windows 7 home premium. I have a peculilar problem. My DVD Rom is not working. It shows up under "Computer", it has no yellow marks under "Device Manager" If I insert a blank disck, after so

  • Synchronous Call without Operations Mapping

    Hi All, We have requirement to call a web service from WebDynpro hosted on BW system via PI. For this wanted to use AAE (advanced adapter engine) with SOAP to SOAP adapters. We are thinking of implementing this interface without message mapping hence