Dear all,
We developed an app using WCF and a client ASP.net and we have this error. Help me please.
Application information:
Application domain: /LM/W3SVC/2/ROOT/SCMClient-1-130133783332281776
Trust level: Full
Application Virtual Path: /SCMClient
Application Path: D:\SCM\publicar\SCMClient0\
Machine name: SERVIDOR
Process information:
Process ID: 6852
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE
Exception information:
Exception type: MessageSecurityException
Exception message: An unsecured or incorrectly secured fault was received from the other party. See the inner FaultException for the fault code and detail.
Server stack trace:
at System.ServiceModel.Security.SecuritySessionClientSettings`1.SecurityRequestSessionChannel.ProcessReply(Message reply, TimeSpan timeout, SecurityProtocolCorrelationState correlationState)
at System.ServiceModel.Security.SecuritySessionClientSettings`1.SecurityRequestSessionChannel.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage 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 SCMClient.ServicioUsuario.IServicioUsuario.GetMenuUser(CierreUsuarioDTC usuarioDTC)
at SCMClient.ServicioUsuario.ServicioUsuarioClient.GetMenuUser(CierreUsuarioDTC usuarioDTC) in C:\Users\Wilfredo\Desktop\CierreMinaCode - copia (2)\SCMClient\SCMClient\Service References\ServicioUsuario\Reference.cs:line 295
at SCMClient.Master.Main.CargarMenu() in C:\Users\Wilfredo\Desktop\CierreMinaCode - copia (2)\SCMClient\SCMClient\Master\Main.Master.cs:line 35
at SCMClient.Master.Main.Page_Load(Object sender, EventArgs e) in C:\Users\Wilfredo\Desktop\CierreMinaCode - copia (2)\SCMClient\SCMClient\Master\Main.Master.cs:line 25
at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
The message could not be processed. This is most likely because the action 'http://tempuri.org/IServicioUsuario/GetMenuUser' is incorrect or because the message contains an invalid or expired security context token or because there is a mismatch between bindings. The security context token would be invalid if the service aborted the channel due to inactivity. To prevent the service from aborting idle sessions prematurely increase the Receive timeout on the service endpoint's binding.
Request information:
Request URL: http://sreasons.com/SCMClient/Views/View_inicio.aspx
Request path: /SCMClient/Views/View_inicio.aspx
User host address: 190.40.101.64
User:
Is authenticated: False
Authentication Type:
Thread account name: NT AUTHORITY\NETWORK SERVICE
Thread information:
Thread ID: 22
Thread account name: NT AUTHORITY\NETWORK SERVICE
Is impersonating: False
Stack trace: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at SCMClient.ServicioUsuario.IServicioUsuario.GetMenuUser(CierreUsuarioDTC usuarioDTC)
at SCMClient.ServicioUsuario.ServicioUsuarioClient.GetMenuUser(CierreUsuarioDTC usuarioDTC) in C:\Users\Wilfredo\Desktop\CierreMinaCode - copia (2)\SCMClient\SCMClient\Service References\ServicioUsuario\Reference.cs:line 295
at SCMClient.Master.Main.CargarMenu() in C:\Users\Wilfredo\Desktop\CierreMinaCode - copia (2)\SCMClient\SCMClient\Master\Main.Master.cs:line 35
at SCMClient.Master.Main.Page_Load(Object sender, EventArgs e) in C:\Users\Wilfredo\Desktop\CierreMinaCode - copia (2)\SCMClient\SCMClient\Master\Main.Master.cs:line 25
at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Custom event details: