实在是奇怪,分不多望理解
这几天在做NeatUplod1.3的大文件上传,在页面中用该控件第一次上传大文件时报下面的错:
System.NullReferenceException: Object reference not set to an instance of an object.
at Brettle.Web.NeatUpload.Internal.Module.FilteringWorkerRequest.ParseMultipart()
at Brettle.Web.NeatUpload.UploadHttpModule.WaitForUploadToComplete()
at Brettle.Web.NeatUpload.UploadHttpModule.Application_ResolveRequestCache(Object sender, EventArgs e)
at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)@Error
可是当我用同样的页面第二次上传同样的大文件时却不会报错。真的很奇怪。不知哪位高人指点下?万分感谢。
对了,如果有NeatUpload上传几十M以上的demo时望能赐教一二。
邮箱:wybxs2006@126.com .net?c#?NeatUpload
[解决办法]
NullReferenceExceptio,空引用,有null值,跟一下代码吧
[解决办法]
Object reference not set to an instance of an object
[解决办法]
参考http://www.cnblogs.com/langlang/archive/2009/12/11/1621730.html