cancel
Showing results for 
Search instead for 
Did you mean: 

Content Serverv 4.6: HTTP/1.0 401 Unauthorized

Former Member
0 Kudos

Dear Alll,

When I'm tried to upload file to content server 4.6 i'm getting the error message below:

HTTP/1.0 401 Unauthorized

content-type: text/html; charset=utf-8

content-length: 2139

sap-system: DEV

www-authenticate: Basic realm="SAP NetWeaver Application Server [DEV/200]"

server: SAP NetWeaver Application Server / ABAP 731

http://iit-dev-qas.local.net:8007/sap/bc/contentserver/200?create

&pVersion=0046&contRep=Z3&docId=D4AE52A4B3321ED2A5D59287939488DE&docProt=rc

ud&accessMode=c&authId=CN%3DDEV,O%3DSAPTrustCommunity,C%3DDE&expiration=201

30327090437&secKey=MIIBJAYJKoZIhvcNAQcCoIIBFTCCARECAQExCzAJBgUrDgMCGgUAMAsG

CSqGSIb3DQEHATGB8TCB7gIBATBEMDkxCzAJBgNVBAYTAkRFMRwwGgYDVQQKExNTQVAgVHJ1c3Q

gQ29tbXVuaXR5MQwwCgYDVQQDEwNERVYCByAJBxYRGSMwCQYFKw4DAhoFAKBdMBgGCSqGSIb3DQ

EJAzELBgkqhkiG9w0BBwEwHAYJKoZIhvcNAQkFMQ8XDTEzMDMyNzA3MDQzN1owIwYJKoZIhvcNA

QkEMRYEFGkxDBen9lS%2FWFltllQfPuOTxDZYMAkGByqGSM44BAMELjAsAhQJvidn6ZX%2F%2FX

uKYTyl1gNnJ977CAIUJZTkYM8G7cL6%2F%2ByGcDkw3KM311E%3D

401

Unauthorized

00000000000000143054

------------------------------------------------------------------------------------------------------------------

Event02

Source: CL_SRM_SP_BDV=================CP , CL_SRM_SP_BDV=================CM030 ,       258

Message no. SRM_REGISTRY151

----------------

Unexpected Error in SP Client

Message no. BL001

error happend in function SCMS_HTTP_CREATE_FILES

Do you have any idea or solution?

BR,

Khemarin

Accepted Solutions (0)

Answers (4)

Answers (4)

Private_Member_17805
Participant
0 Kudos

Check the user id with which you are trying to write to the server?

Check the 'content server' service in SICF - and check if the user on the service has authorisation.

Former Member
0 Kudos

Dear Jayant R,

The contentserver is active. related authorisation my account have sap_all permission. and I tried to upload the file on R3 as well.

Do you have any suggestion?

BR,

Khemarin

Private_Member_17805
Participant
0 Kudos

Hi Khemarin,

We recently had a similar issue when we were trying to create files in one of the logical archives that we had configured.It was failing because HTTP PUT request(in your case a 'CREATE') on the HTTP server was failing because the service user did not have an active password - It was a HTTP 401 error.

Check SM58 - As this would have logged any errors(though I am not sure how you are trying to archive)

For the 'content server' Interface in SICF - I guess you would have configured a service user in the logon details tab of the service - Check them.

  1. Are you suggesting that you configured the service 'content server' to make use of your user account details?
  2. Also it the HTTP Create URL that you have mentioned in your initial post has a 'expiration date' as 27th and your post in SDN happens to be on 28th.Hope that was a screenshot from previous date when you encountered the issue.
  3. Can you provide the screen shot of logon procedure as seen in your system in SICF for Content Server Interface

Bye

Jayant

Former Member
0 Kudos

Dear Jayant,

we found the root cause.

The problem causing when I created the system copy. service user haven't copy the password.

I just changed the password of service user in SICF. I can upload file as normal.

BR,

Khemarin

Former Member
0 Kudos

Dear khemarin,

I have the same issue.

Could you tell me how you change password of service user in SICF ?

Best Regards,

DW

former_member188883
Active Contributor
0 Kudos

Hi Khemarin,

1) In CSADMIN -> Settings tab make

    security = 0

2) Check the permissions in webservers whether full permission has been provided.

     For IIS -> Web Applications -> Web Services -> Content Server

     Right click and in Permission add full permissions to everyone.

Hope this helps.

Regards,

Deepak Kori

Former Member
0 Kudos

Dear All,

Thank you so much for your feedback.

@Samuli Kaski,

The status of Z3 is running.

@Deep Kori,

I was tried to change the setting in CDADMIN -> Security =0

but it's getting error [HTTP error: 400 bad request bad request]

Do you have any idea?

BR,

Khemarin

former_member188883
Active Contributor
0 Kudos

Hi Khemarin,

I was tried to change the setting in CDADMIN -> Security =0

but it's getting error [HTTP error: 400 bad request bad request]

Could you check whether backend MaxDB database is up and running and you are able to connect using dbmgui.

Regards,

Deepak Kori

Former Member
0 Kudos

Hi Deepak Kori,

I'm using SQL server 2008 R2 as the database and the service is up and running.

Do you have any suggestion?

BR,

Khemarin

former_member188883
Active Contributor
0 Kudos

Hi Khemarin,

You mentioned

I'm using SQL server 2008 R2 as the database and the service is up and running.

Content Server always runs on MaxDB database. I guess you are talking about your ERP system database which runs on MSSQL.

Could you share your configuration details like screenshot from OAC0

Also please check how have you installed content Server

Regards,

Deepak Kori

Former Member
0 Kudos

Hi Khemarin,

please check the content repository status:

Go to OACO> select open your content repository > perform the test connection.

if connection fails Go to > CS Admin and check the content repository status, please check the Overview Tab also for Status.

please let me know if you found any error.

Thanks

Kishore Cherukumalla

Former Member
0 Kudos

Use transaction CMSADMIN to check the status of CS and the repository (Z3).