This project is read-only.


FileDownload with Silverlight Ria services


Can you please help me to use the Interlink FileUpload & Download utility with Silverlight Business Application (with RIA services). I can use it with Silverlight Application template but while using it with Business Application it is throwing error "Invalid Result". Kindly let me know whether this utility is compatible with Silverlight 4 Business Application.
I am using VS 2010.

file attachments

Closed Mar 29, 2012 at 6:40 PM by hyspdrt
Works as designed.


hyspdrt wrote Mar 29, 2012 at 5:08 AM

Yes it does work fine. The Biz App is just a template that uses RIA for data communications. Interlink is just a silverlight control that talks plain HTTP to the web server to transmit the file.

I just fired up VS2010, created a brand new SL4 Biz App project, added the references, created the uploadhandler.cs, made the config changes and worked perfect.

NOTE: Make sure you web config is correct.

<add key="UploadHandler" value="BusinessApplication3.Web.UploadHandler, BusinessApplication3.Web"/>

Then inside <system.web> NOT <system.webserver>, only use the latter when deploying to ASP.NET 4.0 and IIS7.x with integrated mode AppPool.

<add verb="GET,POST" path="FileUpload.ashx" type="HSS.Interlink.Web.FileUpload, HSS.Interlink.Web"/>


hemant2701 wrote Mar 29, 2012 at 10:25 AM

Thanks a ton for your quick response. There was a mistake in my web config file that was throwing the error. I have corrected it as you have mentioned above.
This control is wonderful and its very easy to integrate. Thanks for your help.

wrote Mar 29, 2012 at 6:40 PM

hyspdrt wrote Mar 29, 2012 at 6:40 PM

No problem, glad we could help!

wrote Feb 14, 2013 at 7:39 PM

wrote May 16, 2013 at 9:40 AM