msxml4.dll error '80070005' and other Errors

Discussion in 'ASP.NET / ASP.NET Core' started by jimjimovich, Aug 21, 2003.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Oh yeah, the line of code (classic asp) that is causing the 'ASP 0104 : 80004005' error is:

    RequestBin = Request.BinaryRead(Request.TotalBytes)

    The other error is on an ASP.NET C# page, but I can't locate the line.

    Thanks
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    MSXML 4.0 SP2 introduced a new security feature that checks the IE security policy for submitting non-encrypted data.

    For Windows 2003, the default MS security template disabled web browsing from the server. This will cause the post to fail.

    Try use MSXML2.ServerXMLHTTP.3.0 instead of MSXML2.ServerXMLHTTP.4.0


    quote:Originally posted by jimjimovich

    Hello,
    I have a script that I've been using for a long time on IIS 5 and now I'm having problems running it on IIS 6. I think I may know what is wrong, but need some help fixing it.

    The script is a photo resizing/uploading script from dmxzone.

    The first problem is that I'm getting this error:
    msxml4.dll error '80070005'
    Access is denied.

    I did a little looking online and found a similar problem with a different dll file ... but same error code.
    http://support.microsoft.com/defaul...port/kb/articles/Q278/0/13.asp&NoWebContent=1

    Secondly, it seems that there is some sort of limit on the size of a file we can upload on the IIS 6 servers. It seems to be set somewhere around 100k. I get the following error with photos that are any bigger:

    Request object error 'ASP 0104 : 80004005'

    Operation not Allowed

    /admin/photos/photoupload.asp, line 30

    Please help!
    Thanks,
    Jim
    </blockquote id="quote"></font id="quote">
     
  3. Bruce, you are a genius! That worked for the dll problem.

    What do you think about this other problem. If the file is over about 100k, I can't upload it ... I get this error:

    Request object error 'ASP 0104 : 80004005'

    Operation not Allowed

    /admin/photos/photoupload.asp, line 30

    line 30 is:
    RequestBin = Request.BinaryRead(Request.TotalBytes)

    Is there some sort of setting that is keeping me from uploading a file larger than 100k?

    Thanks for your help,
    Jim
     
  4. Hello,
    I have a script that I've been using for a long time on IIS 5 and now I'm having problems running it on IIS 6. I think I may know what is wrong, but need some help fixing it.

    The script is a photo resizing/uploading script from dmxzone.

    The first problem is that I'm getting this error:
    msxml4.dll error '80070005'
    Access is denied.

    I did a little looking online and found a similar problem with a different dll file ... but same error code.
    http://support.microsoft.com/defaul...port/kb/articles/Q278/0/13.asp&NoWebContent=1

    Secondly, it seems that there is some sort of limit on the size of a file we can upload on the IIS 6 servers. It seems to be set somewhere around 100k. I get the following error with photos that are any bigger:

    Request object error 'ASP 0104 : 80004005'

    Operation not Allowed

    /admin/photos/photoupload.asp, line 30

    Please help!
    Thanks,
    Jim
     
  5. Bruce

    Bruce DiscountASP.NET Staff

    sorry for the late response. been busy testing new stuff

    i think the size limit is 2 MB




    quote:Originally posted by jimjimovich

    Bruce, you are a genius! That worked for the dll problem.

    What do you think about this other problem. If the file is over about 100k, I can't upload it ... I get this error:

    Request object error 'ASP 0104 : 80004005'

    Operation not Allowed

    /admin/photos/photoupload.asp, line 30

    line 30 is:
    RequestBin = Request.BinaryRead(Request.TotalBytes)

    Is there some sort of setting that is keeping me from uploading a file larger than 100k?

    Thanks for your help,
    Jim
    </blockquote id="quote"></font id="quote">
     
  6. I have the same problem ass jimjimovich, i can't upload files over 130kb, it's on a win2k3 webserver (iis6.0) please help me!!

    quote:Originally posted by bruce

    sorry for the late response. been busy testing new stuff

    i think the size limit is 2 MB




    quote:Originally posted by jimjimovich

    Bruce, you are a genius! That worked for the dll problem.

    What do you think about this other problem. If the file is over about 100k, I can't upload it ... I get this error:

    Request object error 'ASP 0104 : 80004005'

    Operation not Allowed

    /admin/photos/photoupload.asp, line 30

    line 30 is:
    RequestBin = Request.BinaryRead(Request.TotalBytes)

    Is there some sort of setting that is keeping me from uploading a file larger than 100k?

    Thanks for your help,
    Jim
    </blockquote id="quote"></font id="quote">
    </blockquote id="quote"></font id="quote">
     
  7. Bruce

    Bruce DiscountASP.NET Staff

    please create a support ticket

    quote:Originally posted by visionFez

    I have the same problem ass jimjimovich, i can't upload files over 130kb, it's on a win2k3 webserver (iis6.0) please help me!!

    quote:Originally posted by bruce

    sorry for the late response. been busy testing new stuff

    i think the size limit is 2 MB




    quote:Originally posted by jimjimovich

    Bruce, you are a genius! That worked for the dll problem.

    What do you think about this other problem. If the file is over about 100k, I can't upload it ... I get this error:

    Request object error 'ASP 0104 : 80004005'

    Operation not Allowed

    /admin/photos/photoupload.asp, line 30

    line 30 is:
    RequestBin = Request.BinaryRead(Request.TotalBytes)

    Is there some sort of setting that is keeping me from uploading a file larger than 100k?

    Thanks for your help,
    Jim
    </blockquote id="quote"></font id="quote">
    </blockquote id="quote"></font id="quote">
    </blockquote id="quote"></font id="quote">
     
  8. Bruce

    Bruce DiscountASP.NET Staff

    I believed this was set weeks ago.

    I'll confirm w/ the SA
    quote:Originally posted by id1boss

    IIS 6.0: upload and download issues
    If any of you are having issues with uploads and downloads with file sizes greater than 200K and are running IIS 6.0, try these solutions first: open up the file "metabase.xml" with notepad...should be located in C:\windows\sytem32\inetserv. Find the variable named "AspMaxRequestEntityAllowed", it's set at 204800 (200K) and change it to the desired size. And there you have it. For downloading Find the variable named "AspBufferingLimit" and change it to something greater than what is there. By default this is set to around 4 megs. By changing this variable you are increasing the max size of ASP response buffer, thus letting you download files greater than 4 megs. By increasing the number of these variables, you can controll the size of uploads and downloads (respectively).

    A NOTE: Before making changes to this file. You must first go to IIS and right click the server and select properties. Check the box that says allow changes to MetaBase configuration while IIS is running. If you don't you will find that the metabase.xml file is locked. For good house cleaning you should go back and uncheck this after making your changes.


    </blockquote id="quote"></font id="quote">
     
  9. IIS 6.0: upload and download issues
    If any of you are having issues with uploads and downloads with file sizes greater than 200K and are running IIS 6.0, try these solutions first: open up the file "metabase.xml" with notepad...should be located in C:\windows\sytem32\inetserv. Find the variable named "AspMaxRequestEntityAllowed", it's set at 204800 (200K) and change it to the desired size. And there you have it. For downloading Find the variable named "AspBufferingLimit" and change it to something greater than what is there. By default this is set to around 4 megs. By changing this variable you are increasing the max size of ASP response buffer, thus letting you download files greater than 4 megs. By increasing the number of these variables, you can controll the size of uploads and downloads (respectively).

    A NOTE: Before making changes to this file. You must first go to IIS and right click the server and select properties. Check the box that says allow changes to MetaBase configuration while IIS is running. If you don't you will find that the metabase.xml file is locked. For good house cleaning you should go back and uncheck this after making your changes.
     
  10. We are running IIS6.0 on Windows 2003 server and were having the same problem. Made the suggested changes to the metabase.xml file and it worked perfectly for the client who was trying to upload an image that was 500k. Previous setting was 200k and I bumped to 900k. The key here is to let clients know that an image of that size will frustrate web visitors if they have to wait for it to load into their browser. They should optimize the size to be as small as possible.
     
  11. Ok, but what should I do if I have IIS 5.0 ?

    quote:Originally posted by id1boss

    IIS 6.0: upload and download issues
    If any of you are having issues with uploads and downloads with file sizes greater than 200K and are running IIS 6.0, try these solutions first: open up the file "metabase.xml" with notepad...should be located in C:\windows\sytem32\inetserv. Find the variable named "AspMaxRequestEntityAllowed", it's set at 204800 (200K) and change it to the desired size. And there you have it. For downloading Find the variable named "AspBufferingLimit" and change it to something greater than what is there. By default this is set to around 4 megs. By changing this variable you are increasing the max size of ASP response buffer, thus letting you download files greater than 4 megs. By increasing the number of these variables, you can controll the size of uploads and downloads (respectively).

    A NOTE: Before making changes to this file. You must first go to IIS and right click the server and select properties. Check the box that says allow changes to MetaBase configuration while IIS is running. If you don't you will find that the metabase.xml file is locked. For good house cleaning you should go back and uncheck this after making your changes.


    </blockquote id="quote"></font id="quote">
     
  12. Bruce

    Bruce DiscountASP.NET Staff

    IIS 5 should not experience the same issue.
    quote:Originally posted by bartosz

    Ok, but what should I do if I have IIS 5.0 ?

    quote:Originally posted by id1boss

    IIS 6.0: upload and download issues
    If any of you are having issues with uploads and downloads with file sizes greater than 200K and are running IIS 6.0, try these solutions first: open up the file "metabase.xml" with notepad...should be located in C:\windows\sytem32\inetserv. Find the variable named "AspMaxRequestEntityAllowed", it's set at 204800 (200K) and change it to the desired size. And there you have it. For downloading Find the variable named "AspBufferingLimit" and change it to something greater than what is there. By default this is set to around 4 megs. By changing this variable you are increasing the max size of ASP response buffer, thus letting you download files greater than 4 megs. By increasing the number of these variables, you can controll the size of uploads and downloads (respectively).

    A NOTE: Before making changes to this file. You must first go to IIS and right click the server and select properties. Check the box that says allow changes to MetaBase configuration while IIS is running. If you don't you will find that the metabase.xml file is locked. For good house cleaning you should go back and uncheck this after making your changes.


    </blockquote id="quote"></font id="quote">
    </blockquote id="quote"></font id="quote">
     
  13. Hi, I can't find the variable AspMaxRequestEntityAllowed in my metabase.xml ?
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page