ComponentSpace

Forums



Error attempting to use SAMLServiceProvider.ReceiveSSO


Error attempting to use SAMLServiceProvider.ReceiveSSO

Author
Message
darrell@flores247.com
darrell@flores247.com
New Member
New Member (4 reputation)New Member (4 reputation)New Member (4 reputation)New Member (4 reputation)New Member (4 reputation)New Member (4 reputation)New Member (4 reputation)New Member (4 reputation)New Member (4 reputation)

Group: Forum Members
Posts: 3, Visits: 12
I am trying to walk through setting up a service provider that receives incoming requests step by step.

I have put together what I believe is about as rudimentary a script as I can just to receive a request and output information from it. When I attempt to access the page though, I receive an error indicating "CS1501: No overload for method 'ReceiveSSO' takes 7 arguments". Does anyone have an idea as to what I am doing incorrectly?


@using System.Web
@using ComponentSpace.SAML2

@{

bool isInResponseTo = false;
string partnerIdP = null;
string authnContext = null;
string userName = null;
IDictionary<string, string> attributes = null;
string targetUrl = null;

ComponentSpace.SAML2.SAMLServiceProvider.ReceiveSSO(Request, out isInResponseTo, out partnerIdP, out authnContext, out userName, out attributes, out targetUrl);

}
isInResponseTo=@isInResponseTo <br>
partnerIdP=@partnerIdP <br>
authnContext=@authnContext <br>
userName=@userName<br>
relayState=@targetUrl<br>





ComponentSpace
ComponentSpace
ComponentSpace Development
ComponentSpace Development (2.9K reputation)ComponentSpace Development (2.9K reputation)ComponentSpace Development (2.9K reputation)ComponentSpace Development (2.9K reputation)ComponentSpace Development (2.9K reputation)ComponentSpace Development (2.9K reputation)ComponentSpace Development (2.9K reputation)ComponentSpace Development (2.9K reputation)ComponentSpace Development (2.9K reputation)

Group: Administrators
Posts: 2K, Visits: 4.6K
The code looks correct and there is an overload that takes 7 arguments as per your code.
What version of the SAML2 DLL are you using?

Regards
ComponentSpace Development
darrell@flores247.com
darrell@flores247.com
New Member
New Member (4 reputation)New Member (4 reputation)New Member (4 reputation)New Member (4 reputation)New Member (4 reputation)New Member (4 reputation)New Member (4 reputation)New Member (4 reputation)New Member (4 reputation)

Group: Forum Members
Posts: 3, Visits: 12
I just upgraded to 3.4.0 and am receiving the same error.
darrell@flores247.com
darrell@flores247.com
New Member
New Member (4 reputation)New Member (4 reputation)New Member (4 reputation)New Member (4 reputation)New Member (4 reputation)New Member (4 reputation)New Member (4 reputation)New Member (4 reputation)New Member (4 reputation)

Group: Forum Members
Posts: 3, Visits: 12
I fully deleted the entire project and started from scratch and I am no longer receiving this particular error.
ComponentSpace
ComponentSpace
ComponentSpace Development
ComponentSpace Development (2.9K reputation)ComponentSpace Development (2.9K reputation)ComponentSpace Development (2.9K reputation)ComponentSpace Development (2.9K reputation)ComponentSpace Development (2.9K reputation)ComponentSpace Development (2.9K reputation)ComponentSpace Development (2.9K reputation)ComponentSpace Development (2.9K reputation)ComponentSpace Development (2.9K reputation)

Group: Administrators
Posts: 2K, Visits: 4.6K
Thanks for the update. I'm glad you got it working.

Regards
ComponentSpace Development
GO


Similar Topics


Execution: 0.000. 2 queries. Compression Enabled.
Login
Existing Account
Email Address:


Password:


Social Logins

Select a Forum....









ComponentSpace Forums


Search