Connection to Discoverer Plus (10g) lost when exporting workbook to Excel

I have a user who was exporting a workbook to Excel and it showed that the export failed. When she closed that box, she got a message that her Connection to Discoverer was lost.
Anyone experienced this one? Any ideas why this is happening?
Cindy

Hi Kevin
It will do this if you change the parameters away from the default and you have told Discoverer to remember parameter settings. This is controlled by an entry called SaveLastUsedParamValue in pref.txt on the server.
If this is the cause then its not a bug. All Discoverer thinks is that you have changed something. Even switching an item in Page Items could trigger this.
If you have users who only need to View reports why not use Viewer? You can turn off saving altogether there if you so wish.
Best wishes
Michael

Similar Messages

  • Menu "Export" in Oracle Discoverer Plus 10g

    Hi..
    Is there anyone knows how to hide "Export" menu in OracleBI Discoverer Plus 10g ?
    Any help will be appreciated.
    Regards,
    Handoko

    I have a T420 Lenovo with dual video card configuration is causing the Discoverer Plus 10g views to not refresh correctly.
    I was able to find a solution to this issue. It requires the following changes in the system BIOS.
    •     In BIOS under Config -> Display ->Change the Graphics Devices to Discrete
    •     In BIOS under Config -> Display ->OS Detection for NVIDIA Optimus -> Changed to Disabled
    Now system will only use the Nvidia Card versus the dual card configuration (Nvidia + Intel HD Graphics)
    Discoverer Plus works correctly.
    Hope this helps.
    Yonas Mekuria

  • Error on connecting to discoverer plus

    I'm triying to connect to Discoverer Plus or Viewer. When I get to the login screen, fill all the required fields, but I got the following message: "The application encountered an invalid state.
    - - Nested exception: org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed: No
    OracleBI Discoverer Viewer was unable to find the necessary data for displaying the results of this event. Please correct any errors and try again."
    can you please help me out so solve this prob.
    the discoverer plus version is 10.1.2.48.18

    Currently there is not enough information to realy de-bug the issue. I would look at the URL and verify that the URL with the connections page is the same as after entering the connection information. The URL can change if there is a Load Balancer or Proxy server involved.
    Run the Discoverer script below to verify the Discoverer server is up and working.
    $MidOH/discoverer/util > . ./checkdiscoverer.sh
    Next look in the Discoverer application.log for additional information about the error. It is located at:
    $MidOH/j2ee/oc4j_bi_forms/application_deployments/discoverer/oc4j_bi_forms_default_island_1
    If these messages do
    You are running an older release of 10g. The latest production release of 10g is 10.1.2.3 with Cumulative Patch 6 applied. See Note 237607.1 - ALERT: Required and Recommended Patch Levels For All Discoverer Versions. This Note is kept up to date.
    Regards, -Sharon

  • Error while connecting to discoverer plus OLAP

    when I try to connect to discoverer plus OLAP I get this error
    ERROR:An error occured during OLAP API metadata retrieval,this probably caused by inconsistent metadata
    have you idea how to resolve that problem?
    Thank you

    Hello
    Do you have a copy of my Discoverer 10g Handbook? If so, chapter 16 on pages 548 to 612 cover OLAP in some detail. This chapter was written by Mark Rittman, OLAP expert extraordinaire.
    He also runs a blog which you may find to be of some help: http://www.rittmanmead.com/blog/
    There is at least one Oracle by Example which may help: http://www.oracle.com/technology/obe/obe_bi/discoverer/discoverer_1012/index.html
    There are also some Oracle demonstrations on OLAP on the bottom right hand side of this page: http://www.oracle.com/technology/products/discoverer/index.html
    Best wishes
    Michael

  • Joining tables in Oracle BI Discoverer Plus 10g

    My company just implemented Oracle Business Intelligence Discoverer Plus 10g and I'm a little confused. It looks like this new version of Discoverer was created with the idea of "simplifying" things for the end user. But it seems to be lacking crucial features that our power users need. Like writing their own SQL statements.
    Does anyone have any suggestions? What version of Discoverer should our advanced user's use? Can you suggest another tool? We could always give them SQL Developer, but this seems like overkill. It seems like Oracle has ignored a certain market segment. That is the power user segment. There are many users who can write SQL but do not work in IT. SQL Developer is too much but Discoverer is not enough.

    Hi
    These days, Oracle is much more accepting of carrying on and even improving legacy products, so long as there’s customers willing to pay support fees.
    You just have to see what happened to JD Edwards. When Peoplesoft purchased this several years ago they hardly made any improvements to it and it was being run into the ground. When Oracle purchased Peoplesoft they acquired JD Edwards too but rather than letting the slide continue they have actually have been actively improving it. So much so, that they have issued a major upgrade, thus prolonging the life of JD Edwards for years to come. Oracle could easily have let it slip into obscurity and told the JD Edwards' customers that they needed to convert to E-Business Suite, but they didn't. This is despite the fact that JD Edwards runs on one of their prime competitor's platforms, the IBM AS400!
    So you see, Oracle are not going to cut off their nose to spite their face. I think Oracle has being very professional with regards to the products that it has acquired. They don't seem to be acquiring them with the intention of dropping them. They seem to be genuinely interested in market share and keeping customers happy. At least that's the way recent acquisitions have played out - like Siebel Analytics - aka OBI Enterprise Edition.
    Best wishes
    Michael

  • Error connecting in Discoverer Plus/Viewer 10.1.2

    I'm triying to connect to Discoverer Plus or Viewer. When I get to the login screen, fill all the required fields, but I got the following message: "The application encountered an invalid state.
    - - Nested exception: org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed: No
    OracleBI Discoverer Viewer was unable to find the necessary data for displaying the results of this event. Please correct any errors and try again.
    When I run the checkdiscoverer. It works ok in all the checks except for: "Error: Failed to bind to Discoverer Server.
    Hint: Try increasing the timeout by changing the timeout value in opmn.xml.". As the hint said I increased the start timeout, I got it up to 3500 and even incresed the minprocs to see if that helped. Nothing worked.
    I'm testing this in a Windows XP Pro SP2 installed 1GB Ram. I Installed the BI Tools, App server but no infrastructure. The Installation process finished without any problems, except for a warning regarding not being able to determine the IP address. I can access all the options of the app server.

    Hi Christian
    In your connection to the database are you using a DNS named server or are you using an actual IP address?
    By this I mean, when you launch Discoverer, do you do it this way:
    http://servername.domain.com:7777/discoverer/plus
    or this way:
    http://ipaddress:7777/discoverer/plus
    If you are using the former, can you go to the server itself and run Discoverer ok? If you can then it is a case that your local machine cannot work out what the IP address is. Let's say, for arguements sake, that you server is http://myserver.mydomain.com and that the IP is 192.168.1.100
    You could try editing your HOSTS file and inserting a line in there to associate the IP with the domain. To do this, follow this workflow:
    1. Right click on Windows Start button and from pop upmenu select Explore
    2. Navigate to the folder called Windows/system32/drivers/etc
    3. Locate the file called HOSTS
    4. Edit this file with Notepad
    5. Insert a line like this:
    myserver.mydomain.com 192.168.1.100
    6 Save the HOSTS file and exit Explorer
    This associates the IP with the server name.
    Does this help
    Regards
    Michael

  • Discoverer Plus 10g Title & Table Viewing Size

    Is there a way to increase the screen resolution of the title and table area in Discoverer Plus 10g? The font size says 10pt, but on the screen it looks more like 4pt. I couldn't find any settings in Plus to change it. Thanks, Amy.

    Cause
    By default in Discoverer Plus 10.1.2 fonts are rendered smaller in Java
    than in other Windows applications.
    Already saved workbooks will not have any change in font and formats even if
    your default fonts are changed unless these workbooks are explicitly opened and
    modified for using new fonts. The cause for this behavior is that when
    workbooks are saved, font information is also along with it. This is very lengthy approach if you have over 1,000 upgraded workbooks.
    Solution
    To implement the solution, for existing/upgraded workbooks please execute the following steps:
    Set AdjustPlusFontSize = "True" in pref.txt file.
    This setting will make Discoverer Plus to display the font size correctly. It specifies whether Discoverer Plus Relational adjusts the font size to correct a discrepancy in the Java virtual machine, resulting in a smaller font size than other Windows applications.
    true = adjust font sizes
    false = do not adjust font sizes
    1.Navigate to <Discoverer Home>/discoverer/util directory.
    2.Edit pref.txt file and modify the setting as
    AdjustPlusFontSize = "true"
    under [Application] section
    3.Run the script applypreferences.sh
    https://metalink.oracle.com/metalink/plsql/f?p=130:14:3586351170204990307::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,338117.1,1,1,1,helvetica
    Thanks, Jim Halverson

  • User not able to login to Discoverer Plus 10g with Java 1.8 and Java1.6

    Hi,
    The user is using Windows machine and trying to login to Discoverer Plus 10g. He recently upgraded to Java 1.8 and was not able to login.
    We informed the user that Discoverer 10g is not compatible with java version above 1.6. The user removed the java 1.8 and installed 1.6 again.
    Still he is facing issue.
    The error he gets is:
    Unable to connect to the Discoverer Server: null
    Please contact your Oracle Application Server administrator
    Please suggest.
    1. Is there also a way to make it work with java 1,8 version as the user need to use it for the Oracle HRMS.?
    Thanks
    Chhavi

    Hi,
    The user is using Windows machine and trying to login to Discoverer Plus 10g. He recently upgraded to Java 1.8 and was not able to login.
    We informed the user that Discoverer 10g is not compatible with java version above 1.6. The user removed the java 1.8 and installed 1.6 again.
    Still he is facing issue.
    The error he gets is:
    Unable to connect to the Discoverer Server: null
    Please contact your Oracle Application Server administrator
    Please suggest.
    1. Is there also a way to make it work with java 1,8 version as the user need to use it for the Oracle HRMS.?
    Thanks
    Chhavi

  • Strange Problems with Discoverer Plus 10g

    Hello All -
    I'm working an exercise to bring an application online which uses Discoverer Plus 10g as its client. This application is located in an area that I don't have access to, so the symptoms I'll describe have been reported to me by users.
    1) When users log into Discoverer Plus and it launches, it does so with the iconic menu buttons (located below the pull-down menus) disabled and grayed-out. The users are forced to do all operations using the pull-down menus. This is a problem that is consistent across different PCs.
    2) When users do File....Save As.... the "Save Workbook to Database" window opens and the user is unable to modify the filename in the "New name" text field. If the user toggles the "View:" setting at the top of the window, they can then change the filename. This problem has only been reported by 2 users, but it's happening for them consistently.
    3) When a user creates a new report using File....New... the Workbook Wizard opens and all is normal until the "Workbook Wizard - Step 2 of 5: Select Items" page appears. On the items tab, the user activates the pull-down list to select the business area they want to use, and the business area name disappears when the users mouses-over it. So the user must click on the blank business area name to continue. This is a problem that is consistent across different PCs.
    A number of the users' PCs have two Java versions installed on them like this:
    Platform     Product
    1.4     1.5.0_14
    1.5     1.4.2_16
    I had them make sure that 1.5.0_14 is the only one enabled, but that did not remedy any of the above problems.
    At this point I don't know what to try next.
    All help is greatly appreciated.
    Patrick

    Try the 1.4.2_06 java version
    I suggest you remove other java version and stay with just one.
    I do not remember but from some point the java version will use the higher there is and java 1.5 from my experience
    is not working with the discoverer so well.
    Tamir

  • How to create punlic connection in discoverer plus

    Hi All,
    There is one public connetion in discoverer plus but now it is disable , i dont know how to create public connetion
    pls help me its urgent
    thanks
    regards,

    See you duplicate post - how to create public connection in discoverer plus
    Srini

  • Emailing from discoverer plus 10g

    Hi,
    Please help on the ff question posed to me from our client who just had Discoverer Plus 10g implemented at their sites.
    1. The old vs 3.1 desktop had the ability to send a report in an e-mail attachment to many recipients as a .dis file. This feature is no longer available. Is there plans to include this in future releases?
    2. The old 3.1 vs was also able to save and open reports from the file system. This is no longer available on plus 10g. Is there plans to also include this feature in newer releases of plus.
    pls advise.
    thanks
    saliha

    Hi Saliha
    The new 10g Desktop still has the email feature, as does the 10g Viewer tool. I doubt very much that Oracle will add emailing to Plus because Viewer is where the users are supposed to run their reports. Plus is a developer tool so I think you will be out of luck. Many folks that I go to initially say they don't like Viewer but that is because they have no idea what it can do. After I have given training every company so far tell me they will be using Viewer for end users (viewers), with Plus being reserved only for the report writers.
    As for saving to the file system from Plus, as you say this does not exist. Oracle do have this under consideration. I thought it was scheduled for the next release but I don't think it made it. We'll just have to wait and see. Like you, I would like to see it.
    Sorry about this, please don't shoot the messenger :-)
    Best wishes
    Michael

  • How to connect to discoverer plus thru jdeveloper 10

    Hi,
    Actually i have to generate reports using Discoverer ,And i'm using jDeveloper ,so i want to call Discoverer from jdeveloper,so for that do i want to have any class libraries to be ?..
    And the tool discoverer plus and viewer r working Fine....
    Suppose from my application i have a link of reports from there i will pass parameters from my jsp and then as soon as i submit my page i have to connect to discoverer plus to generate the reports...
    So plz guide me how actuallly i get to discoverer plus with my jdevloperer...Is there any procedure in this way,from jdeveloper i have to connect to my discoverer.....

    Hi,
    Actually i have to generate reports using Discoverer ,And i'm using jDeveloper ,so i want to call Discoverer from jdeveloper,so for that do i want to have any class libraries to be ?..
    And the tool discoverer plus and viewer r working Fine....
    Suppose from my application i have a link of reports from there i will pass parameters from my jsp and then as soon as i submit my page i have to connect to discoverer plus to generate the reports...
    So plz guide me how actuallly i get to discoverer plus with my jdevloperer...Is there any procedure in this way,from jdeveloper i have to connect to my discoverer.....

  • Missing data when exporting webi to excel (not 65536 limit problem)

    Hi guys
    I just meet a problem about webi that it will miss data when exporting webi to excel.
    It's not about 65536 limitation, as my webi report do some aggregration and limitation and never beyond that limitation.
    Also there are 2 tabs in my reports, if I split the 2 tabs into 2 separate reports and export them separately, then problem disappeared.
    Any ideas on this?

    Hello Claes
    according to:
    http://help.sap.com/erp2005_ehp_05/helpdata/en/c1/eda0f591ec12408b25e7a1b369ca45/frameset.htm
    Tools => Import and Export => Specifying the Sequence of the External Data Structure => External File Structure: Specification
    Table EST07 should be part of export file. I am not sure if the packing requirement ist part of EST07.
    Furthermore wirh ECC 6.0 EnhPAck3 some changes happend generally in the area of DG classification.
    E.g. Dynamic dangerous goods classification. I am not sure if these changes are "included" in some sense in the EH&S data download.
    With best regards
    C.B.
    PS: please check this link on the top:
    http://help.sap.com/erp2005_ehp_05/helpdata/en/c1/eda0f591ec12408b25e7a1b369ca45/frameset.htm
    Refer to "Table Assignment: Specifications"
    I believe packaging requirement is part of table EST0B but this is part of the download file.
    Edited by: Christoph Bergemann on Aug 27, 2011 7:12 PM
    Edited by: Christoph Bergemann on Aug 27, 2011 7:13 PM

  • C# COM server events "lost" when raising events while Excel is in edit mode

    I posted this question on StackOverflow (http://stackoverflow.com/questions/23798443/c-sharp-com-server-events-lost-when-raising-events-while-excel-is-in-edit-mode) but did not receive a good answer, so I'm trying my luck here.
    I have an in-proc COM server written in C# (using .NET Framework 3.5) that raises COM events based on this example: http://msdn.microsoft.com/en-us/library/dd8bf0x3(v=vs.90).aspx
    Excel VBA is the most common client of my COM server.  I’ve found that when I raise COM events while Excel is in edit mode (e.g. a cell is being edited) the event is “lost”.  Meaning, the VBA event handler is never called (even after the Excel
    edit mode is finished) and the call to the C# event delegate passes through and fails silently with no exceptions being thrown.  Do you know how I can detect this situation on my COM server?  Or better still, make the event delegate call block until
    Excel is out of edit mode?
    I have tried:
    Inspecting the properties of the event delegate – could not find any property to indicate that the event failed to be raised on the client.
    Calling the event delegate directly from a worker thread and from the main thread – event not raised on the client, no exceptions thrown on the server.
    Pushing the event delegate onto a worker thread’s Dispatcher and invoking it synchronously – event not raised on the client, no exceptions thrown on the server.
    Pushing the event delegate onto the main thread’s Dispatcher and invoking it synchronously and asynchronously – event not raised on the client, no exceptions thrown on the server.
    Checking the status code of the Dispatcher.BeginInvoke call (using DispatcherOperation.Status) – the status is always ends with “Completed”, and is never in “Aborted” state.
    Creating an out-of-proc C# COM server exe and tested raising the events from there – same result, event handler never called, no exceptions.
    Since I get no indication that the event was not raised on the client, I cannot handle this situation in my code.
    I have tested this with Excel 2010 and Excel 2013.
    Here is a simple test case.  The C# COM server:
    namespace ComServerTest
    public delegate void EventOneDelegate();
    // Interface
    [Guid("2B2C1A74-248D-48B0-ACB0-3EE94223BDD3"), Description("ManagerClass interface")]
    [InterfaceType(ComInterfaceType.InterfaceIsDual)]
    [ComVisible(true)]
    public interface IManagerClass
    [DispId(1), Description("Describes MethodAAA")]
    String MethodAAA(String strValue);
    [DispId(2), Description("Start thread work")]
    String StartThreadWork(String strIn);
    [DispId(3), Description("Stop thread work")]
    String StopThreadWork(String strIn);
    [Guid("596AEB63-33C1-4CFD-8C9F-5BEF17D4C7AC"), Description("Manager events interface")]
    [InterfaceType(ComInterfaceType.InterfaceIsIDispatch)]
    [ComVisible(true)]
    public interface ManagerEvents
    [DispId(1), Description("Event one")]
    void EventOne();
    [Guid("4D0A42CB-A950-4422-A8F0-3A714EBA3EC7"), Description("ManagerClass implementation")]
    [ComVisible(true), ClassInterface(ClassInterfaceType.None)]
    [ComSourceInterfaces(typeof(ManagerEvents))]
    public class ManagerClass : IManagerClass
    private event EventOneDelegate EventOne;
    private System.Threading.Thread m_workerThread;
    private bool m_doWork;
    private System.Windows.Threading.Dispatcher MainThreadDispatcher = null;
    public ManagerClass()
    // Assumes this is created on the main thread
    MainThreadDispatcher = System.Windows.Threading.Dispatcher.CurrentDispatcher;
    m_doWork = false;
    m_workerThread = new System.Threading.Thread(DoThreadWork);
    // Simple thread that raises an event every few seconds
    private void DoThreadWork()
    DateTime dtStart = DateTime.Now;
    TimeSpan fiveSecs = new TimeSpan(0, 0, 5);
    while (m_doWork)
    if ((DateTime.Now - dtStart) > fiveSecs)
    System.Diagnostics.Debug.Print("Raising event...");
    try
    if (EventOne != null)
    // Tried calling the event delegate directly
    EventOne();
    // Tried synchronously invoking the event delegate from the main thread's dispatcher
    MainThreadDispatcher.Invoke(EventOne, new object[] { });
    // Tried asynchronously invoking the event delegate from the main thread's dispatcher
    System.Windows.Threading.DispatcherOperation dispOp = MainThreadDispatcher.BeginInvoke(EventOne, new object[] { });
    // Tried synchronously invoking the event delegate from the worker thread's dispatcher.
    // Asynchronously invoking the event delegate from the worker thread's dispatcher did not work regardless of whether Excel is in edit mode or not.
    System.Windows.Threading.Dispatcher.CurrentDispatcher.Invoke(EventOne, new object[] { });
    catch (System.Exception ex)
    // No exceptions were thrown when attempting to raise the event when Excel is in edit mode
    System.Diagnostics.Debug.Print(ex.ToString());
    dtStart = DateTime.Now;
    // Method should be called from the main thread
    [ComVisible(true), Description("Implements MethodAAA")]
    public String MethodAAA(String strValue)
    if (EventOne != null)
    try
    // Tried calling the event delegate directly
    EventOne();
    // Tried asynchronously invoking the event delegate from the main thread's dispatcher
    System.Windows.Threading.DispatcherOperation dispOp = System.Windows.Threading.Dispatcher.CurrentDispatcher.BeginInvoke(EventOne, new object[] { });
    // Tried synchronously invoking the event delegate from the main thread's dispatcher
    System.Windows.Threading.Dispatcher.CurrentDispatcher.Invoke(EventOne, new object[] { });
    catch (System.Exception ex)
    // No exceptions were thrown when attempting to raise the event when Excel is in edit mode
    System.Diagnostics.Debug.Print(ex.ToString());
    return "";
    return "";
    [ComVisible(true), Description("Start thread work")]
    public String StartThreadWork(String strIn)
    m_doWork = true;
    m_workerThread.Start();
    return "";
    [ComVisible(true), Description("Stop thread work")]
    public String StopThreadWork(String strIn)
    m_doWork = false;
    m_workerThread.Join();
    return "";
    I register it using regasm:
    %SystemRoot%\Microsoft.NET\Framework\v2.0.50727\regasm /codebase ComServerTest.dll /tlb:ComServerTest.tlb
    Excel VBA client code:
    Public WithEvents managerObj As ComServerTest.ManagerClass
    Public g_nCounter As Long
    Sub TestEventsFromWorkerThread()
    Set managerObj = New ComServerTest.ManagerClass
    Dim dtStart As Date
    dtStart = DateTime.Now
    g_nCounter = 0
    Debug.Print "Start"
    ' Starts the worker thread which will raise the EventOne event every few seconds
    managerObj.StartThreadWork ""
    Do While True
    DoEvents
    ' Loop for 20 secs
    If ((DateTime.Now - dtStart) * 24 * 60 * 60) > 20 Then
    ' Stops the worker thread
    managerObj.StopThreadWork ""
    Exit Do
    End If
    Loop
    Debug.Print "Done"
    End Sub
    Sub TestEventFromMainThread()
    Set managerObj = New ComServerTest.ManagerClass
    Debug.Print "Start"
    ' This call will raise the EventOne event
    managerObj.MethodAAA ""
    Debug.Print "Done"
    End Sub
    ' EventOne handler
    Private Sub managerObj_EventOne()
    Debug.Print "EventOne " & g_nCounter
    g_nCounter = g_nCounter + 1
    End Sub
    This problem also occurs for a C++ MFC Automation server that raises COM events.  If I raise the COM event from the main thread when Excel is in edit mode, the event handler is never called.  No errors or exceptions are thrown on the server,
    similar to my C# COM server.  However, if I use the Global Interface Table to marshal the event sink interface from the main thread
    back to the main thread, then invoking the event - it will block while Excel is in edit mode.  (I also used COleMessageFilter to disable the busy dialog and not responding dialogs, otherwise I'd receive the exception:
    RPC_E_CANTCALLOUT_INEXTERNALCALL It is illegal to call out while inside message filter.)
    Knowing that, I tried to do the same on my C# COM server.  I could instantiate the Global Interface Table (using the definition from pinvoke.net) and the message filter (using the IOleMessageFilter definition from MSDN).  However, the event still
    gets "lost" and does not block while Excel is in edit mode.
    Here's my additional C# code to try to make use of the Global Interface Table:
    namespace ComServerTest
    // Global Interface Table definition from pinvoke.net
    ComImport,
    InterfaceType(ComInterfaceType.InterfaceIsIUnknown),
    Guid("00000146-0000-0000-C000-000000000046")
    interface IGlobalInterfaceTable
    uint RegisterInterfaceInGlobal(
    [MarshalAs(UnmanagedType.IUnknown)] object pUnk,
    [In] ref Guid riid);
    void RevokeInterfaceFromGlobal(uint dwCookie);
    [return: MarshalAs(UnmanagedType.IUnknown)]
    object GetInterfaceFromGlobal(uint dwCookie, [In] ref Guid riid);
    ComImport,
    Guid("00000323-0000-0000-C000-000000000046") // CLSID_StdGlobalInterfaceTable
    class StdGlobalInterfaceTable /* : IGlobalInterfaceTable */
    public class ManagerClass : IManagerClass
    //...skipped code already mentioned in earlier sample above...
    //...also skipped the message filter code for brevity...
    private Guid IID_IDispatch = new Guid("00020400-0000-0000-C000-000000000046");
    private IGlobalInterfaceTable m_GIT = null;
    public ManagerClass()
    //...skipped code already mentioned in earlier sample above...
    m_GIT = (IGlobalInterfaceTable)new StdGlobalInterfaceTable();
    public void FireEventOne()
    // Using the GIT to marshal the (event?) interface from the main thread back to the main thread (like the MFC Automation server).
    // Should we be marshalling the ManagerEvents interface pointer instead? How do we get at it?
    uint uCookie = m_GIT.RegisterInterfaceInGlobal(this, ref IID_IDispatch);
    ManagerClass mgr = (ManagerClass)m_GIT.GetInterfaceFromGlobal(uCookie, ref IID_IDispatch);
    mgr.EventOne(); // when Excel is in edit mode, event handler is never called and does not block, event is "lost"
    m_GIT.RevokeInterfaceFromGlobal(uCookie);
    I’d like my C# COM server to behave in a similar way to the MFC Automation server.  Is this possible?  I think I should be registering the ManagerEvents interface pointer in the GIT but I don't know how to get at it? I tried using Marshal.GetComInterfaceForObject(this,
    typeof(ManagerEvents)) but that just throws an exception: System.InvalidCastException: Specified cast is not valid.
    Thanks.

    Hi Jason-F,
    I’ve found that when I raise COM events while Excel is in edit mode (e.g. a cell is being edited) the event is “lost”.  Meaning,
    the VBA event handler is never called (even after the Excel edit mode is finished) and the call to the C# event delegate passes through and fails silently with no exceptions being thrown.
    Do you mean you didn't raise EventOne event? EventOne handler like following?
    ' EventOne handler
    Private Sub managerObj_EventOne()
    Debug.Print "EventOne " & g_nCounter
    g_nCounter = g_nCounter + 1
    End Sub
    After test your code, here is my screenshot
    And here is my execute log in C# ComServerTest.
    ManagerClass1/1/2015 5:48:11 PM
    DoThreadWork()1/1/2015 5:48:12 PM
    ManagerClass_EventOne()1/1/2015 5:48:17 PM
    ManagerClass_EventOne()1/1/2015 5:48:22 PM
    ManagerClass_EventOne()1/1/2015 5:48:27 PM
    ManagerClass_EventOne()1/1/2015 5:48:32 PM
    ManagerClass_EventOne()1/1/2015 5:48:37 PM
    ManagerClass_EventOne()1/1/2015 5:48:42 PM
    ManagerClass1/1/2015 5:49:56 PM
    DoThreadWork()1/1/2015 5:49:56 PM
    ManagerClass_EventOne()1/1/2015 5:50:01 PM
    ManagerClass1/1/2015 5:50:04 PM
    If i misunderstand you, please feel free to let me know.
    Best regards,
    kristin
    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.

  • Export issue in discoverer plus (10G)

    I'm unable to export the report result into either excel or text file from discoverer plus.
    Error message is "Operation Failed".
    Please help me in resolving this in discoverer 10G.

    Hi, I happened to come across Murali's thread here while searching for something else.
    If anyone is interested, the resolution was MetaLink Note 401600.1 (Exporting To Xls/Cvs/Txt Formats With Discoverer 10g (10.1.2) Plus or Viewer Fails With 'Error Operation Failed').
    It involved deleting dc* files from the temporary directory we have identified for exporting temporary files. The temporary directory was full.
    Once the dc* files were deleted, it resolved the export to XLS from Discoverer Plus issue for us this time.

Maybe you are looking for

  • Runtime error when syncing P1i with PC

    I get a runtime error when syncing my P1i to PC. The error is linked with this file, 'dxp syncml.exe', and the application is said to request the 'Runtime to terminate it in an unusual way'. How do you fix this?

  • Vga video controller

    I "lost" the VGA Video Controller for my HP DC5800 small factor computer. Tried the download sites, but nothing works. Please advise if anyone has a site where I can download this. Thanks

  • How To Hide the Record after Update from ADF Front End

    Hi Every One, I have done the Scenario of Database Table rows displayed in ADF front end. It is editing and updating also. My Query is after update the record, how to hide that record from adf front end. Could any one please help me. Thanks, Narasimh

  • If reading file as bytes (DataInputStream), how find delimiter?

    I have to read a file in as a DataInputStream because it is really two files (one text, one can be a .doc, .jpg, etc) mixed into one. The files are separated by a delimiter which is something like: "--34f5s--a23--34d--". The binary file data is also

  • Increasing font size when resizing JFrame

    Hello, I am writing a calculator program, and therefore have a JLabel to display the numbers and multiple buttons. The JLabel and JButton components are added to a panel with a GridBagLayout, which is then added to the content pane of a JFrame. When