Insufficient system resources exist to complete the requested service RRS feed

  • Question

  • User1053822547 posted

    Hello All

    The problem is 
    I am having httphandler written which actually gets the sqlfilestream from the filestream NTFS location
    and then the sql filestream I just write on to the response stream which gives me the file back to the
    user as a part of donwload file dialogue.

    Now alls working fine until user found out one of the issue that for a particular file when I say download

    file the request ends up with the following error

    Insufficient system resources exist to complete the requested service

    and more on the probelm is only for downloading the Excel version of the file.
    But on the other hand alll other files and other excel too are downloading

    seamlessly. which really worrying me I do trace the calls and found out that

    it is working correctly till control in HTTP Handler then from there it goes to business logic
    to data layer where it gets the filepath then filestream returns the file stream to the
    Handler where it just writes the stream on Handler
    But ends up with the Abover error.

    ANy one having idea what exactly is going wrong


    Thursday, February 4, 2010 2:28 PM

All replies

  • User472117617 posted

    A little difficult to follow your question, but it sounds like you are attempting to respond to request with a file.  Try using Response.TransmitFile() or if you must access via stream, use Response.BinaryWrite

    Thursday, February 4, 2010 2:51 PM