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

Silverlight net_uri_BadPort error in RadAsyncUpload in Silverlight?

2 Answers 122 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
chrbra
Top achievements
Rank 1
chrbra asked on 29 Aug 2012, 12:47 PM
Hi Telerik folks,

I have a RadAsyncUpload in an iframe, which works fine with most browsers, but customers started complaining that it won't work in Internet Explorer - I guess the reason is that most people have the Silverlight plugin only in IE and that the issue is only in the Silverlight uploader.

The Telerik Version I was using when the issue was first reported is v.2012.1.411.40 Dev, but I upgraded to v.2012.2.815.40 Dev, which didn't solve the problem.

Fortunately, I can reproduce the issue: In IE 9.0.8112.16421 with Silverlight 64 bit, Version: 5.1.10411.0, the following Error is shown in the script console:

SCRIPT5022: Error while uploading, [net_uri_BadPort]
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=5.0.10411.00&File=System.dll&Key=net_uri_BadPort
Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=MultiUploader1_RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bAjaxControlToolkit%2c+Version%3d4.1.40412.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d28f01b0e84b6d53e%3aen-US%3ae14a8175-7690-4143-b148-b58185d12a46%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%3aen-US%3aebfa5361-1bb0-4d72-bf6d-db0befdf104a%3a16e4e7cd%3af7645509%3a22a6274a%3aed16cbdc%3a24ee1bba%3a52af31a4, line 2211 character 8

SCRIPT16389: System.InvalidOperationException: [ScriptObject_InvokeFailed]
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=8.1.10411.0&File=System.Windows.Browser.dll&Key=ScriptObject_InvokeFailed
   at System.Windows.Browser.ManagedObjectInfo.Invoke(ManagedObject obj, InvokeType invokeType, String memberName, ScriptParam[] args)
   at System.Windows.Hosting.ManagedHost.InvokeScriptableMember(IntPtr pHandle, Int32 nMemberID, Int32 nInvokeType, Int32 nArgCount, ScriptParam[] pArgs, ScriptParam& pResult, ExceptionInfo& pExcepInfo)
Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=MultiUploader1_RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bAjaxControlToolkit%2c+Version%3d4.1.40412.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d28f01b0e84b6d53e%3aen-US%3ae14a8175-7690-4143-b148-b58185d12a46%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%3aen-US%3aebfa5361-1bb0-4d72-bf6d-db0befdf104a%3a16e4e7cd%3af7645509%3a22a6274a%3aed16cbdc%3a24ee1bba%3a52af31a4, line 2650 character 1

SCRIPT5022: Unhandled Error in Silverlight Application [ScriptObject_InvokeFailed]
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=8.1.10411.0&File=System.Windows.Browser.dll&Key=ScriptObject_InvokeFailed   at System.Windows.Browser.ScriptObject.Invoke(String name, Object[] args)
   at UploadPrototype.EventManager.FilesSelected(Int32 filesCount)
   at UploadPrototype.MainPage.OpenDialog()
   at UploadPrototype.MainPage.OnMouseLeftButtonUp(MouseButtonEventArgs e)
   at System.Windows.Controls.Control.OnMouseLeftButtonUp(Control ctrl, EventArgs e)
   at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName, UInt32 flags)
UploaderIframe.aspx?UploaderInstance=Ini-1, line 1 character 1


Best Regards,
Sascha

PS: Is there a possible workaround by telling the RadAsyncUpload not to use Silverlight, even if the browser supports it?

2 Answers, 1 is accepted

Sort by
0
Peter Filipov
Telerik team
answered on 30 Aug 2012, 10:04 AM
Hello Sascha,

Sometimes the Silverlight and Flash plugins are causing exceptions which are beyond our control. For that reason we introduced DisablePlugins property. By setting the mentioned property to true the control will start using IFrame module.

Kind regards,
Peter Filipov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
chrbra
Top achievements
Rank 1
answered on 31 Aug 2012, 09:16 AM
Hello Peter,

thank you, that worked.

Best,
Sascha
Tags
AsyncUpload
Asked by
chrbra
Top achievements
Rank 1
Answers by
Peter Filipov
Telerik team
chrbra
Top achievements
Rank 1
Share this question
or