boujnah5207 / sharp-architecture

Automatically exported from code.google.com/p/sharp-architecture
Other
0 stars 0 forks source link

Null Exception error running WCF sample app from trunk #115

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. v478 from trunk
2. compile and run
3. click on "Territories Pulled via WCF"

What is the expected output? What do you see instead?
stacktrace:
Server stack trace: at
System.ServiceModel.Security.IssuanceTokenProviderBase`1.DoNegotiation(TimeSpan
timeout) at
System.ServiceModel.Security.SspiNegotiationTokenProvider.OnOpen(TimeSpan
timeout) at
System.ServiceModel.Security.WrapperSecurityCommunicationObject.OnOpen(TimeSpan
timeout) at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan
timeout) at
System.ServiceModel.Security.CommunicationObjectSecurityTokenProvider.Open(TimeS
pan
timeout) at
System.ServiceModel.Security.SecurityUtils.OpenTokenProviderIfRequired(SecurityT
okenProvider
tokenProvider, TimeSpan timeout) at
System.ServiceModel.Security.SymmetricSecurityProtocol.OnOpen(TimeSpan
timeout) at
System.ServiceModel.Security.WrapperSecurityCommunicationObject.OnOpen(TimeSpan
timeout) at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan
timeout) at
System.ServiceModel.Channels.SecurityChannelFactory`1.ClientSecurityChannel`1.On
Open(TimeSpan
timeout) at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan
timeout) at
System.ServiceModel.Security.SecuritySessionSecurityTokenProvider.DoOperation(Se
curitySessionOperation
operation, EndpointAddress target, Uri via, SecurityToken currentToken,
TimeSpan timeout) at
System.ServiceModel.Security.SecuritySessionSecurityTokenProvider.GetTokenCore(T
imeSpan
timeout) at
System.IdentityModel.Selectors.SecurityTokenProvider.GetToken(TimeSpan
timeout) at
System.ServiceModel.Security.SecuritySessionClientSettings`1.ClientSecuritySessi
onChannel.OnOpen(TimeSpan
timeout) at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan
timeout) at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan
timeout) at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan
timeout) at
System.ServiceModel.Channels.ServiceChannel.CallOpenOnce.System.ServiceModel.Cha
nnels.ServiceChannel.ICallOnce.Call(ServiceChannel
channel, TimeSpan timeout) at
System.ServiceModel.Channels.ServiceChannel.CallOnceManager.CallOnce(TimeSpan
timeout, CallOnceManager cascade) at
System.ServiceModel.Channels.ServiceChannel.EnsureOpened(TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean
oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs,
TimeSpan timeout) at
System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean
oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs) at
System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessag
e
methodCall, ProxyOperationRuntime operation) at
System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
Exception rethrown at [0]: at
System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage
reqMsg, IMessage retMsg) at
System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&
msgData, Int32 type) at
Northwind.Wcf.ITerritoriesWcfService.GetTerritories() at
Northwind.WcfServices.TerritoriesWcfServiceClient.GetTerritories() in
C:\Inetpub\wwwroot\RECP\working
trunk\src\NorthwindSample\app\Northwind.Wcf\TerritoriesWcfServiceClient.cs:line
22 at Northwind.Web.Controllers.TerritoriesController.Index() in
C:\Inetpub\wwwroot\RECP\working
trunk\src\NorthwindSample\app\Northwind.Web.Controllers\TerritoriesController.cs
:line
27

What version of the product are you using? On what operating system?
win xp sp2 (x86)

Please provide any additional information below.

Original issue reported on code.google.com by tyaugust...@gmail.com on 15 Jul 2009 at 1:49

GoogleCodeExporter commented 9 years ago
can it be possible wcf isn't working because i'm running xp pro and i've been 
running
the solution via the built-in webserver?  do i need to change the port # 
somewhere?

Original comment by tyaugust...@gmail.com on 15 Jul 2009 at 4:27

GoogleCodeExporter commented 9 years ago
user error.  please close.

Original comment by tyaugust...@gmail.com on 21 Jul 2009 at 3:24

GoogleCodeExporter commented 9 years ago
Closed as user error.

Original comment by wmccaffe...@gmail.com on 18 Aug 2009 at 11:08