UNAUTHORIZED:401
Hi Experts,
We are getting failed messages for the below error in integration engine .After manually restarting the messages processed successfully from integration engine .I am using PI7.1 version .
Please suggest me any parmanent solution for this issue .
-SOAP:mustUnderstand="1">
<SAP:Category>XIServer</SAP:Category>
<SAP:Code area="INTERNAL">UNAUTHORIZED</SAP:Code>
<SAP:P1>401</SAP:P1>
<SAP:P2>Unauthorized</SAP:P2>
<SAP:P3>(See attachment HTMLError for details)</SAP:P3>
<SAP:P4 />
<SAP:AdditionalText />
<SAP:Stack />
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
Regards,
Somenath
Hello,
For general issues with the error 401 Unauthorized, please refer to note below maintaining
the same password for all the service users in all the places mentioned (SU01, Exchange
Profile, ...):
#999962 - PI 7.10: Change passwords of PI service users
Also check for users locked in the transaction.
Regards,
Caio Cagnani
Similar Messages
-
Rpcproxy.dll unauthorized 401 for some users
When i test my outlook anywhere installation on exchange 2010, depending on the user i get a rpcproxy.dll unauthorized 401 error.
What groups should the users belong to?There is no group membership required for Outlook Anywhere access. Probably your Outlook Anywhere is misconfigured.
http://technet.microsoft.com/en-us/library/bb124263(v=exchg.141).aspx
http://technet.microsoft.com/en-us/library/bb123545(v=exchg.141).aspx
http://technet.microsoft.com/en-us/library/bb124559(v=exchg.141).aspx
http://technet.microsoft.com/en-us/library/bb123683(v=exchg.141).aspx
The most usual problem is the certificate being used and the CertPrincipalName setting.
Get-OutlookProvider -Identity EXPR | FL CertPrincipalName
Ed Crowley MVP "There are seldom good technological solutions to behavioral problems." -
Packaging wizard failed : unauthorized 401 ???
Hello,
At the end of the packaging wizard (10g) when I want to publish my new application, I receive the following message :
WTG-20502
Packaging wizard failed
401
unauthorized
Why ???
Thanks for your answers.HTTP error 401 usually means that HTTP authentication is required. While installing the solution you should have been asked for username/password ?
-
Hi,
I have created a web service from a simple helloworld function module in Netweaver 7.0.
I created the service definition with basic authentification (User/pwd) security.
Now , my user has roles SAP_BC_WEBSERVICE_CONSUMER and SAP_BC_WEBSERVICE_ADMIN_TEC but I still get a 401 unauthorized error when I run from Stylus Studio...
How can I see what authorizations I am missing... if I'm running in SRT , I can't run su53 after ????
How do you debug security for web services ???
ThanksHi,
thanks for the answer... I've already assigned roles and am wondering what is now missing... but also think it may be another problem.
does anyone know how to debug the security for web applications... in particular the soap run time (srt).
Normaly, in SAPGUI , you do SU53 after you get authorisation error... can't do this in the web.
Thanks. -
Unauthorized 401 error when executing any managed bean event or links
HI,
I am developing one application in Webcenter 11g PS5. Ths application is using some custom adf taskflow libraries in some regions and peoplesoft portlets. This application is using composer as well. When security in not enbaled then the application works fine. But when security is enabled then the home page opens up. But when any link or edit link is clicked one erros comes up as pop-up in the browser. The pop up displays the error as unauthorized error=401. After a page refresh the link again works fine. But again another link or the same link gives same problem in the same session. Can anyone please help me on this issue?
Thanks,
Soumyo.Hi,
Glad to hear that you solve this issue, thanks for your sharing.
Thanks,
Linda Li
Forum 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]
Linda Li
TechNet Community Support -
Unauthorized 401 error message
Some users of my website get an unauthorized message when trying to log into my website? The site is password protected?
Internet Explorer is a total pain as stuff that works in one version doesn't in another. Its unbelievable how many people are still using versions 6 & 7.
IE V 8 added all these security measures which made things worse. I wonder if its this version that's causing the problem? I'm not very familiar with IE 8 because, anytime I'm on a PC, I give up on it in frustration and download Google Chrome. -
HTTP Unauthorized 401 Error when calling custom code Workflow-Activity (SharePoint 2013)
Hi,
from one day to the other the custom code activity within a SP2013 workflow gives me the following error:
Activity in progress Retrying last request.
Next attempt scheduled in less than one minute.
Details of last request:
HTTP Unauthorized to
http://server/subsite/_vti_bin/client.svc/sp.utilities.utility.ResolvePrincipalInCurrentcontext(input=@ParamUser,scopes='15',sources='15',inputIsEmailOnly='false',addToUserInfoList='False')?%40ParamUser='i%3A0%23.w%7Csp2013-dev%5Cadministrator'
Correlation Id: 9d507c00-1e24-af73-fcea-faa4a0a61ae1
Instance Id: 5c91916e-918b-453a-bf48-e61649afa3d0
After some time the workflow gets cancelled automatically. The custom code activity ran many times before without any errors.
Thanks a lot in advance!Hello,
this KB could help also:
HTTP Unauthorized to /_vti_bin/client.svc/sp.utilities.utility.SendEmail
Regards,
Alex
Alex Pitulice, MICROSOFT
Bitte haben Sie Verständnis dafür, dass im Rahmen dieses Forums, welches auf dem Community-Prinzip
„IT-Pros helfen IT-Pros“ beruht, kein technischer Support geleistet werden kann
oder sonst welche garantierten Maßnahmen seitens Microsoft zugesichert werden können. -
Error while using receiver file adpater "401 UNAUTHORIZED"
Hi ALL,
I'm doing a Idoc to File scanerio. However, I could see the xml file generated in sxmb_moni in the payload sections. I have used the file adapter for the receiving side, but i am getting the following error under the Soap Header.
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Call Adapter
-->
- <SAP:Error SOAP:mustUnderstand="1" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SAP:Category>XIServer</SAP:Category>
<SAP:Code area="INTERNAL">UNAUTHORIZED</SAP:Code>
<SAP:P1>401</SAP:P1>
<SAP:P2>Unauthorized</SAP:P2>
<SAP:P3>(See attachment HTMLError for details)</SAP:P3>
<SAP:P4 />
<SAP:AdditionalText />
<SAP:Stack />
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
Please help to resolve this issue.
Thanks,
Lalitkumar.Hello,
I don't have any link for this.
But " Unauthorized : 401 " error occurs only when the users are locked or roles are incorrect.
I have faced this kind of error .
Can you please try below suggestions:
1. Check in Trace, is there any specific service user mentioned (Check for PIAFUSER).
2. If you cannot find any specific user in Trace than please check all the service users maintained in SU01 T-code in the system.
Probabely you can narrow your search by finding users with name as PI*.
The service users should not be locked.
-Rahul -
Hi SAP,
I've switch my tenant to HTML5 and now the postings are not going through. I've not changed anything in the communication arrangement, I kept everything i had when working in silverlight, but the postings have stop working.
thank you in advance,
Teresa RosaDear Rosa,
Are you trying to post Expense reports to ERP System and you are getting this error?
Error Unauthorized (401) generally means the User ID in ERP backend maintained in outbound communication is not valid. Could you please check if the user is valid in ERP with the proper roles and its password is well maintained? If this is well maintained, Check Connection should return Ping Successful.
Once the ping is successful on communication arrangement "SAP ERP Financials using IDoc"
Go to work center Postings, Show Posted Reports. Find report & select it. Select the below tab Request a Transfer Restart.
Please feel free to write to us in case of any further clarification required.
Sincerely,
Manasa -
SOAP adapter - unauthorized problem
Hi all,
Our third party receive an unauthorized (401) message back when they send a soap request via http protocol to our XI server.
In the soap request, the following location adapted.
http://integration.test.com/XISOAPAdapter/MessageServlet?channel=P_Cop:BSrv_EDS:CC_Cop_SOAP_Sender_buf&version=3.0&Sender.Party=http://sap.com/xi/XI:XIParty:P_COP&Sender.Service=BSrv_EDS&Interface=http://test.com/interfacing/lp/eds/cop^MI_O_vatCOP_BUF
Changing the location into did not work also
http://XIusername:XIpassword@*integration.test.com/XISOAPAdapter/MessageServlet?channel=P_Cop:BSrv_EDS:CC_Cop_SOAP_Sender_buf&version=3.0&Sender.Party=http://sap.com/xi/XI:XIParty:P_COP&Sender.Service=BSrv_EDS&Interface=http://test.com/interfacing/lp/eds/cop^MI_O_vatCOP_BUF
Using a the Oxygen web service testing tool works fine (after enter a valid XIusername and XIpassword).
Using the SOAP UI web service testing tool does not work (after enter a valid XIusername and XIpassword).
Are there any other options or ideas?
Please helpHi E.J.C. Theuns !
Maybe the problem is being caused because the way that the user and password is being sent to XI WebService.
I have used to send user and password joined to the url in the format that you specified in your first message but, this worked in Java, not in PHP.
When I used PHP to call a RFC function as a WebService, I do it using NuSOAP package, and using NuSOAP, the code was something like this:
require_once('nusoap.php');
$client=new soapclient('http://<server>:<port/sap/bc/soap/rfc');
$client->setCredentials('<user>','<password>');
$msg='<BAPI_MATERIAL_GETLIST xmlns="urn:sap-com:document:sap:rfc:functions">
<MAXROWS>200</MAXROWS>
<MATNRSELECTION>
<item>
<SIGN xsi:type="xsd:string">I</SIGN>
<OPTION xsi:type="xsd:string">GE</OPTION>
<MATNR_LOW xsi:type="xsd:string">000000000000000001</MATNR_LOW>
</item>
</MATNRSELECTION>
<MATNRLIST></MATNRLIST>
<MATERIALSHORTDESCSEL></MATERIALSHORTDESCSEL>
</BAPI_MATERIAL_GETLIST>';
$msg1 = $client->serializeEnvelope($msg);
echo "Makes the call !";
$client->send($msg1,"BAPI_MATERIAL_GETLIST");
echo '<br><br><br><br><b>Request:</b><xmp>'.$client->request.'</xmp>';
$material = $client->response["MATNRLIST"];
$item = $material["item"];
echo '<b>Test:</b> <xmp>'.$item["MATERIAL"].'</xmp>';
echo '<b>Response:</b> <xmp>'.$client->response.'</xmp>';
echo '<b>Debug log:</b> <pre>'.$client->debug_str.'</pre>';
echo "End of execution";
How you can see in this sample code, the user and password are sent using this code:
$client->setCredentials('<user>','<password>');
Where $client is a instance of the NuSOAP soapclient class.
This code always work very well, I don´t know if your third part system is using NuSOAP too but, case not, tell the php programmer to check if the library that is being used doesn´t have some class/method like NuSOAP, to set credentials.
Thank you for your attention, and I hope this info helps you !
Best regards,
Wilson -
Info path 2010 web service(getuserprofilebyname) not able connect in the browser mode
Hi all,
I have published the info path which will reterieve the current user using the getuserprofilebyname service. The service gets the current user when the form is opened in the info path filler after publishing. It shows the below error when I try to open the
form in browser mode(I have changed the settings in the form -> AdvancedSettigns -> Open in browser). My form is browser enabled form.
There has been an error while processing the form.
Click OK to resume filling out the form. You may want to check your form data for errors.
An error occurred while trying to connect to a Web service.
Correlation id:........
Timestamp Process
TID Area Category
EventID Level Message Correlation
03/10/2014 10:13:46.60 w3wp.exe (*:0x16C4) 0x0B90 InfoPath Forms Services Runtime - Data Connections eq8l Warning The following
query failed: GetUserProfileByName (User: domain\user, Form Name: Final, IP: , Connection Target: , Request:
http://servername/_layouts/FormServer.aspx?XsnLocation=http://ts/001/ODCProcure/Final/Forms/template.xsn&SaveLocation=http://servername/001/ODCProcure/Final&ClientInstalled=false&Source=http://ts/001/ODCProcure/Final/Forms/AllItems.aspx&DefaultItemOpen=1,
Form ID: urn:schemas-microsoft-com:office:infopath:Final:-myXSD-2014-02-06T09-06-05 Type: DataAdapterException, Exception Message: The remote server returned an error: (401) Unauthorized. The remote server returned an error: (401) Unauthorized.) dabf35bf-ce6b-4c95-8694-b2e991b42fb3
Weird thing is that I did not get this error on day1. On day 1 it was working fine. I am able to connect to the web service and get data. On day 2 when i tried open the form I got this error.
We have 4 WFE , So I hope it is not due to loopbackcheck security feature.
I checked in the central admin whether it is claim based web app or not. Its is not claim based web app.
So any one guide me to get ride of this error.
Thanks,
Vaishali.
Vaishali SankarHi Vaishali,
Please ensure the user encountered this issue has enough permission to access (or update) the data source you added to the InfoPath form.
If you suspect the issue is caused by loopbackcheck security feature, then you could try to disable the
DisableLoopbackCheck follow this KB on all SharePoint servers. And check if problem persists after reboot servers:
http://support.microsoft.com/kb/896861 .
In addition, is there load balancer deployed in your environment which might bring double-hop authentication? This might cause the issue happens intermittently. If so, you could manually add entries in host files. For your reference:
http://sharepointconnoisseur.blogspot.in/2011/04/how-to-resolve-401-unauthorized-error.html
Here are the thread with similar issue:
http://social.technet.microsoft.com/Forums/sharepoint/en-US/b55f0e48-971e-4782-a4b8-94cf83f9d9e0/infopath-calls-webservice-unauthorized-udcx-file-with-explicit-credentialssso?forum=sharepointcustomizationprevious
http://social.msdn.microsoft.com/Forums/en-US/81e669c0-60b9-4035-8ac7-67d29633fd2d/unauthorized-401-error-using-form-services?forum=sharepointcustomizationlegacy
Regards,
Rebecca Tu
TechNet Community Support -
Configure Search Across farms in sharepoint 2013
Hi,
I'm setting up a farm to share services across differente farms but for some reason search isn't working.
I have done everything I thk i should, exchange certs, create trust relationship, publish service, service permissions, connect remote service app, s2s auth etc. I added the remote site url on the crawler, it runs without erros, then I created a result source
with remotesharepoint but when I test I get an Unauthorized (401), or when I search on my Enterprise search.
In the consumer farm I'm getting this error on the ULS:
SPApplicationAuthenticationModule: Error authenticating request, Error details: Header: 3000006;reason="Token contains invalid signature.";category="invalid_client", Body: {"error_description":"Invalid JWT token. Could not
resolve issuer token."}
I have changed my PS command according this guy(http://steve.thelineberrys.com/following-sites-across-farms-with-sharepoint-2013-mysites/) that had the same problem but with the UPS, without any luck.
What am I doing wrong? Does anyone had the same problem? Thks alot
http://pontodepartilha.blogspot.comI am now able to search and get results from the Consumer site collection (crawler runs without errors) on a Search Portal on the Publisher farm.
But everytime I try to open the Result Sources on my consumer site collection for example I get a
"Addresses for this application have not yet been fetched."
I dont get service toplogy/permission errors on ULS, but I have tried the script harbar posted:
http://social.technet.microsoft.com/Forums/sharepoint/en-US/fb52cfd8-bdb5-45b2-a86b-a23f8179a8b7/addresses-for-this-application-have-not-yet-been-fetched?forum=sharepointadminprevious
Any ideas? Tk you.
http://pontodepartilha.blogspot.com -
Crystal Report + Web Services Security Help!
Hello all,
I am trying to design a Crystal Report (using CR XI 2 and/or CR 2008) and using a web service as a data source. I've developed the web service in .NET and have control over the IIS directory it is hosted on. I've set the authentication for the folder with "Anonymous Access" turned off and Integrated Windows Authentication.
I'd like Crystal to pass the current user id (NT Id) over to the web service when the report is created. My web service will take the user id and return only the data that the user is allowed to view (security is all in the web service).
The problem I am having is after setting up my connection in Crystal Designer, when I click preview, I am getting an unauthorized (401) error.
It seems that CR isn't passing any type of user credentials to IIS. Does anyone know if there is a way to do this so I can test this in the designer?
Thanks!Nope, nothing yet. The problem seems to be that Crystal doesn't currently allow SSO or the SSO credentials to be passed through to IIS. Therefore, IIS never gets any security tokens for validation. Maybe you can do this with an SDK? I don't know.
The only half solutions I can think of are:
1. Allowing "Anonymous Access" authentication to your web service on IIS. The downside is that the user token doesn't get passed through, so if you are looking to use the current user security context, you're outta luck. You'll get the impersonated IIS account instead.
2. Hosting your crystal report file behind IIS in your vritual directory. I think this works since by the time you get to the report, it has already been authenticated via IIS. However, you don't get the luxury of the BOE servers.
So sadly, no answer yet. I've decided to just code everything into my stored procedures as I am short on time. It seems odd that CR doesn't seem to support this yet, but who knows what the future holds
If you find anything out, please let me know. Thanks! -
HTTP_GET to apache that uses NTLM
Hi,
our Intranet uses an apache-Server with NTLM-authentification. I use SAP to get data from that server. When I use FM http_get I always get "Unauthorized"
(401). Anyone knows how I can handle this?
With FM http_get I only get data to websites with basic authentification.
Thanks in advance
MichaelHello,
As the error message clearly say, you can not use ActiveX in a SQL Server CLR assembly.
But Transact-SQL supports the usage of ActiveX, see MSDN:
OLE Automation Objects in Transact-SQL
OLE Automation Stored Procedures (Transact-SQL)
Olaf Helper
[ Blog] [ Xing] [ MVP] -
Trouble running "Universal Windows app that consumes data from the Azure Marketplace" sample
I am trying to run the sample titled "Universal Windows app that consumes data from the Azure Marketplace". I am not sure how to enter the credentials for the Zillow APIs. I obtained a key from Zillow, but when I enter it per the instructions
in the sample, I still get an unauthorized (401) error.
The instructions say Insert that key into the SampleDataSource file of your project in place of the string "Your account key goes here".
So I replaced my key in this line of code:
request.Credentials = new NetworkCredential("<Your account key goes here>",
"<Your account key goes here>");
Am I missing something else?Hi isgimaryann,
I would suggest you ask question at:
https://code.msdn.microsoft.com/windowsapps/Universal-app-that-d7406c5b/view/Discussions#content to see if the owner of the sample will give you some suggestions.
--James
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.
Maybe you are looking for
-
I have given my niece my old iPhone 4 and she has deleted my contacts on my iPhone 5 how can I restore and stop this happening again
-
Differences in 10g Standard and Enterprise Editions
I found on the matrix of items enabled in 10g standard and enterprise edition that the standard edition does not have Oracle Data Guard, but it does have standby database. For a standard edition database with a standby database configured (manually s
-
Will I be able to select the URL bar by pressing F6 with tabs on top again?
In previous versions of FF (lo, with tabs on bottom) I could select the URL bar's text simply by pressing F6. With tabs on top I press F6 and select the tab itself, not the URL bar. Is there a setting I can change where the functionality will be retu
-
How you resolve, IIS error 404.8 hiddensegments
Hi I can't to see the web gallery photo made with adobe brigde, this error occurs IIS error 404.8 <hiddensegments> To resolve IIS error 404.8 <hiddensegments> Open the file applicationhost.config witn notepad , path of the file windows\System32\inet
-
JJust was wondering if the store assoc. lied to get the sale quoted in