c# - Getting Exception on published ASP.NET MVC4 app using Backload for file upload -
while working in visual studio , testing app, works fine. i'm using backload upload files server. however, when trying upload files when publishing local iis server, following exception:
arithmetic operation resulted in overflow.
complete stack trace below:
[overflowexception: arithmetic operation resulted in overflow.] system.intptr.op_explicit(intptr value) +37 筦屎긑쾖㨚�䓝�.敕蛘᷏ꂫ�۟똿뽎() +2030 .cctor() +115 [typeinitializationexception: type initializer '<module>' threw exception.] system.runtimetypehandle.createinstance(runtimetype type, boolean publiconly, boolean nocheck, boolean& canbecached, runtimemethodhandleinternal& ctor, boolean& bneedsecuritycheck) +0 system.runtimetype.createinstanceslow(boolean publiconly, boolean skipcheckthis, boolean fillcache, stackcrawlmark& stackmark) +159 system.runtimetype.createinstancedefaultctor(boolean publiconly, boolean skipcheckthis, boolean fillcache, stackcrawlmark& stackmark) +256 system.activator.createinstance(type type, boolean nonpublic) +127 system.activator.createinstance(type type) +11 system.web.mvc.defaultcontrolleractivator.create(requestcontext requestcontext, type controllertype) +92 [invalidoperationexception: error occurred when trying create controller of type 'backload.controllers.backloadcontroller'. make sure controller has parameterless public constructor.] system.web.mvc.defaultcontrolleractivator.create(requestcontext requestcontext, type controllertype) +256 system.web.mvc.defaultcontrollerfactory.createcontroller(requestcontext requestcontext, string controllername) +81 system.web.mvc.mvchandler.processrequestinit(httpcontextbase httpcontext, icontroller& controller, icontrollerfactory& factory) +270 system.web.mvc.mvchandler.beginprocessrequest(httpcontextbase httpcontext, asynccallback callback, object state) +86 system.web.callhandlerexecutionstep.system.web.httpapplication.iexecutionstep.execute() +12550671 system.web.httpapplication.executestep(iexecutionstep step, boolean& completedsynchronously) +288
iis server has rights write upload folder. error happens when trying access backload on localhost/mysite/backload/uploadhandler
backload version used 1.9.2.2 (and yes, i'm getting chinese/japanese signs, no idea why)
edit: tried importing examples github , exact same error!
this related issue #17 , fixed in upcoming release 1.9.3. read here: https://github.com/blackcity/backload/issues/17
edit: saw, there release candidate 1.9.3 release available on nuget. should check release, , if exception still exists notify developers. try include bug fixes fast. http://www.nuget.org/packages/backload/
Comments
Post a Comment