Error in production server

37 views
Skip to first unread message

pmni

unread,
Apr 19, 2012, 3:40:50 PM4/19/12
to DotNetOpenAuth
Hi.

I'm using the latest stable version of DotNetOpenAuth, and in
localhost everything works fine.

When moving to production server (shared host in 4.0 Classic mode)
I've this error:

Message: Unable to cast object of type
'DotNetOpenAuth.OpenId.Behaviors.AXFetchAsSregTransform' to type
'DotNetOpenAuth.OpenId.RelyingParty.IRelyingPartyBehavior'.;
InnerException: Sem inner exception.;
Source: DotNetOpenAuth.Core;
StackTrace: at
DotNetOpenAuth.Configuration.TypeConfigurationElement`1.CreateInstance(T
defaultValue, Boolean allowInternals)
at
DotNetOpenAuth.Configuration.TypeConfigurationCollection`1.<>c__DisplayClass4.<CreateInstances>b__2(TypeConfigurationElement`1
element)
at
System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at
DotNetOpenAuth.OpenId.RelyingParty.OpenIdRelyingParty..ctor(ICryptoKeyStore
cryptoKeyStore, INonceStore nonceStore)
at DotNetOpenAuth.OpenId.RelyingParty.OpenIdRelyingParty..ctor()
at Ideiota.WebApp.Modules.Login.HandleOpenIdProviderResponse() in D:
\Projectos\Ideiota\Code\Ideiota\Ideiota.WebApp\Modules
\Login.ascx.cs:line 117
at Ideiota.WebApp.Modules.Login.Page_Load(Object sender, EventArgs
e) in D:\Projectos\Ideiota\Code\Ideiota\Ideiota.WebApp\Modules
\Login.ascx.cs:line 44
at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp,
Object o, Object t, EventArgs e)
at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object
sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint);

Do you have any idea what's append?

Thanks in advance

Andrew Arnott

unread,
Apr 20, 2012, 11:36:21 AM4/20/12
to dotnet...@googlegroups.com
This looks like a bug in your setup.  There is no  DotNetOpenAuth.OpenId.Behaviors.AXFetchAsSregTransform type in DNOA 4.0.  That type only exists in DNOA v3.x.  The new type is DotNetOpenAuth.OpenId.RelyingParty.Behaviors.AXFetchAsSregTransform.  Please update your code (including possibly web.config file) to reference the new type and I think this problem will go away for you.
--
You received this message because you are subscribed to the Google Groups "DotNetOpenAuth" group.
To post to this group, send email to dotnet...@googlegroups.com.
To unsubscribe from this group, send email to dotnetopenid...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/dotnetopenid?hl=en.



--
--
Andrew Arnott
"I [may] not agree with what you have to say, but I'll defend to the death your right to say it." - S. G. Tallentyre

pmni

unread,
Apr 21, 2012, 11:24:39 AM4/21/12
to dotnet...@googlegroups.com
Yes it's my fault.
I forget to look to .config file... :(

Sorry to waste your time!
To unsubscribe from this group, send email to dotnetopenid+unsubscribe@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/dotnetopenid?hl=en.

Reply all
Reply to author
Forward
0 new messages