"Critical Program Error" in BEx 7.0 in GUI 7.10 (MS Excel 2007)

Hi,
I am using MS Office 2007 SAP GUI 7.10.
When I try to run a query in the BEx Analyzer 7.0, a "A critical program error occured. The program has to close. Please refer to the trace for further information." message appears.
This is what i see in my trace file:
System.NullReferenceException: Object variable or With block variable not set.
   at Microsoft.VisualBasic.CompilerServices.Symbols.Container..ctor(Object Instance)
   at Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateGet(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack)
   at com.sap.bi.et.analyzer.addin.BExExcelItem.SetDesignShape(BExParameter iParameter)
   at com.sap.bi.et.analyzer.addin.BExExcelItem.Create(BExParameter iParameter)
   at com.sap.bi.et.analyzer.addin.BExItemTextElement.Create(BExParameter iParameter)
   at com.sap.bi.et.analyzer.api.BExItem.CreateInternal(BExParameter iParameter, BExApplication iApplication)
   at com.sap.bi.et.analyzer.api.BExItems.CreateItem(BExParameter iParameter)
Object variable or With block variable not set.
   at Microsoft.VisualBasic.CompilerServices.Symbols.Container..ctor(Object Instance)
   at Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateGet(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack)
   at com.sap.bi.et.analyzer.addin.BExExcelItem.SetDesignShape(BExParameter iParameter)
   at com.sap.bi.et.analyzer.addin.BExExcelItem.Create(BExParameter iParameter)
   at com.sap.bi.et.analyzer.addin.BExItemTextElement.Create(BExParameter iParameter)
   at com.sap.bi.et.analyzer.api.BExItem.CreateInternal(BExParameter iParameter, BExApplication iApplication)
   at com.sap.bi.et.analyzer.api.BExItems.CreateItem(BExParameter iParameter)
Kindly help me with this problem.
Thanks
Si Jie
Edited by: Si Jie Yeow on Oct 24, 2008 10:59 AM

Hello,
Check this thread and follow the steps that are suggested in there:
BEx of GUI 7.10 not working after MS Office upgrade to 2007
Regards,
Jorge Diogo

Similar Messages

  • "Critical program error" in BEx Analyzer due to missing BExCompression

    Hello. I saw several posts with a "Critical program error" message in new BEx Analyzer 7.0 when try to run query ir workbook, but have not seen any answers to them.
    When I look into the trace file BexAnalyzerTrace_<session_id>.txt (attached) in my temp directory, I see following:
    System.IO.FileNotFoundException: File or assembly name BExCompression, or one of its dependencies, was not found.
    File name: "BExCompression"
       at com.sap.bi.et.analyzer.api.BExApplication.DeSerializeApplication(String iString)
       at com.sap.bi.et.analyzer.addin.BExExcelApplication..ctor(String iWorkbookName)
    But I cannot find any further reference to BExCompression.
    Thanks!
    Vitaliy

    Hi prakash,
    we have installed the SAP GUI 7.10 with patch 5 and all the other mandatory components. while working in the query designer for sometime we used to get message " critical program error occured program needs to close" , we still cant figure out what the reason for this. this keep on occuring even if a new session is open.
    please advise us what we need to do and if you have any installation guide for this i appreciate if you can share with us.
    mail to : [email protected]
    thanking you.

  • Critical program error in BEx designer when open the workbook

    problem is coming related to Workbook.when i m opening the workbook then busiess explorer giving the error messgae i.e * A critical program error has occured. The program will now terminare.please refer to the trace for further information * kindly please provide the best solution for this problems.

    hello , I got the same error while opening a workbook, and I found that this is happening coz I made some changes in Query  structure contained into workbook.
    So when you are opening and inserting the input variable do following things:
    1.Open the workbook and insert the variable, but do not click "OK" just click on "CANCEL",
    and your Workbook will display without data .
    2.Now go to "Design Mode" reinsert the query by refreshing  dataprovider(data analysis grid), and do the changes if you required and exit design mode,
    3. Save workbook and now insert the variable values  and check  the work book will work without any error.
    Thanks Hope it will help, coz it helped me.

  • A critical program error has occurred. BEx Analyzer. Cannot find trace file

    I have now spent about 20 hours trying to resolve this issue.  I receive the following error message when attempting to open any BEx Query: u201CA critical program error has occurred.  The program will now terminate.  Please refer to the trace for further information()u201D.  Iu2019ve provided a video example of the scenario (couple minutes long): http://www.altnetwork.net/misc/Analyzer%20Critical%20Error.html
    I cannot find the trace file in the standard C:\DOCUME1\BaldwiJE\LOCALS1\Temp\BexAnalyzerTrace.txt path.  I cannot set/change the path/name of the trace file because the Trace File Name text box is grayed out (disabled) in BEx Analyzer > Global Options (see the above flash video link).  I know that I am using the same Business Explorer and GUI build as my colleagues and I am able to login with my ID on their machines and not receive an error.  We are using SAP BW 7.01 and I am using Excel 2007.  I have entirely reinstalled Microsoft Excel, and the SAP Frontend including Business Explorer and SAP GUI.  Iu2019ve monitored using both windows process monitor and windows process explorer but nothing is readily apparent as an issue (glad to share the process information if someone thinks it might help).  No relevant event logs in the Windows event viewer.
    Per the sapbexc.xla file, my system configuration is as follows:
    Computer Name:      DEN-SSI-SYS-L61
    File Location:      C:\DOCUME1\BaldwiJE\LOCALS1\Temp\sapBEX_PC_0614_103147.xls
    Check done on:      6/14/2011   10:31:47 AM
    Excel Version:      Excel 2007 (12.0.6535.5002)
    Windows Version:      Windows 2000  (2195)  Theme: %SystemRoot%\resources\Themes\Windows Classic.theme
    Default Browser:      Internet Explorer (7.0.6000.17093)
    SAP GUI:      720 Patch 1

    Resolved!  It actually seemed to be related to my windows profile.  I notice that if a co-worker logged into windows on my machine that he was able to run the same BEx queries that I couldn't.  I renamed my profile folder at c:\documents and settings\<myaccountname> to ...<myaccountname.bak>.  I did this using a local administrator account on my computer.  Then I logged back in to windows using my AD credentials.  A new profile was created and then I was able to use BEx Analyzer again.
    I also went back and tried to reload everything from my .bak profile into the newly created folder under documents and settings and hoped that I could isolate what specifically was causing the issue.  However, even after moving everything over to my newly created profile I could not get the error to generate again.  Sorry.
    Highly recommend to anyone with the same issue that you confirm that a new profile works by a) having someone else login to your computer who has not already logged in before b) if that works, replace your c:\documents and settings\<myaccountname> folder.
    Thanks to all who offered support.
    Jerimiah

  • BEX Critical Program error in Analyzer

    Hi,
    When Im trying to open a workbook from the Anayser: Im getting the foll error:
    A Critical program error occured. Program has to be closed. please refer to trace.
    Im trying to open the query from the Favourites as well as Roles.
    The same query i was able to view in another system.
    System Info:
    Microsoft .NET framework 2.0
    Microsoft Excel 2003 , SP2
    Software Component: SAP_BW
    Release : 700
    Level : 0013
    Highest Support Package : SAPKW70013
    Short Desc of SW component : SAP NetWeaver BI 7.0
    SAP Logon for Windows  : 710 Final Release
    File version: 7100.1.3.1029
    Build : 919412
    Patch Level : 3
    Pls let us know if I need to install any other components.
    Regards
    Syam
    Message was edited by:
            Syam K

    Hi,
    I have observed the following now.
    I have uninstalled GUI 710 and re-installed it and Bex version was BI Addon 7.X, SP0, Rev 461.
    Now, I have installed GUI patch 1 and 2 consecutively  and restarted the system.
    What I have observed is that the tool bar is not activated in Bex Analyzer and Im not able to open the Workbook. Can you pls advise on the same.
    Rgds
    Syam

  • Fehler : Critical Program Error

    Dear All,
    We are facing this issue with couple of users from last 2 weeks.
    It came suddenly on their machines
    Error is :
    Fehler : Critical Program Error
    at com.sap.bi.et.analyzer.addin.BExMenu.Create ()
    at com.sap.bi.et.analyzer.addin.BExMenu.CreateBExMenu ()
    at com.sap.bi.et.analyzer.addin.BExConnect.SetExcel (Object Excel)
    This comes when the users tries to access Bex Query and WB through analyzer.
    1. We have reinstalled SAP but that is not helping.
    2. We have given new laptops to users but that is also not helping for them.
    3. There is NO new installation or Security patch added on their Laptop from past few days which might cause this error.
    Please respond if you have any idea on this.
    Regards,
    Den

    Hi,
    Follow this thread,you might get answer.
    Bex CriticalProgramError
    Fehler: CriticalProgramError
    @AK
    Edited by: Ashok KUMAR on Mar 29, 2011 4:46 PM

  • A critical program error has occured while opening workbook

    Dear friends,
    A critical error has occured while opening workbook. The issue is that the same workbook is opening in some one machine but not in others.The following Dialog box is poping out when tried to open workbook:
    "A critical program error has occured.The Program will now terminate.Please refer to trace for further information."
    However,i  did the full updation of service pack3 of MS Excel 2003 on my machine and the same version as on that particular machine(on which workbook is opening). The problem is still there.Please provide some solution.
    Thankx a lot in advance!!!
    regards,
    Sandeep Singla

    The machine where the workbook is opening has a GUI :-
    Release : "710 Final Release"
    File Version : 7100.2.7.1038
    Build : 967944
    Patch Level : 7
    and the machine where the critical program error is coming has a GUI :-
    Release : "710 Final Release"
    File Version : 7100.2.8.1039
    Build : 983952
    Patch Level : 8
    The Excel 2003 are similar in both the machines as the service pack3 has been installed in the machine where workbook was not opening.
    Any help will be appreciated.
    Thanks and Regards,
    Sandeep Singla

  • A critical program error occured when running a workbook

    Some end users get a critical program error occured when running a workbook when they want to make selections.
    In the trace they get the following message
    System.ArgumentException: Item has already been added.  Key in dictionary: "44ABATDK7TYM365CYLQ0VDKU6"  Key being added: "44ABATDK7TYM365CYLQ0VDKU6"
    This happens only on some PC clients !
    Thanks for any help !
    Ivan

    Hi Vid,
    Thanks for your suggestion.
    I am using a different patch i.e.
    BI AddOn 7.X (based on 7.10), Support Package 5, Revision 1083
    and it helps to solve my problem.
    Cheers.

  • A critical program error has ocurred in workbook after modif structure

    Dear all,
    I have a Excel Workbook with one query. This query has a structure. I have exchanged a structure for other one. From this moment when I try to modify the workbook or run it, the system returns next message: "A critical program error has ocurred, The program will now terminate. Please refer to the trace for further information".
    Does anyone any idea about this issue?
    Thanks in advance.
    Sebastian

    hi,
    When I have clicked "design mode" system returns the same error.
    Sebastian.

  • A Critical Program error has occured while Save workbook

    A Critical Program error has occured while Save workbook in SAP BI everytime. Anyone can give me solution for this problem.

    Hi Gaurav,
    Please look at this thread.
    A critical program error has occured while opening workbook
    Hope this will solve your problem.
    Regards,
    Javed

  • Workbook -Critical Programe error

    Hi Experts,
    when we are  trying to open a workbook in BI 7 analyzer we are getting the the bellow error message.
    "critical Programe error and disconnection from BW Server"
    We are at Support pack level 17 and we are using SAP GUI 710 with patch level 8.
    Please respond if you have experienced the same.
    Thanks
    DB

    Niyati,
    That hotfix can run only to the 640, even we have the same problem over here. Actually you should not upgarde the front end patch if you want to install. But that hot fix might run or may not run, you may get issues later with the GUI..
    All these probles will cause becoz of frontend patch... If you are at patch 27 then you need to unistall and come back to the same patch level as your colleague has... actually i dont know how to unistall that patch.. Or else try out with frontend patch 28...
    Hope it helps..
    Assign points if it helps
    Gattu

  • Critical program error while opening some workbook

    Hi all,
    We are in BI 7 with suppoprt package 12 and GUi version 710.
    Whenever iam trying to to open some workbooks system is showing the mesaage Critical programm error. I checked the trace file also but din t get anything . Th trace file is saying:
    BExConnect.Trace3: 0
    BExExcelTraceListener.AddTraceListener: Added a tracelistener for Version: 7100.0.461
    BExConnect.constructor2: 23.59375
    BExMenu.CreateSubMenu1: 0.15625
    BExMenu.CreateSubMenu2: 3.75
    ListSeparator: ,
    openworkbook
    GetSystemInformation
    SUNI Const: 0
    CommunicationFactory.GetSystemInformation (Setting Conn 1)): 0.15625
    CommunicationFactory.GetSystemInformation (Setting Conn 2)): 0.15625
    CommunicationFactory.GetSystemInformation (Setting init Propties)): 0.15625
    CommunicationFactory.GetSystemInformation (SUNI.FUNCTION_EXISTS)): 0.625
    RSR_XLS_RFCtrc: 4.0625
    CommunicationFactory.GetSystemInformation (RSR_XLS_NET_INTERFACE)): 7.8125
    CommunicationFactory.GetSystemInformation (XML Stuff)): 10.9375
    CommunicationFactory.GetSystemInformation (Prop Stuff)): 10.9375
    CommunicationFactory.GetSystemInformation (Version)): 10.9375
    CommunicationFactory.ObtainSystemInformationandCheckVersion (GetSysInfo)): 10.9375
    CommunicationFactory.ObtainSystemInformationandCheckVersion (CheckAfterLogin)): 0
    CommunicationFactory.LogOnUsingComConnection (ObtainSystemInfo)): 10.9375
    CommunicationFactory.LogOnUsingComConnection (MainConnectionChangedEvent)): 2.65625
    CommunicationFactory.LogOn: 13.90625
    RSR_XLS_RFCtrc: 0
    BExThemes.LoadFromBackend: 2.8125
    BExConnect.LogOn: 70.46875
    OpenWorkbookGetWorkbookId
    RSR_XLS_RFCtrc: 0
    <?xml version="1.0" encoding="utf-16"?>
    <I_T_SEARCH_ATTR xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" />
    RSR_XLS_RFCtrc: 0
    RSR_XLS_RFCtrc: 0.15625
    RSR_XLS_RFCtrc: 0.3125
    openworkbook
    BExConnect.LogOn: 633331433736.094
    OpenWorkbookGetWorkbookId
    RSR_XLS_RFCtrc: 0
    <?xml version="1.0" encoding="utf-16"?>
    <I_T_SEARCH_ATTR xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" />
    <?xml version="1.0" encoding="utf-16"?>
    <I_T_SEARCH_ATTR xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" />
    <?xml version="1.0" encoding="utf-16"?>
    <I_T_SEARCH_ATTR xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" />
    RSR_XLS_RFCtrc: 0
    openworkbookparam
    openworkbook with param
    BExConnect.LogOn: 633331433790
    OpenWorkbookGetWorkbookId
    OpenWorkbookGetTheMimeAndStoreItOnTemp
    RSR_XLS_RFCtrc: 1.5625
    13/12/2007 11:49:41 AM----
    System.ArgumentException: Item has already been added. Key in dictionary: 'WORKBOOK_MODE'  Key being added: 'WORKBOOK_MODE'
       at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add)
       at System.Collections.Hashtable.Add(Object key, Object value)
       at com.sap.bi.et.analyzer.api.BExApplicationProperties.CreateFromDeSer(BExDeSer_Properties[] iPropties)
       at com.sap.bi.et.analyzer.api.BExApplication.CreateFromDeSer(BExDeSer_Page iPage)
       at com.sap.bi.et.analyzer.addin.BExExcelApplication..ctor(String iWorkbookName)
    Item has already been added. Key in dictionary: 'WORKBOOK_MODE'  Key being added: 'WORKBOOK_MODE'
       at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add)
       at System.Collections.Hashtable.Add(Object key, Object value)
       at com.sap.bi.et.analyzer.api.BExApplicationProperties.CreateFromDeSer(BExDeSer_Properties[] iPropties)
       at com.sap.bi.et.analyzer.api.BExApplication.CreateFromDeSer(BExDeSer_Page iPage)
       at com.sap.bi.et.analyzer.addin.BExExcelApplication..ctor(String iWorkbookName)
    Can naybody help me in this regard as the same workbook is opening in other system..Points will be awarded for the helpful answers..
    Thanks in advance..

    Niyati,
    That hotfix can run only to the 640, even we have the same problem over here. Actually you should not upgarde the front end patch if you want to install. But that hot fix might run or may not run, you may get issues later with the GUI..
    All these probles will cause becoz of frontend patch... If you are at patch 27 then you need to unistall and come back to the same patch level as your colleague has... actually i dont know how to unistall that patch.. Or else try out with frontend patch 28...
    Hope it helps..
    Assign points if it helps
    Gattu

  • BEX icons are in disable mode in MS EXCEL 2007

    Dear Experts,
    I am using SAP BW 3.1c, GUI 6.20 and MSEXCEL 2003. my Reports are running fine. Recently I have updated to GUI 7.10 and MS EXCEL 2007. when I am trying to open any Report , Excel opens up but nothing happens . BEX icons are in disable mode. What could be the problem?.
    Please help me to resolve the issue. Thanks in advance.
    Regards,
    Khader S.

    Hi,
    Please refer this
    Re: BI  7.0 Bex analyser not working
    Rgds,
    Murali

  • CRITICAL:  Program Error - iTunes window does not fit properly on my screen...

    Hello,
    I have just installed the iTunes update and now I have a problem.  I have my task bar at the TOP of my screen, rather than at the bottom, which is more common.  Now, iTunes has written its own window into the area where my task bar would normally reside.  Not only that, but it is UNDER the task bar, so I cannot access it without auto-hiding the task bar.  Even when I do this, and resize the window, the iTunes Window goes back to taking up the full screen, except for the fact that it leaves a blank space at the bottom of the window, presumably for the task bars that are on the bottom.
    How can I get this to be fixed, NOW???  I have just decided to start using iTunes regularly, outside of my normal iPhones usage, for music management.  I'm wondering if I should re-think this decision!  Help.
    ~Antonio

    My igoogle homepage started loading off-center. I could hit "refresh" and it would then load properly, but I wanted it to load correctly from launch.
    After disabling add-ons (extensions), I discovered that the SKYPE extension was to blame. I uninstalled the extension and now the homepage loads correctly...centered.

  • Bex Analyzer BI 7.0 on Vista Microsoft EXCEL  2007

    Hi to all,
    I have this configuration in my pc:
    SAPGUI 7.10
    SAP NetWeaver BI 7.0
    Patch level 8 (bi710sp05_500-10004472,bi710sp06_600-10004472,
                         bi710sp06p_601-10004472,gui710_8-10002995 and 
                         gui710_pdb_8-10002995).
    Windows Vista
    Office 2007
    When i open Bex Analyzer with BI 7.0 frontend browser and logon to my BW system, i get the following error "Microsoft Office Excel has stopped working" "Check online for Solution and restart the program"
    however when i use Bex Analyzer 3.X frontend browser everything is working fine.
    Please help,because most of my queries are converted to BI 7.0 frontend.

    i'd suggest u research some oss notes.
    Take a look at the following:
    1073426
    1045244
    1039191
    these may not be exact solutions, but will guide you to other notes as well...

Maybe you are looking for