Error calling COM-component  Sapgui.ScriptingCtrl.1  (OpenConnection)

Hi, All !
#include "stdafx.h"
#include "wtypes.h"
#include "atlbase.h"
int _tmain(int argc, _TCHAR* argv[])
     IDispatch *qqq = NULL;
     HRESULT hr;
     LPCOLESTR lpszProgID = OLESTR("Sapgui.ScriptingCtrl.1");
     CLSID lpclsid;
     DISPID dispid;
     OLECHAR FAR* szMember0 = OLESTR("OpenConnectionByConnectionString");
     EXCEPINFO pExcepInfo;
     unsigned int puArgErr = 0;
     DISPPARAMS dispparams;
     VARIANT dispRes;
     VARIANTARG var[3];
     BSTR cmd0 = SysAllocString(L"/H/192.168.1.1/S/3211");
     hr = ::CoInitializeEx(0, COINIT_MULTITHREADED);
     hr = CLSIDFromProgID(lpszProgID, &lpclsid);
     hr = ::CoCreateInstance(lpclsid, 0, CLSCTX_INPROC_SERVER | CLSCTX_LOCAL_SERVER, IID_IDispatch, (LPVOID *)&qqq);
     hr = qqq->GetIDsOfNames(IID_NULL, &szMember0, 1, LOCALE_SYSTEM_DEFAULT, &dispid);
     var[0].vt = VT_BSTR;
     var[0].bstrVal = cmd0;
     var[1].vt = VT_BOOL;
     var[1].boolVal = 0;
     var[2].vt = VT_BOOL;
     var[2].boolVal = 0;
     dispparams.rgvarg = var;
     dispparams.cArgs=3;
     dispparams.rgdispidNamedArgs=NULL;
     dispparams.cNamedArgs=0;
     hr = qqq->Invoke(dispid, IID_NULL, LOCALE_SYSTEM_DEFAULT, DISPATCH_METHOD | DISPATCH_PROPERTYGET , &dispparams, &dispRes, &pExcepInfo, &puArgErr);
     if(qqq)     {     qqq->Release();     qqq = NULL;     }
     ::CoUninitialize();
     return 0;
Calling of qqq->Invoke displayed this dialog box:
Error parsing sapgui commandline
'0'
SAPGUI USAGE
Syntax:...................................
and returned hr == 0x80020009 Error.....
OLE-COM Viewer say next info:
[id(0x00008096)]
GuiConnection* OpenConnectionByConnectionString(
                BSTR ConnectString,
                [optional] VARIANT Sync,
                [optional] VARIANT Raise);
In what my mistake?
Regards, Victor.
Edited by: Victor Vyasovtsev on Mar 19, 2008 11:49 AM

Closed !!!
     var[2].vt = VT_BSTR;
     var[2].bstrVal = cmd0;
     var[1].vt = VT_BOOL;
     var[1].boolVal = 0;
     var[0].vt = VT_BOOL;
     var[0].boolVal = 0;

Similar Messages

  • Can we call COM component in JSP???????????

    Hi,
    I need to call a COM Component which is written in VB in my JSP Page. Is it possible to call??? If yes, plz let me know how with details? Fast and immediate reply will be appreciated...
    Thanks in advance
    A C Sekhar

    You do know that JSP runs on the server and produces HTML that runs on the browser, right? So do you want to call this COM component on the server or on the browser? If it's on the browser, then your question becomes "Can we call COM component in HTML (tiresome number of ?)". And this you can probably answer for yourself. If it's on the server, see the previous response by Breakfast.

  • BPC Diagnostic: Error under COM+ component service

    Hi,
    I have BPC 5.1 installed on multi server enviroment. When I run the server diagnostic i got error under COM + component service>OSoftSQL2005Admin as "Assigned: Error" "Status: Error"
    Other information: OS: windows server 2003 standard edition Database: SQL server 2005.
    Can anyone please help me out. Thanks in advance.

    Hi  Amit,
    Please make sure that ASP.NET 1.1  is installed on your server including all latest patches from Microsoft and
    COM+ Components ( OsoftSQL2005Admin ) should also be properly registered.
    You may restart all COM+ Components or just restart the server after this operation.
    Regards,
    Jean

  • Error calling COM+ webservice

    Hey guys,
    I am having problems to call COM+ webservices using Mediator.
    My composite needs to call some legacy Delphi DLL that are published in a Windows 2003 COM+ SOAP services.
    When I try to call the services using the HTTP Analyser tool, everything works fine. However, when I try to call it in my composite application using a Mediator component, I got the following exception:
    javax.xml.ws.soap.SOAPFaultException: **** System.Runtime.Serialization.SerializationException - Parse Error, no assembly associated with Xml key wsa Action.
    Have anybody faced problems like this to call COM+ SOAP services?
    Here is my COM+ SOAP WSDL:
    <?xml version="1.0" encoding="UTF-8" ?>
    <wsdl:definitions
    name="StringCon"
    targetNamespace="http://oracle.com/sca/soapservice/InternaliazacaoApp/StringCon/StringCon"
    xmlns:tns="http://oracle.com/sca/soapservice/InternaliazacaoApp/StringCon/StringCon"
    xmlns:inp1="http://xmlns.oracle.com/singleString"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
    <wsdl:documentation>
    <abstractWSDL>http://anvisa-soa-dev:8001/soa-infra/services/default/StringCon!1.0/StringCon.wsdl</abstractWSDL>
    </wsdl:documentation>
    <wsdl:types>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <xsd:import namespace="http://xmlns.oracle.com/singleString" schemaLocation="http://anvisa-soa-dev:8001/soa-infra/services/default/StringCon/StringCon?XSD=xsd/singleString.xsd"/>
    </xsd:schema>
    </wsdl:types>
    <wsdl:message name="requestMessage">
    <wsdl:part name="input" element="inp1:singleString"/>
    </wsdl:message>
    <wsdl:message name="replyMessage">
    <wsdl:part name="output" element="inp1:singleString"/>
    </wsdl:message>
    <wsdl:portType name="execute_ptt">
    <wsdl:operation name="execute">
    <wsdl:input message="tns:requestMessage"/>
    <wsdl:output message="tns:replyMessage"/>
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="execute_pttBinding" type="tns:execute_ptt">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="execute">
    <soap:operation style="document" soapAction="execute"/>
    <wsdl:input>
    <soap:body use="literal" namespace="http://oracle.com/sca/soapservice/InternaliazacaoApp/StringCon/StringCon"/>
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal" namespace="http://oracle.com/sca/soapservice/InternaliazacaoApp/StringCon/StringCon"/>
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="StringCon">
    <wsdl:port name="execute_pt" binding="tns:execute_pttBinding">
    <soap:address location="http://anvisa-soa-dev:8001/soa-infra/services/default/StringCon/StringCon"/>
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>
    Edited by: 904488 on Dec 26, 2011 5:56 AM

    soa suite ws binding sends out wsa headers - that is what fails to be parsed on the .NET side ("Parse Error, no assembly associated with Xml key wsa Action.")
    there is a flag on the outbound ws binding properties (omit.wsa.headers) that let's you turn this off.

  • RDLC Reports with Custom Font - Error HRESULT E_FAIL has been returned from a call to a COM component.

    Hi,
    I got an ASP.NET MVC (Razor View Engine and C#) application running on a Windows Azure Web Role.
    I use RDLC local reports to create pdf files with printable price tags with respective barcodes.
    I got it working on Azure after installing the barcode font (TrueType) using a start-up task. Recently, it stopped working without me changing anything related to this functionality.
    I'm getting the following error and so far I didn't find any solution. I know the problem is the barcode font because the pdf is generated well with a standard font like Arial. Also, it works perfectly with barcodes when running the app
    locally on my computer. 
    Error HRESULT E_FAIL has been returned from a call to a COM component.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.Runtime.InteropServices.COMException: Error HRESULT E_FAIL has been returned from a call to a COM component.
    Source Error:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
    Stack Trace:
    [COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.]
    System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) +0
    Microsoft.ReportingServices.Rendering.RichText.TextRun.ShapeAndPlace(Win32DCSafeHandle hdc, FontCache fontCache) +1450
    Microsoft.ReportingServices.Rendering.RichText.TextRun.GetWidth(Win32DCSafeHandle hdc, FontCache fontCache, Boolean isAtLineEnd) +30
    Microsoft.ReportingServices.Rendering.RichText.LineBreaker.GetLine(Paragraph paragraph, TextLine line, Win32DCSafeHandle hdc, FontCache fontCache, FlowContext flowContext, Single left, Single right, Single height, Stack`1 lineRunsIndex, Stack`1 lineRunsCharIndex, Int32 lineIndents) +266
    Microsoft.ReportingServices.Rendering.RichText.LineBreaker.FlowParagraph(Paragraph paragraph, Directions direction, Win32DCSafeHandle hdc, Single dpiX, FontCache fontCache, FlowContext flowContext, Boolean keepLines, SizeF flowContextSize, Int32& contentOffset) +768
    Microsoft.ReportingServices.Rendering.RichText.LineBreaker.Flow(TextBox textBox, Win32DCSafeHandle hdc, Single dpiX, FontCache fontCache, FlowContext flowContext, Boolean keepLines, Single& height) +617
    Microsoft.ReportingServices.Rendering.RichText.LineBreaker.Flow(TextBox textBox, Graphics g, FontCache fontCache, FlowContext flowContext, Boolean keepLines, Single& height) +182
    Microsoft.ReportingServices.Rendering.RichText.TextBox.MeasureFullHeight(TextBox textBox, Graphics g, FontCache fontCache, FlowContext flowContext, Single& contentHeight) +759
    Microsoft.ReportingServices.Rendering.HPBProcessing.TextBox.CalculateVerticalSize(PageContext pageContext) +467
    Microsoft.ReportingServices.Rendering.HPBProcessing.TextBox.DetermineVerticalSize(PageContext pageContext, Double topInParentSystem, Double bottomInParentSystem, List`1 ancestors, Boolean& anyAncestorHasKT, Boolean hasUnpinnedAncestors) +35
    Microsoft.ReportingServices.Rendering.HPBProcessing.PageItem.CalculateVertical(PageContext pageContext, Double topInParentSystem, Double bottomInParentSystem, PageItem[] siblings, List`1 ancestors, Boolean& anyAncestorHasKT, Boolean hasUnpinnedAncestors, Nullable`1 sourceWidth) +977
    Microsoft.ReportingServices.Rendering.HPBProcessing.Tablix.AddRowMember(TablixMember rowMember, Int32 colIndex, Int32 rowSpan, Int32 colSpan, LevelInfo childInfo, PageContext pageContext, Double updateWidth) +1104
    Microsoft.ReportingServices.Rendering.HPBProcessing.Tablix.CreateRowMemberChildren(Tablix tablix, TablixMember rowMemberParent, Int32 defTreeLevel, Boolean parentBorderHeader, Int32 parentRowIndex, Int32 parentColIndex, Int32 sourceIndex, Boolean resetContext, Boolean parentHasFooters, LevelInfo parentLevelInfo, PageContext pageContext) +4255
    Microsoft.ReportingServices.Rendering.HPBProcessing.Tablix.CreateRowMemberChildren(Tablix tablix, TablixMember rowMemberParent, Int32 defTreeLevel, Boolean parentBorderHeader, Int32 parentRowIndex, Int32 parentColIndex, Int32 sourceIndex, Boolean resetContext, Boolean parentHasFooters, LevelInfo parentLevelInfo, PageContext pageContext) +3657
    Microsoft.ReportingServices.Rendering.HPBProcessing.Tablix.CreateTablixRows(Tablix tablix, TablixMember rowMemberParent, Int32 defTreeLevel, Boolean parentBorderHeader, Int32 parentRowIndex, Int32 parentColIndex, List`1& pageStructMemberCell, Boolean ignoreTotals, Boolean& finishLevel, Boolean parentHasFooters, CreateItemsContext createItems, Double startInTablix, Double endInTablix, PageContext pageContext) +4341
    Microsoft.ReportingServices.Rendering.HPBProcessing.Tablix.CreateTablixItems(Tablix tablix, PageContext pageContext, CreateItemsContext createItems, Double startInTablix, Double endInTablix) +239
    Microsoft.ReportingServices.Rendering.HPBProcessing.Tablix.CreateVertically(PageContext pageContext, CreateItemsContext createItems, Double startInTablix, Double endInTablix, Double topInParentSystem) +374
    Microsoft.ReportingServices.Rendering.HPBProcessing.Tablix.DetermineVerticalSize(PageContext pageContext, Double topInParentSystem, Double bottomInParentSystem, List`1 ancestors, Boolean& anyAncestorHasKT, Boolean hasUnpinnedAncestors) +662
    Microsoft.ReportingServices.Rendering.HPBProcessing.PageItem.CalculateVertical(PageContext pageContext, Double topInParentSystem, Double bottomInParentSystem, PageItem[] siblings, List`1 ancestors, Boolean& anyAncestorHasKT, Boolean hasUnpinnedAncestors, Nullable`1 sourceWidth) +977
    Microsoft.ReportingServices.Rendering.HPBProcessing.PageItemContainer.DetermineContentVerticalSize(PageContext pageContext, Double topInParentSystem, Double bottomInParentSystem, List`1 ancestors, Boolean& anyAncestorHasKT, Boolean hasUnpinnedAncestors, Boolean resolveState, Boolean resolveItem) +496
    Microsoft.ReportingServices.Rendering.HPBProcessing.PageItemContainer.DetermineVerticalSize(PageContext pageContext, Double topInParentSystem, Double bottomInParentSystem, List`1 ancestors, Boolean& anyAncestorHasKT, Boolean hasUnpinnedAncestors) +281
    Microsoft.ReportingServices.Rendering.HPBProcessing.PageItem.CalculateVertical(PageContext pageContext, Double topInParentSystem, Double bottomInParentSystem, PageItem[] siblings, List`1 ancestors, Boolean& anyAncestorHasKT, Boolean hasUnpinnedAncestors, Nullable`1 sourceWidth) +977
    Microsoft.ReportingServices.Rendering.HPBProcessing.ReportSection.NextPage(RPLWriter rplWriter, Int32 pageNumber, Int32 totalPages, Double top, Double availableHeight, ReportSection nextSection, Boolean isFirstSectionOnPage) +1382
    Microsoft.ReportingServices.Rendering.HPBProcessing.Report.NextPage(RPLWriter rplWriter, Int32 totalPages) +384
    Microsoft.ReportingServices.Rendering.HPBProcessing.HPBProcessing.GetNextPage(RPLReport& rplReport) +437
    Microsoft.ReportingServices.Rendering.ImageRenderer.PDFRenderer.Render(Report report, NameValueCollection deviceInfo, Hashtable renderProperties, CreateAndRegisterStream createAndRegisterStream) +1021
    Microsoft.ReportingServices.Rendering.ImageRenderer.RendererBase.Render(Report report, NameValueCollection reportServerParameters, NameValueCollection deviceInfo, NameValueCollection clientCapabilities, Hashtable& renderProperties, CreateAndRegisterStream createAndRegisterStream) +93
    My source code:
    LocalReport report = new LocalReport();
    // Rdlc file path
    report.ReportPath = Server.MapPath("~/Reports/PriceTags.rdlc");
    // Data source
    report.DataSources.Add(new ReportDataSource("productsDataSet", dataset1));
    // Some parameters
    ReportParameterCollection reportParameters = new ReportParameterCollection();
    reportParameters.Add(new ReportParameter("currency", "EUR"));
    reportParameters.Add(new ReportParameter("precision", 2));
    report.SetParameters(reportParameters);
    // FileContentResult GenPdf(LocalReport report, string filename)
    return GenPdf(report, "Price Tags");
    Any help on this issue would be welcome and sorry for any grammar mistakes.
    Thanks in advance.
    Vitor Pinto

    Hi Vitor,
    Thanks for your posting!
    It seems that the error may have more than one possibilities. I recommend you could try to use the Azure remote debugger to debug your cloud service project on Azure instance. Please see this tutorials:
    http://blogs.msdn.com/b/cie/archive/2014/01/24/windows-azure-remote-debugging.aspx
    You could debug your code using the cloud service URL.
    And you could enable the Diagnostics feature for collecting Logging Data by Using Azure Diagnostics (http://msdn.microsoft.com/library/gg433048.aspx).
    Regards,
    Will
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Ssis error: hresult e_fail has been returned from a call to a com component

    I am using VS 2013 (BIDS) to develop SSIS packages. It is running on a windows 2012 server.
    I have a dev server on which when i try to load an SSIS project using the solution file i get a bunch of errors, and then visual studio just closes. The error is:
    hresult e_fail has been returned from a call to a com component
    If i copy the project to another machine it works fine.
    If i open VS first, and then open the project using the proj file, it seems to work.
    Any ideas what might be causing this error? I can work for now, but am worried my project may be corrupted in some way so dont want to do too much work on it.

    It might be a corruption so a re-install is desired. But
    Use SSDT (VS2010 shell) that came with the SQL Server installation media to edit SSIS 2012 packages.
    Arthur
    MyBlog
    Twitter

  • Error: the QueryInterface call on the COM component for the interface with IID '{00063033-0000-0000-C000-000000000046}' failed due to the following error: Library not registered.

    I have a outlook 2007 plugin created in VS 2008 that reads calendar meetings. This plugin also works with outlook 2010. I used to debug this application from VS 2010 as well.
    Last month, I installed Office 365 to test something. Later I uninstalled this version but after that my plugin application is crashing, every time a new appointment/meeting is created in calendar.
    I get the below error:
    Unable to cast COM object of type 'System.__ComObject' to interface type 'Microsoft.Office.Interop.Outlook._AppointmentItem'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{00063033-0000-0000-C000-000000000046}'
    failed due to the following error: Library not registered. (Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTREGISTERED)).
    Tekriti Software

    Thanks for your sharing and have a nice day.
    Yoyo Jiang[MSFT]
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • BIDS 2008: Error HRESULT E_FAIL has been returned from a call to a COM component.

    Hi,
    I am using SQL Server 2008. Whenever I opened SQL Server 2000 DTS packages designer from BIDS2008 I am getting the below error.
    Error HRESULT E_FAIL has been returned from a call to a COM component.
    Could anyone please help me to solve the issue.
    Environment details:
    SQL Server 2008,
    VS2008(BIDS2008),
    Installed backward compatability(SQLServer2005_BC_x64.msi),
    Installed SQLServer2005_DTS.msi
    Copied dll and rll files as Microsoft recommended(https://msdn.microsoft.com/en-us/library/ms143755.aspx).
    Moved environmental variables(C:\Program Files(x86)\Microsoft SQL Server\80\Tools\Binn\;) to starting point. 
    Thanks, Raja

    Hi Raja,
    According to your description, this issue is more related to SQL Server. The SQL Server Integration Services forum is a better place for this issue, I will move it there for you.
    Regards
    Starain
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • An error has occurred: Error HRESULT E_FAIL has been returned from a call to a COM component

    This error message comes up with a user in InfoView attempts to modify/update a parameter when scheduling a report.  This is not isolated to one particular report and occurs on a sporadic basis.  Sometimes the user is able to successfully update the parameter with no error.  Other times this error message occurs.
    Has anyone seen this before and have any thoughts?
    Thank you.
    An error has occurred: Error HRESULT E_FAIL has been returned from a call to a COM component

    Hi
    Could you check this SAP Note 1653410
                                                     1772120
                                                   1568524
    BR
    SS

  • Getting COM Component error while opening SSIS Script task.

    Hi All,
    While click on EDIT SCRIPT Button in script task it's not opening the script editing window.
    Getting below error message:
    "Error HRESULT E_FAIL has been returned from a call to a COM component. (EnvDTE)"
    We have added ADODB reference in script task.
    Thanks in advance, please give some suggestion.

    I am using SSIS 2008 R2.
    When I reload the package, script task visual studio opens first time, next time when I try to open script task visual studio from EDIT SCRIPT Button it gives below error:
    "Error HRESULT E_FAIL has been returned from a call to a COM component. (EnvDTE)"

  • 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 while installing new com+ component SAP CRM Mobile Transfer 5.0

    Hello experts,
    I've upgraded crm/msa from 50sp6 to sp11. In SP11 there msa/mas use dot.net framework
    2.0 .
    For this I have to upgrade the commstation with note 1065337, but after deleting
    the com+ component DOTNET.TransSrv I cannot reinstall the new MsgTransServer.dll,
    I get error:
    you do not have permission to perform the requested action. If security is enabled on the system
    application of the targed computer make sure you are included in the appropriate roles.
    Has anybody similar problems while upgrading this ?
    I've checked MS-note 909444 for new user rights, but didn't help.
    Thanks Gerd

    Hi Siva,
    I've registered the dll with command line execution as described in
    note 1036377. This should solve the problem.
    If you have still problems with admin rights on the server have a look on
    note 1036377.
    Best regards
    Gerd

  • How to create and call a COM component in Java

    Hi All,
    can you suggest how to create and call a COM component..or if have any sample simple application can you send it to me...i will try to develop my project.
    actually i am configuring a OCR Engine using SDK which is in VB .Net when i contacted their support they told that if i have any sample COM based component Project they will help me...
    So please can you help in this.
    Thanks in advance.

    As said by my fellow posters Java Devolopment Environment (Except Microsoft implementation of JVM,this is no longer supported by MS themseleves) does not provide an built-in support to serve this cause.
    If you are looking to devolop a custom based solution the below is a good place to start with where end user is talking about Java <=> JNI <=> Native <=> COM connectivity.
    [http://bloggershetty.blogspot.com/2004/12/java-jni-com-activex-bridge-lots-of.html]
    However,if you are looking for ready made solutions ?
    Implementation any one of the solutions stated below might serve your cause.
    Open Source Solutions:
    [http://j-interop.org/]
    [http://www.danadler.com/jacob/]
    Commercial Solutions:
    [http://javacombridge.com/]
    [http://www.jnbridge.com/]
    [http://www.nevaobject.com/j2cdetails.asp?kw=java%20com%20bridge]
    [http://j-integra.intrinsyc.com/]
    Hope this might help :)
    REGARDS,
    RaHuL

  • Error calling appl. via OLE OA175 after inst. Patch4 or 5 of SAPGUI 7.20

    I have maintained a OLE application with the "oaa4 ArchiveLink:Application Maintenance" to do special work on documents with special type.
    It worked very well until I installed the Patch4 or Patch5 of the SAPGUI 7.20.
    Now I get the message: "Error calling Application via OLE ...".
    It looks like a bug in the patches but may be there is something wrong with me (or my application). Has someone any experience with this patch or with this error message.
    In the meantime I got an answer:
    You have to grant your OLE application in the security options in the SAP-GUI-Configuration.
    Edited by: Terkosh on Feb 13, 2012 3:48 PM

    how do I grant the OLE application ?

  • 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

Maybe you are looking for

  • XML Parser for PL/SQL and related issues

    I need to have further information about some of the following issues and XML features and make a determination useful for evaluation and recommendation: ISSUES 1) Is there a maximum size for an XML document to provide data for PL/SQL(or SQL) across

  • AMD graphics

    I keep getting a message saying no AMD graphics istalled or not working properly on start up on hp laptop This question was solved. View Solution.

  • Cisco Professional Configuration Issue with SG 500 52P

    I have a new SG500-52P switch installed for a small business and am upgrading to a Cisco 2910 router this weekend. I am trying to view the new switch on CCPE but it keeps saying that the device is undiscoverable. I have HTTP and HTTPS enabled on the

  • PAGINATION ERROR

    Hi, I'm trying to get this pagination code functioning but I keep getting an error on my query. The error says: Microsoft Access Driver] Syntax error (missing operator) in query expression 'titles LIMIT 0' and I'm completely stumped, I pasted my code

  • Wicd locks up my computer for five minutes before connecting.

    Hello, a few days ago wicd-curses just inexplicably stopped working properly. I can use it at both of my houses with no problem (for both wired and wireless connections), but when I try to connect at school or any other place except for my two houses