Skip to Content
author's profile photo Former Member
Former Member

SAP PCo 2.3 - Authorization Error

Hi Experts,

I'm using SAP PCo 2.3 and trying to create a data server connection from SAP MII 14.0 through PCoConnector.

I could create a data server (type PCoConnector) and enable it, but the status of the dataserver is "Error".

When visited the MII logs viewer, there various errors related to PCo like "AUTORIZATION_ERROR_PCO", "Error while executing PCo Query" & "com.sap.xmii.protocol.ProtocolReaderException: Error reading Header." etc.

While creating the dataserver, it asks for user credentials and I'm using same authorization with which PCo Management Host service and PCo Agent is started.

Can anyone guide as to what authorization is required for Accessing PCo query ?

Thanks,

Sumit

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Dec 09, 2013 at 12:51 PM

    Hi Sumit,

    Did you change the account name that ManagementHost runs under on the PCo Server?

    Since ManagementHost is only required to authenticate PCoConnector connections from MII when defining PCoConnector Data Servers, I would return the ManagementHost service to LocalSystem, and for access credentials the same user name and password that you used to log in to the PCo Server. This account needs to have Admin privileges.

    Unless you need to use a named user account for the Agent Instances in order to use DCOM for remote OPC Server Access, it is OK to leave their service account names as LocalSystem as well.

    Regards, Steve

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Steve Stubbs

      Hi Steve,

      The Status of PCo Data server is now "Running".

      PCoManagement host service & Agent instance both started with Local System logon.

      Previously it was giving error because the Agent instance was not started on PCo server.

      But still there is a problem creating PCo data server on different MII server.

      I've posted that on different thread -

      That issue is still unsolved. Can you please guide on that ?

      Thanks,

      Sumit

  • Posted on Mar 04, 2014 at 06:34 AM

    Hi Sumit,

    Was this issue anything related to Web service permission? We are facing the same Authorization Error PCo issue. The PCoManagementHost service & Agent service is running under localsystem with Admin access. But facing some Web service permission issue.

    Regards,

    Jeedesh

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.