ACE DSR (Direct Server Return) Questions.
I currently have an ACE 4710 configured for DSR. However, I am at a loss as to how I should configure the loopback (or virtual interface) for the servers. Easy to do in Linux, but not so much on a Windows Server 2000 box.
Any ideas or guides would be appreciated.
Hi, Syed is right, you can find further information on this configuration (Asymmetric Server Normalization) here :
http://www.cisco.com/en/US/docs/interfaces_modules/services_modules/ace/v3.00_A2/configuration/slb/guide/rsfarms.html
or here for further considerations :
http://snippets101.blogspot.com/2008/08/asymmetric-server-normalization-on.html
Hope this helps,
Alberto
Similar Messages
-
ACE in Direct Server Return mode not working as expected
Dear all,
I configured my ACE as I found it here:
https://supportforums.cisco.com/docs/DOC-22555
the VIP is working, that means I can ping it, routing is working etc.
I created a loopback on the win2012 Server with the IP of the VIP. When I try now to test the LB with telnet on port 25 e.g. it is not working. direclty on the server it works, also in my last deployment where I use SNAT/PAT. But we want the real client IPs visible on the Exchange Server.
Where is my problem ? Any ideas would be great..
rserver host YY
description AServer-1
ip address 10.1.x.2
inservice
rserver host XX
description AServer-2
ip address 10.1.x.3
inservice
serverfarm host Mail
description Mail
transparent
predictor leastconns
rserver AServer-1
inservice
rserver AServer-2
sticky ip-netmask 255.255.255.255 address both Mail
timeout 5
replicate sticky
serverfarm Mail
class-map match-all Exchange_ALL
2 match virtual-address 192.168.1.1 any
class-map type management match-any remote_access
2 match protocol xml-https source-address 10.a.b.0 255.255.255.0
3 match protocol icmp source-address 10.a.b.0 255.255.255.0
5 match protocol ssh source-address 10.a.b.0 255.255.255.0
7 match protocol https source-address 10.a.b.0 255.255.255.0
8 match protocol snmp source-address 10.a.b.0 255.255.255.0
9 match protocol xml-https source-address 10.d.e.1 255.255.255.255
10 match protocol icmp source-address 10.d.e.1 255.255.255.255
11 match protocol ssh source-address 10.d.e.1 255.255.255.255
12 match protocol https source-address 10.d.e.1 255.255.255.255
13 match protocol snmp source-address 10.d.e.1 255.255.255.255
policy-map type management first-match remote_mgmt_allow_policy
class remote_access
permit
policy-map type loadbalance first-match mail
class class-default
sticky-serverfarm Mail
policy-map multi-match VLAN20
class Exchange_ALL
loadbalance vip inservice
loadbalance policy mail
loadbalance vip icmp-reply
interface vlan 2
ip address 10.a.b.2 255.255.255.0
access-group input ALL
service-policy input remote_mgmt_allow_policy
no shutdown
interface vlan 20
description Server
ip address 10.1.x.20 255.255.255.0
peer ip address 10.1.x.30 255.255.255.0
no normalization
access-group input ALL
service-policy input VLAN20
no shutdown
ft interface vlan 4
ip address 10.f.g.2 255.255.255.252
peer ip address 10.f.g.1 255.255.255.252
no shutdown
ft peer 1
heartbeat interval 300
heartbeat count 10
ft-interface vlan 4
ft group 1
peer 1
associate-context Admin
inservice
ip route 10.d.e.0 255.255.255.255 10.1.x.1
ip route 0.0.0.0 0.0.0.0 10.a.b.1Oh, I see. Very interesting indeed!
Do you get the BAD CHECKSUM and IP CHECKSUM OFFLOAD on the remote sites?
It could be this that is the problem. I read this and it seems as though it causes disconnects just as you experience too.
or just disable - it worked for some here, but for others, they upgraded the drivers of the NIC:
http://www.techsupportforum.com/forums/f137/wireshark-question-tcp-checksum-offload-248812.html
1. Open Device manager (right click "Computer" and click "Manage")
2. Click on "Device Manager"
3. Expand "Network Adapters"
4. Right click your network adapter
5. click "properties"
6. click the tab named "Advanced"
7. Find "IP Checksum Offload" and click it
8. Put the value to the right to "Disabled"
9. Find "TCP Checksum offload (IPvX)
10. Set the value to the right to "Disabled"
The Wiki Wireshark article had this:
In Windows, go to Control Panel->Network and Internet Connections->Network Connections, right click the connection to change and choose 'Properties'. Press the 'Configure...' button, choose the 'Advanced' tab to see or modify the "Offload Transmit TCP Checksum" and "Offload Receive TCP Checksum" values.
It seems like a server side issue rather than Load Balancer problem.
Hope this helps
Please rate useful posts and remember to mark any solved questions as answered. Thank you. -
Loadbalancing, DAG and direct server return
Hi,
I've one DAG with 6 servers.
CAS and MBX are installed on the same servers, running Exchange 2013 SP1 on Windows Server 2012 R2
DAG is configured without a cluster administrative access point.
Our hardware loadbalancers can be configured to do NAT or Direct Server Return (DSR).
The loadbalancer runs within the same subnet as the Exchange servers.
Yesterday I switched from using NAT to DSR. To do that I've added a loopback adapter and gave it the same IP as the load balancers virtual server + Subnet 255.255.255.255
Then I allowed the Exchange server to process the packets.
netsh interface ipv4 set interface "team" weakhostreceive=enabled
netsh interface ipv4 set interface "loopback" weakhostreceive=enabled
netsh interface ipv4 set interface "loopback" weakhostsend=enabled
Everything seemed to work fine and the logs showed client ip addresses instead the load balancer ip address connecting to the server.
After checking the Eventlogs I saw that this broke my DAG-replication.
Cluster network 'Cluster Network 3' is partitioned. Some attached failover cluster nodes cannot communicate with each other over the network. The failover cluster was not able to determine
the location of the failure. Run the Validate a Configuration wizard to check your network configuration. If the condition persists, check for hardware or software errors related to the network adapter. Also check for failures in any other network components
to which the node is connected such as hubs, switches, or bridges.
Any idea how to fix this?
I like the idea of using DSR and see real client ips or are you all using NAT?
Thank you.
Kind regards,
Carsten
Name : dag1
Servers : {ex1, ex2, ex3, ex4, ex5, ex6}
WitnessServer : witnesseerver.domain.com
WitnessDirectory : C:\Witness\dag.domain.com
AlternateWitnessServer :
AlternateWitnessDirectory :
NetworkCompression : InterSubnetOnly
NetworkEncryption : InterSubnetOnly
ManualDagNetworkConfiguration : False
DatacenterActivationMode : Off
StoppedMailboxServers : {}
StartedMailboxServers : {}
DatabaseAvailabilityGroupIpv4Addresses : {255.255.255.255}
DatabaseAvailabilityGroupIpAddresses : {255.255.255.255}
AllowCrossSiteRpcClientAccess : False
OperationalServers :
PrimaryActiveManager :
ServersInMaintenance :
ServersInDeferredRecovery :
ThirdPartyReplication : Disabled
ReplicationPort : 64327
NetworkNames : {}
WitnessShareInUse :
DatabaseAvailabilityGroupConfiguration :
AutoDagSchemaVersion : 1.0
AutoDagDatabaseCopiesPerDatabase : 1
AutoDagDatabaseCopiesPerVolume : 1
AutoDagTotalNumberOfDatabases : 0
AutoDagTotalNumberOfServers : 0
AutoDagDatabasesRootFolderPath : C:\ExchangeDB
AutoDagVolumesRootFolderPath : C:\ExchangeVol
AutoDagAllServersInstalled : False
AutoDagAutoReseedEnabled : True
AutoDagDiskReclaimerEnabled : True
AutoDagBitlockerEnabled : False
ReplayLagManagerEnabled : False
MailboxLoadBalanceMaximumEdbFileSize :
MailboxLoadBalanceRelativeLoadCapacity :
MailboxLoadBalanceOverloadedThreshold :
MailboxLoadBalanceUnderloadedThreshold :
MailboxLoadBalanceEnabled : False
AdminDisplayName :
ExchangeVersion : 0.10 (14.0.100.0)
DistinguishedName : CN=dag1,CN=Database Availability Groups,CN=Exchange Administrative Group
(FYDIBOHF23SPDLT),CN=Administrative
Groups,CN=Company,CN=Microsoft
Exchange,CN=Services,CN=Configuration,DC=domain,DC=com
Identity : dag1
ObjectCategory : domain.com/Configuration/Schema/ms-Exch-MDB-Availability-Group
ObjectClass : {top, msExchMDBAvailabilityGroup}
OrganizationId :
OriginatingServer : dc1.domain.com
IsValid : True
ObjectState : UnchangedHi,
Thanks for your sharing.
Thanks
Mavis
Mavis Huang
TechNet Community Support -
i have an CSS11506 where i use the Direct Server return mode
circuit VLAN19
description "LOL"
ip address 192.168.158.39 255.255.255.240
no redirects
service WEB_LOL_36
ip address 192.168.158.36
keepalive type tcp
keepalive port 80
protocol tcp
port 80
type nci-direct-return
active
service WEB_LOL_37
ip address 192.168.158.37
keepalive type tcp
keepalive port 80
protocol tcp
port 80
type nci-direct-return
active
owner LOL
content WEB_LOL
vip address 192.168.158.38
add service WEB_LOL_36
add service WEB_LOL_37
protocol tcp
port 80
active
group WEB_LOL
add destination service WEB_LOL_36
add destination service WEB_LOL_37
vip address 192.168.158.38
active
I use this config because the ip addresses 192.168.158.37 and 192.168.158.36 are NAT in Router and the default Gw in this router is not the CSS.
but i cannot find any information about how implement Direct Server mode on CSM
how configure vserver, serverfarm natpool,etc.
_If you could help me, i appreciate
Thanksthis is a test config that i tried to use on CSM
vlan 916 server
ip address 192.168.175.93 255.255.255.248
alias 192.168.175.94 255.255.255.248
natpool LOL 192.168.175.91 192.168.175.91 netmask 255.255.255.248
real LOL_NAT_01
address 192.168.175.89
inservice
real LOL_NAT_02
address 192.168.175.90
inservice
serverfarm LOL_WEB_01
nat server
no nat client
real name LOL_NAT_01
inservice
real name LOL_NAT_02
inservice
serverfarm LOLOUT
no nat server
nat client LOL
predictor forward
vserver LOL_WEB_01
virtual 192.168.175.91 any
unidirectional
serverfarm LOL_WEB_01
persistent rebalance
inservice
vserver LOL-SALIDA
virtual 0.0.0.0 0.0.0.0 any
vlan 916
serverfarm LOLOUT
persistent rebalance
inservice -
Ace http response code seeing 500, but server returning 200
we have an http probe configure like below,the real is failing probe, and the ace says it's returning a 500 response code,however when i browse to the server from my laptop, i get a 200, and the correct regex ( going to http://172.19.254.51/operation.aspx) . Is it possible the server could send a different response code to ace?
probe http HTTP
interval 5
passdetect interval 5
receive 3
request method get url /operation.aspx
expect status 200 200
open 2
expect regex "operation"
serverfarm host AMS_AI
probe HTTP
rserver server1
inservice
rserver server2
inservice
rserver server3
inservice
show probe HTTP detail
real : server3I[0]
172.19.254.51 1925172 24779 1900393 FAILED
Socket state : CLOSED
No. Passed states : 5646 No. Failed states : 5646
No. Probes skipped : 0 Last status code : 500
No. Out of Sockets : 0 No. Internal error: 0
Last disconnect err : Received invalid status code
Last probe time : Wed Feb 23 10:53:21 2011
Last fail time : Wed Feb 23 09:21:29 2011
Last active time : Wed Feb 23 03:51:41 2011you will probably have to configure the HTTP header of the probe you send. Maybe the web server
is expecting specific fields (virtual hosts ?) -
DNS server returns IP addresses even for domain na...
Like a number of other people I have been looking at the BT Broadband service and have found that there is an issue with the current DNS server. What I / we have found is that the DNS server returns IP addresses even for domain names which should not resolve. See following -
DNS results wildcarding (?): Warning
Your ISP's DNS server returns IP addresses even for domain names which should not resolve. Instead of an error, the DNS server returns an address of 92.242.132.15, which resolves to unallocated.barefruit.co.uk.
There are several possible explanations for this behavior. The most likely cause is that the ISP is attempting to profit from customer's typos by presenting advertisements in response to bad requests, but it could also be due to an error or misconfiguration in the DNS server.
The big problem with this behavior is that it can potentially break any network application which relies on DNS properly returning an error when a name does not exist.
The following lists your DNS server's behavior in more detail.
www.{random}.com is mapped to 92.242.132.15.
www.{random}.org is mapped to 92.242.132.15.
fubar.{random}.com is mapped to 92.242.132.15.
www.yahoo.cmo [sic] is mapped to 92.242.132.15.
nxdomain.{random}.netalyzr.icsi.berkeley.edu is mapped to 92.242.132.15.
Moderators could you please investigate this for us.
Infinidim
Megadodo Publications
Ursa Minor Beta
If you want to say thanks for a helpful answer, please click on the Ratings star on the left-hand side
If the the reply answers your question then please mark as ’Mark as Accepted Solution’
Solved!
Go to Solution.RedAmberGreen wrote:
BT use a Barefruit (which your post seems to suggest) service called 'Error Resolution'.
http://www.barefruit.com/background/error_resolution.php
Any DNS that can not get resolved goes via this service and returns a page showing paid adverts and/or links related to what they think you were looking for.
BT refer to this as 'BT Web Address Help' and can be turned off on an opt-out basis via this link: http://preferences.webaddresshelp.bt.com/selfcare/
I assume BT's view is this helps improve the user experience and provides some directed help instead of a blank error page.
Further details: http://www.bt.com/help/webaddresshelp
Thanks for this RedAmberGreen.
Infinidim
Megadodo Publications
Ursa Minor Beta
If you want to say thanks for a helpful answer, please click on the Ratings star on the left-hand side
If the the reply answers your question then please mark as ’Mark as Accepted Solution’ -
Hi all,
having the following issue that started today,everything been working fine until now.
When Office 365 users send e-mail to some on premise users they get the following error in Return.
Remote
Server returned '550 5.1.1 RESOLVER.ADR.ExRecipNotFound; not found'
On premis users (Exchange 2013) can send to the same contact just fine.So for 365 users that failed we have tested the following:
Using OWA,says recepient cannot be found.
All 365 users fails to same recepients,for now a dosen People.
Address that fail,mailboxes are spread accross different databases.
Cannot see any error in event Viewer related to this.
Any tips?
thanks!
Please mark as helpful if you find my contribution useful or as an answer if it does answer your question. That will encourage me - and others - to take time out to help you. Thank you! Off2workHi Ed,
thanks for reply and sorry for late reply,been alot to do lately With lots if migrations and errors.
YEs you are correct that the problem is caused by useraccount was in wrong OU and was not sync to the "Cloud".
Move users Object to correct OU and all was working fine.Strange this is that it have worked before,so does it mean that if user is not in the OU defined to synced,it will be removed from the cloud?
Br
Ill put it as resolved :)
Please mark as helpful if you find my contribution useful or as an answer if it does answer your question. That will encourage me - and others - to take time out to help you. Thank you! Off2work -
Hi,
Any help appreciated!!
I'm getting this error: "The remote server returned an error: (401) unauthorised when I debug a provider-hosted app. I get the error on this line:
HttpWebResponse response = (HttpWebResponse)request.GetResponse();
See code below
I created a high trust development environment following the instructions provided here:
http://msdn.microsoft.com/en-us/library/office/fp179901(v=office.15).aspx and
http://msdn.microsoft.com/library/office/fp179923
I created a provider-hosted app with the intent to:
create a SharePoint list in the appweb
Use self-signed certificate, tokenhepler.cs and sharepointcontext.cs to retrieve current user context and access on SharePoint. (No changes were made to tokenhelper.cs and sharepointcontext.cs)
retrieve list items from the SharePoint list in a button click event handler on a default.aspx of the remote web
What happens:
The app is deployed successfully to the Dev site
The SharePoint feature is deployed and activated
The default.aspx page of the remote web loads
The error (see image) is returned on clicking of the button
My environment is an on-premise SharePoint 2013 with AD and my dev box is standalone windows 8.1 running Visual Studio Professional 2013 Update 3.
The code block below is a copy of the default.aspx code-behind
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Microsoft.SharePoint.Client;
using Microsoft.IdentityModel.S2S.Tokens;
using System.Net;
using System.IO;
using System.Xml;
using System.Data;
using System.Xml.Linq;
using System.Xml.XPath;
namespace Idea.GeneratorWeb
public partial class Default : System.Web.UI.Page
SharePointContextToken contextToken;
string accessToken;
Uri sharepointUrl;
protected void Page_PreInit(object sender, EventArgs e)
Uri redirectUrl;
switch (SharePointContextProvider.CheckRedirectionStatus(Context, out redirectUrl))
case RedirectionStatus.Ok:
return;
case RedirectionStatus.ShouldRedirect:
Response.Redirect(redirectUrl.AbsoluteUri, endResponse: true);
break;
case RedirectionStatus.CanNotRedirect:
Response.Write("An error occurred while processing your request.");
Response.End();
break;
protected void Page_Load(object sender, EventArgs e)
//// The following code gets the client context and Title property by using TokenHelper.
//// To access other properties, the app may need to request permissions on the host web.
var spContext = SharePointContextProvider.Current.GetSharePointContext(Context);
//var spContext = new ClientContext("MySPDevInstance");
//spContext.Credentials = new NetworkCredential("username", "password");
//using (var clientContext = spContext.CreateUserClientContextForSPHost())
// clientContext.Load(clientContext.Web, web => web.Title);
// clientContext.ExecuteQuery();
// Response.Write(clientContext.Web.Title);
string contextTokenString = TokenHelper.GetContextTokenFromRequest(Request);
if (contextTokenString != null)
// Get context token
contextToken = TokenHelper.ReadAndValidateContextToken(contextTokenString, Request.Url.Authority);
// Get access token
sharepointUrl = new Uri(Request.QueryString["SPAppWebUrl"]);
accessToken = TokenHelper.GetAccessToken(contextToken, sharepointUrl.Authority).AccessToken;
// Pass the access token to the button event handler.
Button1.CommandArgument = accessToken;
protected void Button1_Click(object sender, EventArgs e)
// Retrieve the access token that the Page_Load method stored
// in the button's command argument.
string accessToken = ((Button)sender).CommandArgument;
if (IsPostBack)
sharepointUrl = new Uri(Request.QueryString["SPAppWebUrl"]);
// REST/OData URL section
string oDataUrl = "/_api/Web/lists/getbytitle('Diagrams In Idea Generator')/items?$select=Title,Diagram,SharingStatus";
// HTTP Request and Response construction section
HttpWebRequest request = (HttpWebRequest)HttpWebRequest.Create(sharepointUrl.ToString() + oDataUrl);
request.Method = "GET";
request.Accept = "application/atom+xml";
request.ContentType = "application/atom+xml;type=entry";
request.Headers.Add("Authorization", "Bearer " + accessToken);
HttpWebResponse response = (HttpWebResponse)request.GetResponse();
// Response markup parsing section
XDocument oDataXML = XDocument.Load(response.GetResponseStream(), LoadOptions.None);
XNamespace atom = "http://www.w3.org/2005/Atom";
XNamespace d = "http://schemas.microsoft.com/ado/2007/08/dataservices";
XNamespace m = "http://schemas.microsoft.com/ado/2007/08/dataservices/metadata";
List<XElement> entries = oDataXML.Descendants(atom + "entry")
.Elements(atom + "content")
.Elements(m + "properties")
.ToList();
var entryFieldValues = from entry in entries
select new
Character = entry.Element(d + "Title").Value,
Actor = entry.Element(d + "Diagram").Value,
CastingStatus = entry.Element(d + "SharingStatus").Value
GridView1.DataSource = entryFieldValues;
GridView1.DataBind();
Any ideas what I might be doing wrongHi ,
Use the below code
Public string GetAccessToken(){
string sharePointSiteUrlHost = Page.Request["SPHostUrl"].Tostring();
string AccessToken = tokenHelper.GetS2SAccessTokenWithWindowsIdentity(sharePointSiteUrlHost, Request.LogonUserIdentity);
return accessToken;
Than initialize the ClientCOntext with the below Method
private static ClientContext GetClientContextWithAccessTokenString(string targetUrl, object accessToken)
ClientContext clientContext = new ClientContext(targetUrl);
clientContext.AuthenticationMode = ClientAuthenticationMode.Anonymous;
clientContext.FormDigestHandlingEnabled = false;
clientContext.ExecutingWebRequest +=
delegate(object oSender, WebRequestEventArgs webRequestEventArgs)
webRequestEventArgs.WebRequestExecutor.WebRequest.UserAgent = "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)";
webRequestEventArgs.WebRequestExecutor.RequestHeaders["Authorization"] =
"Bearer " + accessToken;
return clientContext;
use this clientCOntext and it will work.
Do not use
SharePointContextProvider
Whenever you see a reply and if you think is helpful,Vote As Helpful! And whenever you see a reply being an answer to the question of the thread, click Mark As Answer -
Hello,
I have a lightswitch web-application in development, which I need to copy from one computer to the other. I have tried doing it both through Git and by simply copying the solution and opening the project on another machine. The project builds without errors,
but when I try to debug it, it opens a web-browser, loads to 100% and pops up an error - Load operation failed for query 'GetAuthenticationInfo'. The remote server returned an error: NotFound.
Now, I have tried repairing Visual Studio on my machine, reinstalling .NET framework and setting <basicAuthentication enabled="false" /> in web.config, yet it still does not run.
When using Fiddler, it shows an error while loading the application - "HTTP/1.1 500 Internal Server Error" , which I honestly don't know what it means.
The application uses ComponentOne and Telerik modules, but they are both installed on both machines.
The application does run perfectly on the original machine, but it is not working on any other one.
Both machines are using Win 8.1 and Visual Studio 2013 Update 4.
I have tried to look this up online, but most people's problem are when they are deploying the app, not just debugging. I would be really happy for any help with this issue.
Thanks!I have the same problem on one of my development machines. Whenever I create a new project, the System.IdentityModel.Tokens.Jwt nuget package is not referenced properly. The project compiles correctly but you are not able to debug as I get the same error
as you.
If you open up your references and there is an error next to any of your references make sure that you correct them. In the case of the jwt reference error, I have to remove the jwt reference and then add it back from the packages folder.
This may not be your problem but could point you in a direction? -
hi,
im configured the as2 partner setup as per this http://msdn.microsoft.com/en-us/library/bb246129(BTS.20).aspx.
but when im process file , then file try hit partner url goes dyhradated state,then failed. then i got below error.
The remote server returned an error: (500) Internal Server Error.
please any help..
Thanks500 server error could be due to anyone of the following reasons:
Party configuration is wrong. Party properties/configurations have to be discussed upfront with the source/destination system and have to be in-line with
them.
Certificates have to be deployed in correct folders based on certificate types like private/public/signed etc.
Firewall (or network components) has to be opened accordingly for parties(systems) to interact. This change has to be done at the both the levels, source and destination.
If you receive it through HTTPReceive.dll (may uses this for AS2), you have to check its configurations.
Also 500 error, could occur even if your BizTalk artifacts has not been configured/deployed/enabled properly.
If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply. -
Server returned HTTP response code: 500
Hi,
First time in here, so please be patient...
This is the error message I get on the Java Console.
I suspect that the problem is related to the DB. (MYSQL)
Can someone elaborate more on this error message? It is the first time I encounter such an error.
Any help will be appreciated.
2008-06-11 11:55:21,312 Chart - createLowerChart(int) - end
2008-06-11 11:55:21,312 Chart - createLowerCharts() - end
2008-06-11 11:55:21,328 Chart - populateToolBar(JToolBar) - start
2008-06-11 11:55:21,359 AxisZoomHistory - addHistoryListener(HistoryListener) - start
2008-06-11 11:55:21,359 AxisZoomHistory - addHistoryListener(HistoryListener) - end
2008-06-11 11:55:21,359 BackwardAction - computeEnabled() - start
2008-06-11 11:55:21,359 BackwardAction - computeEnabled() - end
2008-06-11 11:55:21,375 AxisZoomHistory - addHistoryListener(HistoryListener) - start
2008-06-11 11:55:21,375 AxisZoomHistory - addHistoryListener(HistoryListener) - end
2008-06-11 11:55:21,437 Chart - populateToolBar(JToolBar) - end
2008-06-11 11:55:21,609 Chart - installDefaultInteractors() - start
2008-06-11 11:55:21,609 Chart - installDefaultInteractors() - end
2008-06-11 11:55:21,609 Chart - loadPatient(JFrame) - start
2008-06-11 11:55:21,625 Chart - startLoading() - start
2008-06-11 11:55:21,625 Chart - startLoading() - end
network: Connecting https://xxx.xxx.xxx.xxx/patientfile/PatientFile with proxy=DIRECT
start : calling patient servlet 16
end : called patient servlet 16
network: Connecting https://xxx.xxx.xxx.xxx/patientfile/PatientFile with cookie "__utma=212142292.1094118687.1212604421.1213197694.1213199701.38; __utmz=212142292.1212604421.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); __utmb=212142292; appname=e4095ce3ceadc7b3d8900bd7ba07113c; __utmc=212142292"
java.io.IOException: Server returned HTTP response code: 500 for URL: https://xxx.xxx.xxx.xxx/patientfile/PatientFile
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
at utility.ServletConnection.GetPatientFile(ServletConnection.java:128)
at graphModule.Chart.loadPatient(Chart.java:1849)
at graphModule.Chart.init(Chart.java:481)
at graphModule.AbstractChartExample.init(AbstractChartExample.java:202)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 0
at java.util.Vector.get(Unknown Source)
at graphModule.Chart.loadPatient(Chart.java:1856)
at graphModule.Chart.init(Chart.java:481)
at graphModule.AbstractChartExample.init(AbstractChartExample.java:202)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
basic: Exception: java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 0
java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 0
at java.util.Vector.get(Unknown Source)
at graphModule.Chart.loadPatient(Chart.java:1856)
at graphModule.Chart.init(Chart.java:481)
at graphModule.AbstractChartExample.init(AbstractChartExample.java:202)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
...Why do you think this an appropriate forum to discuss a PHP and/or Apache configuration error?
-
ESB Portal : The remote server returned an error: (400) Bad Request
Hi,
I am getting the below error message while trying to access ESB Portal:
========================
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 12/18/2013 12:07:10 PM
Event time (UTC): 12/18/2013 12:07:10 PM
Event ID: 2a429911fb69455ab3b77348c8b259ce
Event sequence: 10
Event occurrence: 2
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/1/ROOT/ESB.Portal-1-130318418493427545
Trust level: Full
Application Virtual Path: /ESB.Portal
Application Path: C:\Projects\Microsoft.Practices.ESB\Source\Samples\Management Portal\ESB.Portal\
Machine name: WIN-HG1MJEC7KJS
Process information:
Process ID: 3220
Process name: w3wp.exe
Account name: NT AUTHORITY\SYSTEM
Exception information:
Exception type: WebException
Exception message: The remote server returned an error: (400) Bad Request.
Request information:
Request URL: http://localhost/esb.portal/default.aspx
Request path: /esb.portal/default.aspx
User host address: ::1
User: WIN-HG1MJEC7KJS\ESBUser
Is authenticated: True
Authentication Type: Negotiate
Thread account name: NT AUTHORITY\SYSTEM
Thread information:
Thread ID: 4
Thread account name: NT AUTHORITY\SYSTEM
Is impersonating: False
Stack trace: at System.Net.HttpWebRequest.GetResponse()
at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
Custom event details:
====================
I also looked at thread : http://social.msdn.microsoft.com/Forums/en-US/1fb510a8-9f4b-4e1e-9261-3273b037786c/esbportal-bad-request-400?forum=biztalkesb
However didn't able to find the workaround for the same.
Best Regards,
HarkiratHi,
On a local server you don't have to change the web.config if you use local Windows Groups. Check if the User is added to the "BizTalk Server Administrators" Group. Also check if the Group or the User has rights to access EsbExceptionDb & ESBAdmin
database. You also have to enable "Windows Authentication" in IIS for the ESB.Portal.
Local Machine settings:
ESB.Exceptions.Service\Web.config
<connectionStrings><add providerName="System.Data.SqlClient" connectionString="Integrated Security=SSPI;Data Source=.;Initial Catalog=EsbExceptionDb" name="EsbExceptionDbConnectionString"/></connectionStrings>
C:\Projects\Microsoft.Practices.ESB\Source\Samples\Management Portal\ESB.Portal\Web.config
<connectionStrings>
<add name="AdminDatabaseServer" providerName="System.Data.SqlClient" connectionString="Network Library=dbmssocn;Data Source=(local);Integrated Security=True;Initial Catalog=ESBAdmin;"/>
</connectionStrings>
<authentication mode="Windows"/>
<authorization><allow roles="BizTalk Application Users"/>
<allow roles="BizTalk Server Administrators"/>
<allow roles="Administrators"/>
<deny users="*"/>
</authorization>
Kind regards,
Tomasso Groenendijk
Blog
| Twitter
MCTS BizTalk Server 2006, 2010
If this answers your question please mark it accordingly -
Server returned code (500) with message Internal Server Error and content
Hi cracks,
I am trying to run the web service
InternalRequestSRMUpdateRequestConfirmation_In
an get following error :
Server returned code (500) with message <Internal Server Error> and content type <text/html; charset=utf-8>.
any idea?
rgds
Vincentyes,
you got crash aka shortdump in your system.
- webserver: didn't crash, because it issued an error 500, so it works
- remains either the soap runtime, which usually doesn't dump but throw errors and the application itself.
I'd look into the tracefiles (ST11) or tie the debugger to the service in question (SICF) and try to find out hat happens/d.
anton -
Java.io.IOException: Server returned HTTP response code: 500
Hi,
I am connecting to a servlet from an applet to send and receive data using the following code.
try
URL servletURL = new URL("http://www.progressivecoding.com/servlet/gatesqlang");
URLConnection servletConnection = null;
URLConnection servletConnection = servletURL.openConnection();
servletConnection.setDoOutput(true);
servletConnection.setUseCaches(false);
PrintStream out = new PrintStream(servletConnection.getOutputStream());
out.println("hhd8836gh828dhhskjdhn38847gosf747");
out.close();
InputStream in = servletConnection.getInputStream();
StringBuffer response = new StringBuffer();
int chr;
while ((chr=in.read())!=-1)
response.append((char) chr);
in.close();
return response.toString();
catch (IOException e)
e.printStackTrace();
tfTxtFile.setText(e.toString());
return "An error occurred: " + e.toString();
Everything was working well and fine. All of a sudden without any change of code. It began to return this error to applet
An error occurred: java.io.IOException: Server returned HTTP response code: 500 for URL: http://www.progressivecoding.com/servlet/gatesqlang
But I am able to access the same URL from a browser.
Someone please tell me what could be the problemhi, that error got solved, the SessID i was receiving in that code had some leading or trailing white spaces. so SessID = SessID.trim() did the job.
But i have a question. This program workd fine when i compile and run from my local system. But when i port this on to the oracle server (JAVA_TOP) and access this from a JSP, then the program performs very un-reliably.
The first data transfer works fine, i get the SessID, when i pass that SessID along with the DTSSessionID to the server, the server says that i doesn't recognise my SessID, and throws a client.Authentication Error.
So there goes the parsing out of the window for the data in the second iteration. -
(Beginner) Creating a Provider-hosted calendar list programmatically.
I have done this:
Uri hostWeb = new Uri(Request.QueryString["SPHostUrl"]);
using (var clientContext = TokenHelper.GetS2SClientContextWithWindowsIdentity(hostWeb, Request.LogonUserIdentity))
Web web = clientContext.Web;
ListCreationInformation listCreator = new ListCreationInformation();
listCreator.Title = "CompanyCalendar";
listCreator.Description = "Workcalendar";
listCreator.TemplateType = (int)ListTemplateType.GanttTasks; //106 = events 120=CustomGrid 140=WorkflowHistory 150=GanttTasks
web.Lists.Add(listCreator);
clientContext.ExecuteQuery();
If I remove the code above there are no problems, as the title says there is something wrong with my permission to modify but I have set the wevb permission to "Full control" so it should be something else.
Some people thinks that it has to do with IIS so I tried to set the servers authorization rules to allow all users but that didnt do it (maybe I didn't do it right).
Im a beginner so please explain as you would for a absolute beginner that dont know IIS.How can I solv this problem, why doesent I get permission to create a list on my sharepointsite?
thanksHi,
Check if the below article helps you
http://sharepoint.stackexchange.com/questions/76624/the-remote-server-returned-an-error-401-unauthorized-provider-hosted-app
http://jamestsai.net/Blog/post/SharePoint-Provider-Hosted-App-401-Unauthorized-error-on-clientContextExecuteQuery().aspx
http://blog.dbandbi.com/tag/sharepoint-provider-hosted-app-the-remote-server-returned-an-error-401-unauthorized/
Please remember to click 'Mark as Answer' on the answer if it helps you
Maybe you are looking for
-
How to transfer contact details from iphone 5c to iphone 6
How and different easy way to transfer contact details from iphone 5c to iphone 6.
-
When I import a 3000px x 3000px image into Keynote, it sizes it down to the page dimensions. When I stretch the image up, it appears the resolution has been sized down as well. Is there anything I can do about this? I want to import a hi-res image so
-
GL_SET_OF_BKS_ID in R12 Multi-Org Form
Hi, I am migrating a 11i form into R12. In R12 it will be a Multi-Org form. For that I have created operating unit items for selecting operating unit. I am using MO_GLOBAL.set_policy_context to set selected operating unit context. I have 2 profiles b
-
Update 10.3.1.1779
I have found one notification regarding an update to 10.3.1.1779. my question is what is new in this update and is it really necessary in my Q5. is it safe to down over wifi to my phone. I am using Indian version of BB Q5. Pls repry soon.
-
Hi all I have discovered a strange bug (as I like to call it). Since Adobe Reader version 11.0.04 (now we have 11.0.06) there is problem with IE plugin. When I install it - everything is working and from IE I can succesfully open pdf files. But when