HTTP error: 401 (unauthorized)  "Error in configSet"

Hi ,
I am getting this error "HTTP error: 401 (unauthorized)  "Error in configSet"  in the following scenarios.
A. Creating a content repository from SAP in T-code "CSADMIN"
B.Accessing the http://<domainname>:<portno>
If i give complete URL it is working.
Example :
http://<domain name>:<port no>/ContentServer/ContentServer.dll?serverInfo
when i provide,only with domain name and password in the url
it is asking for username & password and later it gives 401 unauthorized error
http://<domainname>:<portno>
I assume that this error is due the security settings either in IIS or in OS level.
system landscape:
CRM :5.0
SAP Content Server :6.3
Win server 2003 with sp2
Note:
Content Server is running and i can see the status from SAP.
Thanks in Advance.
Points will be awardeed for right answers.
Regards
Ganesh
Edited by: ganesh subbiah on Aug 13, 2008 4:39 PM

Check the following :
- In IIS application pools check "Identity" property for the content server application is "LocalSystem", and not ApplicationPoolIdentity
- in IIS "handler mapping" on your content server site, check ISAPI-dll is enabled
- user access for "NETWORK SERVICE" following note 658442 - execute command :
cacls <INSTDIR> /T /E /G "NETWORK SERVICE":F
The first point has solved the issue for me.
  Pierre

Similar Messages

  • HTTP error: 401 unauthorized -error in photo upload

    Hi
    Please suggest in OAAD,how to rectify the error ' HTTP error: 401 unauthorized '  during Photo upload in IT0002.
    Regards
    Ritu Saurabh

    make sure that u have activate the content server in SCIF t code
    if yes check with ur basis team as arun said

  • The request failed with HTTP status 401: Unauthorized error message

    Hi
    While processing security (OLS v4.3 SQL2000), we encounter the following problem towards the end of the process:
    Creating Desktop folders
    Completed
    Error occurred
    CreateJournalReport: The request failed with HTTP status 401: Unauthorized., FindAppsetFolder Failed
    We have checked the IIS as recommended in some previous threads but we still have the same error message each time we process security.
    Does anyone have any other ideas what the problem could be?
    Many thanks

    Hi,
    There are several SAP notes speaking about this subject. For example, check if SAP note numbers 1103004 or 1104690 can help you.
    Kind Regards,
    Patrick

  • The remote server returned an error: (401) Unauthorized error while using Microsoft.SharePoint.Client.dll

    I have access to sharepoint site and I have tested this by manually creating the lists and announcements in the sharepoint site.
    now the same thing when I try to do it through the c#.net code it always gives me the following :
    "An unhandled exception of type 'System.Net.WebException' occurred in
    Microsoft.SharePoint.Client.dll Additional information: The remote server returned an error:
    (401) Unauthorized."
    My code looks like below:
    string userName = "[email protected]";
    SecureString password = new SecureString();
    foreach (char c in "abc123".ToCharArray()) password.AppendChar(c);
    using (var context = new ClientContext("https://sharepoint.partners.extranet.adlabs.com/sites/UniTest"))
    context.Credentials = new SharePointOnlineCredentials(userName, password);
    context.Load(context.Web, w => w.Title);
    context.ExecuteQuery();
    Krrishna

    Hi Krrishna,
    You code is used to access SharePoint Online, if you are use SharePoint 2007, we can use SharePoint web service or custom web service to achieve your requirement. 
    Lists Web Service
    http://msdn.microsoft.com/en-us/library/lists(v=office.12).aspx
    Creating a Custom Web Service
    http://msdn.microsoft.com/en-us/library/ms464040(v=office.12).aspx
    About SharePoint 2007(MOSS 2007), you can also post it to the forum below, you will get more help and confirmed answers there.
    https://social.technet.microsoft.com/Forums/en-US/home?forum=sharepointdevelopmentlegacy
    Thanks,
    Dennis Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Dennis Guo
    TechNet Community Support

  • Archive link error:HTTP error: 401 Unauthorized

    Hi all,
    I am getting "HTTP error: 401 Unauthorized" error while uploading pdf via archive link  store business document
    from front end.
    Any solution
    Regards
    Abhijit

    Abhijit,
    Check that the OS user that is used to run the web application has read/write permissions for the both the "installation path" and the "repository path" - for UNIX its the Apache user id and for Windows its the user that started the IIS service.
    This may resolve your issue.
    -Srini

  • The remote server returned an error :(401) unauthorized in Provider hosted app deployment

    Hi,
    We are trying to deploy the provider hosted app in server environment . we are getting the "The remote server returned an error :(401) unauthorized" error after deploy the app in server.
    stack Trace:
    [webException:Te remote server returned an error:(401) UnAuthorized.]
    System.Net.HeepWebRequest.GetResponse().
    Followed the same MSDN steps , but sill same error. We have attached the certificate and using the same issuer ID in the app web.config.
    Verified the IIS setting and still getting the same error when we call the "Clientcontext.ExecuteQuery()" method.
    Same code is working fine in my Local dev environment.
    If anyone have idea about this issue, please let me know.
    Thank you,
    Mylsamy

    Hi ,Thank you for your response. We have tried all the options and everything is same (Client ID,Issuer ID...etc) and finally figured out the issue.The below link saved my day.http://msdn.microsoft.com/en-us/library/office/dn762439(v=office.15).aspxIn "TokenHelper.cs" GetRealmFromTargetUrl method always return null andWhen we analyze the issue we found some variable name assigned for "Realm" Instead of GUID in SP server.Power shell command to get the Realm in SP server:  Get-SPAuthenticationRealmWe have followed below article to generate the new GUID for realm.http://technet.microsoft.com/en-us/library/jj219756(v=office.15).aspx$c =Get-SPServiceContext -Site "http://<websiteurl>"Set-SPAuthenticationRealm -ServiceContext $c -Realm "a686d436-9f16-42db-09b7-cb578e110ccd".
    Thankyou,Mylsamy

  • SOAP Asynch Message Giving HTTP 401 Unauthorized error

    Hi experts,
    <Br>
    We are sending ORDERS IDOC Asynchronously from ECC To XI and XI is sending it to Vendor using SOAP.
    This interface was working OK and now we had HTTP 401 error. Checked URL,Username and password to the Vendor. It looks OK. It is working OK if I try it in browser.
    </br>
    <Br>
    I tried to refresh the object by changing values and reactivating,did cache refresh..Still didn't work.When I try to check for the problem found J2EE_GUEST user was locked.Same was unlocked and tried again.
    </BR>
    <BR>
    This IDOC is requesting for acknowledgement( trying to suppress ack by running IDX_NOALE).
    But now I need to reprocess these failed messages.I was trying in different ways and it is not going thru.
    Any pointers are really appreciated.
    </BR>
    Adapter Engine Log is as follows:
    <BR>
    2009-10-27 16:37:30 Success The message was successfully retrieved from the receive queue.
    <BR>
    2009-10-27 16:37:30 Success The message status set to DLNG.
    <BR>
    2009-10-27 16:37:30 Success Delivering to channel: CC_ORDERS05_TO_XYZ_SOAP
    <BR>
    2009-10-27 16:37:30 Success MP: Entering module processor
    <BR>
    2009-10-27 16:37:30 Success MP: Processing local module localejbs/sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean
    <BR>2009-10-27 16:37:30 Success SOAP: request message entering the adapter with user J2EE_GUEST
    <BR>2009-10-27 16:37:30 Error Exception caught by adapter framework: SOAP: response message contains an error <BR>XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 401 Unauthorized
    <BR>2009-10-27 16:37:30 Success SOAP: completed the processing
    <BR>2009-10-27 16:37:30 Error SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - <BR>HTTP 401 Unauthorized
    <BR>2009-10-27 16:37:30 Success SOAP: sending a delivery error ack ...
    <BR>2009-10-27 16:37:30 Success SOAP: sent a delivery error ack
    <BR>2009-10-27 16:37:30 Success Acknowledgement creation triggered for type: SystemErrorAck
    <BR>2009-10-27 16:37:30 Success Acknowledgement creation triggered for type: AckNotSupported
    <BR>2009-10-27 16:37:30 Error MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: SOAP: <BR>response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 401 Unauthorized
    <BR>2009-10-27 16:37:30 Success Acknowledgement sent successfully for type: SystemErrorAck
    <BR>2009-10-27 16:37:30 Success Acknowledgement sent successfully for type: AckNotSupported
    <BR>2009-10-27 16:37:30 Error Delivery of the message to the application using connection SOAP_http://sap.com/xi/XI/System <BR>failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: SOAP: response message contains an error <BR>XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 401 Unauthorized.
    <BR>2009-10-27 16:37:30 Error The message status set to NDLV.
    <BR>
    <BR>Regards,
    <BR>Ramesh
    Edited by: RameshK99 on Oct 28, 2009 1:57 AM

    Can you run a sniffer tool & see the actual reason for 401 unauthorized error? 6172 weblog: Troubleshooting SOAP, HTTP and Mail Adapter Scenarios with TCPGateway by Stefan Grube...
    Generally, 401 unauthorized is when the target system rejects the request...  Also, What type of authentication does the target webservice have.?? B'cos i ran into a similar problem with Ms-Webservice. (they were using NTLM authentication). It works from a browser but not from PI. So we installed SOAP-AXIS adapter to support NTLM based authentication.
    Regards,
    Siva Maranani

  • Error http the request failed with http status 401: unauthorized

    Hi,<o:p></o:p>
    We are currently developing a Web Part for a
    dashboard that connects from SharePoint 2010 to Project Server, we are trying
    to connect via the PSI web service and fetch the project data but it is giving
    the same error "The request failed with HTTP
    status 401: Unauthorized". We are having a huge
    issue with gaining authorization through the PSI and cannot figure out what the
    problem is. We are using Project Server 2010, SharePoint 2010 and Visual Studio
    2010.<o:p></o:p>
    The person developing this has administrative
    rights on both servers and it is running on his account. However, this is his
    first experience with Project Server. Could some provide some guidance?<o:p></o:p>
    Does anyone have any suggestions?<o:p></o:p>
    Thanks,<o:p></o:p>
    Aba
    <o:p></o:p>

    Hi,
    Have the credentials been set for the web service? Or are you trying to pass the credentials of the user accessing the webpart? In the second case, the user must have permissions in project server
    It would be useful if you can share the part of the code that fails
    Paul

  • Getting error "The request failed with HTTP status 401: Unauthorized " for _vti_bin/Authentication.asmx

    Hi All,
    My Web application is FBA application and I am using the lists.asmx services in my custom webpart. To run this lists.asmx service in FBA enabled site we need to use Authentication.asmx service..
    I referred this link:
    http://social.msdn.microsoft.com/Forums/en-US/sharepointdevelopment/thread/21867e28-75d5-42c8-850b-bfb5c5894eed .
    I wrote a code as mentioned in this article but now I am getting  error "The request failed with HTTP status 401: Unauthorized " for Authentication.asmx service itself. Can somebody help me why it is not working even everything looks
    correct?
    Thank you.
    Regards,
    Rahul Shinde.

    Hi Rahul,
    Give permissions to the user on the web application.
    Central Admin -->Application Management --> Application Security -->Policy for web application --> Select the
    web application --> Add User
    For more information, refer to
    http://microsoftdev.blogspot.com/2009/10/sharepoint-web-services-access-give.html
    http://www.codeproject.com/Articles/24244/Access-a-Forms-Based-SharePoint-Site-s-Web-Service
    Best Regards.
    Kelly Chen
    TechNet Community Support

  • HTTP error: 401 Unauthorized while uploading photo in hr master data

    Hi All,
    Transaction code OAAD while uploading a photo  iam faceing a problem
    i am getting error massage *HTTP error: 401 Unauthorized"
    i have done modifications in the transaction codes
    OANR ,OAC2,TABLE: V_T5850,OAC0,OAOH,OAAD,
    IN OAAD Transaction code i am getting this error
    HTTP error: 401 Unauthorized
    please guide me on this issue

    Hi Sai,
    First create a communication type user (via SU01) with SAP_ALL profile.
    Then goto SICF transaction.
    While hierarchy type is SERVICe hit "Execute" button.
    Find contentserver under default_host -> sap -> bc.
    Double click the service.
    Press Logon tab.
    Enter the relevant user info.
    Save - Back button.
    Activate the service (if it is not already active)
    Regards,
    Dilek

  • HTTP Error: 401 unauthorized when executing a costcenter report.

    Hi.
    I get this HTTP error when executing an costcenter report.
    The steps I do is following.
    Call upp the report Y_D02_77000xxx
    Under the "kostenstellen:Selection I Fill in this values.
    Controlling area
    Fiscal Year
    From Period
    To     Period
    Plan version
    and finally i enter the "Cost Center group"
    Then i press "execute" and get the result for differrent Cost Element, i get 2 lines "*Total" and
    "**Over/underabsorption"
    Now i doubleclick Over/underabsorption and select report "Cost Centers: Actual Line Items"
    Now i Should get a new window woth results but instead i get a blank screen with the errormessage:
    "HTTP error: 401 unauthorized"
    This procedure worked fine until a couple of weeks ago.
    Anyone have any ideas about what could be the problem?
    Regards Johan

    You might want to check all of your connections in SM59. When you get the 401 error, this is sometimes due to a connection failure (bad password and so on) in the RFC connections (this can also happen if you are using the Content Manager).
    Hope that helps.
    J. Haynes

  • HTTP Error 401: Unauthorized on testing content repository connection

    Hi,
    I am facing one problem while testing connection of repository created through TCode OAC0. Its giving error "HTTP error: 401 Unauthorized". Please if anyone has solution let me know.. Reward Points will be given...
    Regards
    Hardik

    yeah it was already set on "0"
    antoher problem i think. every time when i click on "CS Admin" inside the repository (OAC0) i need a username and password ( <a href="http://img404.imageshack.us/img404/1958/userzp2.jpg">click</a> ). i always use a system account who is local administrator and after that i can access the repository settings. <a href="http://img84.imageshack.us/img84/1982/csinizi2.jpg">This is my CS.ini</a>. I set the security on "0" too but always the 401. Is there a need to open antoher port beside the default 1090? Because http is working on 80 and i know that every port must be opened for that server. Or do i need antoher user for that CS.
    If you need other informations, just ask!
    Thanks
    Regards,
    Patrick

  • HTTP error .401 Unauthorized

    Hello experts,
    We are unable to upload image file, getting error " HTTP error .401 Unauthorized "
    what could be the reason , how can i resolve  this error . please help .......
    Thanks & Regards,
    KNM

    Hi Rajukumar,
    You question is related to ASP.NET, you can open a new thread in
    ASP.NET forum for a better response. I'll move your thred to Off-Topic forum.
    Best regards,

  • HTTP error: 401 Unauthorized. ICS:3001: The referenced certificate having been issued by 'CN=DEC' with serial :0x20140423094001 is.

    Dear Experts,
    Transaction code : ME23N
    while create a document by through a GOS (Generic Object Service), Iam facing a problem and it through a error message:
    HTTP error: 401 Unauthorized. ICS:3001: The referenced certificate having been issued by 'CN=DEC' with serial :0x20140423094001 is.
    Please giude me  on this issue.
    Thank & Regards,
    Mahendra.

    Hi Janos,
    by through a GOS under a GOS by using a  Store Business document to create a document in Transaction. Please find the below attached screenshots has i following to create a document in a Transaction. So , while creation a document in T-code am facing a error like:
    HTTP error: 401 Unauthorized. ICS:3001: The referenced certificate having been issued by 'CN=DEC' with serial :0x20140423094001 is.

  • HTTP error:401 Unauthorized ,Photo Upload in R/3

    Hi SAP Guru's
    We have followed note 595563 for implementing photo upload functionaly in our server.
    but when I am storing photo by tocode OAAD , it's giving error.
    HTTP error:401 Unauthorized
    Please help actually I have checked all the SDN threds but no success.

    TCode SICF- Here you activate the Content Server Interface.
    First you need to create a user profile u2013 with sufficient authorisations to carry out the processes which are done by the system in the background. Ideally this should be a background user for a notional/dummy user. You can use your own user ID after which SAP will warn you that this is a dialogue user account. If you do use your own user ID, change it as soon as you have tested the config. Once you have finished the project, the chances are that your user account will be deleted from the system which will subsequently stop this service from working.
    Double-click on "content server" in the left hand tree structure. You can find it under default_host --> sap --> bc --> content server
    Once you have done this, click on the refresh icon and make sure that the service is activated. If it is activated, the writing should be in bold (as opposed to greyed out)

Maybe you are looking for