Featured post

c# - Usage of Server Side Controls in MVC Frame work -

i using asp.net 4.0 , mvc 2.0 web application. project requiremrnt have use server side control in application not possibl in noraml case. ideally want use adrotator control , datalist control. i saw few samples , references in codepleax mvc controllib howwver found less useful. can tell how utilize theese controls in asp.net application along mvc. note: please provide functionalities related adrotator , datalist controls not equivalent functionalities thanks in advace. mvc pages not use normal .net solution makes use of normal .net components impossible. a normal .net page use event driven solution call different methods service side mvc use actions , view completly different way handle things. also, mvc not use viewstate normal .net controlls require. found article discussing mixing of normal .net , mvc.

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.


Comments

Popular posts from this blog

c# - Usage of Server Side Controls in MVC Frame work -

cocoa - Nesting arrays into NSDictionary object (Objective-C) -

ios - Very simple iPhone App crashes on UILabel settext -