WinRM - WsManFault - HTTP Bad Request status (400) - Error number: -2144108175 0x80338171
I am trying to configure the WinRM in my servers for eventlog forwarding but I am facing issue when i run "winrm qc" command on domain controllers. I get the following error,
WinRM already is set up to receive requests on this machine.
WSManFault
Message = The WinRM client received an HTTP bad request status (400), but the remote service did not include any other information about the cause of the failure.
Error number: -2144108175 0x80338171
The WinRM client received an HTTP bad request status (400), but the remote service did not include any other information about the cause of the failure.
Please help me resolve this. I searched many articles but no result. Nothing helped.
Regards,
Sameer Gawde
Hi Sameer,
Before going further, would you please let me confirm edition information of the server OS that this issue
occurred? Was it Windows Server 2008 or Windows Server 2008 R2 or any other?
Based on the error message, this issue may occur if the Window Remote Management service and its listener functionality
are broken. Please refer to resolution in following KB and check if can help you.
Errors when you run winrm commands to check local functionality
in a Windows Server 2008 environment
If any update, please feel free to let me know.
Hope this helps.
Best regards,
Justin Gu
Similar Messages
-
Fiori : Decision making error : HTTP Bad Request
Hi All,
Have referred this discussion and followed same steps of upgrading the patch number.
Fiori - Approve Purchase Requisition Error
I have Gateway and Backend as separate systems
I am facing same issue. I have upgraded kernel patch to latest level in Gateway system, but no hopes, still getting HTTP bad request error.
I have IWPGW version IW_PGW SP05
From gateway system , i am able to post properly.
Please let me know if this kernel patch level upgrade has to be done in back-end as well ?
Regards,
Tejasoh, and I know its not week signal because I set up a blackberry simulater and MDS simulater on my computer on the same network with the apex server and it has the same issue
-
Http Bad Request when using /_vti_bin/listdata.svc in excel or tableau
hi all,
I followed a guide from tableau that teaches us how to connect odata(sharepoint list data) but it keeps giving me HTTP bad request.
When i tried to access my list using http://myserverIP/_vti_bin/ListData.svc
from the browser with credential, I am able to access the listdata and see the data from other lists. I decided to try connecting to excel instead but it gives me the same error, HTTP bad request. What am I doing wrong? Does the problem comes from
access rights or?
Can anyone help or guide me? Thank youHi Leonard,
Thanks for posting your query, you can refer one of my blog to create and configure a WCF service in SharePoint.
http://dharmendrablogs.blogspot.in/2013/02/rest-wcf-service-in-sharepoint-2010.html
And, another blog is
http://dennis.bloggingabout.net/2006/11/09/WCF-Part-4-Make-your-service-visible-through-metadata/
Hope this is helpful to you. If this works, Please mark it as Answered.
Regards,
Dharmendra Singh (MCPD-EA | MCTS )
Blog URL : http://sharepoint-community.net/profile/DharmendraSingh -
Hi All, I'm trying to redirect a custom error page when URL contain percent "%" symbol. But when I use percent "%" symbol in URL (https://mctest.aspial.com.sg/%), its saying below error. I don't want to show this error message. I want
to redirect users to custom error page. I already added custom error page in IIS & Web.config file for status code 400. But It's now working. It's still showing the same error.
Bad Request - Invalid URL
HTTP Error 400. The request URL is invalid
Is there any way to redirect custom error page when URL contain only "%" symbol? Anyone please help me on this. Thanks advance.
Below are my server details:
IIS version 7.5
.Net Framework 4.0I see, so the issue isn't with the % in the query string but rather the URL path itself. In that case I don't believe this is anything related to your app but rather the web server. When you provide a URL the web server has to map that to an
application. Depending upon where the character falls determines who gets to handle it. Since the % is next to the domain name it is most likely not being mapped by the web server so you get the general 400 error. Since this isn't an app
issue but a server level issue you'd have to redirect at the server level (in IIS: Server\Error Pages). If the % is inside an application's virtual directory then it becomes an issue for the application (in IIS: Site\Error Pages).
But things can get more complicated. The web server generally has filters so it won't support requests for certain things (like web.config in ASP.NET apps). Filtering can be done anywhere between the server and the application. Complicating
this is virtual path providers (like MVC).
To be honest I don't think you should be worrying about this scenario. An invalid % in a URL is a bad request so you shouldn't try to treat it differently than a regular 400 error. In fact I'd say that it could be a security hole (depending
upon what you're doing). So you can customize 400 errors at the server or app level if you want but I wouldn't bother trying to distinguish bad URLs from bad requests.
I recommend you post this question in the ASP.NET forums (http://forums.asp.net ) to see if anyone has a better answer.
Michael Taylor
http://blogs.msmvps.com/p3net -
Http status 400 error in the emulator
I successfully have run the servlet (ImageAdapter.java). The servlet is suposed to convert GIF images into PNG images according to the clients display settings by using Sun's Jimi packages. It displays both gif and png type images in IE. Now, I am trying to run the midlet (ImageClient.java) in the J2ME toolkit 2.2. It displays the gif image in the emulator. But, when I try to display a png image it gives me a http 400 error. Why is this ? Can anyone help ?
servlet code: ImageAdapter.java
import com.sun.jimi.core.*;
import com.sun.jimi.core.util.*;
//import com.sun.jimi.util.*;
import java.awt.*;
import java.io.*;
import java.net.*;
import java.util.*;
import java.lang.*;
import javax.servlet.*;
import javax.servlet.http.*;
* A simple example of a servlet that reads the image from
* a given URL and uses Jimi to convert it to PNG format,
* scaling it and recoloring it appropriately for the device.
* Can be called using either GET or POST. If GET, then the
* request parameters are used to determine the URL of the
* image to fetch and the scaling and color attributes.
* If POST, the data is sent as UTF-encoded string pairs in the
* request body.
public class ImageAdapter extends HttpServlet {
// The PNG MIME type
static final String PNG_MIME = "image/png";
// Convenience method
static boolean getBooleanProperty( Properties p,
String key,
boolean def ){
String sval = p.getProperty( key );
boolean bval = def;
if( sval != null ){
bval = ( sval.equalsIgnoreCase( "true" ) ||
sval.equals( "1" ) );
return bval;
// Convenience method
static int getIntegerProperty( Properties p,
String key,
int def ){
String sval = p.getProperty( key );
int ival = def;
if( sval != null ){
try {
ival = Integer.parseInt( sval );
catch( NumberFormatException e ){
return ival;
// Process GET requests. Sets up some defaults and then
// overrides them with the request parameters.
public void doGet( HttpServletRequest request,
HttpServletResponse response )
throws IOException, ServletException {
// Put in some defaults for testing with a browser
Properties props = new Properties();
props.put( "url",
"http://localhost:8080/img/Availability.png" );
props.put( "colors", "256" );
props.put( "minwidth", "200" );
props.put( "maxwidth", "200" );
props.put( "minheight", "200" );
props.put( "maxheight", "200" );
// Overwrite the default with any request parameters...
Enumeration names = request.getParameterNames();
while( names.hasMoreElements() ){
String key = (String) names.nextElement();
props.put( key, request.getParameter( key ) );
// Now send back the image...
adaptImage( props, response );
// Process POST request. Parameters are extracted from
// the request body.
public void doPost( HttpServletRequest request,
HttpServletResponse response )
throws IOException, ServletException {
// Get the input stream and read the data...
ServletInputStream in = request.getInputStream();
DataInputStream din = new DataInputStream( in );
Properties props = new Properties();
// Read in properties as sent by client.
while( true ){
try {
String key = din.readUTF();
if( key.length() == 0 ) break;
props.put( key, din.readUTF() );
catch( IOException e ){
break;
din.close();
adaptImage( props, response );
// Use Jimi to grab the original image and
// then scale it and reduce its colors
// based on the requested settings.
private void adaptImage( Properties props,
HttpServletResponse response )
throws IOException, ServletException {
// Read in the parameters, with appropriate
// defaults.
String imageURL = props.getProperty( "url" );
if( imageURL == null ){
response.sendError( response.SC_BAD_REQUEST,
"No 'url' specified" );
return;
int minWidth = getIntegerProperty( props,
"minwidth",
0 );
int maxWidth = getIntegerProperty( props,
"maxwidth",
96 );
int minHeight = getIntegerProperty( props,
"minheight",
0 );
int maxHeight = getIntegerProperty( props,
"maxheight",
0 );
int colors = getIntegerProperty( props,
"colors", 2 );
boolean dither = getBooleanProperty( props,
"dither",
true );
boolean reduce = getBooleanProperty( props,
"reduce",
false );
// Now read in the image using Jimi...
URL url;
try {
url = new URL( imageURL );
catch( MalformedURLException e ){
response.sendError( response.SC_BAD_REQUEST,
"Invalid image URL" );
return;
Image img = Jimi.getImage( url, Jimi.SYNCHRONOUS |
Jimi.IN_MEMORY );
if( img == null ){
response.sendError( response.SC_BAD_REQUEST,
"Bad image format" );
return;
// Now adjust the image, first by
// scaling it if necessary....
int width = img.getWidth( null );
int height = img.getHeight( null );
boolean scale = false;
if( width < minWidth ){
width = minWidth;
scale = true;
} else if( width > maxWidth){
width = maxWidth;
scale = true;
if( height < minHeight ){
height = minHeight;
scale = true;
} else if( height > maxHeight ){
height = maxHeight;
scale = true;
if( scale ){
img = img.getScaledInstance( width, height,
Image.SCALE_SMOOTH );
GraphicsUtils.waitForImage( img );
// Now adjust the color depth...
if( reduce ){
ColorReducer reducer = new ColorReducer( colors,
dither );
try {
img = reducer.getColorReducedImage( img );
catch( Exception e ){
response.sendError( response.SC_BAD_REQUEST,
"Error reducing image" );
return;
GraphicsUtils.waitForImage( img );
// Convert it to PNG format
ByteArrayOutputStream bout = new ByteArrayOutputStream();
try {
Jimi.putImage( PNG_MIME, img, bout );
catch( Exception e ){
response.sendError( response.SC_BAD_REQUEST,
"Error converting image" );
return;
byte[] data = bout.toByteArray();
// Send it out!
response.setContentType( PNG_MIME );
response.setContentLength( data.length );
response.setStatus( response.SC_OK );
OutputStream out = response.getOutputStream();
out.write( data );
out.close();
}MIDlet code: ImageClient.java
import java.io.*;
import javax.microedition.io.*;
import javax.microedition.lcdui.*;
import javax.microedition.midlet.*;
* A MIDP application that fetches and displays an arbitrary
* image from the Web using the ImageAdapter servlet.
* This class depends on HttpConnectionHelper, described
* in an earlier J2ME Tech Tip.
public class ImageClient extends MIDlet
implements CommandListener {
// Adjust this URL appropriately for the adapter...
private static String adapterURL =
"http://localhost:8080/img/image";
// A default image to display...
private static String defaultURL =
"http://localhost:8080/img/Availability.png";
//http://www.w3schools.com/images/ie.gif
private Display display;
private Command exitCommand = new Command( "Exit",
Command.EXIT, 1 );
private Command okCommand = new Command( "OK", Command.OK, 1 );
private Command sendCommand = new Command( "Get",
Command.OK, 1 );
private TextBox entryForm;
private int screenHeight;
private int screenWidth;
private int numColors;
public ImageClient(){
protected void destroyApp( boolean unconditional )
throws MIDletStateChangeException {
exitMIDlet();
protected void pauseApp(){
protected void startApp()
throws MIDletStateChangeException {
if( display == null ){ // first time called...
initMIDlet();
// First we display the dummy canvas so we can
// get information about the display
private void initMIDlet(){
display = Display.getDisplay( this );
entryForm = new EntryForm();
display.setCurrent( new DummyCanvas() );
public void exitMIDlet(){
notifyDestroyed();
public void commandAction( Command c, Displayable d ){
if( c == sendCommand ){
StatusForm f =
new StatusForm( entryForm.getString() );
display.setCurrent( f );
f.start();
} else if( c == okCommand ){
display.setCurrent( entryForm );
} else {
exitMIDlet();
// A dummy canvas to get the size of the screen
class DummyCanvas extends Canvas {
protected void paint( Graphics g ){
screenHeight = getHeight();
screenWidth = getWidth();
numColors = display.numColors();
// Go directly to the main screen
display.setCurrent( entryForm );
// The text entry form...
class EntryForm extends TextBox {
EntryForm(){
super( "Enter a URL", defaultURL, 80, 0 );
addCommand( exitCommand );
addCommand( sendCommand );
setCommandListener( ImageClient.this );
// Show the image...
class ShowImage extends Canvas {
ShowImage( byte[] imageData ){
image = Image.createImage( imageData, 0,
imageData.length );
display.setCurrent( this );
addCommand( okCommand );
setCommandListener( ImageClient.this );
protected void paint( Graphics g ){
g.drawImage( image, 0, 0,
g.TOP | g.LEFT );
private Image image;
// A status for for displaying messages as the data is sent...
class StatusForm extends Form
implements Runnable,
HttpConnectionHelper.Callback {
StatusForm( String url ){
super( "Status" );
try {
ByteArrayOutputStream bout =
new ByteArrayOutputStream();
DataOutputStream dout =
new DataOutputStream( bout );
// Write info about the image and the
// display settings for this device
dout.writeUTF( "url" );
dout.writeUTF( url );
writeInt( dout, "minwidth", screenWidth );
writeInt( dout, "maxwidth", screenWidth );
writeInt( dout, "minheight", screenHeight );
writeInt( dout, "maxheight", screenHeight );
writeInt( dout, "colors", numColors );
writeInt( dout, "reduce", 1 );
writeInt( dout, "dither", 1 );
dout.writeUTF( "" );
data = bout.toByteArray();
dout.close();
catch( IOException e ){
// should handle this....
void writeInt( DataOutputStream dout, String key,
int value ) throws IOException {
dout.writeUTF( key );
dout.writeUTF( Integer.toString( value ) );
// Updates the display.
void display( String text ){
if( message == null ){
message = new StringItem( null, text );
append( message );
} else {
message.setText( text );
// We're done.
void done( String msg ){
display( msg != null ? msg : "Done." );
addCommand( okCommand );
setCommandListener( ImageClient.this );
// Callback for making the HTTP connection.
public void prepareRequest( String originalURL,
HttpConnection conn ) throws IOException
conn.setRequestMethod( HttpConnection.POST );
conn.setRequestProperty( "User-Agent",
"Profile/MIDP-2.0 Configuration/CLDC-1.1" );
conn.setRequestProperty( "Content-Language",
"en-US" );
conn.setRequestProperty( "Accept", "image/png" );
conn.setRequestProperty( "Connection", "close" );
conn.setRequestProperty( "Content-Length",
Integer.toString( data.length ) );
OutputStream os = conn.openOutputStream();
os.write( data );
os.close();
// Do the connection on a separate thread to keep the UI
// responsive...
public void run(){
HttpConnection conn = null;
display( "Obtaining HttpConnection object..." );
try {
conn =
HttpConnectionHelper.connect( adapterURL,
this );
display( "Connecting to the server..." );
int rc = conn.getResponseCode();
if( rc == HttpConnection.HTTP_OK ){
try {
DataInputStream din = new DataInputStream(
conn.openInputStream() );
data = new byte[ (int) conn.getLength() ];
din.readFully( data );
din.close();
catch( IOException e ){
done( "Image received" );
new ShowImage( data );
} else {
done( "Unexpected return code: " + rc );
conn.close();
catch( IOException e ){
done( "Exception " + e +
" trying to connect." );
// Starts the upload in the background...
void start(){
display( "Starting..." );
Thread t = new Thread( this );
try {
t.start();
catch( Exception e ){
done( "Exception " + e +
" trying to start thread." );
private StringItem message;
private byte[] data;
}Regards,
Ship.I have the same problem and I don`t found info about this. How do you solved this problem.
-
Every time I try to send an email with an attachment I get the above error message. Also with the message I get "The request sent by the client was syntactically incorrect (The parameter "nimlet" was not found in the HTTP request to the HttpNimletDriver").
What the heck does this all mean, please help.
Thanks
DavidI have the same problem and I don`t found info about this. How do you solved this problem.
-
BC Sender Adapter--400 Bad Request
Hi,
I am trying to integrate BC with XI(BC Sender Adapter). BC will send Data to XI.
In BC, i have specified a routing rule( as specified in help.sap.com) using the following parameters :
URL:http://<hostname:portnumber>/MessagingSystem/receive/BcAdapter/BC
User:xiappluser
When i test this service, it gives the error 400 Bad Request. I tested the validitly of the above URL by loggin in through a web-browser. The messaging servlet is seen in active status.
<?xml version="1.0" encoding="UTF-8" ?>
- <scenario>
<scenname>MSG_SCEN</scenname>
<scentype>SERV</scentype>
<sceninst>MSG_001</sceninst>
<scenversion>001</scenversion>
- <component>
<compname>SERVLET</compname>
<compdesc>Messaging System</compdesc>
<comphost>localhost</comphost>
<compinst>MSG_001</compinst>
- <message>
<messalert>OKAY</messalert>
<messseverity>100</messseverity>
<messarea>QR</messarea>
<messnumber>801</messnumber>
<messparameter>na</messparameter>
<messtext>MessagingServlet is active.</messtext>
</message>
</component>
</scenario>
Even when i test the URL http://<hostname>:50000 from BC,the response code is 200(success). But the problem is when i try to post the request to messaging servlet (400 bad request).
Can some body suggest me how to go about.
Regards,
Siva Maranani.hi,
I was able to get the error details of "400:Bad Request."
The error is :
com.sap.aii.af.ra.ms.api.MessageFormatException: got no name/namespace for the payload of the XRFC_DOC_TYPE_ENVELOPE.
org.xml.sax.SAXexception:got no name/namespace for the payload of the XRFC_DOC_TYPE_ENVELOPE.
Below is the xmldata, that i am sent to XI:
<?xml version="1.0" encoding="iso-8859-1"?>
<sap:Envelope xmlns:sap="urn:sap-com:document:sap" version="1.0">
<sap:Header xmlns:rfcprop="urn:sap-com:document:sap:rfc:properties">
<saptr:From xmlns:saptr="urn:sap-com:document:sap:transport">BC</saptr:From>
<saptr:To xmlns:saptr="urn:sap-com:document:sap:transport">XI</saptr:To>
</sap:Header>
<sap:Body>
<rfc:ZSIVAINSERT xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
<CARRID>AA<CARRID>
<CONNID>0017<CONNID/>
<FLDATE>20040417<FLDATE/>
</rfc:ZSIVAINSERT>
</sap:Body>
</sap:Envelope>
I do not understand the name/namespace it is looking for. Kindly help me out.
Regards,
Siva Maranani -
Intermittent 400 Bad Request - Invalid Verb SharePont 2010
Hey,
This is a long shot that someone has seen this or maybe can give some hints on finding the problem.
We are getting a rare (once per day) 400 Bad Request - Invalid Verb error in SharePoint 2010 during a POST - this has happened when adding a ListItem. Once the page is refreshed it works perfectly.
We have an on-premise instance of SharePoint 2010, it happens on all browsers.
The request header looks exactly the same for a succesful update as athe error. Any ideas where to start?
The response in Fiddler is
HTTP/1.1 400 Bad Request
Content-Type: text/html; charset=us-ascii
Server: Microsoft-HTTPAPI/2.0
Date: Thu, 06 Mar 2014 10:12:48 GMT
Connection: close
Content-Length: 326
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd">
<HTML><HEAD><TITLE>Bad Request</TITLE>
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii"></HEAD>
<BODY><h2>Bad Request - Invalid Verb</h2>
<hr><p>HTTP Error 400. The request verb is invalid.</p>
</BODY></HTML>
From the post
POST http://...PAGENAME.aspx HTTP/1.1
Accept: application/x-ms-application, image/jpeg, application/xaml+xml, image/gif, image/pjpeg, application/x-ms-xbap, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
Accept-Language: en-GB
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/4.0; GTB7.5; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; .NET4.0E; InfoPath.3)
Content-Type: multipart/form-data; boundary=---------------------------7de27631102b2
Accept-Encoding: gzip, deflate
Content-Length: 0
Host: XXX
Cookie: OfflineClientInstalled=1; s_cc=true; s_sq=wileyportal%3D%2526pid%253DFunctions%25257CTechnology%25257CPages%252520-%252520WGT%2526pidt%253D1%2526oid%253Dfunctiononclick()%25257BWzClick(event%25252C'g_07E87395550E47F7A3537187A352BC28')%25257D%2526oidt%253D2%2526ot%253DTABLE%2526oi%253D1939;
s_vnum=1395390204033%26vn%3D24; s_invisit=true; s_visit=1; WSS_KeepSessionAuthenticated={618701bc-c2b7-48e3-b7ff-a55e68ea6c5f}; ASP.NET_SessionId=4c0kd245pgy3kj55zxztti45; Ribbon.WikiPageTab=1259870|-1|444|-1204987594; previousLoggedInAs=; loginAsDifferentAttemptCount=;
http://url 09:29:20; Ribbon.Document=1276887|0|31|-564700907; Ribbon.Library=1276887|3|61|-564700907; Ribbon.Permission=1259887|-1|627|-233240519; Ribbon.List=1276887|4|58|-564700907; Ribbon.ListForm.Edit=682557|-1|364|-965405633; Ribbon.ListItem=1276887|-1|549|-564700907;
Ribbon.EditingTools.CPEditTab=1259870|-1|454|-1204987594; Ribbon.EditingTools.CPInsert=1259870|-1|783|-1204987594; Ribbon.Image.Image=1259870|-1|382|-1204987594
Connection: Keep-Alive
Pragma: no-cache
Authorization: NTLM TlRMTVNTUAABAAAAB4IIogAAAAAAAAAAAAAAAAAAAAAGAbEdAAAADw==
Referer: http://...page.aspxHi,
For narrowing down the issue, we need more investigations. Please provide more information about:
What web form were you posting? Is it an customized web form page? Or you could save more detail information in Fiddler and send to me via
[email protected] .
Since it is an intermittent issue, is there any application-layer awareness intermediate device such as proxy or reverse proxy/gateway between your client machine and SharePoint server? If so, please exclude the IP of SharePoint Server in the Proxy and
test the issue again.
Please check your IIS log and see if there is any error message related error 400.
Moreover, please check the performance of your SPS server, WFE and especially SQL server.
Regards,
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected] .
Rebecca Tu
TechNet Community Support -
XI's BC Adater (sender)-- 400 Bad Request
Hi,
I am trying to send data from SAP-BC to XI. XI will receive this data through XI's-BC Adapter(sender).
I have defined a routing rule in BC as specified in help.sap.com.
http://<hostname:50000/MessagingSystem/receive/BcAdapter/BC
When i test this Flowservice from BC End, i get 400 Bad Request error.
But when i specify the URL as http://hostname:50000 and test the service, the response code is 200 (success).
I even tested the URL directly posting in a explorer page and i could see that the message servlet pertaining to BC is active.
I am not able to understand why is XI-server not able to receive the request that has been posted to the URL
http://<hostname:50000/MessagingSystem/receive/BcAdapter/BC
Am i missing any configurations??
Regards,
siva Marananihi,
I was able to get the error details of "400:Bad Request."
The error is :
com.sap.aii.af.ra.ms.api.MessageFormatException: got no name/namespace for the payload of the XRFC_DOC_TYPE_ENVELOPE.
org.xml.sax.SAXexception:got no name/namespace for the payload of the XRFC_DOC_TYPE_ENVELOPE.
Below is the xmldata, that i am sent to XI:
<?xml version="1.0" encoding="iso-8859-1"?>
<sap:Envelope xmlns:sap="urn:sap-com:document:sap" version="1.0">
<sap:Header xmlns:rfcprop="urn:sap-com:document:sap:rfc:properties">
<saptr:From xmlns:saptr="urn:sap-com:document:sap:transport">BC</saptr:From>
<saptr:To xmlns:saptr="urn:sap-com:document:sap:transport">XI</saptr:To>
</sap:Header>
<sap:Body>
<rfc:ZSIVAINSERT xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
<CARRID>AA<CARRID>
<CONNID>0017<CONNID/>
<FLDATE>20040417<FLDATE/>
</rfc:ZSIVAINSERT>
</sap:Body>
</sap:Envelope>
I do not understand the name/namespace it is looking for. Kindly help me out.
Regards,
Siva Maranani -
Exchange 2013 CU7 OWA 400 Bad Request after successful login
Scenario:
Exchange 2007/2013 Migration
One
Exchange 2007 Server [removed]
One
Exchange 2013 Server Std, Windows 2012
All mailboxes moved to 2013
- November 27-30 2014
All public folders moved to
2013 - December 2, 2014
Exchange
2007 is still running and has not been removed from the domain, yet. [update]
Exchange
2007 removed from domain - 12-13-14
SSL
Certs are current for: Autodiscover.ExtDom.com, ex13.ExtDom.com, ex13.IntDom.com
Applied
CU6 (Dec 3, 2014) to fix Mobile access issues. Since applying CU6, OWA does not work with the exception of mobile browsers (Chrome - Nexus 7) or Safari 5.1.7 on Windows 7. These browsers get the OWA 2010 theme (Yellow).
User
logs into OWA with Domain\UserName and PWD(IE). After clicking Sign In, page returns Bad Request. No errors logged in w3scv logs.
[update]
CU7 applied 12-11-2014
All
users can connect using Outlook 2013 or Mobile (iPhone & Android)
Exchange
Admin Center (ECP) still works!
Browsers
tested: IE10 (windows 7 x64),Chrome 39.0.2171.71m, Opera 26.0, FireFox 34.0.5, Safari 5.1.7
Attempted:
https://ex13.ExtDom.com/owa
https://ex13.IntDom.com/owa
https://ex13.ExtDom.com/owa?ExchClientVer=15
https://ex13.IntDom.com/owa?ExchClientVer=15
https://localhost/owa
(on Ex 2013 server)
https://localhost/owa?ExchClientVer=15
(on Ex 2013 Server)
Fixes
attempted:
remove
| create Virtual Directories for OWA
Change
authentication through Exchange PowerShell - Integrated/Basic from FBA/Basic
reverted
since change didn’t work.
Run
UpdateCas.ps1
Run
UpdateConfigFiles.ps1
IISReset
(iisReset /NoForce fails)
OWA
(Default Web Site) displays as Version 15.0 (Build 995.29) in EAC. [update] Build 1044.25 (CU7)
Links
used for troubleshooting:
http://community.spiceworks.com/topic/514617-exchange-2013-unable-to-login-to-owa-ecp
https://social.technet.microsoft.com/Forums/ie/en-US/f8aa95d4-19e4-483c-8c4b-b039ab0d0127/400-bad-request-when-logging-in-to-owa-exchange-2013?forum=exchangesvrclients
http://tecfused.com/2013/09/23/exchange-2013-ecp-double-login-error-400/
https://social.technet.microsoft.com/Forums/lync/en-US/c25ce81c-76ea-471a-93ae-eeaf9e5015ac/exchange-2013-owa-error-400-bad-request?forum=exchangesvradmin
http://support.microsoft.com/kb/2871485/en-gbHi,
Does it work if you disable the FBA and only use the basic authentication?
Please also let us know the authentication settings on the Default Web site.
Thanks,
Simon Wu
TechNet Community Support -
Portal Favorites Bad Request Invalid URL
Recently upgraded from EP6.0 SP13 to SP16.
When selecting a link, folder or document from within Portal Favorites - Bad Request Invalid URL error is displayed.
I have changed the Isolation Mode to URL on Portal Favorites iView - but this has not fixed the problem.
Any thoughts?Probelm is fixed as per SAP Note 815344.
Go to the definition of the affected iViews in the Portal Content Catalog. You can find the following parameters there: 'Path to initially displayed Folder' and 'path to root folder for navigation'.
In 'path to initially displayed folder', replace the < character with %3c and > with %3e. DO not change the second parameter. -
Hi All,
I am seeing the following error for SMS_AWEBSVC_CONTROL_MANAGER component with Message ID: 8100
Application Web Service Control Manager detected AWEBSVC is not responding to HTTP requests. The http status code and text is 400, Bad Request.
awebsctl.log file has below errors:
Call to HttpSendRequestSync failed for port 80 with status code 400, text: Bad Request
SMS_AWEBSVC_CONTROL_MANAGER 12/22/2014 3:37:55 PM
13920 (0x3660)
AWEBSVCs http check returned hr=0, bFailed=1
SMS_AWEBSVC_CONTROL_MANAGER 12/22/2014 3:37:55 PM
13920 (0x3660)
AWEBSVC's previous status was 1 (0 = Online, 1 = Failed, 4 = Undefined)
SMS_AWEBSVC_CONTROL_MANAGER 12/22/2014 3:37:55 PM
13920 (0x3660)
Health check request failed, status code is 400, 'Bad Request'.
SMS_AWEBSVC_CONTROL_MANAGER 12/22/2014 3:37:55 PM
13920 (0x3660)
Management point and Application Catalog Website Point are installed on the same Server where I am seeing the error for Application Catalog Web Service Point role. Management Point and Application Catalog Website Point are functioning properly. Application
Catalog Website is working.
Thanks & Regards, KedarHi Jason,
Application Catalog Web Service Point and Application Catalog Website Point; both are installed as per below configuration on same Server:
IIS Website: Default Web Site
Port Number: 80
with default value for Web Application Name configured.
For SMS_AWEBSVC_CONTROL_MANAGER component, I am getting below error in Component Status:
Application Web Service Control Manager detected AWEBSVC is not responding to HTTP requests. The http status code and text is 400, Bad Request.
Possible cause: Internet Information Services (IIS) isn't configured to listen on the ports over which AWEBSVC is configured to communicate.
Solution: Verify that the designated Web Site is configured to use the same ports which AWEBSVC is configured to use.
Possible cause: The designated Web Site is disabled in IIS.
Solution: Verify that the designated Web Site is enabled, and functioning properly.
For more information, refer to Microsoft Knowledge Base.
And awebsctl.log has the below error lines:
Call to HttpSendRequestSync failed for port 80 with status code 400, text: Bad Request
SMS_AWEBSVC_CONTROL_MANAGER
12/23/2014 11:04:36 AM 16388 (0x4004)
AWEBSVCs http check returned hr=0, bFailed=1
SMS_AWEBSVC_CONTROL_MANAGER
12/23/2014 11:04:36 AM 16388 (0x4004)
AWEBSVC's previous status was 1 (0 = Online, 1 = Failed, 4 = Undefined)
SMS_AWEBSVC_CONTROL_MANAGER
12/23/2014 11:04:36 AM 16388 (0x4004)
Health check request failed, status code is 400, 'Bad Request'.
SMS_AWEBSVC_CONTROL_MANAGER
12/23/2014 11:04:36 AM 16388 (0x4004)
STATMSG: ID=8100
What should I check from IIS side?
Application Catalog Website is functioning properly.
Thanks & regards,
Kedar
Thanks & Regards, Kedar -
Content-Type is net being set in HTTP header. Server returns 400 Bad Request error.
Hi,
I am trying to access an XML WebService. This service requires the content type of the request to be set to "text/xml". As you can see in the source code, I am setting the req.ContentType property to "text/xml".
However, this content type seems not to be added to the HTTP headers. The server returns a 400 Bad Request error as can be seen in the log.
I've attached a System.Net.trace log and it states:
[Public Key]
Algorithm: RSA
Length: 2048
Key Blob: 30 82 01 0a 02 82 01 01 00 bc 09 30 8a 1e 03 4d 7a ea 16 d3 a8 5e d8 5b 00 c4 8a c5 9f 26 bd 7d d6 cb 8b d0 db bd 93 2d 2b 3b 84 f6 20 79 83 34 67 51 37 21 ea 56 5e 18 d8 a3 db 72 43 0e 14 77 e2 64 cb 07 b6 2a 81 c7 f5 16 dd 19 c7 d9 68 0b 3a 81 5c f0 05 c9 ed 2b 37 00 31 41 37 8b 3a 73 4a 4d ab d7 d8 87 79 35 82 01 97 e3 3c be bb 84 e5 94 bb 87 52 e3 9f b5 fb 3e 33 38 c3 eb 73 42 ee ba 1e c5 4a 33 18 a1 0d 8a d2 10 a8 c5 3....
System.Net Information: 0 : [26780] SecureChannel#31884011 - Remote certificate was verified as valid by the user.
System.Net Information: 0 : [26780] ConnectStream#26966483 - Sending headers
API-VERSION: 1
Host: test.myhost.com
Content-Length: 329
Expect: 100-continue
Connection: Keep-Alive
System.Net Information: 0 : [26780] Connection#3888474 - Received status line: Version=1.1, StatusCode=100, StatusDescription=Continue.
System.Net Information: 0 : [26780] Connection#3888474 - Received headers
System.Net Information: 0 : [26780] Connection#3888474 - Received status line: Version=1.1, StatusCode=400, StatusDescription=Bad Request.
System.Net Information: 0 : [26780] Connection#3888474 - Received headers
0: Content-type
1: text/xml
X-Debug-Token: a810dc
X-Debug-Token-Link: /service/_profiler/a810dc
Connection: keep-alive
Content-Length: 3440
Cache-Control: no-cache
Content-Type: text/html; charset=UTF-8
Date: Tue, 14 Apr 2015 11:07:11 GMT
Server: Apache
...and here's the implementation of the web request:
private void ButtonSend_Click(object sender, EventArgs e)
WebHeaderCollection whCol = new WebHeaderCollection();
whCol.Add("API-VERSION", "1");
//whCol.Add("Content-Type", "text/xml; charset=UTF-8"); <-- That doesn't work in .NET. Content-Type has to be set on the ContentType-Property
string msg = _textBoxReq.Text;
HttpWebRequest req = (HttpWebRequest)WebRequest.Create(_textBoxURL.Text);
byte[] data = Encoding.UTF8.GetBytes(msg);
req.Method = "POST";
req.ContentType = "text/xml; charset=UTF-8";
req.ContentLength = data.Length;
req.Headers = whCol;
req.GetRequestStream().Write(data, 0, data.Length);
string xml = "";
try
using (HttpWebResponse resp = (HttpWebResponse)req.GetResponse())
using (System.IO.StreamReader sr = new System.IO.StreamReader(resp.GetResponseStream()))
xml = sr.ReadToEnd().Trim();
catch (WebException we)
using (System.IO.StreamReader sr = new System.IO.StreamReader(we.Response.GetResponseStream()))
xml = sr.ReadToEnd().Trim();
_textBoxRes.Text = xml;
Can anyone help?
Thanks,
MiRiHi _MiRichter,
Well Done!
Thank you very much for sharing the solution to us.
Best Regards,
Amy Peng
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
"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 -
Error: invalid content type for SOAP: TEXT/HTML; HTTP 400 Bad Request
Hi Gurus,
i am hardly fighting with this error in Communication Channel Monitoring:
Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 400 Bad Request
SOAP: call failed: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 400 Bad Request
This is my scenario.
I do a File to SOAP Scenario. in SXI_MONITOR everything is fine.
My CommChan is a SOAP Receiver
HTTP
SOAP 1.1
Central Adapter Engine
Target URL is https --> i check url for correctness
Configure User Authentication is checked and username and pw are given and are correct.
Configure Certificate Authentication is checked are working
Configure Proxy is checked and Host and port are povided.
SOAP Action is provided
In Tab Module
if have this Processing Sequence
1 localejbs/AF_Modules/MessageTransformBean Local Enterprise Bean transform
2 sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean Local Enterprise Bean 1
and this Module configuration (and only this)
transform Transform.ContentType text/xml;charset=utf-8
(according to /people/sobhithalaxmi.kata/blog/2009/07/21/cost-free-edi-integration-using-message-transformation-bean)
As far as i understand that my http header should have Content-Type: text/xml;charset=utf-8 now. I don't understand why Communication Channel Monitoring shows an error according to content TEXT/HTML.
Can anyone help me with that?
Is it possible that Transform.ContentType does not work for SOAP Receiver Adapter?
is there any chance to view the HTTP-Header of the outgoing SOAP Request (with PI Transaction / Java Enironment) to convince myself that the HTTP Header is text/xml?
Thank you in advance and Best Regards
UdoHi Thanks for your fast replies.
The Provider of the Endpoint tells me that he needs text/xml as content-type. When I sent a message to the given Endpoint via SOAP UI I can see in the HTTP LOG of SOAP UI that the Endpoint is also sending text/xml back.
Below you find the Details log out of the CommChan Monitoring.
2011-04-29 11:37:45 Information The message status was set to TBDL.
2011-04-29 11:37:45 Information Retrying to deliver message to the application. Retry: 3
2011-04-29 11:37:45 Information The message was successfully retrieved from the receive queue.
2011-04-29 11:37:45 Information The message status was set to DLNG.
2011-04-29 11:37:45 Information Delivering to channel: getxxxxx_In <---- name of my SOAP Receiver CommChan
2011-04-29 11:37:45 Information Transform: using Transform.Class: $identity
2011-04-29 11:37:45 Information Transform: transforming the payload ...
2011-04-29 11:37:45 Information Transform: successfully transformed
2011-04-29 11:37:45 Information SOAP: request message entering the adapter with user J2EE_GUEST
2011-04-29 11:37:46 Error SOAP: call failed: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 400 Bad Request
2011-04-29 11:37:46 Information SOAP: sending a delivery error ack ...
2011-04-29 11:37:46 Information SOAP: sent a delivery error ack
2011-04-29 11:37:46 Error SOAP: error occured: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 400 Bad Request
2011-04-29 11:37:46 Error Adapter Framework caught exception: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 400 Bad Request
2011-04-29 11:37:46 Error Delivering the message to the application using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 400 Bad Request.
2011-04-29 11:37:46 Error The message status was set to NDLV.
What i am missing is a hint on the Message Transform Bean and a on a successfull sending process.
What i also tried already:
i also activated the checkbox "Do not use SOAP Envelop" in CommChan Configuration. The Result you see below (the last log entry is on first line - so read from bottom to top)
Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 400 Bad Request
error in response
call completed
request entering
Message processing started
As you can see there is a "call completed" and "error in response" log entry. This is missing in in the first Log. So i guess the error is still in the sending process.
Installing additional Software on the PI and use them to find out what the HTTP Request is is not possible as system access is very strict and limited :/
Maybe you are looking for
-
Printing a report from forms that has a param form with orarrp 10g
Hello, I have reports that i can successfully print from Oracle Forms using orarrp and web.ShowDocument(etc...) that do not have paraforms. However for my reports that have paraforms I have am unable to print them. Basically I need to catch the print
-
We are trying to create folder & subfolder in a SharePoint document library using SharePoint default(dws) web service. Document library has unique permission as well as item level permission. It was working as expected. Once item count crosses view t
-
Dear experts, in eventlog I find the following information for one of my deduplicated volumes: Volume: F: (\\?\Volume{9794e270-fb08-487e-979b-8a08fa9ca311}\) Error code: 0x0 Error message: Savings rate: 24 Saved space: 853327714684 Volume used space:
-
SHarepoint as SAP Content Server Configuration
Actually this message is for Espen Leknes because I have read something from him i another message but if you guys know about this, all will be wellcome !!!!!!! This is Andrea, Basis COnsultant. I am writing to you because I was reading lot of messag
-
What's the newest version of iMovie that'll run on a Mac G4 OS X (10.3.9)
What's the newest version of iMovie that'll run on a Mac G4 OS X (10.3.9)? My MiniDV camcorder records video in widescreen (16:9) , but the version of iMovie (version 3) I have squashes the widescreen image to a 4:3 dimension rectangle.