Hi all,
I got the following error in data portal fetch.
"System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Exception: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentException: Invalid token for impersonation - it cannot be duplicated.\n at System.Security.Principal.WindowsIdentity.CreateFromToken(IntPtr userToken)\n at System.Security.Principal.WindowsIdentity..ctor(SerializationInfo info)\n at System.Security.Principal.WindowsIdentity..ctor(SerializationInfo info, StreamingContext context)
We are implementing CSLA for the first time, we don't get any errors in executing Project Tracker solution given with CSLA frame work 2.0. But when we try to implement in our application , we got the above error.
Your timely help to resolve this error will be appreciated
Regards,
Uma
The issue is clearly one of security configuration. Your server is trying to impersonate the client's WindowsIdentity and you have some sort of mismatch.
The configuration problem could be at the IIS level, the ASP.NET level or the CSLA level.
The CSLA level has a simple rule - the client and server both must use the same CslaAuthentication value in your <appSettings> block. This is the easiest to check and fix, but is probably not your problem. Your problem is probably at the ASP.NET level or in the configuration of your virtual root in IIS.
Hi Rocky,
Thank you so much for your valuable suggestion.
Regards,
Uma
Copyright (c) Marimer LLC