"System.Reflection.AmbiguousMatchException: Ambiguous match found. ". It looks 
like an issue with the binaries, could you please, cleanup all the binary 
folders and rebuild everything from scratch ?. If the problem still exists 
after that, let me know.

Thanks
Pablo.

-----Original Message-----
From: Chintana Wilamuna [mailto:[email protected]] 
Sent: Tuesday, October 13, 2009 2:08 PM
To: [email protected]
Subject: Re: .Net new passive STS impl.

On Tue, Oct 13, 2009 at 8:54 PM, Pablo Cibraro
<[email protected]> wrote:

> The Passive STS is using the Trade.com (stocktraderpfxfile.pfx) certificate 
> for encrypting and signing the SAML tokens. It is looking for that 
> certificate in the Trusted People certificate store. Regarding the error you 
> are getting, it could be caused by two things:
>
> 1. That certificate is not installed properly in the certificate store (Or 
> the private key is missing)
> 2. The account running the ASP.NET process does not have rights to get access 
> to the certificate private key.
>
> If the STS can get access to that certificate, it will be able to issue a new 
> token that you can use in the trade web application.

Understood.

Ran AuthorizeWcfServices.bat and set reservation for current user as
well as \Everyone. Now I'm getting the following exception,

System.Reflection.AmbiguousMatchException: Ambiguous match found.

Stack Trace:

[AmbiguousMatchException: Ambiguous match found.]
   System.DefaultBinder.BindToMethod(BindingFlags bindingAttr,
MethodBase[] canidates, Object[]& args, ParameterModifier[] modifiers,
CultureInfo cultureInfo, String[] names, Object& state) +10242693
   System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr,
Binder binder, Object[] args, CultureInfo culture, Object[]
activationAttributes) +10364331
   System.Activator.CreateInstance(Type type, Object[] args) +38
   Trade.Client.Connection`1.createChannelFactory(String
clientConfiguration, String url, String userName, String password,
Boolean useClaims) in
D:\src\stonehenge-trunk\stocktrader\dotnet\common\BasicClient\BasicClient.cs:93
   Trade.Client.Connection`1.get_Channel() in
D:\src\stonehenge-trunk\stocktrader\dotnet\common\BasicClient\BasicClient.cs:202
   Trade.Client.Client`1.get_Channel() in
D:\src\stonehenge-trunk\stocktrader\dotnet\common\BasicClient\BasicClient.cs:317
   Trade.BusinessServiceClient.BusinessServiceClient.get_Channel() in
D:\src\stonehenge-trunk\stocktrader\dotnet\trader_client\BusinessServiceClient\BusinessServiceClient.cs:107
   Trade.BusinessServiceClient.BusinessServiceClient.getAccountData(String
userID) in 
D:\src\stonehenge-trunk\stocktrader\dotnet\trader_client\BusinessServiceClient\BusinessServiceClient.cs:178
   Trade.BusinessServiceClient.BSLClient.getAccountData(String userID)
in 
D:\src\stonehenge-trunk\stocktrader\dotnet\trader_client\BusinessServiceClient\BSLClient.cs:173
   Trade.Web.TradeHome.Page_Load(Object sender, EventArgs e) in
d:\src\stonehenge-trunk\stocktrader\dotnet\trader_client\Trade\TradeHome.aspx.cs:56
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp,
Object o, Object t, EventArgs e) +25
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object
sender, EventArgs e) +42
   System.Web.UI.Control.OnLoad(EventArgs e) +132
   System.Web.UI.Control.LoadRecursive() +66
   System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
+2428

Any pointers would be highly appreciated.

Bye,

    -Chintana

-- 
http://engwar.com/


Reply via email to