Live Support, Chat, Upload Control and Rich Text Editor
Welcome to Support forums Sign in | Join | Help |Client Center
in Search

Error: Objet reference not set to an instance of an object

Last post 03-21-2012, 10:45 AM by Tux. 22 replies.
Page 2 of 2 (23 items)   < Previous 1 2
Sort Posts: Previous Next
  •  03-14-2012, 5:34 AM 73441 in reply to 73438

    Re: Error: Objet reference not set to an instance of an object

    cutechat:
    Hi,
     
    I am not sure what's wrong now.
     
    because I can't reproduce it on your website.
     
    please add this into web.config and try again.
     
    <add key="CuteWebUI.AjaxUploader.UseAspNetStream" value="True" />
     
    and also , you can let the user test this page
     
     
    it will show a debug trace box , when get error , please copy the text and paste here .
     
    Regards,
    Terry
     
     
    Hi Terry, thanks a lot for your kind answer.
     
    We have just modified the web.config on our two WebServers, adding the UseAspNetStream key. Our user will test the upload again and we will let you know the result.
     
     If the error will still show up, the user will make another test using the debug mode on the TestUpload.aspx page, as you suggested.
     
    Best Regards,
     
    Tux.
  •  03-14-2012, 10:31 AM 73443 in reply to 73441

    Re: Error: Objet reference not set to an instance of an object

    Hi,
     
    we changed the web.confing inserting this line:
     
    <add key="CuteWebUI.AjaxUploader.UseAspNetStream" value="True" />
     
    Our user tested the upload again, on one of the machines affected by the problem. This time he managed to upload a file larger than 150 KB. Then he tried to upload another file, bigger than the previous one (24 MB) and he got a new, different, error:
     
     
     
    Does this help you understanding the cause of the issue?
    Anyway, this friday I'll pay a visit to our customer and I will perform an upload using the UploaderDebug=1 mode, and report the result back to you. Just one question: in case of error, will I have the time to copy/paste the debug trace, or will the page automatically refresh, removing the contents of the debug panel?
  •  03-14-2012, 8:14 PM 73450 in reply to 73443

    Re: Error: Objet reference not set to an instance of an object

    Hi,
     
    When use the 'UseAspNetStream' mode , the uploader will stop intercept the input stream .
     
    So ASP.NET will handle it , but will be limited by <httpRuntime maxRequestLength="4096" />
     
    please change it to a larger value .
     
     
    Regards,
    Terry
  •  03-15-2012, 4:20 AM 73459 in reply to 73450

    Re: Error: Objet reference not set to an instance of an object

    cutechat:
    Hi,
     
    When use the 'UseAspNetStream' mode , the uploader will stop intercept the input stream .
     
    So ASP.NET will handle it , but will be limited by <httpRuntime maxRequestLength="4096" />
     
    please change it to a larger value .
     
     
    Regards,
    Terry
     
    Hi Terry,
     
    unfortunately this cannot be the problem, since our web.config (on both webservers) already has a larger value for maxRequestLength. This is our current httpRuntime setting:
     

    <httpRuntime executionTimeout="7200" maxRequestLength="2097151"/>

    Is there something else that we have to change? 
  •  03-15-2012, 8:13 PM 73485 in reply to 73459

    Re: Error: Objet reference not set to an instance of an object

    Hi,
     
    Can you post your web.config ?
     
    Make sure there's no other upload components.
     
    Regards,
    Terry
     
  •  03-16-2012, 10:27 AM 73497 in reply to 73485

    Re: Error: Objet reference not set to an instance of an object

    cutechat:
    Hi,
     
    Can you post your web.config ?
     
    Make sure there's no other upload components.
     
    Regards,
    Terry
     
     
    Hi Terry,
     
    here is the web.config, in TXT format:
     
     
    Waiting for your answer.
     
    Kindest Regards,
     
    Tux.
  •  03-19-2012, 8:01 PM 73520 in reply to 73497

    Re: Error: Objet reference not set to an instance of an object

    Tux,
     
    Please try to remove this line and try again 
    <add name="UploadHttpModule" type="Brettle.Web.NeatUpload.UploadHttpModule, Brettle.Web.NeatUpload"/>
     Regards,
    Terry
     
  •  03-21-2012, 10:45 AM 73531 in reply to 73520

    Re: Error: Objet reference not set to an instance of an object

    cutechat:
    Tux,
     
    Please try to remove this line and try again 
    <add name="UploadHttpModule" type="Brettle.Web.NeatUpload.UploadHttpModule, Brettle.Web.NeatUpload"/>
     Regards,
    Terry
     
     
    Now it works, whatever the file size is, even on the machines where it wasn't working before. Thanks a lot.
     
    We will have to remove the Brettle NeatUpload from our website, we were still using it on 2 pages, but we will remove it and use the AjaxUploader instead.
     
    Problem solved, thanks again and regards,
     
    Tux.
     
     
Page 2 of 2 (23 items)   < Previous 1 2
View as RSS news feed in XML
Powered by Community Server (Commercial Edition), by Telligent Systems