Jump to content


Intermittent Large Upload Problem


  • You cannot reply to this topic
1 reply to this topic

#1 Guest_jmoran_*

  • Guests

Posted 08 May 2008 - 05:21 PM

We have been using the wav recording applet for a long time now without many problems, however, we noticed a new problem recently. We use a C#/ASP.NET upload.aspx page to do the file uploading.

Large files append to the .wav file piece by piece. However, for certain people with a slow connection and large files (more than 4 minutes long), it will fail about 1 in 5 times.

It fails here (in the Page_Load of upload.aspx.cs):
string strVoiceServerFolder = Request.Params.Get("VoiceServerFolder");
if (strVoiceServerFolder == null)
{
     Response.Write("Cannot find \"VoiceServerFolder\" parameter!");
     return;
}

So, after most of the file has been uploaded, SOMETIMES the VoiceServerFolder parameter is not passed as a parameter. This is the first parameter that we check for, so my guess is that somehow all of the parameter values have been lost (not just the VoiceServerFolder param).

It works 999/1000 times, but about 1/1000 times the upload will fail with this in the java console after a number of "ACCEPTED" upload messages:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" > <html> <head>
<title>Wideband Voice Recording Applet SDK</title> </head> <body>
<form name="Form1" method="post" action="upload.aspx" id="Form1" enctype="multipart/form-data"> <input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUJ...mFtEdnw==" />
<input name="UserFile" type="file" id="UserFile" />
</form>
</body>
</html>
Sending confirmation block
https://www.REMOVEDURL.COM/dictation/voicefiles/upload.aspx
ANSWER = "Cannot find "VoiceServerFolder" parameter!"



#2 Andrey

    Newbie

  • Members
  • Pip
  • 5 posts

Posted 14 May 2008 - 12:33 PM

Hi,
I have 2 questions for you that help me solve your problem.
1. Do you use applet function SETPARAMETER in your web page?
2. Can you check values of other parameters when the VoiceServerFolder parameter is not passed as a parameter so I can understand is request totally corrupted or not.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users