This is a migrated thread and some comments may be shown as answers.

Error Uploading Mutiple Files

1 Answer 57 Views
Upload
This is a migrated thread and some comments may be shown as answers.
Charlotte
Top achievements
Rank 1
Charlotte asked on 03 Aug 2011, 07:54 PM
Hello,

I am receiving the following error when trying to upload multiple files .. I am able to upload single file with out any problem .
It's causing the problem only uploading multiple files..

Message: Unhandled Error in Silverlight Application [NativeHost_NotOnUIThread]

Arguments:

Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=4.0.60310.0&File=System.Windows.dll&Key=NativeHost_NotOnUIThread   at System.Windows.Hosting.NativeHost.VerifyThread()

   at System.Windows.Browser.HtmlPage.VerifyThreadAndEnabled()

   at System.Windows.Browser.HtmlPage.get_Document()

   at EWBCRadUpload.EWBCUpload.RadUpload1_FileUploadStarting(Object sender, FileUploadStartingEventArgs e)

   at Telerik.Windows.Controls.RadUpload.OnPreviewFileUploadStarting(Object sender, FileUploadStartingEventArgs e)

   at Telerik.Windows.Controls.RadUpload.OnFileUploadStarting(Object sender, EventArgs e)

   at Telerik.Windows.Controls.UploadDispatcher.OnStarting(FileUploadStartingEventArgs e)

   at Telerik.Windows.Controls.UploadDispatcher.PrepareFileUploadStarting()

   at Telerik.Windows.Controls.UploadDispatcher.UploadNextChunk()

   at Telerik.Windows.Controls.UploadDispatcher.OnResponse(IAsyncResult asyncResult)

   at System.Net.Browser.BrowserHttpWebRequest.<>c__DisplayClassd.<InvokeGetResponseCallback>b__b(Object state2)

   at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)

   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)

   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()

   at System.Threading.ThreadPoolWorkQueue.Dispatch()

   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

Line: 1

Char: 1

Code: 0

Can you please help.

Thanks,
Ajay

1 Answer, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 09 Aug 2011, 08:32 AM
Hi Charlotte,

 We are unable to reproduce such exception at our side. Could you please check out our test project and let us know if it helps you or if we are missing something? Thank you in advance.

Greetings,
Petar Mladenov
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

Tags
Upload
Asked by
Charlotte
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Share this question
or