Featured post
DotNetOpenAuth occasionally throws a NotImplementedException -
i have dotnetopenauth running on background thread making calls google authorized oauth on regular basis.
about once day, 1 in 10,000 calls, following exception:
an unhandled exception occurred , process terminated. application id: defaultdomain process id: 3316 exception: system.notimplementedexception message: method or operation not implemented. stacktrace: @ dotnetopenauth.messaging.protocolexception.getobjectdata(serializationinfo info, streamingcontext context) in c:\users\andarno\git\dotnetopenid\src\dotnetopenauth\messaging\protocolexception.cs:line 90 @ system.runtime.serialization.formatters.binary.writeobjectinfo.initserialize(object obj, isurrogateselector surrogateselector, streamingcontext context, serobjectinfoinit serobjectinfoinit, iformatterconverter converter, objectwriter objectwriter, serializationbinder binder) @ system.runtime.serialization.formatters.binary.writeobjectinfo.serialize(object obj, isurrogateselector surrogateselector, streamingcontext context, serobjectinfoinit serobjectinfoinit, iformatterconverter converter, objectwriter objectwriter, serializationbinder binder) @ system.runtime.serialization.formatters.binary.objectwriter.serialize(object graph, header[] inheaders, __binarywriter serwriter, boolean fcheck) @ system.runtime.serialization.formatters.binary.binaryformatter.serialize(stream serializationstream, object graph, header[] headers, boolean fcheck) @ system.runtime.remoting.channels.crossappdomainserializer.serializeobject(object obj, memorystream stm) @ system.appdomain.serialize(object o) @ system.appdomain.marshalobject(object o)
if thrown , caught once day i'd fine, big 1 - i'm getting in application error log on server, , it's crashing process entirely - site goes down , restarts.
has else run this? i'm doing wrong?
it looks server trying serialize dotnetopenauth.messaging.protocolexception
, doesn't (currently) support serialization. however, suggests there problem prior not reported because in reporting of problem hit one. if have logs leading error might uncover leading problem is.
supporting serialization of protocolexception avoid second problem should request on http://dotnetopenauth.uservoice.com/. requests considered please consider filing if want fixed.
as far why it's bringing down whole process -- guess above, it's problem while reporting problem, , perhaps host (asp.net presumably) isn't prepared deal that.
- Get link
- X
- Other Apps
Comments
Post a Comment