Author: evo9 | Posted on: 6/17/2008 4:09:17 PM | Views : 491

I've created a WCF service to handle file upload from SilverLight. I used this writeup to created this in SilverLight 2.0 Beta 2 (this was originally done in Silverlight 2.0 Beta 1). The original article is here: http://michaelsync.net/2008/03/27/uploading-with-silveright-2-beta-1-and-wcf
 Everythign works perfectly on small files. But once I try to upload anything other than a <10k text file, I get an error in the Resource.cs file saying:
"The remote server returned an unexpected response: (404) Not Found."
 
When I look in the IIS log file, I see a similar error, but the error code in that log is a 500  (Internal server error).
 
I've added the necessary updates to bindings to max out the file upload size (setting it to the int32 max value).
 
I'm not sure if anyone else is having a problem like this in SL 2.0 Beta 2; it's confusing that I'm getting both a 404 and a 500 - and ...

Go to the complete details ...