I've been receiving the following error messages from my website:
System.NullReferenceException:
Object reference not set to an instance of an object. at
Telerik.Web.UI.RadUpload.IsValidMimeType(UploadedFile file) at
Telerik.Web.UI.RadUpload.IsValidUploadedFile(UploadedFile file, Boolean
checkingFileSize, Boolean checkingFileExtension, Boolean checkingMimeType) at
Telerik.Web.UI.RadUpload.ValidateUploadedFiles() at
Telerik.Web.UI.RadUpload.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive() at
System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive() at
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean
includeStagesAfterAsyncPoint)
the user agent is :
HTTP_USER_AGENT: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US)
AppleWebKit/532.0 (KHTML, like Gecko) Chrome/3.0.195.33 Safari/532.0
I'm guessing the problem is that the user is using chrome, and for some reason it's stripping the document of a mime type. Is there any workaround that anyone know of for this, or a fix? right now I'm catching the error and telling the user to use Firefox or IE, as it works perfectly there.
this is the code for the upload control
Thank you,
Debbie