Encountered Incompatible combination of objects (QP0004) error!

Support Case for BOXI
Title: encountered Incompatible combination of objects (QP0004) error!
BOXI version: Business Objects boe XIR2 SP2
OS: PARISC HPUX 11.11
Description:
In the Customer Inventory report document, there are three report tabulation and three filter conditions to limit Display relevant customer and date result
It works incorrectly while the report has three filter conditions,but two filter conditions it works correctly. in the begin i doubt the generate sqls are incorrectly,i copy the sql sentence in the sqlplus envirement and execute , sql sentence syntax and result were correctly.but in BO Edit Query when the report has three filter conditions,i click SQL button and generate sqls there display error .
so i checked design object and found out why will appear this error, in the designer I put this object(name is 'Is Srvc Level Created in time frame') into Query panel, then click SQL button generate sql,
This mistake will show:'Incompatible combination of objects (QP0004)'
'Is Srvc Level Created in time frame' object sql code as follows:
select:
           CASE WHEN @Select(Service Level\Service Level Creation Date) >= @Select(Time\TIME - Period Start Date) AND @Select(Service Level\Service Level Creation Date)  <= @Select(Time\TIME - Period End Date) THEN 1 ELSE 0 END
where:
filter conditions generate sqls like below sentence,please pay attention to bold sentence:
SELECT
/*+ LEADING(time_dim) */ 1,
CUSTOMER_DIM.NAME,
( SI_AND_SCI_DIM.LABEL )||' ('||( SI_AND_SCI_DIM.NAME )||')',
( SLA_DIM.LABEL )||' ('||( SLA_DIM.NAME )||')',
CAST(SI_AND_SCI_DIM.DELETION_DATE AS DATE),
CAST(SLA_DIM.CREATION_DATE AS DATE),
CAST(SLA_DIM.DELETION_DATE AS DATE),
( CUSTOMER_DIM.LABEL )||' ('||( CUSTOMER_DIM.NAME )||')'||'['||( CUSTOMER_DIM.ID )||']',
CAST(SI_AND_SCI_DIM.CREATION_DATE AS DATE),
SLA_DIM.NAME,
CAST(CUSTOMER_DIM.CREATION_DATE AS DATE),
CASE WHEN ( CAST(SLA_DIM.CREATION_DATE AS DATE) ) >= ( CAST(bo_tools.from_gmt_to_time_zone(TIME_FRAME_START.FULL_DATE) AS DATE) ) AND ( CAST(SLA_DIM.CREATION_DATE AS DATE) ) <= ( CAST(bo_tools.from_gmt_to_time_zone(TIME_FRAME_END.FULL_DATE) AS DATE) ) THEN 1 ELSE 0 END,
CASE WHEN ( CAST(SI_AND_SCI_DIM.CREATION_DATE AS DATE) ) >= ( CAST(bo_tools.from_gmt_to_time_zone(TIME_FRAME_START.FULL_DATE) AS DATE) ) AND ( CAST(SI_AND_SCI_DIM.CREATION_DATE AS DATE) ) <= ( CAST(bo_tools.from_gmt_to_time_zone(TIME_FRAME_END.FULL_DATE) AS DATE) ) THEN 1 ELSE 0 END,
CASE WHEN ( CAST(SL_DIM.CREATION_DATE AS DATE) ) >= ( CAST(bo_tools.from_gmt_to_time_zone(TIME_FRAME_START.FULL_DATE) AS DATE) ) AND ( CAST(SL_DIM.CREATION_DATE AS DATE) ) <= ( CAST(bo_tools.from_gmt_to_time_zone(TIME_FRAME_END.FULL_DATE) AS DATE) ) THEN 1 ELSE 0 END FROM
SI_AND_SCI_DIM,
CUSTOMER_DIM,
SLA_DIM,
TIME_DIM TIME_FRAME_START,
TIME_DIM TIME_FRAME_END,
GRANULARITY_DIM,
SI_VIEW_SCI_HEALTH,
VIEW_TIME_DIM
WHERE
( CUSTOMER_DIM.ID=SI_VIEW_SCI_HEALTH.DM$CUSTOMER_REF )
AND ( SI_VIEW_SCI_HEALTH.DM$TIME_REF=VIEW_TIME_DIM.ID )
AND ( SI_VIEW_SCI_HEALTH.DM$SI_OR_SCI_REF=SI_AND_SCI_DIM.ID )
AND ( SI_VIEW_SCI_HEALTH.DM$GRANULARITY=GRANULARITY_DIM.KEY_ID )
AND ( VIEW_TIME_DIM.ID>=TIME_FRAME_START.ID )
AND ( VIEW_TIME_DIM.ID<TIME_FRAME_END.ID )
AND ( SI_VIEW_SCI_HEALTH.DM$SLA_REF=SLA_DIM.ID )
AND ( SI_AND_SCI_DIM.IS_SERVICE = 'T' )
AND ( SLA_DIM.CUSTOMER_REF = ( CUSTOMER_DIM.ID ) )
AND
( ( CUSTOMER_DIM.LABEL ) in decode(@Prompt('Choose Customer','A','Customer\Customer Label',MONO,FREE), '*', ( CUSTOMER_DIM.LABEL ), @Prompt('Choose Customer','A','Customer\Customer Label',MONO,FREE)) )
AND
( ( TIME_FRAME_START.ID ) = bo_tools.getFirstTimeRef(
'M',
NULL,
'YYYY/MM',
@Prompt('Enter month and year (date format: YYYY/MM)','A',,MONO,FREE))
AND
( TIME_FRAME_END.ID ) = bo_tools.getLastTimeRef(
'M',
@Prompt('Enter month and year (date format: YYYY/MM)','A',,MONO,FREE),
'YYYY/MM') )
AND
GRANULARITY_DIM.KEY_ID = 'M'
However at the same time, if there has third filter condition,BO Edit Query can not generate sqls and display error.
I confirm by checking the sqls sentence in the sqlplus, the results are correctly.but in BO Edit Query are not correctly.
Any one who encountered this before? I think it is a bug, I post this message asking for help and hope it can be fixed soon.
if you need more info I can send you screen shot, thanks!

Sorry I didn't read the whole thing above.. But I can advice you as I encountered the same error.
It happened to me because of a loop that was forming between the tables .
loop in the sense: A-B-C-D-A
When i checked Short Cut join in the join properties I was not getting this error message. but... it was joining through a different longer path. It was then I realized that it had a loop. You can have a careful look to see if you are having the same issue. hope it helps people in future.

Similar Messages

  • Encountered Incompatible combination of objects (QP0004) error! help please

    Support Case for BOXI
    Title: encountered Incompatible combination of objects (QP0004) error!
    BOXI version: Business Objects boe XIR2 SP2
    OS: PARISC HPUX 11.11
    Description:
    In the Customer Inventory report document, there are three report tabulation and three filter conditions to limit Display relevant customer and date result
    It works incorrectly while the report has three filter conditions,but two filter conditions it works correctly. in the begin i doubt the generate sqls are incorrectly,i copy the sql sentence in the sqlplus envirement and execute , sql sentence syntax and result were correctly.but in BO Edit Query when the report has three filter conditions,i click SQL button and generate sqls there display error .
    so i checked design object and found out why will appear this error, in the designer I put this object(name is 'Is Srvc Level Created in time frame') into Query panel, then click SQL button generate sql,
    This mistake will show:'Incompatible combination of objects (QP0004)'
    'Is Srvc Level Created in time frame' object sql code as follows:
    select:
               CASE WHEN @Select(Service Level\Service Level Creation Date) >= @Select(Time\TIME - Period Start Date) AND @Select(Service Level\Service Level Creation Date)  <= @Select(Time\TIME - Period End Date) THEN 1 ELSE 0 END
    where:
    filter conditions generate sqls like below sentence,please pay attention to bold sentence:
    SELECT
    /*+ LEADING(time_dim) */ 1,
    CUSTOMER_DIM.NAME,
    ( SI_AND_SCI_DIM.LABEL )||' ('||( SI_AND_SCI_DIM.NAME )||')',
    ( SLA_DIM.LABEL )||' ('||( SLA_DIM.NAME )||')',
    CAST(SI_AND_SCI_DIM.DELETION_DATE AS DATE),
    CAST(SLA_DIM.CREATION_DATE AS DATE),
    CAST(SLA_DIM.DELETION_DATE AS DATE),
    ( CUSTOMER_DIM.LABEL )||' ('||( CUSTOMER_DIM.NAME )||')'||'['||( CUSTOMER_DIM.ID )||']',
    CAST(SI_AND_SCI_DIM.CREATION_DATE AS DATE),
    SLA_DIM.NAME,
    CAST(CUSTOMER_DIM.CREATION_DATE AS DATE),
    CASE WHEN ( CAST(SLA_DIM.CREATION_DATE AS DATE) ) >= ( CAST(bo_tools.from_gmt_to_time_zone(TIME_FRAME_START.FULL_DATE) AS DATE) ) AND ( CAST(SLA_DIM.CREATION_DATE AS DATE) ) <= ( CAST(bo_tools.from_gmt_to_time_zone(TIME_FRAME_END.FULL_DATE) AS DATE) ) THEN 1 ELSE 0 END,
    CASE WHEN ( CAST(SI_AND_SCI_DIM.CREATION_DATE AS DATE) ) >= ( CAST(bo_tools.from_gmt_to_time_zone(TIME_FRAME_START.FULL_DATE) AS DATE) ) AND ( CAST(SI_AND_SCI_DIM.CREATION_DATE AS DATE) ) <= ( CAST(bo_tools.from_gmt_to_time_zone(TIME_FRAME_END.FULL_DATE) AS DATE) ) THEN 1 ELSE 0 END,
    CASE WHEN ( CAST(SL_DIM.CREATION_DATE AS DATE) ) >= ( CAST(bo_tools.from_gmt_to_time_zone(TIME_FRAME_START.FULL_DATE) AS DATE) ) AND ( CAST(SL_DIM.CREATION_DATE AS DATE) ) <= ( CAST(bo_tools.from_gmt_to_time_zone(TIME_FRAME_END.FULL_DATE) AS DATE) ) THEN 1 ELSE 0 END FROM
    SI_AND_SCI_DIM,
    CUSTOMER_DIM,
    SLA_DIM,
    TIME_DIM TIME_FRAME_START,
    TIME_DIM TIME_FRAME_END,
    GRANULARITY_DIM,
    SI_VIEW_SCI_HEALTH,
    VIEW_TIME_DIM
    WHERE
    ( CUSTOMER_DIM.ID=SI_VIEW_SCI_HEALTH.DM$CUSTOMER_REF )
    AND ( SI_VIEW_SCI_HEALTH.DM$TIME_REF=VIEW_TIME_DIM.ID )
    AND ( SI_VIEW_SCI_HEALTH.DM$SI_OR_SCI_REF=SI_AND_SCI_DIM.ID )
    AND ( SI_VIEW_SCI_HEALTH.DM$GRANULARITY=GRANULARITY_DIM.KEY_ID )
    AND ( VIEW_TIME_DIM.ID>=TIME_FRAME_START.ID )
    AND ( VIEW_TIME_DIM.ID<TIME_FRAME_END.ID )
    AND ( SI_VIEW_SCI_HEALTH.DM$SLA_REF=SLA_DIM.ID )
    AND ( SI_AND_SCI_DIM.IS_SERVICE = 'T' )
    AND ( SLA_DIM.CUSTOMER_REF = ( CUSTOMER_DIM.ID ) )
    AND
    ( ( CUSTOMER_DIM.LABEL ) in decode(@Prompt('Choose Customer','A','Customer\Customer Label',MONO,FREE), '*', ( CUSTOMER_DIM.LABEL ), @Prompt('Choose Customer','A','Customer\Customer Label',MONO,FREE)) )
    AND
    ( ( TIME_FRAME_START.ID ) = bo_tools.getFirstTimeRef(
    'M',
    NULL,
    'YYYY/MM',
    @Prompt('Enter month and year (date format: YYYY/MM)','A',,MONO,FREE))
    AND
    ( TIME_FRAME_END.ID ) = bo_tools.getLastTimeRef(
    'M',
    @Prompt('Enter month and year (date format: YYYY/MM)','A',,MONO,FREE),
    'YYYY/MM') )
    AND
    GRANULARITY_DIM.KEY_ID = 'M'
    However at the same time, if there has third filter condition,BO Edit Query can not generate sqls and display error.
    I confirm by checking the sqls sentence in the sqlplus, the results are correctly.but in BO Edit Query are not correctly.
    Any one who encountered this before? ,I post this message asking for help and hope it can be fixed soon.
    if you need more info I can send you screen shot, thanks!

    Sorry I didn't read the whole thing above.. But I can advice you as I encountered the same error.
    It happened to me because of a loop that was forming between the tables .
    loop in the sense: A-B-C-D-A
    When i checked Short Cut join in the join properties I was not getting this error message. but... it was joining through a different longer path. It was then I realized that it had a loop. You can have a careful look to see if you are having the same issue. hope it helps people in future.

  • An error was encountered while processing images.  An error was encountered while flattening transpa

    I've looked around on the internet for a solution for this, but I'm finding no answers that help.
    I keep getting the following errors in Acrobat Pro 9.3 when trying to use the pdf optimizer. It's driving me nuts. I'm trying to compress an Indesign CS5 generated pdf. It contains transparent objects, and all the images are .ai files.
    If I leave the transparency box unchecked I immediately get this error:
    An error was encountered while processing images.
    If I check Transparency, it shows the little loading bar, as usual, and then when that's done I get this:
    An error was encountered while flattening transparent objects.
    The most annoying part of this, is that I've been using this same file for months now. Every so often the disclosures on it get updated, and I make the edits in Indesign, export, add form fields, and compress using pdf optimizer. Why all of a sudden is it grumpy? Is this a CS5 issue, because this form may not have been updated since I upgraded to CS5 from CS4?
    I've tried swapping out the .ai files with newly saved CS5 versions. I've tried flattening layers pre-export. I cannot remove transparency, so that's not an option. But, as a test I removed all images before export and the pdf compressed fine. Any ideas? There's no broken links or anything in the Indesign file.

    I had the same problem - a pdf created by CS5.5 suddenly could not be optimised - I was cropping the pdf (to get rid of trim marks) first before optimising and this threw up the error message "An error was encountered while flattening transparency"  I then optimised first before cropping the pdf and this seemed to get around this problem.
    Hope this helps.

  • Multiple web services on single server causing object undefined errors

    Hi,
    I've currently got a bit of a strange problem within a web service that is proving difficult to debug.
    There are the web service urls :
         api.domain.com                -> /var/www/html/api.domain.com/            -> CF mapping to MYSERVICE
         testapi.domain.com          -> /var/www/html/testapi.domain.com/     -> CF mapping to MYSERVICE_test
    In both instances the cfcs that contain the code to be translated into a WSDL reside in /api/..., in the case of this example, /api/common.cfc.  wsargs constists simply of refreshwsdl true.
    If I call the following 2 lines ...
         obj_myservice = CreateObject('webservice','http://api.domain.com/api/common.cfc?wsdl',wsargs);
         obj_myservice_test = CreateObject('webservice','http://testapi.domain.com/api/common.cfc?wsdl',wsargs);
    I then call the same method in both, and they are successful.  When checking the "Data & Services" -> "Web Services" panel within the CF control panel, only the web service "http://api.domain.com/api/common.cfc?wsdl" is listed, and not testapi.domain.com......
    If I reverse the order in which the WSDL's are loaded then this switches, and testapi.domain.com..... gets listed under "Web Services" but api.domain.com..... does not.  In essence it appears as though for some reason the CF server overwrites one with the other.  The exact "object undefined" error is proving difficult to reproduce reliably.
    This appears to happen no matter which server is accessing the web service, be it the same server or a remote server.  All servers involved are running CF8.  Accessing the 2 WSDL files in a browser results in the 2 WSDLs being rendered correctly with different namespace values.
    On the same server are 2 more services
         MYSERVICE2
         MYSERVICE2_test
    These reside in the /api2 directories on the same 2 subdomains, api. and testapi.   MYSERVICE2 and MYSERVICE2_test appear to conflict with each other.  MYSERVICE and MYSERVICE_test appear to conflict with each other.  MYSERVICE and MYSERVICE2 do not appear to conflict with each other.
    Is there a configuration change or anything like that which I should be aware of that would prevent me doing the above?  The 2 /api/ directories are nearly identical with the exception that the namespace and complex type names have been set to http://api.domain.com & MYSERVICE in the first, and http://testapi.domain.com & MYSERVICE_test in the second url.
    I have also tried mapping /MYSERVICE and /MYSERVICE_test within /opt/coldfusion8/WEB-INF/jrun-web.xml to no avail.
    Any help would be appreciated.  If there is any useful information that I have missed off please let me know and I'll dig it out.
    - Simon H

    Hi,
    As an extension to the above
    Server                Test service         "Live" service
    1 ("dev")                devtest                   devlive               http://dev(test/live).domain.com
    2 ("test")                testtest                   testlive               http://test(test/live).domain.com
    I currently have a test script (TEST1) that performs the following :
    CreateObject + call method from devlive
    CreateObject + call method from devtest
    CreateObject + call method from testtest
    The script errors on the third, when it attempts to call a method from devtest.  On the server on which this test script is running, by the end of this, there are the following 2 web services in the Coldfusion control panel :
    http://devlive.domain.com/api/common.cfc?wsdl
    http://testtest.domain.com/api/common.cfc?wsdl
    I have a second test script (TEST2) on a second server distinctfrom the first test script server, on which the following is performed :
    CreateObject + call method from testlive
    If I execute TEST2, then it executes fine.  If I execute TEST1 straight after, then I receive the following error on TEST1
    AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
    faultSubcode:
    faultString: org.xml.sax.SAXException: Deserializing parameter 'objectFetchReturn':  could not find deserializer for type {http://common.types.WEBSERVICE_test}details
    Where WEBSERVICE.types.common.details is a complex type (/api/types/common/details.cfc). If I then run the TEST2 script again straight after, the same error appears (with WEBSERVICE in place of WEBSERVICE_test).  If I execute TEST2 twice in a row, or TEST1 twice in a row, then the error disappears"test" server has got jrun-web.xml  edited to include the following, which "dev" does not.
      <virtual-mapping>
        <resource-path>/WEBSERVICE_test</resource-path>
        <system-path>/var/www/html/testapi.domain.com/api</system-path>
      </virtual-mapping>
      <virtual-mapping>
        <resource-path>/WEBSERVICE</resource-path>
        <system-path>/var/www/html/api.domain.com/api</system-path>
      </virtual-mapping>
    I hope that this extended explaination helps.
    Simon H

  • Object expected error in java script...

    Dear All,
    we have Java Struts 1.1...
    I am getting "Object Expected" error while processing jsp page.
    I want to modify the text field so that only number and one dot(.) should be entered.
    I have one function and i am calling it as "onkeypress" event.
    Below is the function....
    function isNumberKey(evt)
    alert("here");
    var charCode;
    clearerror();
    charCode = (evt.which) ? evt.which : event.keyCode
    alert("here");
    if (charCode != 46 && charCode > 31 && (charCode < 48 || charCode > 57))
    return false;
    return true;
    and below are html tags...
    <td>Total No Of Customers  *</td>
    <td><html:text property="noOfCustomersUnit" onkeypress="return isNumberKey(event)" style="width:160px"/></td> Please suggest how to solve the issue....

    Why? This is not a javascript forum.
    In any case, run it in firefox which has decent Javascript error handling functionality, then do some Google searches on Javascript event handling to try and figure out what you're doing wrong. It might be something browser specific and I suggest you look into using something like JQuery for standardized and proven ways to do things like event handling logic in stead of rolling your own Javascript stuff.

  • CO Object assignment error in MB1B

    Dear All,
    While doing transfer posting with movement type 453, system is showing CO object assignment error.
    CO object not assigned to cost element error..........
    Wiating for reply.
    Thanks & regards

    hi
    go to OKB9 here give assignment of cost center and cost element
    regards
    kunal

  • Object Referenced Error When calling the Windows Form during Runtime

    Hi,
    I am getting  Object reference errors when running windows form during runtime. In debugging mode in MS Visual studio 2005, I am not getting this error. I'm calling the window form from menu and called the window in a thread as suggested in one of forums . I don't see anyone in the forum mentioned this problem I have. Any help would be deeply appreciated. Below are the error and code samples.
    ERROR Message
    Exception Text **************
    System.NullReferenceException: Object reference not set to an instance of an object.
       at Project1.Loadxml.Loadxml_Load(Object sender, EventArgs e)
       at System.Windows.Forms.Form.OnLoad(EventArgs e)
       at System.Windows.Forms.Form.OnCreateControl()
       at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
       at System.Windows.Forms.Control.CreateControl()
       at System.Windows.Forms.Control.WmShowWindow(Message& m)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
       at System.Windows.Forms.ContainerControl.WndProc(Message& m)
       at System.Windows.Forms.Form.WmShowWindow(Message& m)
       at System.Windows.Forms.Form.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    Edited by: Albert Tio on Feb 16, 2011 9:55 AM

    Here is the code.
    Option Strict Off
    Option Explicit On
    Friend Class GetEvents
        Public WithEvents SBO_Application As SAPbouiCOM.Application
        Public SboGuiApi As SAPbouiCOM.SboGuiApi
        Public oForm As SAPbouiCOM.Form
        Public oDBDataSource As SAPbouiCOM.DBDataSource
        Public oCompany As SAPbobsCOM.Company
        Public RS As SAPbobsCOM.Recordset
        Public oPrev_Bank As String, oPrev_AcctType As String
        Public oLoadXml As Loadxml
        Public Sub SetApplication()
                 'Dim SboGuiApi As SAPbouiCOM.SboGuiApi
            Dim sConnectionString As String
            SboGuiApi = New SAPbouiCOM.SboGuiApi
            ' by following the steps specified above, the following
            ' statment should be suficient for either development or run mode
            sConnectionString = Environment.GetCommandLineArgs.GetValue(1)
            ' connect to a running SBO Application
            SboGuiApi.Connect(sConnectionString)
            ' get an initialized application object
            SBO_Application = SboGuiApi.GetApplication()
        End Sub
        Public Sub SetCompany()
            Dim ret As Long
            Dim MsgStr As String
            Dim Cookie As String
            Dim ConnStr As String
            Try
                oCompany = New SAPbobsCOM.Company
                Cookie = oCompany.GetContextCookie
                ConnStr = SBO_Application.Company.GetConnectionContext(Cookie)
                '//before setting the SBO login context make sure the company is not connected
                If oCompany.Connected = True Then
                    oCompany.Disconnect()
                End If
                ret = oCompany.SetSboLoginContext(ConnStr)
                If Not ret = 0 Then
                    Exit Sub
                End If
                ret = oCompany.Connect
            Catch ex As Exception
                SBO_Application.MessageBox(ex.Message)
            End Try
            MsgStr = ""
            If Not ret = 0 Then
                oCompany.GetLastError(ret, MsgStr)
                SBO_Application.MessageBox(MsgStr)
            Else
            End If
        End Sub
        Public Sub New()
            MyBase.New()
            ' set SBO_Application with an initialized application object
            SetApplication()
            SetCompany()
            AddMenuItems()
        End Sub
        Private Sub SBO_Application_MenuEvent(ByRef pVal As SAPbouiCOM.MenuEvent, ByRef BubbleEvent As Boolean) Handles SBO_Application.MenuEvent
            Dim myThread As New System.Threading.Thread(New System.Threading.ThreadStart(AddressOf LoadXmlMainThread))
            Try
                If (pVal.MenuUID = "MySubMenu") And (pVal.BeforeAction = False) Then
                    'SBO_Application.MessageBox("My sub menu item was clicked")
                    '// Create a form to be launched in response to a click on the
                    '// new sub menu item
                    myThread.SetApartmentState(System.Threading.ApartmentState.STA)
                    myThread.Start()
                    'Loadxml.ShowDialog()
                                End If
            Catch ex As Exception
                SBO_Application.MessageBox("1." & ex.Message)
            End Try
            'If (pVal.MenuUID = "MyGoToMenu") And (pVal.BeforeAction = False) Then
            '    SBO_Application.MessageBox("My GoTo Menu was clicked")
            'End If
            'If (pVal.MenuUID = "MySecondGoToMenu") And (pVal.BeforeAction = False) Then
            '    SBO_Application.MessageBox("My Second GoTo Menu was clicked")
            'End If
        End Sub
        Private Sub LoadXmlMainThread()
            'Dim lLoadxml As New Loadxml
            Try
                oLoadXml = New Loadxml
                oLoadXml.WindowState = FormWindowState.Maximized
                oLoadXml.ShowInTaskbar = True
                oLoadXml.TopMost = True
                oLoadXml.Activate()
                Application.Run(oLoadXml)
            Catch ex As Exception
                SBO_Application.MessageBox("2." & ex.Message)
            End Try
        End Sub
        Private Sub AddMenuItems()
            '// Let's add a separator, a pop-up menu item and a string menu item
            Dim oMenus As SAPbouiCOM.Menus
            Dim oMenuItem As SAPbouiCOM.MenuItem
            Dim i As Integer '// to be used as counter
            Dim lAddAfter As Integer
            Dim sXML As String
            '// Get the menus collection from the application
            oMenus = SBO_Application.Menus
            'Save an XML file containing the menus...
            'sXML = SBO_Application.Menus.GetAsXML
            'Dim xmlD As System.Xml.XmlDocument
            'xmlD = New System.Xml.XmlDocument
            'xmlD.LoadXml(sXML)
            'xmlD.Save("c:
    mnu.xml")
            Dim oCreationPackage As SAPbouiCOM.MenuCreationParams
            oCreationPackage = SBO_Application.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_MenuCreationParams)
            oMenuItem = SBO_Application.Menus.Item("43520") 'moudles'
            Dim sPath As String
            sPath = Application.StartupPath
            'sPath = sPath.Remove(sPath.Length - 3, 3)
            If sPath.EndsWith("\") = False Then
                sPath = sPath & "\"
            End If
            '// find the place in wich you want to add your menu item
            '// in this example I chose to add my menu item under
            '// SAP Business One.
            oCreationPackage.Type = SAPbouiCOM.BoMenuType.mt_POPUP
            oCreationPackage.UniqueID = "MyMenu01"
            oCreationPackage.String = "Unbridle Menu"
            oCreationPackage.Enabled = True
            oCreationPackage.Image = sPath & "unbridle.bmp"
            oCreationPackage.Position = 15
            oMenus = oMenuItem.SubMenus
            Try ' If the manu already exists this code will fail
                oMenus.AddEx(oCreationPackage)
                '// Get the menu collection of the newly added pop-up item
                oMenuItem = SBO_Application.Menus.Item("MyMenu01")
                oMenus = oMenuItem.SubMenus
                '// Create s sub menu
                oCreationPackage.Type = SAPbouiCOM.BoMenuType.mt_STRING
                oCreationPackage.UniqueID = "MySubMenu"
                oCreationPackage.String = "Unbridle Monitoring"
                oMenus.AddEx(oCreationPackage)
            Catch er As Exception ' Menu already exists
                'SBO_Application.MessageBox("Menu Already Exists")
            End Try
        End Sub
    End Class
    Public Class Loadxml
        'Inherits System.Windows.Forms.Form
        Public sBPpath As String
        Public sGLpath As String
        Public sBillpath As String
        Public bRun As Boolean
        Private Sub Loadxml_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
            Me.TextGL.Text = System.Configuration.ConfigurationSettings.AppSettings("GLAcctDownloadPath").ToString()
            Me.TextBP.Text = System.Configuration.ConfigurationSettings.AppSettings("BPAcctUPloadPath").ToString()
            Me.TextBill.Text = System.Configuration.ConfigurationSettings.AppSettings("BillUPloadPath").ToString()
            Me.NotifyIcon1.Visible = False
        End Sub
    End Class

  • "Object Required" error when using the script block from the code behind

    I try to use the following script block on the code behind page
    <script defer='true' id='NavID' type='text/javascript'>Nav();</script>
    and the function Nav() is on the .aspx page. It gives me the "Object Required" error message. BUT if I add an alert("hello!!!") line inside of the Nav() function, it works fine after the user closes the alert box. Has anyone experienced a similar problem? Please help. Thanks.

    There is no way to troubleshoot this by looking at a picture of the diagram. LabVIEW 6 is almost prehistory and many things have changed, especially the file IO all looks different so it is impossible to tell what you are doing.
    Error 7 is file not found, so most likely your string operations are not correct. What are the full strings? What is the final file name (maybe you are missing a "\" or maybe you are on a different OS type). Put an indicator at the path wire to see what's happening!
    Is this a datalog file?
    (Overall, the code is a bit suspect. Nobody needs a seven frame flat sequence. ) Why do a control and an indicator have the same label?)
    LabVIEW Champion . Do more with less code and in less time .

  • OBN not working in portal 'missing Object ID' error

    Hi,
    We have implemented MSS though the portal, and am having problems with the org profile and position profile firing up via OBN from employee profile.
    It works fine though NWBC, but for some reason not in the portal.
    I get an ‘missing Object ID’ error.
    Anyone got any ideas?
    Thanks

    Please don't doublepost the question over all places. Stick to one topic. Continue there: [http://forum.java.sun.com/thread.jspa?threadID=5301671]

  • When I click on firefox to open in my Mac, an error shows up: plug-in object Type error: id is undefined. When I click on the OK button, firefox opens. This never happened in FF 3. What is this?

    Also when I am in a site, such as an account, and click on a highlighted link, I get another error, {Javascript Application] can't create mcafee plug-in object: Type Error: components. classes [cid] is undefined. The only mcafee I had on my computer was the secure search and I uninstalled it, but I still get this message. When I click on the OK button with the error message, then the link opens up.

    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]

  • Object Expected error in Struts JSP file

    Hi,
    I have a very simple JSP file as shown below.
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <%@ taglib uri="/tags/struts-html" prefix="html" %>
    <html>
    <head>
    <title>pqGlobalStoreProfile.jsp</title>
    </head>
    <body onLoad="getSessionData();disableFieldsLocale();">
    <html:form action="/pqGlobalStoreProfile.do">
    <table cellpadding=5 cellspacing=0>
         <tr><td colspan=2><h3><b>Pq Global Store/Modify Profile</b></h3></td></tr>
         <tr><td>Profile Key *</td><td><html:text property="profileKey"/></td></tr>
    </table>
    </html:form>
    </body>
    </html>
    It is throwing an "Object Expected' error at Line 9 Char 1.
    I am not sure about what is causing this error.
    Thanks.

    it's a Javascript error, cuz it's calling these 2 methods when the page loads...
    onLoad="getSessionData();disableFieldsLocale();"
    Where are these methods defined? Cuz I don't see any inline Javascript, nor a linked script.
    I hope you don't think that those onload functions are going to call Java code defined in the JSP page or something, cuz... well, they aren't.

  • Inexplicable Object Required error in status bar?  Crazy.

    Hope someone can help.  Firstly, I'm developing in Classic ASP, DW8.0.2.
    I am receiving an inexplicable "Object Required" error in my status bar on the following page of a website I am developing:
    http://www.moviegossip.co.uk/movie-reviews.asp?m=1
    When the page initially loads, there is no error.  But click a link, or hit Refresh and the error appears!  And there are loads of errors too!  What gives?
    Webpage error details
    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 1.1.4322; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
    Timestamp: Fri, 12 Feb 2010 16:04:45 UTC
    Message: Object required
    Line: 53
    Char: 3
    Code: 0
    URI: http://www.moviegossip.co.uk/movie-reviews.asp?m=1
    Message: Object required
    Line: 53
    Char: 3
    Code: 0
    URI: http://www.moviegossip.co.uk/movie-reviews.asp?m=1
    Message: Object required
    Line: 53
    Char: 3
    Code: 0
    URI: http://www.moviegossip.co.uk/movie-reviews.asp?m=1
    Message: Object required
    Line: 53
    Char: 3
    Code: 0
    URI: http://www.moviegossip.co.uk/movie-reviews.asp?m=1
    Message: Object required
    Line: 53
    Char: 3
    Code: 0
    URI: http://www.moviegossip.co.uk/movie-reviews.asp?m=1
    Message: Object required
    Line: 53
    Char: 3
    Code: 0
    URI: http://www.moviegossip.co.uk/movie-reviews.asp?m=1
    Message: Object required
    Line: 53
    Char: 3
    Code: 0
    URI: http://www.moviegossip.co.uk/movie-reviews.asp?m=1
    Message: Object required
    Line: 53
    Char: 3
    Code: 0
    URI: http://www.moviegossip.co.uk/movie-reviews.asp?m=1
    Line 53 of my code is:
    rsMOVIE_cmd.CommandText = "SELECT movieID, movie, cinedvd, moviecert, movierelease, moviecast, movietrailerID, livemovie FROM dbo.movies WHERE movieID = ?"
    However, I know this isn't the problem because I've completely rewritten the code and it always flags line 53, char 3 no matter what code is on that line.
    Hope someone can shed some light on the matter.  Thanks.
    Regards
    Nath.

    Thank you, again, for your response Bregent.
    The line in the client code, that's being reported as being an error is:
    <div class="reviewlayout">
    Can I just confirm with you though, when the page initially loads I don't receive the error.  It's only when I either select another link, from that page, or refresh the page.  Is that also happening for you?  It sounds like you're not seeing the error initially either, but I am wondering if, like me, you receive the error when you choose a link, or refresh?  I'm getting that in IE8 and Firefox 3.6:
    http://www.moviegossip.co.uk/movie-reviews.asp?m=1
    Why would an innocuous bit of CSS code be causing this error?
    Appreciate the input, thanks.
    Nath.

  • Run-time error '1004' Application-Defined or object-defined error

    Hello friends,
    My requirement is to make the cells under Columns Actual, forecast and target (Dimesnion Category) Locked.
    I've used various methods like GetOnlyRange but it didnt work.
    Now, i've selected all the cells of the sheet, where user can input and made them unlocked. ( from Right-click>FormatCells>Protection tab-->Locked checkbox unchecked)
    Then, go to "review" tab, click "Allow Users to edit Ranges",-> Protect Sheet---> ticked "Unlocked Cells"
    Then go to WorkBook Options and set a password for the worksheet.
    But on expand, I'm facing Run-time error '1004' Application-Defined or object-defined error.
    Please help.
    Please help.

    Hi,
    I think that  is VBA Runtime error, you can fix these errors by downloading in various sites.
    http://www.articlesbase.com/data-recovery-articles/vba-runtime-error-1004-application-defined-or-object-defined-error-fix-these-errors--1339060.html
    You can try with the above link.  I hope this could solve your problem.
    Regards,
    B.S.RAGHU

  • Runtime Error 1101. Application-defined or object-defined error

    I am updating VBA code from MS project 2003 plans  to 2013, and have come up with the following error message. 
    Run-time error 1101: Application-defined or object-defined error.
    Any help to remedy the situation would be greatly appreciated.
    Thanks

    jfrh,
    Normally you shouldn't have to make any changes to VBA written under Project 2003 in order for it to work with later versions however sometimes certain statements may need some "tweaking".
    The general description of the run-time error doesn't help us much unless we know a little bit more about your macro. We don't necessarily need to see the whole macro but we do need some context as a starting point. What is the macro supposed to do generally?
    Which line of code is highlighted when the error occurs?
    John

  • Application-defined or Object-defined error

    Hello,
    When I open Input schedule through open dynamic templates I get the following error message
    Application-defined or Object-defined error
    Version : BPC 7.0
    SP05
    Request your guidance.
    Thanks,
    Ramsiva

    I have experienced much the same problem which I have documented in details here:
    Excel Spreadsheet being opened in preview mode by some machines
    (Note that I am only surmising the preview mode is the problem as I get the exact same error if I open it on the Development machine in preview mode).
    My only workaround at the moment is to open the spreadsheet on the target machine and then replace the vba code and save the file locally (Copy Paste), or apply a digital certificate to the existing VBA code, although the latter only seems to work sometimes.
    If I fix the problem on the target machine and then copy, open and close the file on the development machine when the file is sent back to the target machine the problem occurs again.
    I have ruled out emailing being the problem as I have copied the file instead of emailing. 
    The development machine had a number of Office applications and Windows 7 updates applied around the time that the problem occurred, i.e. one day everything is fine, the next day it is impossible to run a new spreadsheet on certain machines.
    The highlighted error is also with a .select statement but I isolated the code and put it into a test spreadsheet and that ran okay so it seems to be a more subtle problem.
    It doesn't happen on all the machines and I can't see any pattern as to what machines it works on and those it doesn't. They are mostly Windows 7 64bit running Office 2010 and 2013, seems to be about 50/50 split as to working and not working. 
    I've ensured that the Windows Updates are up to date on all the problem machines.
    I think it is the same problem and it helps knowing that someone else has experienced the same thing in order that I don't think I'm going crazy but it's a major problem for me and none of the suggestions so far seem to be close to explaining what is going
    on.
    If anyone wants samples in order to investigate the problem I am more than happy to send them the spreadsheets. 

Maybe you are looking for

  • External hard drive nightmare

    Hi all, first time posting but this site has helped me several times in the past so thank you for that, Having an absolute nightmare with an external drive. I've got a Hitachi Touro Pro 4TB USB 3.0 that recently had some trouble with the power supply

  • Keywords cannot be assigned to multiple images

    A keyword can NOT be assigned to multiple images at the same time when following the procedures outlined in the Aperture help. I can't find this problem addressed in a FAQ or knowledge base. We're told to select multiple images in the Browser window

  • I lost the administrator in Users

    When I open my MacBook Air Mavericks, there is a Guest sign in and Others sign in. My sign in is gone. When I go to Users and Groups in Preferences there is no Administrator. I have a working Apple ID. What are the steps to add me as the Administrato

  • Performance Issue in NetworkInterface.getNetworkInterface in windows JRE 7

    NetworkInterface.getNetworkInterface() call takes 10 times more time when run in Windows JRE 7. The same call runs much faster in JRE 6. Sample Program, I wrote a small program which just fetches the network interfaces using java.net.NetworkInterface

  • How to lock app in iPhone 4

    how to lock app in iPhone 4