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

TargetInvocation Exception

1 Answer 64 Views
Upload
This is a migrated thread and some comments may be shown as answers.
Egemen
Top achievements
Rank 1
Egemen asked on 14 Oct 2013, 12:59 PM
Hi,

I use raupload on my local server and everything is fine. But i have deployed on my production server windos 2008 R2 IIS 7.5, i have got this exception just after the file upload.

Exception has been thrown by the target of an invocation.

   konum System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   konum System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
   konum System.Delegate.DynamicInvokeImpl(Object[] args)
   konum Telerik.Windows.RadRoutedEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   konum Telerik.Windows.RadRoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   konum Telerik.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RadRoutedEventArgs routedEventArgs)
   konum Telerik.Windows.EventRoute.InvokeHandlersImpl(Object source, RadRoutedEventArgs args, Boolean raisedAgain)
   konum Telerik.Windows.RadRoutedEventHelper.RaiseEvent(DependencyObject element, RadRoutedEventArgs args)
   konum Telerik.Windows.Controls.RadUpload.OnFileUploadCompleted(Object sender, EventArgs e)

Thank u for your precious help.

1 Answer, 1 is accepted

Sort by
0
Tina Stancheva
Telerik team
answered on 17 Oct 2013, 10:52 AM
Hello Egemen,

The RadUpload control needs access to the RadUploadHandler. However, sometimes when you deploy your solution, the path to the handler is inaccessible thus causing issues within the RadUpload control.

Unfortunately looking at the exception I cannot tell for sure if that might be the cause for the issue. This is why in your case it would be best to start a support ticket and attach a small sample demonstrating your RadUpload definition and any event handlers you've added.

You can find a list of our support packages here. Once you have access to the ticketing system, you will be able to send any additional information and attachments to help us further investigate this exception. On top of that, the support ticketing system assigns a response time for all of your questions, depending on your license and ensures that all questions will reach the respective developers, if needed. In addition, you will be able to review your support history at your leisure. In this way your issues will be managed more precisely.

Regards,
Tina Stancheva
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
Upload
Asked by
Egemen
Top achievements
Rank 1
Answers by
Tina Stancheva
Telerik team
Share this question
or