c# - Crystal Reports exception in Visual Studio 2013 -


rptdoc.exporttohttpresponse(exportformattype.portabledocformat, response, true, "do- " + datetime.now.tostring("dd-mm-yyyy hhmmss")); 

above line of code throwing exception:

an exception of type 'system.missingmethodexception' occurred in crystaldecisions.crystalreports.engine.dll not handled in user code

additional information: method not found: 'crystaldecisions.reportappserver.datadefmodel.propertybag crystaldecisions.reportappserver.reportdefmodel.iscrexportoptions.get_exportoptionsex()'

i using visual studio 2013 , crystal reports 13

once faced same issue on production server. until day before working good, next day, error showing up.

after long hours struggling issue remembered testing reasons, had changed "application pool settings -> enable 32-bit applications" true, while server 64bit; changed false , got normal.

if server 32 make option true, otherwise make false.

enter image description here


Comments

Popular posts from this blog

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -