Error in call to loadpanel . Error Code: -94

Bonjour,
Sous cvi, quand je créé l'execultable, j'embarque l'UIR (Embed project.UIRs)
Si je deplasse le fichier.exe créé, le message suivant apparait :
Error in call to loadpanel. / Parent Panel Handle: 0 / Panel Resource ID: 1 / Error Code: -94 / File not found
Que signifie ce code '' -94 '' ?
Merci de votre aide
Cdlt
Hello,
Under CVI, when I build my project, I embed the UIR panel ( ''Embed project.UIRs'' )
When I mov the exe file created, thr error message appear :
Error in call to loadpanel. / Parent Panel Handle: 0 / Panel Resource ID: 1 / Error Code: -94 / File not found
Please, what is this error cod ?
Thanks in advance for you help
Regards

Dale;
That is happening because you probably installed the new version of NI-DAQ on the top of the old one, without uninstalling it first. Now, you will need to uninstall everything, clean the windows registry entries up, and install NI-DAQ 6.9.1 from scratch.
To unsitall the driver, go to Add/Remove programs, and to clean up the registry, type RegEdit in Start->Run, and go to HKWY_LOCAL_MACHINE->Software->National Instruments, and delete the NI-DAQ folders, if they are still there after you unistall everything.
Hope this helps.
Filipe

Similar Messages

  • Error in call to LoadPanel

    When I run my app at the target, I get an error (show stopper) that says (more or less)
    Error in call to LoadPanel. Tsc_Setup_uir.uir, Panel Resource ID: 2, Error Code: -86. Callback function QuitLoginInstCB not known.
    Background: I'm using LabWindows/CVI 7.1 and TestStand 3.1. I created a file called TSC_DLL_Export.h that contains all the routines called by my specifyModule(s) for each step in the TestStand Sequence. That .h file has a checkmark next to it in the CVI Build::Target Settings, Exports - Export What: Include File Symbols (click the Change button). Since I started seeing this error, I've tried adding to TSC_DLL_Export.h the callback in question, along with the other callback functions I noticed when I look at some of the buttons inside the Tsc_Setup_uir.uir file. I've also tried a variation where the TSC_DLL_Export.h contains just the Specify Module routines and in the Export What: Include File Symbols, I also checkmark the .h file for the uir file.
    The .uir is listed in the TestStand workspace file and it's getting placed in the installation directory at the target, along with the other .UIR files, TestExec.exe, etc. I have other UIRs that have panels that get displayed just fine, but I don't think any of those have callbacks associated with them.
    When I do a build, it's for a Release - Dynamically Linked Library. Any ideas?

    hi mrbean,
    You probable should be using should be using the LoadPanelEx function rather than the LoadPanel. Read the help for the LoadPanelEx for explanation.
    If it a panel callback its going to look like:
    int CVICALLBACK PanelCB (int panel, int event, void *callbackData,
    int eventData1, int eventData2)
    If it is a control callback its going to look like:
    int CVICALLBACK ControlCB (int panel, int control, int event,
    void *callbackData, int eventData1, int eventData2)
    Not sure what QuitLoginInstCB is a callback for.
    But if you have exported it, an you are calling it from TestStand via the DLL adapter, then I dont see how your callback can work. Surely you will want a function that you call from TestStand which when loaded will run and load your panel, diaplay it, and Run the User Interface. Then Your Callback QuitLoginInstCB will come in to play when you press the required control.
    For instance
    TestStand step calls QuitLoginInst()
    When the user panel is displayed and the User Interface is running.
    User Presses the QuitLoginInst control which calls the QuitLoginInstCB(), this perform removing of the panel and QuitUserInterface() and thus allows QuitLoginInst() to complete and return to TestStand.
    Here is a typical example of displaying a modal panel from TestStand (its uses TestStand Ver2.0 prototypes)
    This is the function that will be called from TestStand
    void __declspec(dllexport) TX_TEST DisplayModalDialog(tTestData *testData, tTestError *testError)
    // Getting the Engine object from the Seq Context
    TS_SeqContextGetProperty (testData->seqContextCVI, &errorInfo,
    TS_SeqContextEngine, CAVT_OBJHANDLE,
    &engine);
    // Loading the interface panel into memory
    panelHandle = LoadPanelEx (0, "ModalDialog.uir", PANEL, __CVIUserHInst);
    // TS_StartModalDialog function causes the dialog box to be modal
    // with respect to the application that created the TestStand
    // Engine object you specify (i.e. Seq Editor or Oper Interface)
    TS_StartModalDialog (engine, &errorInfo, &modalData);
    // Displays and activates a panel as a modal dialog box.
    InstallPopup(panelHandle);
    // RunUserInterface() runs the User Interface and issues events to
    // callback functions.
    RunUserInterface();
    Error:
    // If an error occurred, set the error flag to cause a run-time error in TestStand.
    if (error < 0)
    testError->errorFlag = TRUE;
    CA_DiscardObjHandle(engine);
    return;
    This is the Callback function that is assigned to the Quit button in the UIR
    int CVICALLBACK Quit (int panel, int control, int event,
    void *callbackData, int eventData1, int eventData2){
    switch (event)
    case EVENT_COMMIT:
    // Removes either the active pop-up panel or all pop-up panels.
    RemovePopup(panelHandle);
    // Causes RunUserInterface() to return.
    QuitUserInterface(0);
    // Call this function after you discard or hide the dialog box
    // panel
    TS_EndModalDialog(&errorInfo, &modalData);
    // Removes a panel and any of its child panels from memory and
    // clears them from the screen if visible
    DiscardPanel (panelHandle);
    // This function releases resources associated with the object and
    // calls the Release method of the Automation server object.
    CA_DiscardObjHandle(engine);
    break;
    return 0;
    Finally you dont need the LIB file on your target system, this is only required to build your EXE | DLL file.
    You have dont need to have a H file. If in your CVI setting, in the Target Setting, if the 'Export What' control is set to 'Symbols Marked for Export', then you dont need an H file, but you probably will have a H file because you have an UIR file but you dont what to export the callback function within that H file as you would not be calling them direct from some external process. ( the example above comes from a project which has an include file for the UIR and the Target Settings are set for Symbols Marked for Export.)
    Hope this helps
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • Error When Calling Up IGS (Error opening an RFC connection.)

    hi experts,
    i am getting error Error When Calling Up IGS (Error opening an RFC connection.)
    when i excute in wad, i checked in forums regarding this issue ,it is suggested that in check in se38--> se38->GRAPHICS_IGS_ADMIN(execute)->then it opens one more window (IGS_RFC_DEST)execute(could not reach to IGS)
    in RSRT if i execute IGS test button it is showing page cannot be displayed
    can anybody give answer for this what to do
    thanks
    venu

    Hi Venu,
    I would suggest that you contact your basis team and ask them to check the entry for the IGS in SM59.

  • Error while calling SAP script.

    Hi all,
    Has anyone faced this problem.
    When I try to send an email from an activity in PB60 it does not work.
    It pops up an error message - Error while calling SAPscript: <OPEN_FORM> <return code 1>.
    Regards,
    Bharat

    Hi,
    this means that some configuration info is missing! The driver program doesn't know which form to trigger in that case! You have to specify the SAPscript form to be trigerred for that case!
    Regards,
    Sooness

  • Error while calling the Graph

    Hi,
    When I am trying to open the Graph through BEx Browser, getting an error 'Error When Calling Up IGS (Error opening an RFC connection.)'.
    Same report is working fine in my development server.
    Please advise if I need to do any settings for this.
    Thanks & Regards
    Ramesh Ganji

    Hi Ramesh,
    I think you have not correctly configured the IGS server for your production system.
    Try to check the IGS connection.
    Ciao.
    Riccardo.

  • Error while calling COM routines via application prog(return code 1028533-)

    Hello Expert,
    In Interactive Demand Planning ( /SAPAPO/SDP94 ), when I'm trying to load data in a planning book , error
    'Error while calling COM routines via application program (return code 1028533-)' is encountered.
    In my selection id, i have only two locations....there is no material selection. 
    When I select the 1st location and load the data its getting loaded properly.....but when i select the 2nd location and try loading data ...the above error is coming.
    I did run /SAPAPO/TS_LCM_CONS_CHECK but the problem persist.
    Any advise to fix this issue would be much appreciated.
    Thanks.
    Tom

    Hi Tom,
    Please see if below exiting threads help you.
    COM error 40134 in Interactive Planning on SCM 5.0 Support Pack SAPKY50011
    Error for COM Routine application program (return code 40028)
    Thukral

  • Error: Test call of transport control program (tp) ended with return code 0

    Hi Experts,
    When we are trying to transport Request.
    Error: Test call of transport control program (tp) ended with return code 0208
    in STMS what are the steps to fallow to just back up the code.
    Any Solutions is Greatly Appreciable...
    Thanks in Advance,
    Ram,

    Hi,
    a)If your system is UNIX check /usr/sap/trans is mounted or not?
    b)After configuring TMS did you save and activate?that can be one reason.
    c)tp might be corrupted.u need to upgrade your tp. (or you can upgrade to the latest kernel)
    Please check the below link
    could not start transport control program tp
    However as suggested by NIbu, you should restart the server once before doing any other checks
    Thanks
    Debdeep
    Edited by: Debdeep  Ray on Jul 13, 2009 4:28 PM

  • Error in application accurred please call support quoting error code 2907

    error in application accurred please call support quoting error code 2907

    I suggest you call support and quote error code 2907. 

  • Dear Sir, i have problem in my Iphone 5 that during receiving any calls always appeare message that error in application occurred please call support quoting error code 2907. I need to solve my problem

    Dear Sir, i have problem in my Iphone 5 that during receiving any calls always appeare message that error in application occurred please call support quoting error code 2907. I need to solve my problem.

    The problem this message always appeare when receiving the calls and requesting either accept or cancel.
    Can you advice me if i have wrong application or i need to remove some applications.

  • RMI call resets Windows error code?

    I'm attempting to retrieve a Windows error code from a remote system, using a simple call to the Windows API function getLastError() which is wrapped inside a JNI function on the remote system. getLastError() returns the last error code set for a particular process/thread.
    The problem is, it appears that simply making the remote function call clears the error value before it can be returned. I can confirm that the error value was set on the remote system by printing the Process/Thread ID and getLastError() value to a console window on the remote system when one of my remote methods is called with out-of-range data. If I attempt to retrieve the error code, the Process/Thread ID match but the error code is always 0. No other methods were called on the remote system in between the initial error-generating method and the method which returns the error code.
    Note that using the same JNI function calls without RMI works fine - I can generate error codes and retrieve them just fine.
    Any ideas? Thanks in advance!

    You're assuming that no other system calls are
    executed between the one that caused the error you are
    interested in and your GetLastError(). RMI executes
    system calls on its own behalf, both to return the
    value from the previous computation that caused the
    error and to dispatch the new call into the method
    that does GetLastError(). This approach is never going
    to work. Why can't you call GetLAstError() straight
    after the error happens, in the same remote method?This is what I suspected is happening, and if true, then I will simply have to rewrite my RMI method calls. Currently, they return -1 on error, and the error number is retrieved with a separate getLastError() call. This is done for legacy reasons (I'm calling C functions which were originally developed without Java/RMI in mind). As suggested, I'll have to call getLastError() immediately after an error occurs, and return the negative value of the error code rather than just -1. I've got about 200 remote methods to modify, so I was trying to avoid this, but hey... it's mostly search/replace.
    Thanks for the help.

  • What is this? Performance Counter OS (pdh) call failed with error code PDH_INVALID_HANDLE._

    hi    This event is logged in SharePoint 2010 logs often please help trace the issue also it precedes with Project server WCF code execution which alos is quite slow in execution, means PWA site runing slow. why does status read
    provisioning while i am not running anything.
    please help!!!
    10/03/2011 14:39:23.46 w3wp.exe (0x306C)                      
    0x2FC4
    SharePoint Foundation         Topology                      
    e5mc Medium  
    WcfSendRequest: RemoteAddress: 'http://moss:32843/a667a0a96d314e5e9e6c8fe4866c5db4/PSI/PWA.svc' Channel: 'Microsoft.Office.Project.Server.Interfaces.IPWA' Action: 'http://schemas.microsoft.com/office/project/server/webservices/PWA/AdminReadSiteMapTyped'
    MessageId: 'urn:uuid:0751dbdd-76c0-4410-ac73-2f1782e1513b'
    91b87b3b-e9ad-43b9-9e8c-e553ba7e2f6c
    10/03/2011 14:39:23.46 w3wp.exe (0x1B58)                      
    0x1BA0
    SharePoint Foundation         Topology                      
    e5mb Medium  
    WcfReceiveRequest: LocalAddress: 'http://moss.ccl.local:32843/a247f7273c09486999c9f111798cab59/ProfilePropertyService.svc' Channel: 'System.ServiceModel.Channels.ServiceChannel' Action: 'http://Microsoft.Office.Server.UserProfiles/GetProfileProperties'
    MessageId: 'urn:uuid:772a5c58-c0e4-4b0f-9142-f634fee413a9'
    3cd5bfa5-2e40-458e-9718-788887b44dbe
    10/03/2011 14:39:23.46 w3wp.exe (0x1B58)                      
    0x1BA0
    SharePoint Foundation         Monitoring                    
    nasq Medium  
    Entering monitored scope (ExecuteWcfServerOperation)
    3cd5bfa5-2e40-458e-9718-788887b44dbe
    10/03/2011 14:39:23.64 w3wp.exe (0x1B58)                      
    0x1BA0
    SharePoint Foundation         Monitoring                    
    b4ly Medium  
    Leaving Monitored Scope (ExecuteWcfServerOperation). Execution Time=179.589584709789
    3cd5bfa5-2e40-458e-9718-788887b44dbe
    10/03/2011 14:39:23.64 w3wp.exe (0x306C)                      
    0x3170
    SharePoint Foundation         Monitoring                    
    b4ly High    
    Leaving Monitored Scope (ExecuteWcfOperation:http://Microsoft.Office.Server.UserProfiles/GetProfileProperties). Execution Time=205.109867315539
    10/03/2011 14:39:23.64 w3wp.exe (0x306C)                      
    0x3170
    SharePoint Foundation         Monitoring                    
    b4ly High    
    Leaving Monitored Scope (ExecuteOnChannel:GetProfileProperties). Execution Time=206.500546857212
    10/03/2011 14:39:23.74 Microsoft.Office.Project.Server (0x0DAC)
    0x0FA8 Project Server                
    Provisioning                  
    8zdn Medium  
    [SERVICE] ProjectQueueService14: Getting list of Sites for ServiceApp: a667a0a9-6d31-4e5e-9e6c-8fe4866c5db4
    10/03/2011 14:39:23.74 Microsoft.Office.Project.Server (0x0DAC)
    0x0FA8 Project Server                
    Provisioning                  
    128v Medium  
    [SERVICE] ProjectQueueService14: Adding Site: ef3acaf4-3e7a-4819-80e0-8e7a85ca417b to sitelist for ServiceApp: a667a0a9-6d31-4e5e-9e6c-8fe4866c5db4
    10/03/2011 14:39:23.77 Microsoft.Office.Project.Server (0x0CD4)
    0x0FA4 Project Server                
    Provisioning                  
    8zdn Medium  
    [SERVICE] ProjectEventService14: Getting list of Sites for ServiceApp: a667a0a9-6d31-4e5e-9e6c-8fe4866c5db4
    10/03/2011 14:39:23.77 Microsoft.Office.Project.Server (0x0CD4)
    0x0FA4 Project Server                
    Provisioning                  
    128v Medium  
    [SERVICE] ProjectEventService14: Adding Site: ef3acaf4-3e7a-4819-80e0-8e7a85ca417b to sitelist for ServiceApp: a667a0a9-6d31-4e5e-9e6c-8fe4866c5db4
    10/03/2011 14:39:23.99 SPUCHostService.exe (0x22E0)            
    0x300C SharePoint Foundation        
    General                      
    84yj Medium  
    Performance Counter OS (pdh) call failed with error code PDH_INVALID_HANDLE.
    10/03/2011 14:39:23.99 SPUCHostService.exe (0x22E0)            
    0x300C SharePoint Foundation        
    Sandboxed Code Service        
    ei0p Monitorable
    - Unhandled exception System.ComponentModel.Win32Exception: Unknown error (0xc0000bbc)     at Microsoft.SharePoint.Win32.SPPdh.CheckReturnValue(PDH_STATUS status, Boolean throwOnError)     at Microsoft.SharePoint.Utilities.SPPerformanceCounter.NextValue(Int32
    retry, Int32 retryInterval)     at Microsoft.SharePoint.UserCode.SPUserCodePerformanceCounterHelper..ctor(String processName, Int32 processInstanceId) thrown while reading perf counters for process "SPUCWorkerProcess".
    10/03/2011 14:39:23.99 SPUCHostService.exe (0x22E0)            
    0x300C SharePoint Foundation        
    General                      
    84yj Medium  
    Performance Counter OS (pdh) call failed with error code PDH_INVALID_HANDLE.
    10/03/2011 14:39:23.99 SPUCHostService.exe (0x22E0)            
    0x300C SharePoint Foundation        
    Sandboxed Code Service        
    ei0p Monitorable
    - Unhandled exception System.ComponentModel.Win32Exception: Unknown error (0xc0000bbc)     at Microsoft.SharePoint.Win32.SPPdh.CheckReturnValue(PDH_STATUS status, Boolean throwOnError)     at Microsoft.SharePoint.Utilities.SPPerformanceCounter.NextValue(Int32
    retry, Int32 retryInterval)     at Microsoft.SharePoint.UserCode.SPUserCodePerformanceCounterHelper..ctor(String processName, Int32 processInstanceId) thrown while reading perf counters for process "SPUCWorkerProcess".
    10/03/2011 14:39:23.99 SPUCHostService.exe (0x22E0)            
    0x300C SharePoint Foundation        
    General                      
    84yj Medium  
    Performance Counter OS (pdh) call failed with error code PDH_INVALID_HANDLE.

    Hi there,
    A quick search showed the result on fourm thread:
    It's related to SHarePoint foundation error & this issue occurs when the account under which SPUserCodeService is configured to run does not have the necessary permissions to access the performance counters on the server.
    http://social.technet.microsoft.com/Forums/eu/sharepoint2010setup/thread/9fbcf2a3-1b1f-4fd8-a9b4-dc63ed753973
    To read in support article.
    http://support.microsoft.com/kb/983081Thanks, Amit Khare |EPM Consultant| Blog: http://amitkhare82.blogspot.com http://www.linkedin.com/in/amitkhare82

  • Error #2044: Unhandled NetStatusEvent:. level=error, code=NetConnection.Call.BadVersion

    I keep on getting this error while connecting to amfphp. Any idea what might be the problem?
    Code:
    private function init(e:Event = null):void
                responder = new Responder(onResult, onFault);
                connection = new NetConnection;
                connection.connect(gateway);
                sendData_btn.addEventListener(MouseEvent.CLICK, getData);
            private function getData(event:MouseEvent):void
                connection.call("UserVO.getUserData", responder);
            private function onResult(result:Object):void
                trace("Result");
            private function onFault(fault:Object):void
                trace("Fault");

    I am testing the HelloWorld AMFPHP example from AMFPHP's website. There's a strange problem though. If i run the application from within the Flash IDE, I get this error:
    Error #2044: Unhandled NetStatusEvent:. level=error, code=NetConnection.Call.BadVersion
    at Main()
    But if I publish the application and run it in browser, it runs fine. What might be the problem?

  • Error while calling COM routines via application program (return code 40028

    Hi ,
    When i am doing these steps i am getting the following error.
    1.from SAP menu...Demand Planning>Planning>Interactive Demand planning
           2.after the transaction gets loaded...click on the 2nd button that is selection window from the left ALV menu..on the top.
            3.type the below
    show -  Material
    APO Planning Version - K01
    Material  - 12345
    4.Material 12345 will be loaded
    5.Double click and i am getting  ''error Error while calling COM routines via application program (return code 40028)''
    Note : Observed that this is not happening everytime, but happening alternatively.
    Can any one say what is the problem for Error.
    Thanks
    Gerard

    Hello Gerard, Hello Krishna,
    -> The liveCache application failed with COM error::
                                   40028 Illegal timestamp in rough timegrid
    More details about COM error 40028 you will see in TA /n/sapapo/om10
         -> Return code: 40028 -> execute ::
    Invalid time stamp in the time buckets profile relation     
    ( om_ts_tgrelinvalidstamp )     
       < click on '?' mark >
    -> Open an OSS message in accordance with SAP note 167280 if further help
         needed to solve the issue on your system.
    Thank you and best regards, Natalia Khlopina

  • Ssrs report web service to save report as pdf throws error Soap exception unhandeled by user code

    I am creating a C# web application to save  an SSRS report as a pdf file on my local machine.
    I added the ReportService web reference as RS2005 and ReportExecution2005 web reference as RE2005.
    http://myServer/ReportServer_DEVPROJECT/ReportExecution2005.asmx?WSDL
    http://myServer/ReportServer_DEVPROJECT/ReportService2005.asmx?WSDL
    I created the following function SaveReport that is called on button click. My report can be accessed on the report server with the following url:
    http://myServer/Reports_DEVPROJECT/Pages/Report.aspx?ItemPath=%2fData+Mgmt%2fSample+Letter
    On the Report Manager home page the report link appears as "SAMPLE LETTER".
    It is deployed in the DataMgmt folder on the Report Manager.
    It uses a data source called "DS Letter" with option "Credentials stored securely in the report server"
    My application gets compiled, but I get the following run time error:
    Error: Soap exception unhandeled by user code. The item '/DataMgmt/Sample Letter' cannot be found. ---> Microsoft.ReportingService
    s.Diagnostics.Utilities.ItemNotFoundException: The item '/DataMgmt/Sample Letter' cannot be found.
    Please check my code and let me know what I can do to run this successfully. Once this is done, I would like to get help with passing a parameter (memberID) to the generate report for that member, through this application.
    Thank You in advance for your help.
    public static void SaveReport()
    RS2005.ReportingService2005 rs;
    RE2005.ReportExecutionService rsExec;
    // Create a new proxy to the web service
    rs = new RS2005.ReportingService2005();
    rsExec = new RE2005.ReportExecutionService();
    // Authenticate to the Web service using Windows credentials
    rs.Credentials = System.Net.CredentialCache.DefaultCredentials;
    rsExec.Credentials = System.Net.CredentialCache.DefaultCredentials;
    rs.Url = "http://myServer/ReportServer_DEVPROJECT/ReportService2005.asmx";
    rsExec.Url = "http://myServer/ReportServer_DEVPROJECT/ReportExecution2005.asmx";
    string historyID = null;
    string deviceInfo = null;
    string format = "pdf";
    Byte[] results;
    string encoding = String.Empty;
    string mimeType = String.Empty;
    string extension = String.Empty;
    RE2005.Warning[] warnings = null;
    string[] streamIDs = null;
    string fileName = @"c:\temp\samplerHAPeport.pdf";
    string _reportName = @"/DataMgmt/Sample HAP Letter";
    string _historyID = null;
    bool _forRendering = false;
    RS2005.ParameterValue[] _values = null;
    RS2005.DataSourceCredentials[] _credentials = null;
    RS2005.ReportParameter[] _parameters = null;
    try
    _parameters = rs.GetReportParameters(_reportName, _historyID, _forRendering, _values, _credentials);
    RE2005.ExecutionInfo ei = rsExec.LoadReport(_reportName, historyID);
    RE2005.ParameterValue[] parameters = new RE2005.ParameterValue[1];
    if (_parameters.Length > 0)
    //parameters[0] = new RE2005.ParameterValue();
    //parameters[0].Label = "";
    //parameters[0].Name = "";
    //parameters[0].Value = "";
    rsExec.SetExecutionParameters(parameters, "en-us");
    results = rsExec.Render(format, deviceInfo,
    out extension, out encoding,
    out mimeType, out warnings, out streamIDs);
    using (FileStream stream = File.OpenWrite(fileName))
    stream.Write(results, 0, results.Length);
    catch (Exception ex)
    throw ex;
    protected void BtnGenReport_Click(object sender, EventArgs e)
    SaveReport();

    Hello Devster,
    Thank you to post your question on TechNet forum.
    After reviewing the whole post, I have a question to you. You can access the report via the link, http://myServer/Reports_DEVPROJECT/Pages/Report.aspx?ItemPath=%2fData+Mgmt%2fSample+Letter.
    From the URL, I can see that the report is located at: /Data Mgmt/Sample Letter, instead of /DataMgmt/Sample Letter. In addition, I found that the target report is "/DataMgmt/Sample HAP Letter" instead of "/DataMgmt/Sample Letter" as the error described. I
    am not sure whether you post out the correct code segment.
    Please check the above things on your side, and hope it is helpful to you.
    Regards,
    Edward
    Edward Zhu
    TechNet Community Support

  • Error on calling a BDC from web dynpro while it runs fine through FM.

    I have created a function module for calling transaction ima2n using a BDC. This function module runs as intended, if function module is executed using SE37. if I call the same function module from ABAP dynpro view, on some event. I get the below error. I have debugged the function module but it runs fine. If i debug function module and run the BDC in mode "A" then i can see that BDC is performing the intended actions. This is a strange behaviour.. Please help.
    ABAP Dynpro Error
    Error when processing your request
    What has happened?
    The URL http://dev.corp.bharatpetroleum.com:8000/sap/bc/webdynpro/sap/zcapex_appln/ was not called due to an error.
    Note
    The following error text was processed in the system D01 : Exception condition "CREATE_ERROR" raised.
    The error occurred on the application server dev_D01_00 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Function: TREEV_CREATE_COLUMN_TREE of program SAPLCNT4
    Form: TVAR_INIT of program SAPLAIA1
    Module: INIT_VARIANTEN_TREE of program SAPLAIA1
    What can I do?
    If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system D01 in transaction ST22.
    If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server dev_D01_00 in transaction SM21.
    If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work process 0 in transaction ST11 on the application server dev_D01_00 . In some situations, you may also need to analyze the trace files of other work processes.
    If you do not yet have a user ID, contact your system administrator.
    Error code: ICF-IE-http -c: 100 -u: TESTAUTH32 -l: E -s: D01 -i: dev_D01_00 -w: 0 -d: 20111109 -t: 123625 -v: RABAX_STATE -e: RAISE_EXCEPTION
    HTTP 500 - Internal Server Error
    Your SAP Internet Communication Framework Team
    ST22 Dump screen
    User and Transaction
        Client.............. 100
        User................ "TESTAUTH32"
        Language Key........ "E"
        Transaction......... "IMA2N "
        Transactions ID..... "4EB9F7AE3E2403D7E10000000A481584"
        Program............. "SAPLCNT4"
        Screen.............. "SAPLAIA1 0306"
        Screen Line......... 5
        Information on Caller ofr "HTTP" Connection:
        Plug-in Type.......... "HTTP"
        Caller IP............. "10.72.46.106"
        Caller Port........... 8000
        Universal Resource Id. "/sap/bc/webdynpro/sap/zcapex_appln/"
    Information on where terminated
        Termination occurred in the ABAP program "SAPLC
         "TREEV_CREATE_COLUMN_TREE".
        The main program was "SAPLAIA1 ".
        In the source code you have the termination poi
        of the (Include) program "LCNT4U74".
    Error occurred during batch input processing
    Source Code :
                    CONTAINER
                 CHANGING
                    HANDLE
                    TREE_CONTROL_NOT_EXISTING
                    FAILED
                    CREATE_ERROR
                    CNTL_SYSTEM_ERROR.
    IF NOT TREE_CONTROL_NOT_EXISTING IS INITIAL
       RAISE TREE_CONTROL_NOT_EXISTING.
    ELSEIF NOT FAILED IS INITIAL.
       RAISE FAILED.
    ELSEIF NOT CREATE_ERROR IS INITIAL.
       -->>>>>>>>>RAISE CREATE_ERROR. " failed on this line
    ELSEIF NOT CNTL_SYSTEM_ERROR IS INITIAL.
       RAISE CNTL_SYSTEM_ERROR.
    ENDIF.
    regards,
    Parag Agrawal

    Hi,
    as BDC is calling screens and in Webdynpro ABAP you cannot use SAP GUI sceeen, you are getting short dump.
    Refer CNTL_SYSTEM_ERROR in webservices from r/3 system
    Thanks,
    Chandra

Maybe you are looking for

  • Ical invites seen off by 1 hour in Outlook for IST (India Standard Time)

    Hi, I have this strange problem since I migrated to MAC recently and started using iCal.  Earlier I was using Thunderbird with Lightning.  I am in the India time zone (IST).  Whenever I create an appointment using iCal and send invites (using MAC Mai

  • Urgent Problems with Web Start Security

    Has anyone used Java Web Start to load application? I have given all-permissions to the application when loaded and also give the AllPermission in Policy.setPolicy() inside the code. I encountered the following problems right now. (1) In the applicat

  • BAM installation

    Hi, I need to install BAM on Microsoft windows server 2003 R2 I have database 10g release 10.1.0.3.0 installed and also Microsoft .net framework 2.0 installed in the system. can i install BAM 10.1.3.1.0 on my system Regards

  • IP Profile reduced after installing HomeHub 4

    I recently installed a new Homehub 4 after receiving an email from BT asking me if I would like to replace my existing hub? Within 24hrs of installing the new hub my IP profile was reduced to 5 Mbps, which drastically reduced my download performance.

  • Downloading E-Mail

    I have tried to set up an e-mail connection on the E63.  All seems to be set up okay - but when I try to retrieve new messages I get an error message saying "secure connection not available".  What have I done wrong ?!