0 Replies Latest reply on Dec 28, 2011 7:54 PM by jayakrishnans

    Error #2038: File I/O Error. URL: http://myserver.com/Upload.aspx on uploading mp3 files...

    jayakrishnans

      Hi all,

       

      I am developing an application with Flex & asp.net. When I am trying to upload mp3 files to the server it throws error 'Error #2038: File I/O Error. URL: http://myserver.com/Upload.aspx' on uploading complete . The file is getting created & the corresponding values are getting upldated in DB but, shows this error. Its happening with newer version of flash player (11) but, working perfectly with older versions (10.0.1) and its working perfectly with local server with any version of flash player .

       

      Anyone know what is the issue ? How can I resolve it ?

       

       

      here is my code,

       

      var urlReq:URLRequest= new URLRequest();

       

      // fileRef -----> FileReference

       

      urlReq.url='http://myserver.com/Upload.aspx';

       

      urlReq.method=URLRequestMethod.POST;

       

       

      fileRef.addEventListener(DataEvent.UPLOAD_COMPLETE_DATA,XMLtoObject);

       

      fileRef.addEventListener(IOErrorEvent.IO_ERROR,errorFunction);

       

      fileRef.addEventListener(ProgressEvent.PROGRESS,onUploadProgress);

       

      fileRef.upload(urlReq);

       

       

      Thank you

      Jayakrishnan S