Switch to HTML5 - Posting to Finance - SRT: HTTP error: ("HTTP Code 401: Unauthorized - Details see in error log of transaction SRTUTIL")
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 Rosa
Dear 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
Similar Messages
-
SOAP:1.026 SRT: HTTP-Code 500: ("Internal Server error)
Hi,
When i am executing the Client proxy in ABAP, i am getting SOAP:1.026 SRT: HTTP-Code 500: ("Internal Server error).
how to resolve it, can any one help.
Thanks & Regards,
Brahmaji.Hi Brahmaji,
i also faced with the above problem, activete the srt services in SICF Transaction.
Regards,
Kumar.
Edited by: kmikkili on Nov 18, 2009 11:39 PM -
Hi All,
while Running Client Proxies from se80 im getting Following error. i already checked all the Services All are active only. can any one suggest me:
SOAP:1.026 SRT: HTTP-Code 500: ("Internal Server Error")
Exception of class CX_AI_SYSTEM_FAULT
RFC Trace:
**** Trace file opened at 20140630 124650 IST, by disp+work
**** Versions SAP-REL 721,0,201 RFC-VER U 3 1460390 MT-SL
XRFC> Begin of user trace
XRFC>
XRFC>
<
XRFC> TRACE SOAP RUNTIME - header
<
XRFC>
<
XRFC>
XRFC> SESSION_ID : 0002425553A5ECFC63B114C4E1000000C0A80141
XRFC> TS_CALL
: 20140630071647.5930180
<
XRFC> SY_UNAME : SAPADMIN
<
XRFC> HOSTNAME : SOLAR-DEV
<
XRFC> SY_SID
: DEV
<
XRFC> SY_MANDT : 001
<
XRFC> SYS_NR
: 01
<
XRFC> APPLSERVER : SOLAR-DEV_DEV_01
<
XRFC> ISPRESCHED : X
<
XRFC> PARENT_ID : ROOT_CALL_ID
<
XRFC> REQ_SIZE : 1821
<
XRFC> RESP_SIZE : 75
<
XRFC> DURATION : 2246
<
XRFC> NETHDRTIME : 2246
<
XRFC> CALL_STATE : 2
<
XRFC> ERRORTYPE : SYSFAIL
<
XRFC> ERRORAREA : COREMSG
<
XRFC> CTXDP_TYPE : SOAP_RUNTIME
<
XRFC> SYNC_ASYNC : S
<
XRFC> LOCATION : C
<
XRFC> DIRECTION : O
<
XRFC> REQ_ID
: 52EDA553B163C414E1000000C0A80141
<
XRFC> RESP_ID
: 00000000000000000000000000000000
<
XRFC> MSG_STATE : 114
<
XRFC> IF_NAME_I : YSCO_SAPORDERS_SOAP
<
XRFC> IF_NS_E
<
XRFC> IF_NAME_E :
<
XRFC> ISSHORTCUT :
<
XRFC> TRC_PATT : WSTEST
<
XRFC> TRC_KEY
: 50EDA553B163C414E1000000C0A80141
<
XRFC> TRC_SSID : DEV_01
<
XRFC> TRC_USER : SAPADMIN
<
XRFC> TRC_TS
: 20140630071647
<
XRFC> TRC_COUNT : 98
<
XRFC> TRC_EXT
<
XRFC> COMPLETE : OK
<
XRFC> CALLEDPROG : YSCO_SAPORDERS_SOAP
<
XRFC> SOAP_APPLI : urn:sap-com:soap:runtime:application:client
<
XRFC> CONF_ID
<
XRFC> BIND_ID
<
XRFC> OP_NAME
: InsertPPOrders_Development
<
XRFC> COMM_PATRN : Method:InsertPPOrders_Development
<
XRFC> OP_NS
: http://microsoft.com/webservices/
<
XRFC> REMADDRESS :
<
XRFC> LP_NAME
: YSLP1
<
XRFC> DT_OBJ
: YSCO_SAPORDERS_SOAP
<
XRFC> MEMCONSUMP : 198
<
XRFC> BONAME
<
XRFC> PROCCOMP :
<
XRFC> DEPLOYUNIT :
<
XRFC> <
XRFC>
<
XRFC> TRACE SOAP RUNTIME - trace records
<
XRFC>
<
XRFC> <
XRFC> E SOAP_RUNTIME 20140630071649.8380110 : CL_SOAP_RUNTIME_CLIENT
<
XRFC> ->EXECUTE_PROCESSING Exception handling in SOAP runtime
<
XRFC>
<
XRFC>
<
XRFC> E SOAP_APPLICATION 20140630071649.8382410 : CL_SOAP_APPLICATION
<
XRFC> _CLIENT ->IF_SOAP_APPLICATION_CS~EXECUTE_PROCESSING Exception
<
XRFC> handling in SOAP runtime
<
XRFC>
<
XRFC>
<
XRFC> E HTTP_TRANSPORT_BINDING 20140630071649.8368980 : CL_SOAP_HTTP
<
XRFC> _TPBND_ROOT ->HANDLE_STATUS_CODE Received return code 500 (
<
XRFC> Internal Server Error )
<
XRFC>
<
XRFC>
<
XRFC> E SOAP_RUNTIME 20140630071649.8379970 : CL_SOAP_RUNTIME_CLIENT
<
XRFC> ->EXECUTE_PROCESSING A SOAP Runtime Core Exception occurred in
<
XRFC> method get_http_headers of class CL_SOAP_HTTP_TPBND_ROOT at
<
XRFC> position id 3 with internal error id 1026 and error text SRT:
<
XRFC> HTTP-Code 500: ("Internal Server Error") (fault location is 1 ).
<
XRFC>
<
XRFC>
<
XRFC> E SOAP_APPLICATION 20140630071649.8382290 : CL_SOAP_APPLICATION
<
XRFC> _CLIENT ->IF_SOAP_APPLICATION_CS~EXECUTE_PROCESSING A SOAP Runtime <
XRFC> Core Exception occurred in method get_http_headers of class
<
XRFC> CL_SOAP_HTTP_TPBND_ROOT at position id 3 with internal error id
<
XRFC> 1026 and error text SRT: HTTP-Code 500: ("Internal Server Error") <
XRFC> (fault location is 1 ).
<
XRFC>
<
Find The Attachment for error:Hi Brahmaji,
i also faced with the above problem, activete the srt services in SICF Transaction.
Regards,
Kumar.
Edited by: kmikkili on Nov 18, 2009 11:39 PM -
"The request failed with HTTP status 401: Unauthorized"
Hi,
I'm trying to get both RSS feeds and SSRS reports on a web application which is having NTLM authentication without Kerberos. The catch is proxy setting, if I give <proxy autoDetect="false" /> in web.config of my sharepoint web
application SSRS reports will be rendered in SQL Server Report viewer perfectly (I deploy using BIDS), but RSS viewer webpart will not display my internet feeds. If I give
<proxy autoDetect="true" /> RSS feeds are displayed properly but SSRS report will throw the following error.
The request failed with HTTP status 401: Unauthorized.
Description:
An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Net.WebException: The request failed with HTTP status 401: Unauthorized.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[WebException: The request failed with HTTP status 401: Unauthorized.]
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) +412862
System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) +300
Microsoft.SqlServer.ReportingServices2005.Execution.ReportExecutionService.ListRenderingExtensions() +53
Microsoft.SqlServer.ReportingServices2005.Execution.RSExecutionConnection.ListRenderingExtensions() +207
Microsoft.Reporting.WebForms.ServerReport.ListRenderingExtensions() +130
Microsoft.ReportingServices.SharePoint.UI.WebParts.ActionMenu.OnPreRender(EventArgs e) +180
System.Web.UI.Control.PreRenderRecursiveInternal() +108
System.Web.UI.Control.PreRenderRecursiveInternal() +224
System.Web.UI.Control.PreRenderRecursiveInternal() +224
System.Web.UI.Control.PreRenderRecursiveInternal() +224
System.Web.UI.Control.PreRenderRecursiveInternal() +224
System.Web.UI.Control.PreRenderRecursiveInternal() +224
System.Web.UI.Control.PreRenderRecursiveInternal() +224
System.Web.UI.Control.PreRenderRecursiveInternal() +224
System.Web.UI.Control.PreRenderRecursiveInternal() +224
System.Web.UI.Control.PreRenderRecursiveInternal() +224
System.Web.UI.Control.PreRenderRecursiveInternal() +224
System.Web.UI.Control.PreRenderRecursiveInternal() +224
System.Web.UI.Control.PreRenderRecursiveInternal() +224
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3394
I tried to work around this by adding proxy settings with bypass list.
<system.net>
<defaultProxy useDefaultCredentials="true">
<proxy proxyaddress="http://<proxy IP address>:<port>" bypassonlocal="true" usesystemdefault="true" />
<bypasslist>
<add address="<my report server>" />
<add address="http://<report server>:8080/reportserver/" />
<add address="<IP of my report server>" />
</bypasslist>
</defaultProxy>
</system.net>
This makes RSS feed to work but SSRS throw the above error. I would need some advice from Microsoft on how to fix this.
Note: My sharepoint site cannot be anonymous. I have just once service account that runs sql server service, report service, sharepoint services etc. This account is local admin on all servers, has highest access on sql box, run SSRS web service and app
pools, etc.
I have four servers, 2 WFE in windows load balanced, 1 app server (running Central admin and report service in sharepoint integrated mode), 1 db server hosting all content and config dbs and report server db.
Regards,
Manoj
Version Information: Microsoft .NET Framework Version:2.0.50727.3615; ASP.NET Version:2.0.50727.3618Hi,
Thanks to share your post.
For the issue,
do you mean that the error happen with the use of NTLM authentication without Kerberos? If yes, the possible cause should be the lacking of Kerberos.
My suggestion is to implement the Kerberos authentication in your environment. You may check it and test it. For the detailed steps of implementing of the Kerberos:
http://blogs.msdn.com/b/martinkearn/archive/2007/04/23/configuring-kerberos-for-sharepoint-2007-part-1-base-configuration-for-sharepoint.aspx.
http://blogs.msdn.com/b/james_world/archive/2007/08/20/essential-guide-to-kerberos-in-sharepoint.aspx.
Hope this could help you!
Leo -
Trex Indexing giving HTTP Status Code 401:Unauthorized error
Dear All,
We have configured TREX search on KM repository of our EP
production server and trying to search using the same our KM repository.
The TREX is installed on the a separate server.
When we try to Index production repository the documents are failing in
the Preparation failed status with return code 6401 and error message
HTTP Status Code 401: Unauthorized.
I also applied SAP-Note 650521 and checked id index_service user and
found that its active and not locked but still issue didnu2019t get
resolved. Moreover i have gone thru most of the previous post regarding this topic but didt help.
I even checked the URL Generator service too which is fine.
On one test system also where SPNego is configured we are getting same
401 error. On this system we disabled SPnego and Indexing started working
fine. When we reverted back the SPNego configuration for confirmation of
our observation we found that it again started to give 401 error.
Any help in this regard will be appreciated.
Regards,
Srinath Pillai
Edited by: Srinath Pillai on Sep 3, 2009 8:59 AMDear
Open System Administration--> System Configuration> Knowledge Management--> Content Management> Global Services (Mode : Advanced)> Index Management Service--> Check for Crawling Service User it has to be index_service
If still you have problem than do let me know where is your Repository located are the documents are stored on Portal Server itself or it is stored on some external server...
What kind of repository you use CM Repository(Mode:DB,DBFS,FSDB) , File System Repository....e.t.c....
Regards
Akshit -
The IReportServerCredentials approach with the ReportViewer control is working fine within a domain, but I get a 401 not authorized error for a Web IIS server trying to call a SSRS server in another domain. I've see plenty of helpful postings on the use
of IReportServerCredentials but nothing that provides suggestions for this cross domain issue. Hope someone has some ideas on this one. Thanking you in advance for your response.
Using VS 2008 VB.NET web app with ReportViewer control Version=8.0.0.0.
Outside domainA Web Server IIS 8. OS = Windows NT 6.2;
Inside domainA Windows 7 desktop; Inside domainA Windows Server 2003
SSRS using windows authentication and on SQL Server 2012. OS = Windows NT 6.2
The processing described below successfully produces a report when the web server app runs on a machine in the same domain as the SSRS server. For the "same domain" web app, both Win 7 desktop VS 2008 development server and Windows 2003 IIS 6 have
been tested successfully.
The report fails with error "The request failed with HTTP status 401: not authorized " when the web app is run from a windows IIS 8 machine (outward or Internet facing web server) that is not in the domain of the SSRS server. The ReportViewer control
credentials (provided by IReportServerCredentials and taken from the web.config file) match a domain account in the same domain as the SSRS
server and one that has browser permission on the report folder. The same credentials are used successfully for reports requested from within the SSRS domain.
One interesting thing is that on the Internet facing web server, I can access the report via a browser request. So it is possible to have a user request coming from the Internet facing machine get through the SSRS windows authentication. Just does not
work for the ReportViewer.
Using IReportServerCredentials interface per example provided by Microsoft msdn site. Code listed below.
IReportServerCredentials would appear to be a viable approach because it can pass credentials of a windows account known to the SSRS server, but not known to the client machine. By the way, database calls to SQL Server in domainA using a SQL Server
native login account work fine. So the network support communication to a domain that the web server does not belong to.
<Serializable()> _
Public NotInheritable Class MyReportServerCredentials
Implements IReportServerCredentials
Public ReadOnly Property ImpersonationUser() As System.Security.Principal.WindowsIdentity _
Implements IReportServerCredentials.ImpersonationUser
Get
'Use the default windows user. Credentials will be
'provided by the NetworkCredentials property.
Return Nothing
End Get
End Property
Public ReadOnly Property NetworkCredentials() As ICredentials _
Implements IReportServerCredentials.NetworkCredentials
Get
'Read the user information from the web.config file.
'By reading the information on demand instead of storing
'it, the credentials will not be stored in session,
'reducing the vulnerable surface area to the web.config
'file, which can be secured with an ACL.
'User name
Dim userName As String = _
ConfigurationManager.AppSettings("MyReportViewerUser")
If (String.IsNullOrEmpty(userName)) Then
Throw New Exception("Missing user name from web.config file")
End If
'Password
Dim password As String = _
ConfigurationManager.AppSettings("MyReportViewerPassword")
If (String.IsNullOrEmpty(password)) Then
Throw New Exception("Missing password from web.config file")
End If
'Domain
Dim domain As String = _
ConfigurationManager.AppSettings("MyReportViewerDomain")
If (String.IsNullOrEmpty(domain)) Then
Throw New Exception("Missing domain from web.config file")
End If
Return New NetworkCredential(userName, password, domain)
End Get
End Property
Public Function GetFormsCredentials(ByRef authCookie As Cookie, _
ByRef userName As String, _
ByRef password As String, _
ByRef authority As String) As Boolean _
Implements IReportServerCredentials.GetFormsCredentials
authCookie = Nothing
userName = Nothing
password = Nothing
authority = Nothing
'Not using form credentials
Return False
End Function
End Class
'Set the ReportViewer values and retrieve the report from the SSRS server into a pdf file on the client machine.
ProposalRptViewer.ProcessingMode = Microsoft.Reporting.WebForms.ProcessingMode.Remote
' Set the ReportViewer ReportServerCredentials from the MyReportServerCredentials Class.
' Note the credentials are for a domain account defined in the same domain that the SSRS server belongs to and one that has browser permission on the report folder.
ProposalRptViewer.ServerReport.ReportServerCredentials = _
New MyReportServerCredentials()
ProposalRptViewer.ServerReport.ReportServerUrl = New Uri(System.Configuration.ConfigurationManager.AppSettings(Web.[Global].CfgKeyReportServerURL))
ProposalRptViewer.ServerReport.ReportPath = System.Configuration.ConfigurationManager.AppSettings(Web.[Global].CfgKeyReportPathProposal)
ProposalRptViewer.ShowCredentialPrompts = False ' disable prompting for data source credentials
Dim paramList As New Generic.List(Of ReportParameter)
Dim pInfo As ReportParameterInfoCollection
pInfo = ProposalRptViewer.ServerReport.GetParameters()
paramList.Add(New ReportParameter("ProposalID", ProposalID, True))paramList.Add(New ReportParameter("Entity", Entity, True))
paramList.Add(New ReportParameter("intRatesPage", intRatesPage1, True))
ProposalRptViewer.ServerReport.SetParameters(paramList)
' Process and render the report
ProposalRptViewer.ServerReport.Refresh()
Dim mimeType As String = Nothing
Dim encoding As String = Nothing
Dim streams As String() = Nothing
Dim extension As String = Nothing
Dim warnings As Microsoft.Reporting.WebForms.Warning() = Nothing
Dim returnValue As Byte()
' Render the proposal Rate Page 1 report to a Byte Array output in pdf file format.
returnValue = ProposalRptViewer.ServerReport.Render("PDF", Nothing, mimeType, encoding, extension, streams, warnings)
An error only occurs for web server not in the domain of SSRS Server:
The request failed with HTTP status 401: Unauthorized.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Net.WebException: The request failed with HTTP status 401: Unauthorized.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack
trace below.
Stack Trace:
[WebException: The request failed with HTTP status 401: Unauthorized.]
Microsoft.SqlServer.ReportingServices2005.Execution.RSExecutionConnection.GetSecureMethods() +236
Microsoft.SqlServer.ReportingServices2005.Execution.RSExecutionConnection.IsSecureMethod(String methodname) +58
Microsoft.SqlServer.ReportingServices2005.Execution.RSExecutionConnection.SetConnectionSSLForMethod(String methodname) +16
Microsoft.SqlServer.ReportingServices2005.Execution.RSExecutionConnection.LoadReport(String Report, String HistoryID) +226
Microsoft.Reporting.WebForms.ServerReport.GetExecutionInfo() +192
Microsoft.Reporting.WebForms.ServerReport.SetParameters(IEnumerable`1 parameters) +136
DeltaRater.Web.ViewRates.btnCreateProposal_Click(Object sender, EventArgs e) in C:\alex\~~_____Rapid_Rater\SourceDir_VS2008_Jan17_2014\DRR\ViewRates.aspx.vb:911
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +115
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +140
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +29
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2981
Version Information: Microsoft .NET Framework Version:2.0.50727.8009; ASP.NET Version:2.0.50727.8010I got the answer to my question by following suggestions by Irb on another technical forum.
From web server (not on same domain), I was passing credentials of a domain account on the SSRS server. Irb suggested I create a local account on the SSRS server and pass those credentials. I tried this but got the same results.
This approach worked for web server in SSRS domain, but failed with 401 Unauthorized for web server outside the SSRS domain. Per suggestion for local account on SSRS server, I tried passing empty string "" as the domain via IReportServerCredentials.
Again this works for web server in the same domain as SSRS. But I get the 401 Unauthorized error when the web server is outside the domain. In testing and checking similar posts, I discovered an additional piece was required for the report request to work
across domains. The default user did not have authority to send the request and/or receive the report. Adding the following in <system.web> section of web.config file was needed.
<identity impersonate="true" userName="localwindowsuser" password="#########"/> where "localwindowsuser" is a windows user defined on the web server.
I never needed this extra piece when the web server ran in the same domain as the SSRS server. I thank Irb for making me go through the details of additional tests because that is how I stumbled across an identity comment and ultimately got things working. -
The request failed with HTTP status 401: Unauthorized Invoke Webservice
I want Adding a Web reference dynamically at Runtime follow
SecurityPermissionAttribute(SecurityAction.Demand, Unrestricted = true)]
internal static object CallWebService(string webServiceAsmxUrl, string serviceName, string methodName, object[] args)
System.Net.
WebClient client = new System.Net.WebClient();
client.Credentials =
new NetworkCredential("username", "pass");
// Connect To the web service
System.IO.
Stream stream = client.OpenRead(webServiceAsmxUrl + "?wsdl");
// Now read the WSDL file describing a service.
ServiceDescription description = ServiceDescription.Read(stream);
///// LOAD THE DOM /////////
// Initialize a service description importer.
ServiceDescriptionImporter importer = new ServiceDescriptionImporter();
importer.ProtocolName =
"Soap12"; // Use SOAP 1.2.
importer.AddServiceDescription(description,
null, null);
// Generate a proxy client.
importer.Style =
ServiceDescriptionImportStyle.Client;
// Generate properties to represent primitive values.
importer.CodeGenerationOptions = System.Xml.Serialization.
CodeGenerationOptions.GenerateProperties;
// Initialize a Code-DOM tree into which we will import the service.
CodeNamespace nmspace = new CodeNamespace();
CodeCompileUnit unit1 = new CodeCompileUnit();
unit1.Namespaces.Add(nmspace);
// Import the service into the Code-DOM tree. This creates proxy code that uses the service.
ServiceDescriptionImportWarnings warning = importer.Import(nmspace, unit1);
if (warning == 0) // If zero then we are good to go
// Generate the proxy code
CodeDomProvider provider1 = CodeDomProvider.CreateProvider("CSharp");
// Compile the assembly proxy with the appropriate references
string[] assemblyReferences = new string[5] { "System.dll", "System.Web.Services.dll", "System.Web.dll", "System.Xml.dll", "System.Data.dll" };
CompilerParameters parms = new CompilerParameters(assemblyReferences);
CompilerResults results = provider1.CompileAssemblyFromDom(parms, unit1);
// Check For Errors
if (results.Errors.Count > 0)
foreach (CompilerError oops in results.Errors)
System.Diagnostics.
Debug.WriteLine("========Compiler error============");
System.Diagnostics.
Debug.WriteLine(oops.ErrorText);
throw new System.Exception("Compile Error Occured calling webservice. Check Debug ouput window.");
// Finally, Invoke the web service method
object wsvcClass = results.CompiledAssembly.CreateInstance(serviceName);
MethodInfo mi = wsvcClass.GetType().GetMethod(methodName);
return mi.Invoke(wsvcClass, args);
else
return null;
When i call CallWebService method , it is error
The request failed with HTTP status 401: Unauthorized.
Exception Details: System.Net.WebException: The request failed with HTTP status 401: Unauthorized.
Source Error:
Line 1880: MethodInfo mi = wsvcClass.GetType().GetMethod(methodName);
Line 1881:
Line 1882: return mi.Invoke(wsvcClass, args);
Help me solve this problem.
ThanhksThank advance
I tried it, but it till error
Stack Trace:
[WebException: The request failed with HTTP status 401: Unauthorized.]
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) +431201
System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) +204
HSCVWS.HelloWorld() +31
[TargetInvocationException: Exception has been thrown by the target of an invocation.]
System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) +0
System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) +71
System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) +350
System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +29
System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters) +19
WsProxy.CallWebService(String webServiceAsmxUrl, String serviceName, String methodName, Object[] args) in d:\ViDu01\ttt.aspx.cs:1882
ttt.Page_Load(Object sender, EventArgs e) in d:\ViDu01\ttt.aspx.cs:27
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +50
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
#Software: Microsoft Internet Information Services 6.0
#Version: 1.0
#Date: 2009-06-09 02:43:10
#Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status
2009-06-09 02:43:10 192.168.2.46 GET /_vti_bin/testwebservice.asmx wsdl 80 - 192.168.x.xx - 200 0 0
2009-06-09 02:43:13 192.168.2.46 POST /_vti_bin/testwebservice.asmx - 80 - 192.168.x.xx Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+2.0.50727.3053) 401 5 0
2009-06-09 02:43:16 192.168.2.46 GET /_vti_bin/testwebservice.asmx wsdl 80 - 192.168.x.xx - 200 0 0
2009-06-09 02:43:17 192.168.2.46 POST /_vti_bin/testwebservice.asmx - 80 - 192.168.x.xx Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+2.0.50727.3053) 401 5 0
2009-06-09 02:44:42 192.168.2.46 POST /_vti_bin/testwebservice.asmx - 80 servername\username 192.168.x.xx Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+2.0.50727.3053) 200 0 0 -
I want to Fill a drop down with Outlook Meeting of Current log-in user in SharePoint 2013 web part for default credentials I am using the following code
ExchangeServiceBinding binding = new ExchangeServiceBinding();
ServicePointManager.ServerCertificateValidationCallback = (sender, certificate, chain, sslPolicyErrors) => true;
binding.RequestServerVersionValue = new RequestServerVersion();
binding.RequestServerVersionValue.Version = ExchangeVersionType.Exchange2010_SP2;
binding.PreAuthenticate = true;
binding.UseDefaultCredentials = true;
binding.Credentials = CredentialCache.DefaultCredentials ;
string server = "https://*********/ews/Exchange.asmx";
binding.Url = server;
I Am Getting the Error "The request failed with HTTP status 401: Unauthorized."
but when I Replace the line
binding.Credentials = CredentialCache.DefaultCredentials ;
with
binding.Credentials = new NetworkCredential(userName, password, domain);
Its run fine. Is there any way I could able to use default credential.
Hi,
As this question is more relate to Exchange development, I suggest you post it to the corresponding forum, you will get more help and confirmed answers from there.
http://social.msdn.microsoft.com/Forums/office/en-US/home?category=exchangeserver
Best regards
Patrick Liang
TechNet Community Support -
Received HTTP response code 401 : Unauthorized
Hi Experts!
I know there are lots of posts regarding Received HTTP response code 401 : Unauthorized, and I read a lot of them.
Unfortunately I got not the solution to my problem.
I have following scenario: async; oneway; xml via DataPower (SOAP) to SAP PI to Service Consumer
When sending a message it is led over the DataPower to the PI, but it is not processed through.
It enters the MP and it is successfully put into the queue. You can see the details below.
15.02.2012 15:12:34.611 Information MP: entering1
15.02.2012 15:12:34.614 Information MP: processing local module localejbs/sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean
15.02.2012 15:12:34.616 Information SOAP: request message entering the adapter with user PI**
15.02.2012 15:12:34.620 Information SOAP: request message leaving the adapter (send)
15.02.2012 15:12:34.620 Information The application tries to send an XI message asynchronously using connection SOAP_http://sap.com/xi/XI/System.
15.02.2012 15:12:34.624 Information Trying to put the message into the send queue.
15.02.2012 15:12:34.676 Information SOAP: call completed
15.02.2012 15:12:34.676 Information SOAP: completed the processing
15.02.2012 15:12:34.676 Information Message successfully put into the queue.
15.02.2012 15:12:34.676 Information The application sent the message asynchronously using connection SOAP_http://sap.com/xi/XI/System. Returning to application.
15.02.2012 15:12:34.678 Information MP: leaving
15.02.2012 15:12:34.682 Information The message was successfully retrieved from the send queue.
15.02.2012 15:12:34.700 Information The message status was set to DLNG.
15.02.2012 15:12:34.922 Error Transmitting the message to endpoint https://<sid>.XXX:port/sap/xi/engine?type=entry using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Received HTTP response code 401 : Unauthorized.
15.02.2012 15:12:34.940 Information The message status was set to WAIT.
15.02.2012 15:12:34.941 Information The asynchronous message was successfully scheduled to be delivered at Wed Feb 15 15:17:34 CET 2012.
I can't say, why I get the 401-response.
From PI Message Monitoring: Monitor Messages I get following informations:
Message-ID MSG-ID
Richtung OUTBOUND
Message-Headers content-length=14391
http=POST
content-type=multipart/related; boundary=SAP_MSG-ID_END; type="text/xml"; start="<soap-MSG-ID[at]sap.com>"
Message-Typ Send
Verbindungsname SOAP_http://sap.com/xi/XI/System
Credential SAPPasswordCredential(PIAFUSER):password=********:sapclient=009:saplang=en:sapsysid=<SID>
Fehlerkategorie XI_J2EE_ADAPTER_XI_HANDLER
Fehlercode SEND_CONSUMER_ERROR
Statusdetails Messaging: allgemeiner Fehler
Quality-of-Service EO
Empfängerkomponente
Referenz-ID
Senderkomponente SENDER_COMP
Sequenz-ID
Serialisierungskontext
Status systemError
Einplanungszeit 2012-02-15 13:49:38.579
Start Time Wed Feb 15 13:34:37 CET 2012
Transport HTTPS
Gültig bis
Protokoll XI
Persistenz bis 2012-02-16 13:34:37.373
Endzeitpunkt Wed Feb 15 13:49:39 CET 2012
Anwendungskomponente
Softwarekomponente
Service-Definition
Wurde bearbeitet false
Any clues?
Many thanks in advance
HolgerHi Ravi,
it's the Java stack's port.
Hi Venkata,
1. Check whether service user maintained in the SM59 destination is with Roles of std. user PIAPPLUSER, PIISUSER
The Problem is, that the message is not processed in the PI. I don't see them at SXMB_MONI.
Today I see them on the RWB at the message-monitoring, but only because they are set after the 3rd try to send them to NDLV.
I can see the messages, after they are triggered, in the comm-channel-monitoring by selecting the appropriate channel.
2. Check XIAPPLUSER is having this Role -SAP_XI_APPL_SERV_USER
Checked the PIAPPLUSER is having this Role -SAP_XI_APPL_SERV_USER
3.May be wrong password for user PIISUSER.
There was a pwd-change in january, but the passwords are all correctly replaced.
Thank you for your help!
Holger -
Configuring Reporting Service Add-in for sharepoint - HTTP status 401: Unauthorized.
I have the following setup
Machine 1
WSS 3.0
Installed Reporting Service Add-in
Machine 2
Reporting Service
Sharepoint Object Model
SQL Server
Sharepoint and Report Server DB
I have congigured Reporting Service for Sharepoint Integrated Mode adn Created new Reprot Server DB
Sahre Point Integration is Green and verified link
In Sharepoint Central Administration
Manage Reporting Service Integratio i have selected the URL and "Trusted Account" as my web applications use "Windows Integration - NTLM".
All services, DB access everything running under one domain user account.
I am logged into sharepoint with same account. When clieck on set server defaults i get following error
An unexpected error occurred while connecting to the report server. Verify that the report server is available and configured for SharePoint integrated mode. --> Server was unable to process request. ---> The request failed with HTTP status 401: Unauthorized.
Same error when i try to add a report to a sharepoint webapplication
The domain account is part of "Farm Administration", "site colletion administrato" and local administrator also on both servers.
Can someone let me know how to fix this.jpmartop,
were you able to get this to work?
We have a 4 server topolgy.
moss
wfe
sql
ssrs
and are using Kerberos.
I've installed the wfe on the ssrs and am using a domain user for services, web and pools.
I get all green dots in the ssrs config.
in Central Admin, Grant access seems to work with the domain user, but set defaults gives me:
HTTP status 401: Unauthorized.
What should my web security on the default web site and reports and reports server look like? Integrated Security
Should the SSRS WFE entry in MOSS have Web application service turned on?
I've checked that my SPNs are good.I've installed sql server sp2 and a did windows update on all servers..
Could it be the user I log into the Central Admin with.. it's got server administrator and Farm administrator?
Thanks for any help or information. -
We have a hosted SSRS server and we access it's reports using the reportviewer in an ASP.net application.
We are getting the error: The request failed with HTTP status 401: Unauthorized. When trying to run one of the reports. I have confirmed that the login details work when logging into the report manager page directly.
I have implemented an instance of IReportServerCredentials in a separate class (below) and I call it from the page before it tries to access the report. I'm not sure if this is all I need but can't seem to find any other info.
I have managed to gain access connecting to the external server from my PC and accessed the report, but when I promote the code to production and run it from there on my local PC I get the unauthorized message again: the request failed with http status
401: unauthorized
The class:
[Serializable]
public sealed class MyReportServerCredentials :
IReportServerCredentials
public WindowsIdentity ImpersonationUser
get
// Use the default Windows user. Credentials will be
// provided by the NetworkCredentials property.
return null;
public ICredentials NetworkCredentials
get
// Read the user information from the Web.config file.
// By reading the information on demand instead of
// storing it, the credentials will not be stored in
// session, reducing the vulnerable surface area to the
// Web.config file, which can be secured with an ACL.
// User name
string userName =
ConfigurationManager.AppSettings
["MyReportViewerUser"];
if (string.IsNullOrEmpty(userName))
throw new Exception(
"Missing user name from web.config file");
// Password
string password =
ConfigurationManager.AppSettings
["MyReportViewerPassword"];
if (string.IsNullOrEmpty(password))
throw new Exception(
"Missing password from web.config file");
// Domain
string domain =
ConfigurationManager.AppSettings
["MyReportViewerDomain"];
return new NetworkCredential(userName, password);
public bool GetFormsCredentials(out Cookie authCookie,
out string userName, out string password,
out string authority)
authCookie = null;
userName = null;
password = null;
authority = null;
// Not using form credentials
return false;
The call to the class, just before the report is run:
if (GetConnection.GetConnectionString().ToString().Contains("IP of external server removed"))
invoiceviewer.ServerReport.ReportServerCredentials = new MyReportServerCredentials();
We have tried so many things here, we don't even care whether the server authenticates or not but it appears to be as standard. Our hosting company has also drawn a blank and changed so many settings to no avaHi Nasa1999,
According to your description, you are getting the error: The request failed with HTTP status 401: Unauthorized when you access the report using the ReportViewer in an ASP.net application.
Regarding the 401 error, it could cause by the Service Principal Name(SPN) for the account the Reporting Services is running under hasn’t been registered when the Reporting Services is configured to use Kerberos authentication. So in your scenario,
please check if you are using Kerberos authentication. If that is a case, please make sure SPN is configured correctly. For more information, please refer to the similar thread:
The request failed with HTTP status 401: Unauthorized. in SSRS.
If issue persists, please check the Reporting Service error log (default location: %programfiles%\Microsoft SQL Server\<SQL Server Instance>\Reporting Services\LogFiles) around the time that the error message thrown out.
If you have any question, please feel free to ask.
Best regards,
Qiuyun Yu
Qiuyun Yu
TechNet Community Support -
SCCM 2012 - Error sending DAV request. HTTP code 401, status 'Unauthorized'
Hi everyone!
I have a SCCM 2012 install with SQL 2008 R2 RU6 on it. All roles on the same server.
Application deployment was working last week and suddently, today, it's not working anymore.
Client fail to download applications. When I see the log "dataTransfertService.log" I got:
<![LOG[Enumerating DTS jobs for logged on user 'S-1-5-21-3498061407-3801314532-3722532443-1799'.]LOG]!><time="16:45:51.388-120" date="07-23-2012" component="DataTransferService" context="" type="1" thread="3536" file="dtslogon.cpp:135">
<![LOG[Enumeration of DTS jobs for logged on user 'S-1-5-21-3498061407-3801314532-3722532443-1799' is complete.]LOG]!><time="16:45:51.878-120" date="07-23-2012" component="DataTransferService" context="" type="1" thread="3536" file="dtslogon.cpp:151">
<![LOG[Enumerating DTS jobs for helper user 'S-1-5-21-3498061407-3801314532-3722532443-1799'.]LOG]!><time="16:45:51.878-120" date="07-23-2012" component="DataTransferService" context="" type="1" thread="3536" file="dtslogon.cpp:154">
<![LOG[Enumeration of DTS jobs for helper user 'S-1-5-21-3498061407-3801314532-3722532443-1799' is complete.]LOG]!><time="16:45:51.939-120" date="07-23-2012" component="DataTransferService" context="" type="1" thread="3536" file="dtslogon.cpp:170">
<![LOG[UpdateURLWithTransportSettings(): OLD URL - http://xxx.com/SMS_DP_SMSPKG$/Content_1173b7a8-9bbf-42cc-8b0f-abd1c3f3065c.1]LOG]!><time="16:48:31.738-120" date="07-23-2012" component="DataTransferService" context="" type="1" thread="5616" file="ccmutillib.cpp:3083">
<![LOG[UpdateURLWithTransportSettings(): NEW URL - http://xxx.com:80/SMS_DP_SMSPKG$/Content_1173b7a8-9bbf-42cc-8b0f-abd1c3f3065c.1]LOG]!><time="16:48:31.738-120" date="07-23-2012" component="DataTransferService" context="" type="1" thread="5616" file="ccmutillib.cpp:3095">
<![LOG[DTSJob {451ACA72-8FCC-4083-B7B5-C4C68D5E5786} created to download from 'http://xxx.com:80/SMS_DP_SMSPKG$/Content_1173b7a8-9bbf-42cc-8b0f-abd1c3f3065c.1' to 'C:\WINDOWS\ccmcache\3f'.]LOG]!><time="16:48:31.816-120" date="07-23-2012" component="DataTransferService" context="" type="1" thread="5616" file="datatransferservice.cpp:186">
<![LOG[DTSJob {451ACA72-8FCC-4083-B7B5-C4C68D5E5786} in state 'DownloadingManifest'.]LOG]!><time="16:48:31.816-120" date="07-23-2012" component="DataTransferService" context="" type="1" thread="2432" file="dtsjob.h:157">
<![LOG[[CCMHTTP] ERROR: URL=http://xxx.com:80/SMS_DP_SMSPKG$/Content_1173b7a8-9bbf-42cc-8b0f-abd1c3f3065c.1, Port=80, Options=224, Code=0, Text=CCM_E_BAD_HTTP_STATUS_CODE]LOG]!><time="16:48:32.281-120" date="07-23-2012" component="DataTransferService" context="" type="1" thread="4204" file="ccmhttperror.cpp:291">
<![LOG[Raising event:
instance of CCM_CcmHttp_Status
ClientID = "GUID:4D48BE30-A5BE-40C1-A946-B0773DE7C060";
DateTime = "20120723144832.297000+000";
HostName = "xxx.com";
HRESULT = "0x87d0027e";
ProcessID = 2236;
StatusCode = 401;
ThreadID = 4204;
]LOG]!><time="16:48:32.297-120" date="07-23-2012" component="DataTransferService" context="" type="1" thread="4204" file="event.cpp:729">
<![LOG[Successfully sent location services HTTP failure message.]LOG]!><time="16:48:32.312-120" date="07-23-2012" component="DataTransferService" context="" type="1" thread="4204" file="ccmhttperror.cpp:395">
<![LOG[Error sending DAV request. HTTP code 401, status 'Unauthorized']LOG]!><time="16:48:32.312-120" date="07-23-2012" component="DataTransferService" context="" type="3" thread="4204" file="util.cpp:629">
<![LOG[GetDirectoryList_HTTP('http://xxx.com:80/SMS_DP_SMSPKG$/Content_1173b7a8-9bbf-42cc-8b0f-abd1c3f3065c.1') failed with code 0x80070005.]LOG]!><time="16:48:32.312-120" date="07-23-2012" component="DataTransferService" context="" type="3" thread="4204" file="util.cpp:688">
<![LOG[Job {451ACA72-8FCC-4083-B7B5-C4C68D5E5786} impersonating Network Access Account.]LOG]!><time="16:48:32.825-120" date="07-23-2012" component="DataTransferService" context="" type="1" thread="4204" file="netaccessaccount.cpp:429">
<![LOG[[CCMHTTP] ERROR: URL=http://xxx.com:80/SMS_DP_SMSPKG$/Content_1173b7a8-9bbf-42cc-8b0f-abd1c3f3065c.1, Port=80, Options=224, Code=0, Text=CCM_E_BAD_HTTP_STATUS_CODE]LOG]!><time="16:48:32.887-120" date="07-23-2012" component="DataTransferService" context="" type="1" thread="4204" file="ccmhttperror.cpp:291">
<![LOG[Raising event:
instance of CCM_CcmHttp_Status
ClientID = "GUID:4D48BE30-A5BE-40C1-A946-B0773DE7C060";
DateTime = "20120723144832.887000+000";
HostName = "xxx.com";
HRESULT = "0x87d0027e";
ProcessID = 2236;
StatusCode = 401;
ThreadID = 4204;
]LOG]!><time="16:48:32.887-120" date="07-23-2012" component="DataTransferService" context="" type="1" thread="4204" file="event.cpp:729">
<![LOG[Successfully sent location services HTTP failure message.]LOG]!><time="16:48:32.902-120" date="07-23-2012" component="DataTransferService" context="" type="1" thread="4204" file="ccmhttperror.cpp:395">
<![LOG[Error sending DAV request. HTTP code 401, status 'Unauthorized']LOG]!><time="16:48:32.902-120" date="07-23-2012" component="DataTransferService" context="" type="3" thread="4204" file="util.cpp:629">
<![LOG[GetDirectoryList_HTTP('http://xxx.com:80/SMS_DP_SMSPKG$/Content_1173b7a8-9bbf-42cc-8b0f-abd1c3f3065c.1') failed with code 0x80070005.]LOG]!><time="16:48:32.902-120" date="07-23-2012" component="DataTransferService" context="" type="3" thread="4204" file="util.cpp:688">
<![LOG[Job {451ACA72-8FCC-4083-B7B5-C4C68D5E5786} reverted impersonation.]LOG]!><time="16:48:32.902-120" date="07-23-2012" component="DataTransferService" context="" type="1" thread="4204" file="netaccessaccount.h:93">
<![LOG[DTSJob {451ACA72-8FCC-4083-B7B5-C4C68D5E5786} in state 'Cancelled'.]LOG]!><time="16:48:33.011-120" date="07-23-2012" component="DataTransferService" context="" type="1" thread="5616" file="dtsjob.h:157">
<![LOG[DTSJob {451ACA72-8FCC-4083-B7B5-C4C68D5E5786} cancelled by client.]LOG]!><time="16:48:33.011-120" date="07-23-2012" component="DataTransferService" context="" type="1" thread="5616" file="dtsjob.cpp:2771">
I already verified every single permissions, NAA is configured and has correct rights. I really don't understand what has changed...
any suggestion???
Thank you very much!SMS_DP_SMSPKG$ has Windows Authentication Enabled.
IIS Logs:
2012-07-23 15:10:08 10.28.80.98 CCM_POST /ccm_system/request - 80 - 10.28.81.79 ccmhttp 200 0 0 339
2012-07-23 15:11:38 10.28.80.98 CCM_POST /ccm_system/request - 80 - 10.28.81.52 ccmhttp 200 0 0 38
2012-07-23 15:11:38 10.28.80.98 CCM_POST /ccm_system/request - 80 - 10.28.81.52 ccmhttp 200 0 0 166
2012-07-23 15:11:38 10.28.80.98 PROPFIND /SMS_DP_SMSPKG$/Content_1173b7a8-9bbf-42cc-8b0f-abd1c3f3065c.1 - 80 - 10.28.81.52 SMS+CCM+5.0 401 2 5 1
2012-07-23 15:11:39 10.28.80.98 PROPFIND /SMS_DP_SMSPKG$/Content_1173b7a8-9bbf-42cc-8b0f-abd1c3f3065c.1 - 80 - 10.28.81.52 SMS+CCM+5.0 401 2 5 0
2012-07-23 15:11:39 10.28.80.98 PROPFIND /SMS_DP_SMSPKG$/Content_1173b7a8-9bbf-42cc-8b0f-abd1c3f3065c.1 - 80 - 10.28.81.52 SMS+CCM+5.0 401 1 3221225581 11
2012-07-23 15:11:39 10.28.80.98 CCM_POST /ccm_system/request - 80 - 10.28.81.52 ccmhttp 200 0 0 384
2012-07-23 15:13:01 fe80::31df:ba5:7c1:caf6%11 GET /SMS_MP/.sms_aut MPLIST 80 - fe80::31df:ba5:7c1:caf6%11 SMS_MP_CONTROL_MANAGER 200 0 0 4
2012-07-23 15:13:11 10.28.80.98 CCM_POST /ccm_system_windowsauth/request - 80 - 10.29.73.101 ccmhttp 401 2 5 6
2012-07-23 15:14:01 10.28.80.98 CCM_POST /ccm_system/request - 80 - 10.28.82.72 ccmhttp 200 0 0 23
2012-07-23 15:15:40 10.28.80.98 CCM_POST /ccm_system/request - 80 - 10.28.81.52 ccmhttp 200 0 0 348
2012-07-23 15:15:55 10.28.80.98 CCM_POST /ccm_system/request - 80 - 10.28.81.79 ccmhttp 200 0 0 363
2012-07-23 15:16:12 10.28.80.98 CCM_POST /ccm_system/request - 80 - 10.29.73.101 ccmhttp 200 0 0 393
2012-07-23 15:17:06 10.28.80.98 CCM_POST /ccm_system_windowsauth/request - 80 - 10.28.81.79 ccmhttp 401 2 5 0
In "ContentTransferManager.log" i see that error:
<![LOG[Starting CTM job {1C23F5FF-8ED3-43D2-91ED-169F82A24E89}.]LOG]!><time="17:11:38.999-120" date="07-23-2012" component="ContentTransferManager" context="" type="1" thread="5400" file="ctmjob.cpp:2980">
<![LOG[Created CTM job {1C23F5FF-8ED3-43D2-91ED-169F82A24E89} for user S-1-5-18]LOG]!><time="17:11:39.030-120" date="07-23-2012" component="ContentTransferManager" context="" type="1" thread="5400" file="ctmanager.cpp:487">
<![LOG[Created and Sent Location Request '{996973D0-911C-4929-BE9D-39CB4D759265}' for package Content_1173b7a8-9bbf-42cc-8b0f-abd1c3f3065c]LOG]!><time="17:11:39.092-120" date="07-23-2012" component="ContentTransferManager" context="" type="1" thread="5332"
file="ccmpkglocation.cpp:83">
<![LOG[CTM job {1C23F5FF-8ED3-43D2-91ED-169F82A24E89} entered phase CCM_DOWNLOADSTATUS_DOWNLOADING_DATA]LOG]!><time="17:11:39.092-120" date="07-23-2012" component="ContentTransferManager" context="" type="1" thread="5332" file="ctmjob.cpp:1432">
<![LOG[Queued location request '{996973D0-911C-4929-BE9D-39CB4D759265}' for CTM job '{1C23F5FF-8ED3-43D2-91ED-169F82A24E89}'.]LOG]!><time="17:11:39.139-120" date="07-23-2012" component="ContentTransferManager" context="" type="1" thread="5332" file="ctmjob.cpp:151">
<![LOG[Persisted locations for CTM job {1C23F5FF-8ED3-43D2-91ED-169F82A24E89}:
(LOCAL) <a href="http://xxx.com/SMS_DP_SMSPKG$/Content_1173b7a8-9bbf-42cc-8b0f-abd1c3f3065c.1]LOG]!><time="17:11:39.452-120">http://xxx.com/SMS_DP_SMSPKG$/Content_1173b7a8-9bbf-42cc-8b0f-abd1c3f3065c.1]LOG]!><time="17:11:39.452-120" date="07-23-2012"
component="ContentTransferManager" context="" type="1" thread="5392" file="ctmjob.cpp:1894">
<![LOG[CTM job {1C23F5FF-8ED3-43D2-91ED-169F82A24E89} (corresponding DTS job {D22196C4-A803-42F4-B4FD-6F5FA777A778}) started download from 'http://xxx.com/SMS_DP_SMSPKG$/Content_1173b7a8-9bbf-42cc-8b0f-abd1c3f3065c.1' for full content download.]LOG]!><time="17:11:39.514-120"
date="07-23-2012" component="ContentTransferManager" context="" type="1" thread="5392" file="ctmjob.cpp:413">
<![LOG[CTM job {1C23F5FF-8ED3-43D2-91ED-169F82A24E89} entered phase CCM_DOWNLOADSTATUS_DOWNLOADING_DATA]LOG]!><time="17:11:39.577-120" date="07-23-2012" component="ContentTransferManager" context="" type="1" thread="5188" file="ctmjob.cpp:1432">
<![LOG[CTM job {1C23F5FF-8ED3-43D2-91ED-169F82A24E89} encountered error 0x80070005 during download ('Error processing manifest.')- The error maps to denied access.]LOG]!><time="17:11:40.217-120" date="07-23-2012" component="ContentTransferManager"
context="" type="3" thread="5400" file="ctmjob.cpp:2489"> -
SSRS 2012 - The request failed with HTTP status 401: Unauthorized.
I have SSRS Reporting Services 2012 load balanced on two servers.
Both servers are running Windows Server 2012 R2.
I have a Web Application that renders reports by utilizing this SSRS Reporting Services 2012.
When the application generates a report using load balancing I get error the message, “The request failed with HTTP status 401: Unauthorized.”
However, using only one reporting server, the application is able to render the report just fine.
It seems that when the requests are shared between the servers the problem occurs.
One solution is to configure Load Balancing with “Source IP” persistence.
This seems to work. I believe this is a “sticky” session.
With this Load Balancing configuration, the application can render the report just fine.
(However, I have not done complete testing.)
The problem occurs when calling the service ListChildren(string, bool ) on SSRS.
I have been researching online. I tried modifying the registry on the servers based on online articles (see below.)
Here are some articles I have looked at.
http://msdn.microsoft.com/en-us/library/cc281307(v=sql.110).aspx
http://blogs.msdn.com/b/lukaszp/archive/2008/07/18/reporting-services-http-401-unauthorized-host-headers-require-your-attention.aspx
http://blogs.msdn.com/b/lukaszp/archive/2008/07/18/reporting-services-http-401-unauthorized-host-headers-require-your-attention.aspx
Is there a better solution? Will Load Balancing with “Source IP” persistence be an acceptable solution? Is there a patch needed for the servers or SSRS? Please let me know.Hi GoGladiator,
Generally, "The request failed with HTTP status 401: Unauthorized" occurs when
The service account used to connect to the Report Server is not authorized.
The Reporting Services is configured to use Kerberos, however, we didn't register Service Principal Name (SPN) for the account the Reporting Services is running under.
So, to fix this issue, we can refer to the follow steps:
Make sure the user is able to connect to the Report Server.
If using Kerberos authentication, please make sure SPN is configured correctly. If using Kerberos authentication, please make sure SPN is configured correctly.
For more information about Kerberos Authentication and how to register SPN for a report server in Reporting Services, please see the articles below:
Configure Windows Authentication on the Report Server
Register a Service Principal Name (SPN) for a Report Server
Hope this helps.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
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 -
SSRS 2008 - HTTP Status 401: Unauthorized
I have a WPF application which is hosting a SSRS 2008 ReportView via a WindowsFormsHost control. I am trying to connect to a remote server to run a report, but I receive the following error:
{"The request failed with HTTP status 401: Unauthorized."}
[System.Net.WebException]: {"The request failed with HTTP status 401: Unauthorized."}
Data: {System.Collections.ListDictionaryInternal}
HelpLink: null
InnerException: null
Message: "The request failed with HTTP status 401: Unauthorized."
Source: "Microsoft.ReportViewer.Common"
StackTrace: " at Microsoft.SqlServer.ReportingServices2005.Execution.RSExecutionConnection.GetSecureMethods()
at Microsoft.SqlServer.ReportingServices2005.Execution.RSExecutionConnection.IsSecureMethod(String methodname)
at Microsoft.SqlServer.ReportingServices2005.Execution.RSExecutionConnection.SetConnectionSSLForMethod(String methodname)
at Microsoft.SqlServer.ReportingServices2005.Execution.RSExecutionConnection.ProxyMethodInvocation.Execute[TReturn](RSExecutionConnection connection, ProxyMethod`1 initialMethod, ProxyMethod`1 retryMethod)
at Microsoft.SqlServer.ReportingServices2005.Execution.RSExecutionConnection.LoadReport(String Report, String HistoryID)
at Microsoft.Reporting.WinForms.ServerReport.EnsureExecutionSession()
at Microsoft.Reporting.WinForms.ServerReport.GetDataSources(Boolean& allCredentialsSet)
at Microsoft.Reporting.WinForms.RSParams.GetDataSources(Boolean& allSatisfied)
at Microsoft.Reporting.WinForms.RSParams.EnsureParamsLoaded(Boolean forceCredentialsShown, ReportParameterInfoCollection parameterInfos)
at Microsoft.Reporting.WinForms.RSParams.EnsureParamsLoaded()
at Microsoft.Reporting.WinForms.ReportViewer.RenderReportWithNewParameters(Int32 pageNumber)"
TargetSite: {System.String[] GetSecureMethods()}
Here's my environment:
I have a Windows 2008 Server running SQL Server 2008. This server is a virtual machine running on Hyper-V in a Virtual Private LAN and I'm using RAAS to route traffic to this virtual via a static IP.
I'm passing NetworkCredentials to the report for a user that can access and run reports. I can prove this by logging in to the report server via a browser with these same credentials.
var report = reportViewer.ServerReport;
report.ReportServerCredentials.NetworkCredentials =
new NetworkCredential("MACHINE-NAME\\USER","Password");
Anyway, I've tried everything, short of disabling authentication altogether. Has anyone experienced authentication issues with ssrs in a hosted / virtual environment?
Any help would be greatly appreciated.
ThanksI need help pls, I have the same problem error 401 etc...
I implement all solution in this page and nothing..
Help me pls.
stringurlReportServer =
ReportViewer1.ProcessingMode =
ProcessingMode.Remote;
// ProcessingMode will be Either Remote or Local
ReportViewer1.ShowExportControls =
true;
ReportViewer1.ShowPrintButton =
true;
ReportViewer1.ServerReport.ReportServerUrl =
newUri(urlReportServer);
//Set the ReportServer Url
ReportViewer1.ServerReport.ReportPath =
"/Reportes/"+ ReportName;
//Passing the Report Path
IReportServerCredentialsirsc =
newCredencialesReporting("******",
ReportViewer1.ServerReport.ReportServerCredentials = irsc;
ReportViewer1.ServerReport.Refresh();
ReportViewer1.Visible =
true;
///<summary>
///</summary>
string_usuario, _password, _dominio;
publicCredencialesReporting(stringuserName,
stringpassword,
stringdomain)
_usuario = userName;
_password = password;
_dominio = domain;
publicSystem.Security.Principal.WindowsIdentityImpersonationUser
get
returnnull;
publicSystem.Net.ICredentialsNetworkCredentials
get
returnnewNetworkCredential(_usuario,
_password, _dominio);
///<summary>
///</summary>
///<param
name="authCoki"></param>
///<param
name="userName"></param>
///<param
name="password"></param>
///<param
name="authority"></param>
///<returns></returns>
//public bool GetFormsCredentials(out System.Net.Cookie authCoki, out string userName, out string password, out string
authority)
// userName = _usuario;
// password = _password;
// authority = _dominio;
// authCoki = new System.Net.Cookie(".ASPXAUTH", ".ASPXAUTH", "/", "Domain");
// return true;
publicboolGetFormsCredentials(outSystem.Net.CookieauthCookie,
outstringuser,
outstringpassword,
outstringauthority)
// Do not use forms credentials to authenticate.
authCookie =
null;
user = password = authority =
null;
returnfalse;
Maybe you are looking for
-
SAP inbound and outbound delivey in single shipment document
Hi We are doing outbound and inbound delivery creation in SAP. These are dropped to OTM(oracle transport management system). OTM will create orders for deliveries and groups multiple deliveries into one shipment. This is sent back to SAP for shipment
-
I'm feeling frustrated because I feel like I am just missing a simple picture here but no matter how I try, I can't see it. I'm trying to use tabs in the Keynote ruler. I can add tabs all day but they don't seem to have any effect on my document. I
-
UTL_TCP timeout (8.1.6)
Hi, using UTL_TCP (Oracle 8.1.6 - Linux platform) we're able to comunicate to some application clients (Delphi - Windows platforms). Sometimes, a client is not responding (not due to our applications). When this occurs, an error (UTL_TCP.NETWORK_ERRO
-
Report - Formatting text IN text items
I'm trying to create a report with (at the end of the report) a text field extracted from the (Oracle) database. A user creates the value of the field, with a sort of HTML formatting on the text (to make text in BOLD is used <B> and </B>, for ITALIC
-
IChat doesn't recognize password, Wrong name in account window
Hello, I got a new iMac in Sept., and haven't been able to log in to my ichat account. When opening iChat and trying to change my account status to Available (or anything) a window pops up wanting me to put in my password, I do, and it says "iChat ca