Consistent "The server responded with "HTTP/1.1 500 Internal Server Error"
Hello
I'm really failing at this.... Our system:
XServe Intel 10.5.2 Server.. all current updates. Services running:
AFP
DNS
iCal
iChat
Open Directory (Kerberos running)
Web
My personal iCal crashed and I lost my connection to the iCal server. I tried deleting the Account (on my Client) and re-connecting.
Now, ANY attempt at making a new account in iCal on MULTIPLE computers fails with "*Request for http://xxxxxxxxxxx.lan:8008/principals/_uids_/5B72686D-4769-4F3C-98AF-1B617ECB76F3/ failed. The server responded with "HTTP/1.1 500 Internal Server Error"*.
I copied the log on iCal Server after an attempted account creation. Any thoughts on a repair would be appreciated:
2008-03-28 09:56:41-0400 [-] [caldav-8010] [AMP,client] Provisioning file: <DirectoryPrincipalProvisioningResource: /Library/CalendarServer/Documents/principals>
2008-03-28 09:56:41-0400 [-] [caldav-8010] [AMP,client] Provisioning file: <DirectoryPrincipalUIDProvisioningResource: /Library/CalendarServer/Documents/principals/_uids_>
2008-03-28 09:56:41-0400 [-] [caldav-8010] [AMP,client] Exception rendering:
2008-03-28 09:56:41-0400 [-] [caldav-8010] [AMP,client] Unhandled Error
2008-03-28 09:56:41-0400 [-] [caldav-8010] Traceback (most recent call last):
2008-03-28 09:56:41-0400 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twisted/web2/server.py", line 358, in _handleSegment
2008-03-28 09:56:41-0400 [-] [caldav-8010] child = self._getChild(None, newres, newpath, updatepaths=updatepaths)
2008-03-28 09:56:41-0400 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twisted/web2/server.py", line 314, in _getChild
2008-03-28 09:56:41-0400 [-] [caldav-8010] result = res.locateChild(self, path)
2008-03-28 09:56:41-0400 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twistedcaldav/root.py", line 117, in locateChild
2008-03-28 09:56:41-0400 [-] [caldav-8010] d = self.checkSacl(request)
2008-03-28 09:56:41-0400 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twistedcaldav/root.py", line 107, in checkSacl
2008-03-28 09:56:41-0400 [-] [caldav-8010] d = defer.maybeDeferred(self.authenticate, request)
2008-03-28 09:56:41-0400 [-] [caldav-8010] --- <exception caught here> ---
2008-03-28 09:56:41-0400 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twisted/internet/defer.py", line 107, in maybeDeferred
2008-03-28 09:56:41-0400 [-] [caldav-8010] result = f(*args, **kw)
2008-03-28 09:56:41-0400 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twistedcaldav/extensions.py", line 66, in authenticate
2008-03-28 09:56:41-0400 [-] [caldav-8010] return super(SudoSACLMixin, self).authenticate(request)
2008-03-28 09:56:41-0400 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twisted/web2/dav/resource.py", line 727, in authenticate
2008-03-28 09:56:41-0400 [-] [caldav-8010] d = self.principalsForAuthID(request, creds.username)
2008-03-28 09:56:41-0400 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twisted/web2/dav/resource.py", line 1245, in principalsForAuthID
2008-03-28 09:56:41-0400 [-] [caldav-8010] authnPrincipal = self.findPrincipalForAuthID(authid)
2008-03-28 09:56:41-0400 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twistedcaldav/extensions.py", line 81, in findPrincipalForAuthID
2008-03-28 09:56:41-0400 [-] [caldav-8010] return super(SudoSACLMixin, self).findPrincipalForAuthID(authid)
2008-03-28 09:56:41-0400 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twisted/web2/dav/resource.py", line 1269, in findPrincipalForAuthID
2008-03-28 09:56:41-0400 [-] [caldav-8010] principal = collection.principalForUser(authid)
2008-03-28 09:56:41-0400 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twistedcaldav/directory/principal.py", line 90, in principalForUser
2008-03-28 09:56:41-0400 [-] [caldav-8010] return self.principalForShortName(DirectoryService.recordType_users, user)
2008-03-28 09:56:41-0400 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twistedcaldav/directory/principal.py", line 87, in principalForShortName
2008-03-28 09:56:41-0400 [-] [caldav-8010] return self.principalForRecord(self.directory.recordWithShortName(recordType, name))
2008-03-28 09:56:41-0400 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twistedcaldav/directory/principal.py", line 101, in principalForRecord
2008-03-28 09:56:41-0400 [-] [caldav-8010] return self.principalForGUID(record.guid)
2008-03-28 09:56:41-0400 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twistedcaldav/directory/principal.py", line 93, in principalForGUID
2008-03-28 09:56:41-0400 [-] [caldav-8010] return self.principalForUID(guid)
2008-03-28 09:56:41-0400 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twistedcaldav/directory/principal.py", line 125, in principalForUID
2008-03-28 09:56:41-0400 [-] [caldav-8010] return self.getChild(uidsResourceName).getChild(uid)
2008-03-28 09:56:41-0400 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twistedcaldav/directory/principal.py", line 304, in getChild
2008-03-28 09:56:41-0400 [-] [caldav-8010] self.provision()
2008-03-28 09:56:41-0400 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twistedcaldav/static.py", line 399, in provision
2008-03-28 09:56:41-0400 [-] [caldav-8010] self.provisionFile()
2008-03-28 09:56:41-0400 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twistedcaldav/static.py", line 413, in provisionFile
2008-03-28 09:56:41-0400 [-] [caldav-8010] assert parent.exists()
2008-03-28 09:56:41-0400 [-] [caldav-8010] exceptions.AssertionError:
2008-03-28 09:56:41-0400 [-] [caldav-8010]
2008-03-28 09:57:02-0400 [-] [caldav-8010] [AMP,client] Unauthenticated users not enabled with the 'calendar' SACL
2008-03-28 09:57:02-0400 [-] [caldav-8010] [AMP,client] Provisioning file: <DirectoryPrincipalProvisioningResource: /Library/CalendarServer/Documents/principals>
2008-03-28 09:57:02-0400 [-] [caldav-8010] [AMP,client] Provisioning file: <DirectoryPrincipalUIDProvisioningResource: /Library/CalendarServer/Documents/principals/_uids_>
2008-03-28 09:57:02-0400 [-] [caldav-8010] [AMP,client] Exception rendering:
2008-03-28 09:57:02-0400 [-] [caldav-8010] [AMP,client] Unhandled Error
2008-03-28 09:57:02-0400 [-] [caldav-8010] Traceback (most recent call last):
2008-03-28 09:57:02-0400 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twisted/web2/server.py", line 358, in _handleSegment
2008-03-28 09:57:02-0400 [-] [caldav-8010] child = self._getChild(None, newres, newpath, updatepaths=updatepaths)
2008-03-28 09:57:02-0400 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twisted/web2/server.py", line 314, in _getChild
2008-03-28 09:57:02-0400 [-] [caldav-8010] result = res.locateChild(self, path)
2008-03-28 09:57:02-0400 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twistedcaldav/root.py", line 117, in locateChild
2008-03-28 09:57:02-0400 [-] [caldav-8010] d = self.checkSacl(request)
2008-03-28 09:57:02-0400 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twistedcaldav/root.py", line 107, in checkSacl
2008-03-28 09:57:02-0400 [-] [caldav-8010] d = defer.maybeDeferred(self.authenticate, request)
2008-03-28 09:57:02-0400 [-] [caldav-8010] --- <exception caught here> ---
2008-03-28 09:57:02-0400 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twisted/internet/defer.py", line 107, in maybeDeferred
2008-03-28 09:57:02-0400 [-] [caldav-8010] result = f(*args, **kw)
2008-03-28 09:57:02-0400 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twistedcaldav/extensions.py", line 66, in authenticate
2008-03-28 09:57:02-0400 [-] [caldav-8010] return super(SudoSACLMixin, self).authenticate(request)
2008-03-28 09:57:02-0400 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twisted/web2/dav/resource.py", line 727, in authenticate
2008-03-28 09:57:02-0400 [-] [caldav-8010] d = self.principalsForAuthID(request, creds.username)
2008-03-28 09:57:02-0400 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twisted/web2/dav/resource.py", line 1245, in principalsForAuthID
2008-03-28 09:57:02-0400 [-] [caldav-8010] authnPrincipal = self.findPrincipalForAuthID(authid)
2008-03-28 09:57:02-0400 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twistedcaldav/extensions.py", line 81, in findPrincipalForAuthID
2008-03-28 09:57:02-0400 [-] [caldav-8010] return super(SudoSACLMixin, self).findPrincipalForAuthID(authid)
2008-03-28 09:57:02-0400 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twisted/web2/dav/resource.py", line 1269, in findPrincipalForAuthID
2008-03-28 09:57:02-0400 [-] [caldav-8010] principal = collection.principalForUser(authid)
2008-03-28 09:57:02-0400 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twistedcaldav/directory/principal.py", line 90, in principalForUser
2008-03-28 09:57:02-0400 [-] [caldav-8010] return self.principalForShortName(DirectoryService.recordType_users, user)
2008-03-28 09:57:02-0400 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twistedcaldav/directory/principal.py", line 87, in principalForShortName
2008-03-28 09:57:02-0400 [-] [caldav-8010] return self.principalForRecord(self.directory.recordWithShortName(recordType, name))
2008-03-28 09:57:02-0400 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twistedcaldav/directory/principal.py", line 101, in principalForRecord
2008-03-28 09:57:02-0400 [-] [caldav-8010] return self.principalForGUID(record.guid)
2008-03-28 09:57:02-0400 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twistedcaldav/directory/principal.py", line 93, in principalForGUID
2008-03-28 09:57:02-0400 [-] [caldav-8010] return self.principalForUID(guid)
2008-03-28 09:57:02-0400 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twistedcaldav/directory/principal.py", line 125, in principalForUID
2008-03-28 09:57:02-0400 [-] [caldav-8010] return self.getChild(uidsResourceName).getChild(uid)
2008-03-28 09:57:02-0400 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twistedcaldav/directory/principal.py", line 304, in getChild
2008-03-28 09:57:02-0400 [-] [caldav-8010] self.provision()
2008-03-28 09:57:02-0400 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twistedcaldav/static.py", line 399, in provision
2008-03-28 09:57:02-0400 [-] [caldav-8010] self.provisionFile()
2008-03-28 09:57:02-0400 [-] [caldav-8010] File "/usr/share/caldavd/lib/python/twistedcaldav/static.py", line 413, in provisionFile
2008-03-28 09:57:02-0400 [-] [caldav-8010] assert parent.exists()
2008-03-28 09:57:02-0400 [-] [caldav-8010] exceptions.AssertionError:
2008-03-28 09:57:02-0400 [-] [caldav-8010]
I started getting this error yesterday. All users and group calendar access fails. I can no longer enable calendaring for any user or group. I check the box for a user, save it, click to a different user, come back to the previous user and it is deselected.
I'm ready to put iCal Server aside and move to Chandler or something else. I've introduced this to our staff and we were just ramping up usage. Now it seems to have died on me.
Anyone have a solution?
Similar Messages
-
My iCal is no longer syncing to Mobile Me. This is the error that pops up:
The server responded with
“HTTP/1.1 500 Internal Server Error”
to operation CalDAVAccountRefreshQueueableOperationErik,
Where you able to find a solution to this error? I have been combing the internet (and these Apple Support pages) but I cannot find any way to resolve this. Now, suddenly one calendar from MobileMe shows no events in iCal, although the calendar itself is there. I am having the same results on two separate laptops, one is a G4 running Leopard, and this MacBook (Intel) running Snow Leopard.
Hope you got it back up and running. I'd love to hear how.
Cheers,
Joe
Using Mac OSX v10.6 Snow Leopard -
"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 -
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 -
Ical problem already 3 weeks after the update, get the message every time username or password is incorrect as I do with this password and username in mobileme bowl. now get the message
The server responded with \ 'HTTP/1.1 409 Conflict \'.
can someone help meIcal problem already 3 weeks after the update, get the message every time username or password is incorrect as I do with this password and username in mobileme bowl. now get the message
The server responded with \ 'HTTP/1.1 409 Conflict \'.
can someone help me -
I have a web page that contains a ReportViewer control. I am trying to display a report, which is an .rdl file located on the SSRS server, in this ReportViewer control. I have set the ReportPath and ReportServerUrl correctly. I am
getting an error message.
Am I suppose to use an .rdlc file rather than a .rdl file? Does the web server configuration need to use a certain account?
I am getting the following error message:
The attempt to connect to the report server failed. Check your connection information and that the report server is a compatible version.
The request failed with HTTP status 404: Not Found.Hi bucaroov,
The error "The request failed with HTTP status 404: Not Found." means the ReportServerURL configured in the ReportViewer control is invalid.
Please follow these steps to solve the issue:
Logon the Report Server machine.
Open the Reporting Services Configuration Manager.
Copy the Report Server URL from 'Web Services URL'.
Logon the application server(in this case, it is the server that host the web page), check if we can use the URL we got from step 3 to access the Report Server. If so, please replace the ReportServerURL in the ReportViewer control with this URL. If it is
not available, could you please post the error message.
Additionaly, we don't need to provide the extension for a server report. The ReportPath should be like: /<reports folder>/<report name>
For more information, please see:
Walkthrough: Using the ReportViewer Control in Remote Mode:
http://msdn.microsoft.com/en-us/library/ms251669(VS.80).aspx
If you have any more questions, please feel free to ask.
Thanks,
Jin Chen
Jin Chen - MSFT -
I got the error "The request failed with HTTP status 401: Unauthorized." when I call the Reporting Service Web Service.
The code is very simple:
// Initialise the reporting service Web Service
this.RSWebService = new ReportingService2010();
// Pass windos authentication credentials to Web Service
this.RSWebService.Credentials = System.Net.CredentialCache.DefaultCredentials;
// List children
List<CatalogItem> reports = this.RSWebService.ListChildren(folder, false).ToList();
The SQL Server is installed on a different machine (say server A) from the Web server (say server B). We are using Windows Server 2003.
The code work fine for all the scenario below:
i) Run locally (XP) to call the web service on the sql server
ii) Provide the Network Credentials with the username, password, and domain when calling the web service
iii) If the web server and sql server is using same server (i.e. not distributed)
I'm using windows authentication and impersonation. Any idea?Hi Raymond,
If I understand correctly, the issue only happens in the environment that the web server is different with the SQL Server Reporting Services server. This means the web server is a remote server of the Report Server. Windows Integrated authentication is used
in this case. When running the web page, the 401 error occurs.
If so, it is actually a double hop issue. The double-hop problem will usually only be an issue to those of you who write some sort of web-based code (a web application or web service) that uses impersonation.
To fix the issue, we can configure kerberos authentication for the web application and the SQL Server Reporting Services.
Below is a great article that has delivered many solutions to fix the issue you met:
http://odetocode.com/articles/216.aspx
Additionally, you can read the following article to know more about double-hop:
http://blogs.technet.com/b/askds/archive/2008/06/13/understanding-kerberos-double-hop.aspx
http://blogs.msdn.com/b/knowledgecast/archive/2007/01/31/the-double-hop-problem.aspx
If you have any more questions, please feel free to ask.
Thanks,
Jin Chen
Jin Chen - MSFT
Thanks Jin. I believe this is the cause of the problem as well.
I tried to register the SPN but unfortunately it still doesn't work. I'm not sure whether I'm using the correct SPN name.
I have 3 reporting server instance on the SQL box. So the Web Service URL is like
http://Server:80/VirtualDirectoryDev,
http://Server:80/VirtualDirectoryTest and
http://Server:80/VirtualDirectoryStaging .
What's the SPN I need to register?
I tried
Setspn -a http/Server:80/VirtualDirectoryDev domain\account
and
Setspn -a http/aerver:80 domain\account.
But both of them are not working :( -
The request failed with HTTP status 401: Unauthorized.
at Microsoft.SqlServer.ReportingServices2005.Execution.RSExecutionConnection.GetSecureMethods()
at Microsoft.SqlServer.ReportingServices2005.Execution.RSExecutionConnection.IsSecureMethod(String methodname)
at Microsoft.SqlServer.ReportingServices2005.Execution.RSExecutionConnection.LoadReport(String Report, String HistoryID)
at Microsoft.Reporting.WinForms.ServerReport.GetExecutionInfo()
at Microsoft.Reporting.WinForms.ServerReport.SetParameters(IEnumerable`1 parameters)
at Accounting.Reports.UI.FormReportPreview.LoadReport()
at Accounting.UI.FormBase.PreLoadReportComponents()
Please help me with this can't figure out, don't know how to troubleshoot this 5 days working on this error no changes so far, thanks in advance if u can figure it out....Hi willjohn520,
Based on your description, it seems that you are getting the error when you connect to report server reports in workstation. If in this scenario, the issue can be caused by “Host Header”(<foo>) in a URL that looks like http(s)://<foo>/reports
is neither the machine name nor the loop back IP address nor the machine's IP address.
For more details information about this issue, please refer to the following blog:
http://blogs.msdn.com/b/lukaszp/archive/2008/07/18/reporting-services-http-401-unauthorized-host-headers-require-your-attention.aspx
Hope this helps.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
Hi all,
knowning that there are already a lot of posts concerning above message, I have to write an additional one as I could not find a solution on the web yet.
Situation:
Windows Server 2008 forest including empty root and two child domains, one child domain does have SCCM SP1 (central primary site WND) installed on W2k8 x64 machine including WSUS 3.0 SP1 => everything is working fine.
Second child domain also contains a SCCM SP1 server (primary site HUN) running on W2k8 x64 and is defined as child site of central site WND => everything is working fine too - except Software Updates.
WSUS 3.0 SP1 installed on both SCCM servers by creating additional web site (not using "defautl web site") and configured ports 8530 and 8531 (SSL not used!). No proxy necessary/used. All WSUS 3.0 requirements for W2k8 are installed (IIS roles)
Error:
SMS_WSUS_CONFIGURATION_MANAGER - MessageID 6600:
SMS WSUS Configuration Manager failed to configure upstream server settings on WSUS Server "xxxx0003".
Possible cause: WSUS Server version 3.0 SP1 and above is not installed or cannot be contacted.
Solution: Verify that the WSUS Server version 3.0 SP1 or greater is installed. Verify that the IIS ports configured in SMS are same as those configured on the WSUS IIS website.
wsusutil checkhealth =>OK
downloading updates from WSUS at central site (SUSDB and WSUS folder equal in size) =>OK
wsus admin console able to connect and configuration possible => OK
IIS ports configured within SMS are equal to those configured for WSUS website
SCCM config (using Configuration Manager Console) does look correct - ConfigMgr Software Update Point role properties and Software Update Point Component properties
wcm.log does report an error: (SCCM Log files at the end.)
"The request failed with HTTP status 503: Service Unavailable"
IIS log files of both websites (default web site and WSUS Administration website) do not show any errors.
Questions:
What else should I look at? (registyr, SUSDB content,..)
What exactly does happen during the attempt to configure the upstream server by the SMS_WSUS_Configuration_Manager component? I guess a SMS process tries to contact a webservice - would it be possible to debug in more detail ?
And finally - Who does know the solution ?
wcm.log:
Found WSUS Admin dll of assembly version Microsoft.UpdateServices.Administration, Version=3.0.6000.273, Major Version = 0x30000, Minor Version = 0x17700111 SMS_WSUS_CONFIGURATION_MANAGER 16.07.2008 12:49:47 4468 (0x1174)
Found WSUS Admin dll of assembly version Microsoft.UpdateServices.Administration, Version=3.1.6001.1, Major Version = 0x30001, Minor Version = 0x17710001 SMS_WSUS_CONFIGURATION_MANAGER 16.07.2008 12:49:47 4468 (0x1174)
The installed WSUS build has the valid and supported WSUS Administration DLL assembly version (3.1.6001.65) SMS_WSUS_CONFIGURATION_MANAGER 16.07.2008 12:49:47 4468 (0x1174)
System.Net.WebException: The request failed with HTTP status 503: Service Unavailable.~~ at Microsoft.UpdateServices.Administration.AdminProxy.CreateUpdateServer(Object[] args)~~ at Microsoft.UpdateServices.Administration.AdminProxy.GetUpdateServer(String serverName, Boolean useSecureConnection, Int32 portNumber)~~ at Microsoft.SystemsManagementServer.WSUS.WSUSServer.ConnectToWSUSServer(String ServerName, Boolean UseSSL, Int32 PortNumber) SMS_WSUS_CONFIGURATION_MANAGER 16.07.2008 12:49:47 4468 (0x1174)
Remote configuration failed on WSUS Server. SMS_WSUS_CONFIGURATION_MANAGER 16.07.2008 12:49:47 4468 (0x1174)
STATMSG: ID=6600 SEV=E LEV=M SOURCE="SMS Server" COMP="SMS_WSUS_CONFIGURATION_MANAGER" SYS=xxxx0003 SITE=HUN PID=2424 TID=4468 GMTDATE=Mi Jul 16 10:49:47.758 2008 ISTR0="xxxx0003" ISTR1="" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=0 SMS_WSUS_CONFIGURATION_MANAGER 16.07.2008 12:49:47 4468 (0x1174)
Waiting for changes for 59 minutes SMS_WSUS_CONFIGURATION_MANAGER 16.07.2008 12:49:47 4468 (0x1174)
wsusctrl.log (looks fine to me - is able to connect to local WSUS !):
SMS_EXECUTIVE started SMS_WSUS_CONTROL_MANAGER as thread ID 6156 (0x180C). SMS_WSUS_CONTROL_MANAGER 16.07.2008 12:04:01 2732 (0x0AAC)
This is a WSUS Role as WSUS registry key exists. SMS_WSUS_CONTROL_MANAGER 16.07.2008 12:04:01 6156 (0x180C)
Found WSUS Admin dll of assembly version Microsoft.UpdateServices.Administration, Version=3.0.6000.273, Major Version = 0x30000, Minor Version = 0x17700111 SMS_WSUS_CONTROL_MANAGER 16.07.2008 12:04:01 6156 (0x180C)
Found WSUS Admin dll of assembly version Microsoft.UpdateServices.Administration, Version=3.1.6001.1, Major Version = 0x30001, Minor Version = 0x17710001 SMS_WSUS_CONTROL_MANAGER 16.07.2008 12:04:01 6156 (0x180C)
The installed WSUS build has the valid and supported WSUS Administration DLL assembly version (3.1.6001.65) SMS_WSUS_CONTROL_MANAGER 16.07.2008 12:04:01 6156 (0x180C)
Successfully connected to local WSUS server SMS_WSUS_CONTROL_MANAGER 16.07.2008 12:04:01 6156 (0x180C)
Local WSUS Server Proxy settings are correctly configured as Proxy Name and Proxy Port 80 SMS_WSUS_CONTROL_MANAGER 16.07.2008 12:04:01 6156 (0x180C)
Waiting for changes for 0 minutes SMS_WSUS_CONTROL_MANAGER 16.07.2008 12:04:01 6156 (0x180C)
Timed Out... SMS_WSUS_CONTROL_MANAGER 16.07.2008 12:04:01 6156 (0x180C)
Found WSUS Admin dll of assembly version Microsoft.UpdateServices.Administration, Version=3.0.6000.273, Major Version = 0x30000, Minor Version = 0x17700111 SMS_WSUS_CONTROL_MANAGER 16.07.2008 12:04:01 6156 (0x180C)
Found WSUS Admin dll of assembly version Microsoft.UpdateServices.Administration, Version=3.1.6001.1, Major Version = 0x30001, Minor Version = 0x17710001 SMS_WSUS_CONTROL_MANAGER 16.07.2008 12:04:01 6156 (0x180C)
The installed WSUS build has the valid and supported WSUS Administration DLL assembly version (3.1.6001.65) SMS_WSUS_CONTROL_MANAGER 16.07.2008 12:04:01 6156 (0x180C)
Successfully connected to local WSUS server SMS_WSUS_CONTROL_MANAGER 16.07.2008 12:04:01 6156 (0x180C)
Local WSUS Server Proxy settings are correctly configured as Proxy Name and Proxy Port 80 SMS_WSUS_CONTROL_MANAGER 16.07.2008 12:04:01 6156 (0x180C)
Successfully connected to local WSUS server SMS_WSUS_CONTROL_MANAGER 16.07.2008 12:04:01 6156 (0x180C)
There are no unhealthy WSUS Server components on WSUS Server xxxx0003 SMS_WSUS_CONTROL_MANAGER 16.07.2008 12:04:01 6156 (0x180C)
Successfully checked database connection on WSUS server xxxx0003 SMS_WSUS_CONTROL_MANAGER 16.07.2008 12:04:02 6156 (0x180C)
Waiting for changes for 57 minutes SMS_WSUS_CONTROL_MANAGER 16.07.2008 12:04:02 6156 (0x180C)
wsyncmgr.log (as a result of being not able to configure upstream server I guess):
STATMSG: ID=6701 SEV=I LEV=M SOURCE="SMS Server" COMP="SMS_WSUS_SYNC_MANAGER" SYS=xxxx0003 SITE=HUN PID=2424 TID=4476 GMTDATE=Mi Jul 16 10:03:51.481 2008 ISTR0="" ISTR1="" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=0 SMS_WSUS_SYNC_MANAGER 16.07.2008 12:03:51 4476 (0x117C)
Sync failed: WSUS server not configured. Source: CWSyncMgr:oSync SMS_WSUS_SYNC_MANAGER 16.07.2008 12:08:51 4476 (0x117C)
STATMSG: ID=6703 SEV=E LEV=M SOURCE="SMS Server" COMP="SMS_WSUS_SYNC_MANAGER" SYS=xxxx0003 SITE=HUN PID=2424 TID=4476 GMTDATE=Mi Jul 16 10:08:51.636 2008 ISTR0="CWSyncMgr:oSync" ISTR1="WSUS server not configured" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=0 SMS_WSUS_SYNC_MANAGER 16.07.2008 12:08:51 4476 (0x117C)I just experienced the exact same scenario. After much digging I found that csakg6so posted a fix at
Windoows-Noob
Run Internet Explorer as the SYSTEM account (psexec -s -d -i cmd.exe & C:\Program Files\Internet Explorrer\iexplore.exe)
Go to internet options
Go to conections
Go to LAN settings
Uncheck all boxes
The original post said to reboot, but that wasn't necessary for me.
After initiating a manual Software Update sync the WCM.log and WSyncMgr.log errors do not return and new updates are synchronized. -
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 -
The request failed with HTTP status 404: Not Found
Hi
BPC version we are using is : 5.0.502
When we Publish all reports using the steps below:
a. Log into BPC Web
b. Click on Available Interfaces> Select BPC for Administration
c. Under Web Admin Task Click Publish Reports
d. Select all of the reports and click the green check mark to publish the
reports.
I am getting following message 'System.Exception: The request failed with HTTP Status 404: Not Found. Event log relation to this error is given below.
Event Type: Error
Event Source: OutlookSoft log
Event Category: None
Event ID: 0
Date: 12/8/2008
Time: 11:26:42 AM
User: N/A
Computer: BPCAPP
Description:
==============[System Error Tracing]==============
[System Name] : OSoftCPM
[Message Type] : ErrorMessage
[Job Name] : AuditMgrService/SetAuditReportFiles
[DateTime] : 12/8/2008 11:26:42 AM
[UserId] : MMPlanning
[Exception]
DetailMsg : {The request failed with HTTP status 404: Not Found.}
==============[System Error Tracing End ]==============
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.
We tried ' Publish all reports' as the resolution of error 'object variable or with block variable not set' on modifying an application as per sap note Note 1131320
If anyone knows the resolution for the above issue, please help me.
Thanks in advance
Sajeev AbrahamHi
Thanks for the response.
Below are the full contents of the error message pop-up.
( System.Expection: the reguest failed with HTTP status 404:Not found at
Microsoft.Visualbasic.CompierServices.lateBinding.LateGet(Object o, Type,String name, Object
[]args,sTRING[]paramnames, Boolen[]CopyBack)
at OSoft.Services.WebServices.ReportmanageProxy.ReportManageProxy.SetPubishReport(String strAppSet,string
strApp,string strFiter)
url is given below
http://<HostName>/osoft/Admin/WebAdminMain.aspx
BPC Deployment is Multiple server ( Two servers) Database and Application deployed seperately.
Sql Reporting server is working.. I could connect using sql management studio.
Thanks -
"The request failed with HTTP Status 400: Bad Request." when running reports
Hi,
I installed reporting services and the install went fine. The Reporting Services are located on a different server. I can see all the reports in SCCM but when I try to run them I get the "400" error with the following details:
System.Net.WebException
The request failed with HTTP status 400: Bad Request.
Stack Trace:
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at Microsoft.Reporting.WinForms.Internal.Soap.ReportingServices2005.Execution.ReportExecutionService.LoadReport2(String Report, String HistoryID)
at Microsoft.Reporting.WinForms.Internal.Soap.ReportingServices2005.Execution.RSExecutionConnection.<>c__DisplayClass2.<LoadReport>b__0()
at Microsoft.Reporting.WinForms.Internal.Soap.ReportingServices2005.Execution.RSExecutionConnection.ProxyMethodInvocation.Execute[TReturn](RSExecutionConnection connection, ProxyMethod`1 initialMethod, ProxyMethod`1 retryMethod)
at Microsoft.Reporting.WinForms.Internal.Soap.ReportingServices2005.Execution.RSExecutionConnection.LoadReport(String Report, String HistoryID)
at Microsoft.Reporting.WinForms.ServerReport.EnsureExecutionSession()
at Microsoft.Reporting.WinForms.ServerReport.SetParameters(IEnumerable`1 parameters)
at Microsoft.ConfigurationManagement.AdminConsole.SrsReporting.ReportViewerWindowsForms.SetParameterValues_DoWork(Object sender, DoWorkEventArgs e)
I can open the URL from the SCCM server but when I select a report I am unable to select any report options if available. If no options are availble the report just doesn't run, I don't get and error if I select "View Report" mutiple
times.
If I connect to the Reporting Services site on the computer where it is installed all the reports run fine.
One thing I have noticed is that when I try to change or add a role assignment for Reporting Services the edited account always reverts back to the default settings and the added Domain user is dropped.
ThanksI reviewed the topic and found a couple of steps I missed the first time around. I had to "Configure Reports to Use Report Builder 3.0 and setting the "Log on Locally" permission.
I then uninstalled the role and reinstalled it. I am still getting the 400 error.
When I inspected the SmsAdminUI.log I noticed the Error on the last line 2151811598 (it repeats in the log). I couldn't find anything specific related to it. By reading a few "related" Internet posts I came accross a intial setup
blog that noted some WMI firewall execptions (Async-in, DCOM-in and WMI-in) as require so I checked and they were not allowed on the SCCM server so I allowed them and tested with the same result. I turned them off again.
Here is the tail end of the SmsAdminUI.log
[19, PID:2684][01/24/2013 16:08:29] :[ReportProxy] - User-specified default Reporting Point [INC-SQL42.deccoinc.net] could not be found, [] is now the default Reporting Point.
[4, PID:2684][01/24/2013 16:08:30] :[ReportProxy] - User-specified default Reporting Point [INC-SQL42.deccoinc.net] could not be found, [] is now the default Reporting Point.
[15, PID:2684][01/24/2013 16:08:30] :[ReportProxy] - User-specified default Reporting Point [INC-SQL42.deccoinc.net] could not be found, [] is now the default Reporting Point.
[1, PID:2684][01/24/2013 19:06:02] :System.Management.ManagementException\r\nNot found \r\n at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
at System.Management.ManagementObject.Initialize(Boolean getObject)
at System.Management.ManagementBaseObject.get_wbemObject()
at System.Management.PropertyData.RefreshPropertyInfo()
at System.Management.PropertyDataCollection.get_Item(String propertyName)
at System.Management.ManagementBaseObject.GetPropertyValue(String propertyName)
at System.Management.ManagementBaseObject.get_Item(String propertyName)
at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.GetInstance(String objectPath)\r\nManagementException details:
instance of SMS_ExtendedStatus
Description = "Error retrieving object FileType=2";
ErrorCode = 2151811598;
File = "e:\\nts_sccm_release\\sms\\siteserver\\sdk_provider\\smsprov\\SspInterface.h";
Line = 1208;
Operation = "GetObject";
ParameterInfo = "SMS_SCI_SysResUse.FileType=2,ItemName=\"[\\\"Display=\\\\\\\\INC-SQL42.deccoinc.net\\\\\\\"]MSWNET:[\\\"SMS_SITE=INC\\\"]\\\\\\\\INC-SQL42.deccoinc.net\\\\,SMS SRS Reporting Point\",ItemType=\"System Resource Usage\",SiteCode=\"INC\"";
ProviderName = "ExtnProv";
StatusCode = 2147749890;
\r\n
[1, PID:2684][01/24/2013 23:39:14] :System.NullReferenceException\r\nObject reference not set to an instance of an object.\r\n at Microsoft.ConfigurationManagement.AdminConsole.SmsCustomDialog.get_LocaleIndependentIdentifier()
at Microsoft.ConfigurationManagement.AdminConsole.ShowDialogTaskHandler.DoTask(NavigationModelNodeBase node, SccmTaskConfiguration sccmTask, PropertyDataUpdated dataUpdatedDelegate, Boolean readOnly)\r\n
[1, PID:5008][01/25/2013 20:48:00] :System.Management.ManagementException\r\nNot found \r\n at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
at System.Management.ManagementObject.Initialize(Boolean getObject)
at System.Management.ManagementBaseObject.get_wbemObject()
at System.Management.PropertyData.RefreshPropertyInfo()
at System.Management.PropertyDataCollection.get_Item(String propertyName)
at System.Management.ManagementBaseObject.GetPropertyValue(String propertyName)
at System.Management.ManagementBaseObject.get_Item(String propertyName)
at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.GetInstance(String objectPath)\r\nManagementException details:
instance of SMS_ExtendedStatus
Description = "Error retrieving object FileType=2";
ErrorCode = 2151811598;
File = "e:\\nts_sccm_release\\sms\\siteserver\\sdk_provider\\smsprov\\SspInterface.h";
Line = 1208;
Operation = "GetObject";
ParameterInfo = "SMS_SCI_SysResUse.FileType=2,ItemName=\"[\\\"Display=\\\\\\\\INC-SQL42.deccoinc.net\\\\\\\"]MSWNET:[\\\"SMS_SITE=INC\\\"]\\\\\\\\INC-SQL42.deccoinc.net\\\\,SMS SRS Reporting Point\",ItemType=\"System Resource Usage\",SiteCode=\"INC\"";
ProviderName = "ExtnProv";
StatusCode = 2147749890;
\r\n -
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 -
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
Maybe you are looking for
-
Having problems trying to install the photoshop elements trial after download?
After the download was complete I opened the Adobe Photoshop Elements 9 folder and the install icon had a black line running through it. If i double click on it a message comes up stating that its not supported on this architecture. I do not understa
-
my iphone is unable to restore or update, it says the iphone could not be restored. this device isn't eligible for the requested build.
-
Hi All, When i specify the LOV Range Sizing to 15 it is displaying only 15 in LOV and upon on user action the LOV is not populating the remaining rows. But if i specify the default (-1) Sizing then it is displaying. I tried in giving in VO Level and
-
I recently upgraded from CS2 to CS4, and I'm very happy with it! i have it on my desktop computer, but what I was wondering is if it would be possible (since i no longer have CS2 installed on this machine) to install CS2 on my laptop? or would the r
-
Poster Frame doesn't work (QuickTime Movie)
Hi, I recently published some QT movie on iWeb and i do set the poster frame..but after published and visit the website..all the poster frame doesn't work...why?