Hello again,

I just tested through all of the possible scenarios between .NET and Metro, and 
hit errors on three of them. The first scenario that had a problem was .NET 
Client to .NET BS to .NET OPS TSEC [1], the second was .NET Client to .NET BS, 
to Metro OPS SEC [2], and the final error was encountered anytime Metro BS was 
used with the .NET Client [3].

I have verified that all of the endpoints have deployed successfully and are 
accessible at the expected locations. Has anyone else run across this?

- Nick

------------------------------------------------------------------------------
[1] DOTNETCLIENT_DOTNETBS_DOTNETOPSTSEC
------------------------------------------------------------------------------
Server Error in '/trade' Application. 
An error occurred while making the HTTP request to 
https://localhost:8005/tradeorderprocessor. This could be due to the fact that 
the server certificate is not configured properly with HTTP.SYS in the HTTPS 
case. This could also be caused by a mismatch of the security binding between 
the client and the server. 
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.ServiceModel.FaultException`1[[System.ServiceModel.ExceptionDetail, 
System.ServiceModel, Version=3.0.0.0, Culture=neutral, 
PublicKeyToken=b77a5c561934e089]]: An error occurred while making the HTTP 
request to https://localhost:8005/tradeorderprocessor. This could be due to the 
fact that the server certificate is not configured properly with HTTP.SYS in 
the HTTPS case. This could also be caused by a mismatch of the security binding 
between the client and the server.
Source Error: 
 
Line 443:            {
Line 444:                this.Channel = null;
Line 445:                throw;
Line 446:            }
Line 447:        }  
Source File: 
c:\StockTraderDemo\trader_client\BusinessServiceClient\BusinessServiceClient.cs 
Line: 445 
Stack Trace: 
 
[FaultException`1: An error occurred while making the HTTP request to 
https://localhost:8005/tradeorderprocessor. This could be due to the fact that 
the server certificate is not configured properly with HTTP.SYS in the HTTPS 
case. This could also be caused by a mismatch of the security binding between 
the client and the server.]
   System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage 
reqMsg, IMessage retMsg) +7599295
   System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& 
msgData, Int32 type) +275
   Trade.BusinessServiceContract.ITradeServices.sellEnhanced(String userID, 
Int32 holdingID, Double quantity) +0
   Trade.BusinessServiceClient.BusinessServiceClient.sellEnhanced(String 
userID, Int32 holdingID, Double quantity) in 
c:\StockTraderDemo\trader_client\BusinessServiceClient\BusinessServiceClient.cs:445
   Trade.BusinessServiceClient.BSLClient.sell(String userID, Int32 holdingID, 
Double quantity) in 
c:\StockTraderDemo\trader_client\BusinessServiceClient\BSLClient.cs:457
   Trade.Web.Order.Page_Load(Object sender, EventArgs e) in 
c:\StockTraderDemo\trader_client\Trade\Order.aspx.cs:86
   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  
Version Information: Microsoft .NET Framework Version:2.0.50727.4927; ASP.NET 
Version:2.0.50727.4927 

------------------------------------------------------------------------------
[2] DOTNETCLIENT_DOTNETBS_METROOPSSEC
------------------------------------------------------------------------------
Server Error in '/trade' Application. 
The size necessary to buffer the XML content exceeded the buffer quota. 
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.ServiceModel.FaultException`1[[System.ServiceModel.ExceptionDetail, 
System.ServiceModel, Version=3.0.0.0, Culture=neutral, 
PublicKeyToken=b77a5c561934e089]]: The size necessary to buffer the XML content 
exceeded the buffer quota.
Source Error: 
 
Line 443:            {
Line 444:                this.Channel = null;
Line 445:                throw;
Line 446:            }
Line 447:        }  
Source File: 
c:\StockTraderDemo\trader_client\BusinessServiceClient\BusinessServiceClient.cs 
Line: 445 
Stack Trace: 
 
[FaultException`1: The size necessary to buffer the XML content exceeded the 
buffer quota.]
   System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage 
reqMsg, IMessage retMsg) +7599295
   System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& 
msgData, Int32 type) +275
   Trade.BusinessServiceContract.ITradeServices.sellEnhanced(String userID, 
Int32 holdingID, Double quantity) +0
   Trade.BusinessServiceClient.BusinessServiceClient.sellEnhanced(String 
userID, Int32 holdingID, Double quantity) in 
c:\StockTraderDemo\trader_client\BusinessServiceClient\BusinessServiceClient.cs:445
   Trade.BusinessServiceClient.BSLClient.sell(String userID, Int32 holdingID, 
Double quantity) in 
c:\StockTraderDemo\trader_client\BusinessServiceClient\BSLClient.cs:457
   Trade.Web.Order.Page_Load(Object sender, EventArgs e) in 
c:\StockTraderDemo\trader_client\Trade\Order.aspx.cs:86
   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  
Version Information: Microsoft .NET Framework Version:2.0.50727.4927; ASP.NET 
Version:2.0.50727.4927 

------------------------------------------------------------------------------
[3] DOTNETCLIENT_METROBS_*
------------------------------------------------------------------------------
Server Error in '/trade' Application. 
One or more mandatory SOAP header blocks not understood 
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.ServiceModel.FaultException: One or more mandatory 
SOAP header blocks not understood
Source Error: 
 
Line 301:            {
Line 302:                this.Channel = null;
Line 303:                throw;
Line 304:            }
Line 305:        }  
Source File: 
c:\StockTraderDemo\trader_client\BusinessServiceClient\BusinessServiceClient.cs 
Line: 303 
Stack Trace: 
 
[FaultException: One or more mandatory SOAP header blocks not understood]
[MessageSecurityException: An unsecured or incorrectly secured fault was 
received from the other party. See the inner FaultException for the fault code 
and detail.]
   System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage 
reqMsg, IMessage retMsg) +7599295
   System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& 
msgData, Int32 type) +275
   Trade.BusinessServiceContract.ITradeServices.getHoldings(String userID) +0
   Trade.BusinessServiceClient.BusinessServiceClient.getHoldings(String userID) 
in 
c:\StockTraderDemo\trader_client\BusinessServiceClient\BusinessServiceClient.cs:303
   Trade.BusinessServiceClient.BSLClient.getHoldings(String userID) in 
c:\StockTraderDemo\trader_client\BusinessServiceClient\BSLClient.cs:259
   Trade.Web.Portfolio.Page_Load(Object sender, EventArgs e) in 
c:\StockTraderDemo\trader_client\Trade\Portfolio.aspx.cs:40
   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  
Version Information: Microsoft .NET Framework Version:2.0.50727.4927; ASP.NET 
Version:2.0.50727.4927 

Reply via email to