Microsoft Office Excel has encountered a problem and needs to close

Hi,
I am executing the following code in an excel application and while closing excel I am getting the error
'Microsoft Office Excel has encountered a problem and needs to close'.
EnterpriseSession boEnterpriseSession;
ReportEngines boReportEngines ;
IReportEngine boIReportEngine;
CrystalDecisions.Enterprise.SessionMgr loginSessionManager = new CrystalDecisions.Enterprise.SessionMgr();
CrystalDecisions.Enterprise.EnterpriseSession boEnterpriseSession = loginSessionManager.Logon("userName", "password", "cms", "authentication");
                    int iMinuteNumber = 1;
                    int iLogonNumber = -1;
                    string strToken = boEnterpriseSession.LogonTokenMgr.CreateWCAToken("", iMinuteNumber, iLogonNumber);
                    boReportEngines = new ReportEngines(strToken);
                    boIReportEngine = (IReportEngine)Session.boReportEngines.getService(ReportEngineType.WI_ReportEngine);
The exception that is displayed while debugging is 'BusinessObjects.ThirdParty.OOC.OB.AssertionFailed'.
Thanks,
Divya
Edited by: dpanicker on Jun 23, 2010 6:47 AM
Edited by: dpanicker on Jun 23, 2010 7:26 AM

I'm curious how you are running this code within excel as I would expect you would've had to write a dll to expose the SDK as COM in order to be able to access it from an excel document.

Similar Messages

  • Microsoft Excel has encountered a problem and needs to close

    I've been using Microsoft Office 2008 for a long time and just this week I'm getting the below message:
    "Microsoft Excel has encountered a problem and needs to close. Sorry for the inconvenience."
    I can't open it at all. Word works fine.
    I've deleted com.microsoft etc. in Preferences but the problem still persists.
    Any help would be greatly appreciated : )

    Than you for your help.
    Yes, it works fine when logged into another user account. That's a relief, although not for my Accounts department : )
    What do you suggest knowing that I've already tried deleting the preferences files
    Thanks

  • I am running mozilla Firefox and keep getting a "Microsoft Feed Synchronization has encountered a problem and needs to close" message.

    I am using Windows XP, & I am running Mozilla Firefox 3.6.16 and keep getting a "Microsoft Feed Synchronization has encountered a problem and needs to close" message.

    I have exactly the same problems.  If you com up with an answer before I do please reply here. I'll do the same.

  • "Microsoft Sync Services has encountered a problem and needs to close"

    whenever I try to sync entourage with iCal or Address Book, I get the following message: "Microsoft Sync Services has encountered a problem and needs to close". I can't seem to get it to stop. Anyone have any ideas?
    Thanks!
    Chris

    I finally solve this problem in my imac....
    For Snow Leopard (Mac OS X v10.6 Snow Leopard):
    1 In the Finder, choose Utilities from the Go menu.
    2 Open Terminal.
    3 In the Terminal window, type or paste the following command on a single line:
    /System/Library/Frameworks/SyncServices.framework/Versions/A/Resources/resetsync .pl reset
    4 Press Return.
    5 When the operation is complete quit Terminal.
    For Leopard (Mac OS X v10.5 Leopard)
    1. In the Finder, choose Utilities from the Go menu.
    2. Open Terminal.
    3. In the Terminal window that opens, type or paste the following command on a single line:
    /System/Library/Frameworks/SyncServices.framework/Versions/A/Resources/resetsync .pl full
    4. Press Return.
    5. When the operation is complete quit Terminal.
    Source: http://support.apple.com/kb/TS1627
    Note: I'm using Snow leopard when I enter the command..it gives me some error however, I used the command for normal leopard it works for me no more annoying error sync...:) it may works on yours too worth of try.

  • I use word for mac and keep getting an error message microsoft syn services has encountered a problem and needs to close.  tell microsoft about this problem. even if i clicked send info to m/soft the message still comes up repeatedly i've turned comp off

    i use word for mac & keep getting error message "microsoft sync services has encountered a problem & needs to close. tell m/soft about this prob" even if i tick send to m/soft and turn computer off & restart it just keeps reappearing repeatedly?

    i use word for mac & keep getting error message "microsoft sync services has encountered a problem & needs to close. tell m/soft about this prob" even if i tick send to m/soft and turn computer off & restart it just keeps reappearing repeatedly?

  • Microsoft database daemon has encountered a problem and needs to close

    I keep getting this message popping up while i am in outlook

    Hi,
    In regarding of the issue, please provide us more information to assist you better.
    Which Outlook version are your using? Outlook 2013, Outlook for Mac or other.
    If you are using Outlook for mac, please try to see the similar thread.
    http://answers.microsoft.com/en-us/mac/forum/macoffice2011-macoutlook/re-outlook-2011-microsoft-error-reporting-message/8cff1276-a9f2-489e-b067-2621ef466cc7
    Regards,
    George Zhao
    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.

  • Microsoft Excel for Windows has encountered a problem and needs to close. W

    i have the attached problem anytime i tried to open a BW query in excel:Microsoft Excel for Windows has encountered a problem and needs to close. We are sorry for the inconvenience", Please inform if there is a work arround, i have re-install excel , likewise SAP many times but nothing

    Hi,
    I would suggest you check with any other colleague if they are able to run the same or not. Running BEx report depends hugely on the front end capacity and performance. Please check if anyone else can run the same report, with the same front end RAM, then it might be the problem with your installation.
    Also you can try with the latest patch for GUI s/w.
    Regards,
    Debasis.

  • Outlook 2016 getting crashed and throws an alert message as "microsoft outlook has encountered a problem and needs to close.

    Hi,
    Today i installed Microsoft Office 2016 preview for my Mac OS X 10.10 Yosemite. Word, Excel and Powerpoint applications are working without any problem. However, Outlook getting crashed and throws an alert message as "microsoft outlook has encountered a problem and needs to close.", it's happens always, when i launch outlook. please suggest me, how can i comet from this issue.
    Thanks in advance,
    Suresh Balakrishnan.

    Go to the Microsoft site for help. These forums are not offering support for MS products, especially not for beta products.

  • Microsoft word has encountered a problem and needs to close. We are sorry for the inconvenience

    After installing Mavericks, I get this same error box for each of the MS Office 2008 apps.  "Microsoft [word,excel/etc] has encountered a problem and needs to close. We are sorry for the inconvenience."   I've tried to open in a test user account and same thing happens.  Any ideas?  I don't really want to splurge for a new version.  Thanks.

    Have you installed all of the available updaters for Office 2008? In each of the apps use the Help ➙ Check for Updates menu option.
    Then be sure to run Disk Utility and repair disk permissions.

  • How can I stop syncing error message: "Microsoft Word has encountered a problem and needs to close"

    On my Mac I am endlessly receiving this message: "Microsoft Word has encountered a problem and needs to close" it relates to the sync which between Calendars (iCal and Entourage) .
    The error messages were coming up every 5 SECONDS and were impossible to deal with. They stated there was a 'Blame Module' which wasEntourageCore
      I have been unable to find any idea how to resolve this.
    Please can anyone describe what they have done to sort this?
    I am using MS Office 2008.
    Turning off the sync between the two calendars was not the answer, as the messages continued. So I have temporarily disabled the sync between iCal/Entourage and my iPad.  This has prevented the error message, but obviously means I must enter diary dates manually on iPad which is the whole point of the sync!
      I haven't found a way to sync between iCal and iPad - this would be a possible work-round. But I'd be so grateful to know how to resolve the sync error.

    On my Mac I am endlessly receiving this message: "Microsoft Word has encountered a problem and needs to close" it relates to the sync which between Calendars (iCal and Entourage) .
    The error messages were coming up every 5 SECONDS and were impossible to deal with. They stated there was a 'Blame Module' which wasEntourageCore
      I have been unable to find any idea how to resolve this.
    Please can anyone describe what they have done to sort this?
    I am using MS Office 2008.
    Turning off the sync between the two calendars was not the answer, as the messages continued. So I have temporarily disabled the sync between iCal/Entourage and my iPad.  This has prevented the error message, but obviously means I must enter diary dates manually on iPad which is the whole point of the sync!
      I haven't found a way to sync between iCal and iPad - this would be a possible work-round. But I'd be so grateful to know how to resolve the sync error.

  • HT4436 i am receiving a message when I open Microsoft Outlook MobileMe  Services has encountered a problem and needs to close.  How can I resolve?

    I am receiving a message when I attempt to open Microsoft Outlook on my PC.  it says "MobileMe Services has encountered a problem and needs to close".
    Does anyone know how I can resolve this problem?

    Please see this thread:
    https://discussions.apple.com/message/24830816#24830816

  • Constantly getting "Syncservicesagent has encountered a problem and needs to close. We are sorry for the inconvenience."

    Hi folks. Running Snow Leopard with Outlook, Word, Safari, iCal and iPhone. Constantly receiving error message: "Syncservicesagent has encountered a problem and needs to close. We are sorry for the inconvenience."
    Any ideas?
    Cheers, Matt.

    Hi - thanks for the detailed reply.
    Yeah it still pops up though I've stopped all the MS applications - Word, Excel, Outlook.
    I Force Quit it in Activity Monitor but it pops back up again, almost immediately. It's like it's running in background, for want of a better term.
    This mean anything to you??
    /Applications/Microsoft Office 2011/Office/SyncServicesAgent.app/Contents/MacOS/SyncServicesAgent
    /Applications/Microsoft Office 2011/Office/mbukernel.framework/Versions/14/mbukernel
    /Applications/Microsoft Office 2011/Office/ObjCOPF.framework/Versions/14/ObjCOPF
    /Applications/Microsoft Office 2011/Office/OPF.framework/Versions/14/OPF
    /Applications/Microsoft Office 2011/Office/OPF.framework/Versions/14/Resources/OPF_Common.dylib
    /Applications/Microsoft Office 2011/Office/mbuinstrument.framework/Versions/14/mbuinstrument
    /Applications/Microsoft Office 2011/Office/mbunamedstrings.framework/Versions/14/mbunamedstrings
    /Applications/Microsoft Office 2011/Office/Netlib.framework/Versions/14/Netlib
    /Applications/Microsoft Office 2011/Office/OutlookCore.framework/Versions/14/OutlookCore
    /Applications/Microsoft Office 2011/Office/merp.framework/Versions/14/merp
    /Applications/Microsoft Office 2011/Office/MicrosoftComponentPlugin.framework/Versions/14/MicrosoftComponentPl ugin
    /Applications/Microsoft Office 2011/Office/MViewLib.framework/Versions/14/MViewLib
    /Applications/Microsoft Office 2011/Office/PowerPlant.framework/Versions/14/PowerPlant
    /Applications/Microsoft Office 2011/Office/PowerPlantCore.framework/Versions/14/PowerPlantCore
    /Applications/Microsoft Office 2011/Office/OutlookRightsFramework.framework/Versions/14/OutlookRightsFramework
    /Applications/Microsoft Office 2011/Office/mbulocale.framework/Versions/14/mbulocale
    /Applications/Microsoft Office 2011/Office/wlmstrings.framework/Versions/14/wlmstrings
    /Applications/Microsoft Office 2011/Office/mbustrings.framework/Versions/14/mbustrings
    /Applications/Microsoft Office 2011/Office/MicrosoftMenuLibrary.framework/Versions/14/MicrosoftMenuLibrary
    /usr/lib/libcrypto.0.9.7.dylib
    /Applications/Microsoft Office 2011/Office/CocoaUI.framework/Versions/14/CocoaUI
    /Applications/Microsoft Office 2011/Office/CocoaTooltipParser.framework/Versions/14/CocoaTooltipParser
    /Applications/Microsoft Office 2011/Office/WLMKernel.framework/Versions/14/WLMKernel
    /Applications/Microsoft Office 2011/Office/MicrosoftOLE.framework/Versions/14/MicrosoftOLE
    /Applications/Microsoft Office 2011/Office/MicrosoftOfficeDRM.framework/Versions/14/MicrosoftOfficeDRM
    /Applications/Microsoft Office 2011/Office/MicrosoftOLEAutomation.framework/Versions/14/MicrosoftOLEAutomation
    /Applications/Microsoft Office 2011/Office/WinCrypto.framework/Versions/14/WinCrypto
    /Applications/Microsoft Office 2011/Office/MSXML.framework/Versions/14/MSXML
    /Applications/Microsoft Office 2011/Office/MicrosoftSetupUI.framework/Versions/14/MicrosoftSetupUI
    /Applications/Microsoft Office 2011/Office/StdUrlMoniker.framework/Versions/14/StdUrlMoniker
    /Applications/Microsoft Office 2011/Office/MicrosoftSetupUI.framework/Libraries/mbupgx.dylib
    /private/var/folders/lA/lACtCMJ9FgSq16ec7WQ-OU+++TI/-Caches-/com.apple.IntlDataC ache.le.sbdl
    /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fram ework/Versions/A/Resources/HIToolbox.rsrc
    /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fram ework/Versions/A/Resources/English.lproj/Localized.rsrc
    /System/Library/Keyboard Layouts/AppleKeyboardLayouts.bundle/Contents/Resources/AppleKeyboardLayouts-L.d at
    /private/var/folders/lA/lACtCMJ9FgSq16ec7WQ-OU+++TI/-Caches-/com.apple.LaunchSer vices-025501.csstore
    /System/Library/PrivateFrameworks/OpenTransport.framework/Versions/A/OpenTranspo rt
    /usr/share/icu/icudt40l.dat
    /usr/lib/dyld
    /private/var/db/dyld/dyld_shared_cache_i386
    /dev/null
    ->0xffffff800d366a70
    ->0xffffff800d366a70
    /private/etc/security/audit_control
    count=1, state=0x2
    /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fram ework/Versions/A/Resources/HIToolbox.rsrc
    /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fram ework/Versions/A/Resources/English.lproj/Localized.rsrc
    /Applications/Microsoft Office 2011/Office/MicrosoftComponentPlugin.framework/Versions/14/Resources/MicrosoftC omponentPlugin.rsrc
    /Applications/Microsoft Office 2011/Office/MicrosoftComponentPlugin.framework/Versions/14/Resources/en.lproj/L ocalized.rsrc
    ShMemIntCrit143214869
    ShMemExtCrit143214869
    /Applications/Microsoft Office 2011/Office/MSXML.framework/Versions/14/Resources/MSXML.rsrc
    /Applications/Microsoft Office 2011/Office/OutlookCore.framework/Versions/14/Resources/OutlookCore.rsrc
    /Applications/Microsoft Office 2011/Office/OutlookCore.framework/Versions/14/Resources/en.lproj/Localized.rsrc
    /Users/Coogee50/Library/Logs/Sync/syncservices.log
    /private/etc/security/audit_class

  • InterVideo WinDVR Application has encountered a problem and needs to close.

    My TV Anywhere has suddenly stopoed working and the message "InterVideo WinDVR Application has encountered a problem and needs to close.  We are sorry for the inconvenience." appears each time I try to open the program.  MSI Radio works fine.  I have uninstalled and re-installed the programe (originally MSIPVS now MSIPVS3). I did try to download the new Beta drivers just to try, but the zip file shows 0 bytes!
    Has anyone come across this, or can anyone suggest what I can try to resolve the issue?
    Many thanks in anticipation
    Gareth

    Jeremy:
    I should point out that I am much more confident with software issues.  I am not a hardware person and  have never attempted to open up the box!
    Realtek is the card on the motherboard. 
    I hope this is the information required:
    OS Information:
    Property   Value
    OS Name       Microsoft Windows XP Professional|C:\WINDOWS|\Device\Harddisk0\Partition1
    Service Pack       2.0
    OS Manufacturer       Microsoft Corporation
    Windows Directory       C:\WINDOWS
    Processor:
    Property   Value
    Current Clock Speed       3000
    Description       x86 Family 15 Model 2 Stepping 9
    Manufacturer       GenuineIntel
    Name        Intel(R) Pentium(R) 4 CPU 3.00GHz
    Memory (RAM):
    Property   Value
    Bank Label       RAS 0 & 1
    Capacity       536870912
    Bank Label       RAS 2 & 3
    Capacity       536870912
    Total Memory Deteced in Hardware: ~1024 MB
    Memory Reported to Operating System: 1023MB
    Disk Drives:
    Property   Value
    Description       Disk drive
    Manufacturer       (Standard disk drives)
    Model       Maxtor 6Y160M0
    Media Type       Fixed hard disk media
    Size       163921605120 (~153 GB)
    Number of Partitions       2
    Description       Disk drive
    Manufacturer       (Standard disk drives)
    Model       Canon MP Memory Card USB Device
    Media Type      
    Number of Partitions      
    Description       Disk drive
    Manufacturer       (Standard disk drives)
    Model       IC35L060 AVV207-0 USB Device
    Media Type       Fixed hard disk media
    Size       61492193280 (~57 GB)
    Number of Partitions       1
    Installed Printers:
    Property   Value
    Name       PaperPort Color Image
    Port Name       BIPORT
    Default       False
    Driver Name       PaperPort Color Printer Driver
    Name       PaperPort Black & White Image
    Port Name       BIPORT
    Default       False
    Driver Name       PaperPort Mono Printer Driver
    Name       Microsoft Office Document Image Writer
    Port Name       Microsoft Document Imaging Writer Port:
    Default       False
    Driver Name       Microsoft Office Document Image Writer Driver
    Name       Generic / Text Only
    Port Name       LPT1:
    Default       False
    Driver Name       Generic / Text Only
    Name       Canon MP370 Series Printer
    Port Name       USB001
    Default       True
    Driver Name       Canon MP370 Series Printer
    Name       Auto Microsoft Office Document Image Writer on GARETH-14ETIB74
    Port Name       \\GARETH-14ETIB74\Printer
    Default       False
    Driver Name       Microsoft Office Document Image Writer Driver
    Motherboard:
    Property   Value
    Manufacturer       MICRO-STAR INC.
    Model      
    Name       Base Board
    Part Number      
    Product       MS-6758
    Serial Number       00000000
    Version       2.00
    BIOS:
    Property   Value
    Manufacturer       American Megatrends Inc.
    Name       Version 1.00
    Release Date       20040324000000.000000+000
    Version       AMIINT - 10
    Monitor:
    Property   Value
    Description        SyncMaster 173V/172V/173S/173B
    Name        SyncMaster 173V/172V/173S/173B
    Screen Height       768
    Screen Width       1024
    Keyboard:
    Property   Value
    Description       Easy Internet Keyboard
    Pointing Device:
    Property   Value
    Manufacturer       Logitech
    Name       HID-compliant Wheel Mouse
    Sound Card:
    Property   Value
    Manufacturer       Creative Technology, Ltd.
    Description       Creative EMU10K1 Audio Processor (WDM)
    Device ID       PCI\VEN_1102&DEV_0002&SUBSYS_80661102&REV_0A\4&1F7DBC9F&0&08F0
    Manufacturer       Realtek
    Description       Realtek AC'97 Audio
    Device ID       PCI\VEN_8086&DEV_24D5&SUBSYS_75851462&REV_02\3&13C0B0C5&0&FD
    Video Card:
    Property   Value
    Adapter Compatibility       NVIDIA
    Adapter RAM       268435456
    Description       NVIDIA GeForce FX 5600XT
    Installed Display Drivers       nv4_disp.dll
    Driver Version       6.14.10.6693
    Driver Date       29/10/2004 16:50:00
    Video Mode Description       1024 x 768 x 4294967296 colors
    DirectX Installation:
    Property   Value
    Version       6.03.01.0146
    Modem:
    Property   Value
    Network Adapters:
    Property   Value
    Description       Intel(R) PRO/1000 CT Network Connection - Packet Scheduler Miniport
    Description       Packet Scheduler Miniport
    Description       Microsoft TV/Video Connection
    Description       1394 Net Adapter
    Description       1394 Net Adapter
    External Ports:
    Property   Value
    External Reference Designator       Def
    External Reference Designator       Sanjoy
    Expansion Slots:
    Property   Value
    Slot Designation       PCI1
    Slot Designation       PCI2
    Slot Designation       PCI3
    Slot Designation       PCI4
    Slot Designation       PCI5
    Slot Designation       AGP
    Copy To Clipboard
    I do very much appreciate the help from you all!
    Gareth

  • I have a new MacBook ProI have a new MacBook Pro. When I try to edit a Word document in any way I get a screen that says Word has encountered a problem and needs to close; that I may lose the info. I was working on and I can't recover my work. Help?

    After decades, I finally gave up on Microsoft and bought a MacBook Pro. However, for work, I still have to use Microsoft. When I try to edit a Word Document in any way a screen pops up saying Microsoft Word has encountered a problem and needs to close; gives me an option to recover my work and restart Word; when I click that option Word restarts but I alway lose my work. This just started; before it was working fine. Help?

    This is a Microsoft problem. Contact them for assistance: http://support.microsoft.com/kb/295539
    mitch86 wrote:
    ... However, for work, I still have to use Microsoft.
    Are you certain about that? There are many alternatives to Office today. Consider
    LibreOffice (donation-supported)
    NeoOffice ($10 but older version is free)
    OpenOffice (completely free)
    In addition to the above I also recommend Apple's Pages ($19.99). All of these options allow you to open, edit, and save Word-formatted documents and spreadsheets. I use OpenOffice and Pages and have been completely Microsoft - free for over a year now. Life is better without Microsoft.

  • " runMidlet has encountered a problem and needs to close "

    Hi there.
    I've installed and just TESTED for fun Java ME Platform SDK 3.0 Early Access about 100 days ago and after one week uninstalled it. One week ago I've intalled it again and NOW, when I try to run a Project (any project!), it works fine for a couple of times then I get this message:
    " runMidlet has encountered a problem and needs to close. We are sorry for the inconvenience.
    Please tell Microsoft about this problem.
    Send Error Report - Don't Send "
    ... and there is nothing more I can do. THAT'S IT.
    I've reinstalled it, googled on net about this, chated to SUN (no answer) but ... no chance.
    I repeat: I can run any project for a couple of times every day (!) and then I get the "error" message.
    Tomorrow will work again for a couple of times and so on ... every day.
    Anyone know the problem? Is this in some way related to 90 days trial period ???
    Thank you all for your time to answer/find the solution for this. :-)

    Hi DarrylBurke,
    thank you for your replay.
    I have news, in fact I not only "cleaned up" registry but yesterday, being so frustrated I've erased the whole computer, installed a fresh windows XP version (SP2 + all updates) thus removing EVERY trace of SDK, Java a.s.o. ...
    The result: today, running a test project ... THE SAME PROBLEM :-((((
    ( I am suspecting now the windows xp for this issue :-) )
    The question is: do I have to buy SDK 3.0 Early Access software? If 'yes' how much does it cost ?
    If I have a nice project and would like to make it commercial, do I need some Java Licence for doing that ?
    ( I didn't find any price for it and chating to SUN's sales assistants they asked my this way : ' how much am I willing to spend for it? ' )
    Do you guys, ALL OF YOU, bought this software ( I find it ... cool ! ) ?
    thank you.
    ( my location is romania / europe and here there is no SUN office around, the nearest is in Greece )

Maybe you are looking for

  • Error in saving a theme file as it is a read-only file

    I work in a large, networked company with lots of workstation security.  I am not a local admin, and the software was installed for me by an admin.  I am trying to change a default in the recording setup, but I get this error everytime I try to chang

  • How do I get iMovie on Snow Leopard

    I have an older MAC that is on version 10.6.8. My hard drive recently failed and the tech group at ArcTech reinstalled the OS X version on my laptop. I don't have iMovie anymore and I can't download it off of App Store because it needs Lion. Can't fi

  • Error installing Essbase in Linux machine

    Hi, I am getting the following error while installing Essbase in Linux server. WARNING: error intantiating 'oracle.core.ojdl.logging.LoggingConfiguration' referenced by java.util.logging.config.class, class not found java.lang.ClassNotFoundException:

  • Problems with messaging locking up

    I have had my Charge for about a year now and I don't have many complainants about it, but recently when using the text messaging it started locking up if there was a MMS that was included in the stream. The only way I have found to fix it is to dele

  • Illustrator 10, Convert to Profile: mental block or sudden blindness?

    I've either hit a mental block or have become temporarily blind, but I cannot find "Convert to Profile" in Illustrator 10.0.3 Mac, running Tiger 10.4.11. Any hint or slap on the head that might jog my memory will be appreciated.  The Help files have