TargetInvocation Exception

2 posts, 0 answers
  1. Egemen
    Egemen avatar
    34 posts
    Member since:
    Apr 2012

    Posted 14 Oct 2013 Link to this post


    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.
  2. Tina Stancheva
    Tina Stancheva avatar
    3299 posts

    Posted 17 Oct 2013 Link to this post

    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.

    Tina Stancheva
    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 >>
Back to Top