Control MSSQL via SAPMMC (CoCreateInstance failed: 80040154)

Hi,
we wanna use the extension Snap-ins for MS SQL Servers in SAPMMC.
http://help.sap.com/saphelp_nw70/helpdata/en/63/0f5bcabc3611d2890d0000e8200722/content.htm
The Snap-in is currently included to our SAPMMC, but if we run some DB-Task (right klick > DatabasehostSID > All Tasks > Start SQL Server) we're getting the following error:
CoCreateInstance failed: 80040154
Class not registered
The only information i found is this thread:
but this solution is not working for me!
We have on Database side:
- Windows Server 2008 Standard (SP2 / 64bit)
- SQL Server 2008 Enterprise (10.0.2531.0 / 64bit) (4 Databases)
on SAP AS side:
- Windows Server 2008 Standard (SP2 / 64bit)
- SAP ERP 6.0 / 6.04 (ECC)
- SQL Server 2008 Native Client (64bit) (sqlncli10.dll - 10.0.2531.0)
- Microsoft Management Console 3.0 (Version 6.0 Build 6002 SP 2)
So, all components are 64bit, why does the SAPMMC not works?
Any idea or solution?
Thanks and Regards.
Tobias
Edited by: Tobias Pätz on Sep 9, 2010 2:26 PM

Hello,
Starting with SAP 710 the MMC simply starts the SQL Server 2005             
Management Studio.
The SAP MMC simply calls modules of the Enterprise         
Manager. Since this software is not installed, it fails.                                                                               
Need to use SQL Server Management Studio instead of the SAP         
MMC for starting/stopping and administration of SQL Server.  
regards,
John Feely

Similar Messages

  • Controlling Matlab via TestStand COM Objects

    I am attempting to control MATLAB via teststand activex com objects.  I set up my module to use the matlab 7 automation server, and when I try to run the sequence, I get this error:
    "Create New Object" in automation call failed.
    No such interface supported
    One reason this can occur is if the interface of your COM server cannot be marshaled. This can happen if your server is not using the default OLE marshaling implementation and does not implement its own proxy and stub code. If you write your server using Visual C++ you can add the oleautomation attribute to your interface in order to use the default OLE marshaling implementation. Alternatively, COM does not require marshaling if the server's threading model is the same as the client thread's apartment. You can try changing your server's threading model or the client thread's apartment to avoid the need to marshal the interface."
    Anyone know how to fix this?
    -Joey

    It turns out this issue was a bug within Matlab itself.  The correct registry keys were not being added for the Matlab ActiveX server with version 7.2.  The bug report is located here.  Once the correct registry keys were added there was no problem calling the Matlab ActiveX interface.
    Pat P.
    Software Engineer
    National Instruments

  • Lookup of alternativeServiceIdentifier via CPA-cache failed for channel

    Hi,
    In RFC(ECC) to File(PI) scenaio  i am facing the following error in sender CC:
    Error in processing caused by: com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: lookup of alternativeServiceIdentifier via CPA-cache failed for channel SND_RFC
    -CC' (f455868123qq3bba4c3dc3dbf93ed1b, party '', schema 'TechnicalSystem', identifier 'ECC#110')
    I have done the following for RFC to File scenario:
    ECC side:
    1. Created a RFC and tagged it to BAPI
    2. In the ABAP program, i am calling the RFC like below:
    CALL FUNCTION 'Z_HR_OUTBOUND_DATA2'
    IN BACKGROUND TASK DESTINATION 'Z_HR_OUTBOUND_DATA2'
    EXPORTING
    INTERFACE =
    IMPORTING
    FILENAME = FILENAME
    RETURN = RETURN
    TABLES
    ITAB10 = ITAB10
    P_STATUS = P_STATUS
    COMMIT WORK.
    3. Created a RFC destination using SM59
    RFC detination : Z_HR_OUTBOUND_DATA2
    Connection type : TCP/IP
    Enabled Registered Server Program
    Program ID : ECCTOPI_OUTBOUND
    Gateway host : ECC's host number
    Gateway service : ECC's service number.
    In PI side:
    I have created :
    1 DT for File Rcvr
    1 MT for File Rcvr
    1 SI for File Rcvr (async)
    1 MM (sender RFC and receiver File)
    1 OM
    1 CC with RFc as sender with the following parameters:
    Communication component : ECC's component
    application server (gateway) : ecc's gateway
    application server service(Gateway) : ecc's service number
    Program id : ECCTOPI_OUTBOUND
    inital connections 1
    max. connections 1
    And also gave ecc's details in application server , s/y number, auth. mode, logon user ,
    pwd, ecc's client number
    1 CC with File adapter and file content conversion
    1 receiver determination
    1 interface determination
    1 sender agreement
    1 receiver agreement
    When i am executing the ABAP program in R/3 I am getting the following error:
    Error in processing caused by: com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: lookup of alternativeServiceIdentifier via CPA-cache failed for channel SND_RFC
    -CC' (f455868123qq3bba4c3dc3dbf93ed1b, party '', schema 'TechnicalSystem', identifier 'ECC#110')
    Please let me know if any of my steps are wrong and how to rectify this error and make
    the scenario working.
    Thanks for your help.

    I have mentioned the Adapter specific parameters properly.
    It contains :
    For ECC s/y(i.e for RFC)
       Logical system :  DECCLNT120
       R/3 system ID : DEC
       Client 120
    For PI (i.e for File)
       Logical system :  DPICLNT100
       R/3 system ID : DPI
       Client 100
    Since i am sending the Response of the RFc to the file, i have used a Service interface where i am passing the RFC.Response as Request.
    if i am passing the RFC directly as i/p in Source operation of Operation mapping then it doesn't pick up the response in the souce message of the mapping program present in Operation mapping.
    So i am passing the same SI_Sender_RFC in the Sender Agreement and  it gives the error:
    Error in processing caused by: com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: senderAgreement not found: lookup of binding via CPA-cache failed for AdapterType RFC, AdapterNS http://sap.com/xi/XI/System, direction INBOUND, fromParty '', fromService 'DEC_RFC', toParty '', toService '', interface 'Z_HR_OUTBOUND_DATA2', NS 'urn:sap-com:document:sap:rfc:functions' for channel 'CC_LOTUSNOTES_OUTBOUND_SND_RFC' (channelId c78f5a88787131a09384c07c2db0e93b)
    why is it so?

  • Error: Sender agreement not found, lookup of binding via CPA-CACHE failed.

    Hi,
    I am doing an RFC to File Scenario in which RFC has to be triggered from CRM system. The TCP/IP connection and communication Channel are working fine. But when i trigger my RFC using the RFC destination following errors occur:
    1. The SYSTEM_FALIURE exception comes on CRM side.
    2. In adapter monitoring the following error comes on XI side:
           Error: Sender agreement not found, lookup of binding via CPA-CACHE failed for Adapter type RFC.
    I have also tried the scenario with RFC request as source message and also after J2EE cache refresh but the problem still persists. And one more thing my file adapter (In receiver communication channel) is not working means it is not started. And no message is coming in SXMB_MONI.
    Could anyone please help me to resolve this issue.
    Regards,
    Vinay Yadav

    Hi Aaron,
    I had the same error and your feedback solved my problem!
    Thank you sooo much!!!!
    Luciana

  • Apps Servers Via SAPMMC

    We centralize our 3 apps servers on the central instance when starting and stopping SAP via sapmmc. Now, all of the sudden, I can only start the central instance and can't start/stop any of the apps server. I am getting "Cannot connect to sapservice on (appserver#): 80070005, Access denied".
    I tried re-registering all the sapmmc*.dll but not successful. Can someone shed some light on this issue please.
    We are using SAP Enterprise 4.7 running on WIndows 2000 and SQL 2000.
    SAPMMC configuration
    C1 (Central Instance server)
    A1 (App Server 1)
    A2 (App Server 2)
    A3 (App Server 3)

    Thanks very much Subhadip. I did add all the app servers to the SAPMMC snap-in. After I addded all of them, the app servers are showing as grayed and only the central instance is green meaning active. When clicking on any of the app servers, I got cannot connect to <appserver> , access denied. As I read many threads and realize that it might be the DCOM causing all this trouble but I am skeptical in re-registering using DCOM. I have checked the security on sapstartsrv.exe and all look fine.
    Thanks for the RZ03 tcode. I will try that over the weekend and will report next week on the outcome.
    Really appreciated your help for responding to my issue.

  • "senderAgreement not found: lookup of binding via CPA-cache failed for..."

    Hi,
         I have configured asynchronous sender RFC to JDBC scenario and when I execute RFC I get short dump "senderAgreement not found: lookup of binding via CPA-cache failed for..."
         My scenario configurations, RFC destination, are all okey..
    A Hint:
         Our XI Server is "LARA"
         Our R/3 4.6C Server is "ZULIA"
    This are the RFC Sender Communication Channel on LARA:
         RFC Server Parameter
         Application Server (Gateway):           ZULIA
         Application Server Service (Gateway):      sapgw00
         Program ID:                     DEV210
         SNC:                          NOT CHECKED
         UNICODE:                     NOT CHECKED
         Inital Connections:               10
         Maximum Connections:               10
         Advanced Mode:                    NOT CHECKED
         RFC Metada Repository Parameter
         Load Balancing:                NOT CHECKED
         Application Server:               ZULIA
         System Number:                    00
         Authentication Mode:               Use Logon Data for SAP System
         Logon User:                    ldiego
         Logon Password:                    **********
         Logon Language:                    ES
         Logon Client:                    210
         Adapter-Specific Message Attributes
         Set Adapter-Specific Message Attributes: NOT CHECKED
    This are the configuration of RFC Destination on ZULIA:
         RFC Destination Name:                XI_RFC
         Connection Type:               T
         ID Program:                    DEV210
         Host Gateway:                    ZULIA
         TCP Service                    sapgw00
    Must I create the RFC Destination on the JCo RFC Provider in Visual Administrator?

    <i>Is the RFC destination created in the R/3 is pointing correctly to the XI system and vice -versa. Test the connection.</i>
    I tested my RFC Destination from R/3 system and the response was successful. What do you mean about vice-versa? How do I test it in the other way?.
    I recreate my Sender Agreement. And my Business System is correct.
    This are the parameters of my Sender Agreement:
    Service:     DES210_DEV
    Interface:     Z_DATOS_SAP
    Namespace:     urn:sap-com:document:sap:rfc:functions
    Sender Communnication Channel: cc_s_rfc_dataCom
    When I execute the FM in R/3 the dump now is:
    Wrong Sender Agreement:The Sender agreement does not have channel

  • RFC Sender - lookup of alternativeServiceIdentifier via CPA-cache failed

    Hello,
    I am using RFC Sender for a scenario and while sending message I got following error. I found this error while monitoring communication channel. I looked at several posting on this issue and tried with both checking  and not checking check box of advanced mode (RFC sender communication channel configuration). I am getting the same "lookup of alternativeServiceIdentifier via CPA-cache failed" error. How did you resolved?, please let meknow.
    Did any one come across error
    Server 0 0_50478 Sender channel 'CC_GET_CUSTOMER_RFC_SENDER' for party '', service 'SAP_DFR' (internal name 'RfcServer[CC_GET_CUSTOMER_RFC_SENDER]')
    Server data: {jco.server.gwhost=XXXXXXXXXX, jco.server.progid=DFX_XI_00, jco.server.gwserv=sapgw00, XI_RFC_USER=*****, jco.server.unicode=0}
    Repository data: {jco.client.lang=EN, jco.client.snc_mode=0, jco.client.client=120, jco.client.passwd=******, jco.webas.ignore_jdsr_error=1, jco.client.user=XI_RFC_USER, jco.client.sysnr=00, jco.client.ashost=XXXXXXXXXX}
    Current pool size: 1, maximum pool size : 1
    Channel History
    - Error: 2007-09-20 10:32:14 CDT: com.sap.aii.af.rfc.afcommunication.RfcAFWException: lookup of alternativeServiceIdentifier via CPA-cache failed for channel 'CC_GET_CUSTOMER_RFC_SENDER' (bee9e190f51f3687b1072bf3f5446a70, party '', schema 'TechnicalSystem', identifier 'DFR#120')
    Thank you,
    Balaji

    run tc SXI_cache on the XI
    on that screen press Shift+f6, it will start the refresh....and also do the CPAcahe manually trough the link
    http://itmisapxi:50000/CPACache/refresh?mode=full
    with PIRDIRUSER and then check the interfce....

  • Attempt to establish a connection via NiConnect has failed

    Hi
    We recently migrated from Windows to UNIX.
    The RFC destination between SAP to XI, was working fine before migration and after migration it is not working.
    I checked the System log using SM21.
    Following are the error details
    "The attempt to establish a connection via NiConnect has failed.  The
    following system log entries specify the NiConnect parameters.
    Check whether the target system or the target gateway are active."
    When we test connection from SM59
    Following are the error details
    "Connection Error
    Error when opening an RFC connection
    ERROR: service 'SAPGW00' unknown
    LOCATION: SAP-Gateway on host DEVSRV / sapgw00
    DETAIL: NiHsLGetServNo: service name cached as unknown
    COMPONENT: NI (network interface)
    COUNTER: 6511
    MODULE: nixxhsl.cpp
    LINE: 776
    RETURN CODE: -3
    SUBRC: 0
    RELEASE: 700
    TIME: Tue Jun  2 11:35:31 2009
    VERSION: 38
    Can you pls help
    Regards
    Madhan D

    Have you specified correct gateway information in SM59 because it looks like sap gateway is incorrect..
    thanks sunny

  • Why do I get the message "CoCreateInstance failed - Could not create 3D mouse device" with Acrobat9?

    Had a crash and reinstalled everything.  All is OK, except when I open Acrobat 9, I get the message "CoCreateInstance failed - Could not create 3D mouse device".  Tried unchecking anything in Acrobat preferences having to do with 3D, and I don't currently have a 3D mouse device installed.  Can't find any other reference in Google that includes both Acrobat and the contents of the message, part or all.  Ran "repair acrobat installation" and rebooted, and that didn't help.  Totally stumped!

    use the cs cleaner.
    first uninstall your cs5 programs (including acrobat) and uninstall adobe reader.
    run the cleaner for reader:  http://labs.adobe.com/downloads/acrobatcleaner.html
    restart your computer.
    then run the cs cleaner (http://www.adobe.com/support/contact/cscleanertool.html)
    restart your computer
    and finally reinstall your cs5 programs including acrobat (but not reader).

  • CoCreateInstance fails with return code -2147221008

    I'm calling
      HRESULT retval = CoCreateInstance(SQLNCLI_CLSID, NULL,
                                          CLSCTX_INPROC_SERVER,
                                          IID_IDBInitialize,
                                          (void **) &m_pIDBInitialize);
    and it returns the above return code. I don't know what in the world it means or how to get an error message out of it.
    The only possible return values for CoCreateInstance listed in
    http://msdn.microsoft.com/en-us/library/windows/desktop/ms686615%28v=vs.85%29.aspx
    are
    S_OK
    REGDB_E_CLASSNOTREG
    CLASS_E_NOAGGREGATION
    E_NOINTERFACE
    E_POINTER
    #define S_OK                                   ((HRESULT)0L)
    #define REGDB_E_CLASSNOTREG              _HRESULT_TYPEDEF_(0x80040154L)
    #define CLASS_E_NOAGGREGATION            _HRESULT_TYPEDEF_(0x80040110L)
    #define E_NOINTERFACE                    _HRESULT_TYPEDEF_(0x80004002L)
    #define E_POINTER                        _HRESULT_TYPEDEF_(0x80004003L)
    The values in decimal respectively are 0, 2147746132, 2147746064, 2147500034 and 2147500035. None of them is the value I got.
    Please help before I shoot myself.

    Hello ,
    I would suggest you to have a look at
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/f8417fdc-03e3-4f73-b165-b39a90fb1b90/cocreateinstance-fails-with-return-code-2147221008
    It seems that the meaning of this error code is : "CoInitialize has not been called. "
    As I have given up VC++ since the arrival of VS 2003 and VC# , I cannot give you more explanations.
    A moderator may move your thread towards the VC++ forum if you want more explanations or help ( for myself , I prefer to do the move only after the original poster ( you PriorityCustomer ) has posted his/het agreement.
    Have a nice day
    Mark Post as helpful if it provides any help.Otherwise,leave it as it is.

  • JRE 6 update 11 installs via GPO but fails in Internet Explorer

    The problems I am experiencing are a bit different than those I've read about here and elsewhere. I am installing JRE 1.6.0.11 to WinXP clients via group policy. The installation itself appears to work OK but when I go to test Java I am finding that IE 7 reports that Java is not installed. When I check Firefox there is no problem.
    In IE I have made sure that Java is activated in Advanced Options, have cleared the cache (repeatedly) and have checked out the Java control panel to make all appears to be correct.
    I found that Java downloaded and installed directly onto my test machine does run as expected.
    I compared registry entries with a second test machine where Java was downloaded directly, installed and functions as expected. Found a few differences but changing the registry on first test machine to mimic the registry on the second machine did not solve the problem.
    I also tried a few suggestions from appdeploy.com.
    So far, nothing seems to help. I am guessing that some file is failing to register properly when the installed is pushed by GPO.
    Has anyone had any similar experiences? Suggestions anyone?
    Thanks
    Cliff

    Possibly Java's new "patch-in-place" for the JRE that became effective with updates from 6u10 to later versions is involved. JRE updates by default will update the existing JRE rather than installing an additiona JRE. See [http://java.sun.com/javase/6/docs/technotes/guides/jweb/otherFeatures/jre_install.html]

  • Exporting via Compressor - submit - failed

    When I use Export via Compressor - and I use QT Pro Res - and destination is Movies Folder, then submit - then in the History window it has returned "Failed" 3 times now. The status bar shows, but never any indication that it even starts to work its magic or anything - just after a few seconds, maybe a minute, the word Failed appears. Argh. The motn project is 5 minutes long full of stills and a little video with audio. Help - what am I doing wrong?
    In looking thru this forum, I thot the best export would be QT ProRes - is that causing the failure?
    I previously exported via QT(not compressor) and the resulting file is 10gb which doesn't run smoothly but jerks and hiccups like a pre-rendered file. And 10gb wont fit onto DVD which is where this project will go - as a gift.
    help

    I surely do not take it personal. I have learned that you folks in this group are the best resource I have. I know I am in way over my head. I truly do not know about codecs.
    I have taken Motion directly in to FCP - but I didn't think it would work this time. I should have tried.
    Someone came along at work and told me to use Visual Hub and use setting for mp4, and also try using the DV - ready for FCP - I did both. I really never think of it as wasted effort if I can learn by what I doing, and that is occurring as you are all explaining to me what I should be doing.
    Now as for workflow - I think I did the right thing by starting with Motion, then with the big file sizes went to Visual Hub - but probably could have just gone to opening the Motion files in FCP - then rendering out for DVSP.
    System settings are a boggle to me - so I just use NTSC - DV 720x480 and hope that works - so far the results in my projects are good.
    Again, Thank you for taking time to explain - I appreciate all comments.

  • Reference to control on main front panel fails when subvi front panel is closed?

    Hi All,
    I'm experiencing an odd bug. In my code, I use a subvi to control a piece of hardware. This subvi has controls for all of the functions of my hardware.
    I'm changing the value of one of these controls from my main front panel by running a reference to a knob on my main front panel into the subvi, grabbing the value of the knob with a property node, and then updating the value of the subvi control using a signaling property node.
    This works fine when my subvi front panel is open but fails to work at all when the subvi front panel is closed.
    I'm new to labview , so any help is appreciated.
    Thanks,
    Arpan
    Solved!
    Go to Solution.

    What is your LabVIEW version?
    Front panels that are not shown are typically not updated and might not even be loaded into memory.
    The presence of certain code elements (e.g. property nodes) often forces the front panel to be in memory even if it is not shown, but I haven't studied it in a long time so there might be subtleties. Maybe somebody from NI can give more details.
    If it does not work unles the FP is open, open the front panel minimized to avoid distraction.
    Can you attach some code? Maybe there are better ways to do all this anyway.
    LabVIEW Champion . Do more with less code and in less time .

  • Is there a way for the 5s to HOST CONTROL devices via Lightning or otherwise?

    So I asked this question in the regular Apple forum because I am trying to help a company why is not very Apple savvy
    figure out how to offer the same level of control they offer on Android devices with the iPhone 5, 5c and 5s. They realize
    there are restrictions on the Lightning side but I was wondering if such functions can be controlled via the 3.5 jack being
    as that is an output source for the iPhone.
    I realize the EASIEST solution is for them to make their device BlueTooth capable and that would solve the issue right
    then and there but they already have several thousand units boxed and ready to go so this would be a solution for all their
    customers who own Apple devices and do not have the ability to control the device the way Android users can.
    If anyone knows of ANY device that can be host controlled by any Lightning cabled device, please let me know so they
    can look into it and get this going.
    Thank you.

    I can't answer the "host control" part of your question, but there are plenty of devices that can be controlled by an app running on the iPod. For example, the Square credit card reader connects to the headphone jack.
    If the device vendor wants to use the Lightning port, they should join the MFi Program.
    https://developer.apple.com/programs/mfi/

  • CS5 Batch Via Image Processor Fail

    Hi All, I have  batch problem in CS5 using the Scrips/Image Processor feature. I have an action which does the following to a folder of selected images (jpegs): Creates a duplicate layer, runs Portraiture on the image, creates a new layer on top of Portraiture via a layer combination, then runs Alien Skin Exposure film simulation filter. The problem is that after 144 images process, normally the 144th or 145th image will fail to close. The remaining images will open and close (and save in destination folder) but the action is not applied to those remaining images. If I stop the batch and restart, it will immediately fail again. Photoshop must be closed and repoened in order for me to process remaining images (up to 144). My source images are normally (2-4mb) jpegs and I am saving the batched images as either jpegs or psd's. Either way fails. I am running CS5 with the most current update on a 2010 MacPro (12gig) with OSX 10.7.4 installed. Please help!  

    When you installed CS5, you have a chance to register it. If you do, your serial number is on file under your Adobe (My Products). If you did not, you have no serial number on file and even worse, no proof you own it.
    You do not have your serial number copied down anywhere? Hard to believe you tossed the dvd box and all the documents away.
    So Help > Register might give you a chance to do this without you knowing the number.
    If not, you may want to consider the Photography Plan. Creative Cloud Photography plan | Adobe Creative Cloud

Maybe you are looking for

  • MSOALP openquery slower on local than on another server

    Hi, We are using SQL server 2008R2 64bit. I have an MDX query which executes within 7 seconds (Profiler 'Query End' - duration = 7288) by using the SSMS MDXquery window. The resultset contains +70000 rows, and is finished into the result window withi

  • Can I use animated emoticons in mail?

    I want to put an animated emoticons in my signature block in emails.  I can put them in my signature block but they do not animate.   How to use animated emoticons in mail?  If so how do I get them to work?

  • Same old silly questions, but just to confirm!

    I have some idea of the answers to my questions but the more I read in the forum the more uncertain I've become... 1. I can use the TC as an external hard drive, but what about the transfer speed? Is it similar to the speed of a USB hard drive? If it

  • Just curious: What do you all guys use FCP for?

    Just wondering. Does everybody work in TV or production companies. FCP is such a powerful tool... Only people working for TV networks and cables use it, right?

  • Granting workstation admin rights to windows users

    Is it possible to setup OD users to have administrator rights on the local workstation? In order to do this the user needs to be a member of the Administrators group on the local machine, however, I can't see any way of doing this in Workgroup Manage