Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Arnim Anhut 137 posts 148 karma points
    Jul 06, 2009 @ 12:46
    Arnim Anhut
    0

    multipleFileUpload on 4.0.2.1?

    Hello,

    I'm still trying to run multipleFileUpload (Version 1.1) on Umbraco 4.0.2.1.

    Install works fine, but when I try to upload files it says: "There has been an I/O Error: Error #2038" and then "There has been an HTTP Error: status code 404".

    Is anyone able to run MFU on the current umbraco? Or is there a similar powerful solution out there that's working?

    Greets, Arnim.

  • Robert Oswald 72 posts 24 karma points
    Jul 06, 2009 @ 13:02
    Robert Oswald
    0

    i just un- and reinstalled it because it stopped working for me... but now it's working again!

  • Arnim Anhut 137 posts 148 karma points
    Jul 06, 2009 @ 13:03
    Arnim Anhut
    0

    Now its working. I used Fiddler to check what's causing the 404. Access on "<span lang="DE">/MultipleFileUploadHandler.axd" failed. Checked web.config, changed on thing, tried again. It was working. Changed it back... still working.</span>

  • dandrayne 1138 posts 2262 karma points
    Jul 06, 2009 @ 13:56
    dandrayne
    0

    If you apply the fix and still get errors, you may need to add or increase your maxrequestlength setting in the web.config

  • Arnim Anhut 137 posts 148 karma points
    Jul 06, 2009 @ 13:58
    Arnim Anhut
    0

    What fix?

  • dandrayne 1138 posts 2262 karma points
    Jul 06, 2009 @ 14:50
  • Søren Linaa 255 posts 208 karma points
    Sep 09, 2009 @ 10:52
    Søren Linaa
    0

    I have just upgraded a Umbraco from 3.0.6 to 4.0.2.1 and now I get the same There has been an I/O Error: Error #2038 but followed by a There has been an HTTP Error: status code 500

    I have installed the latest fix and it works on a clean 4.0.2.1 installation but not in my upgraded version

    The question is has something went wrong in the upgrade process. I can't figure it out.


    If I check the umbracolog I get this message:

    Multiple file upload: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.     at System.ThrowHelper.ThrowKeyNotFoundException()     at System.Collections.Generic.Dictionary`2.get_Item(TKey key)     at umbraco.cms.businesslogic.datatype.controls.Factory.GetNewObject(Guid DataEditorId)     at umbraco.cms.businesslogic.datatype.DataTypeDefinition.get_DataType()     at umbraco.cms.businesslogic.datatype.DataTypeDefinition.GetByDataTypeId(Guid DataTypeId)     at noerd.Umb.DataTypes.multipleFileUpload.DefaultImageMediaFactory.GenerateAdditionalThumbnails(Image image, Int32 fileWidth, Int32 fileHeight, String destFilePath)     at noerd.Umb.DataTypes.multipleFileUpload.DefaultImageMediaFactory.CreateMedia(IconI parent, HttpPostedFile uploadFile)     at noerd.Umb.DataTypes.multipleFileUpload.MultipleFileUpload.HandleUpload(HttpContext context, Int32 nodeId)     at noerd.Umb.DataTypes.multipleFileUpload.MultipleFileUploadHandler.ProcessRequest(HttpContext context)

    and this

    At /MultipleFileUploadHandler.axd?nodeId=5342&contextId=a28dd93a-a976-40dd-b180-a373a7926895 (Referred by: ):

     

     

     

  • Hundebol 167 posts 314 karma points
    Sep 09, 2009 @ 11:03
    Hundebol
    0

    Rememeber to increase the maxrequestlength in web.config as Dan mentions:

    <httpRuntime maxRequestLength="10240" /> under System.web in web config.

     

    Also try checking the following:

    Settings > Media types > Image > Gen Properties > Type

    This property is wrongly aliased as umbracoExtensio
    (THIS SHOULD BE: umbracoExtension - correct this and viola)

    Also same for Settings > Media types > File > Gen Properties > Type

    (found at the old forum - and used with great succes!)

    best regards,
    Brian

  • dandrayne 1138 posts 2262 karma points
    Sep 09, 2009 @ 11:29
    dandrayne
    0

    Also, increasing executionTimeout has helped me in the past.

    <httpRuntime maxRequestLength="10240" executionTimeout="3600" />

    I believe its in seconds, so perhaps an hour is a bit long...

    Dan

     

  • Søren Linaa 255 posts 208 karma points
    Sep 09, 2009 @ 11:33
    Søren Linaa
    0

    I have allready tried all these things. Doesn't work.

    I would like to now what causes the error The given key was not present in the dictionary ... because I think it has something to do whith this.

  • Stefan Kip 1614 posts 4131 karma points c-trib
    Sep 15, 2009 @ 20:12
    Stefan Kip
    0

    I'm getting the 404 error too.

    But what the........?! The file "MultipleFileUploadHandler.axd" does not exist in my umbraco folder...?!

    Shouldn't that file exist?

  • Stefan Kip 1614 posts 4131 karma points c-trib
    Sep 15, 2009 @ 20:24
    Stefan Kip
    0

    Aight, using Classic mode instead of pipeline in the App Pool solved this problem...

  • Stefan Kip 1614 posts 4131 karma points c-trib
    Sep 16, 2009 @ 10:45
    Stefan Kip
    0

    But when using Classic mode, you can't use the UseDirectoryAsUrl mode...

  • Stefan Kip 1614 posts 4131 karma points c-trib
    Sep 16, 2009 @ 11:49
    Stefan Kip
    0

    I talked to Mikkel Keller and he showed me I was placing the handler in the wrong section; <system.web><httpHandlers> instead of <system.webServer><handlers>

     

  • James Telfer 65 posts 165 karma points
    Sep 17, 2009 @ 09:59
    James Telfer
    0

    @Søren: I've had a quick look around, and from what I can gather the dictionary error is occurring because the Upload datatype is not being found.

    The MultipleUpload control is trying to look up the prevalues for the default Umbraco Upload control at the point the exception occurs. It passes the GUID of the Upload control (umbraco.editorControls.uploadfield.DataTypeUploadField, "5032a6e6-69e3-491d-bb28-cd31cd11086c"). This is registered automatically by Umbraco as it searches across the code base. The exception is thrown when this GUID is not found in the internal Umbraco datatype registry.

    This is where it gets murky for me, as I haven't upgraded from v3 before.

    • does the standard Upload control in the Media section work for you? Is it present?
    • is the Upload datatype present in the developer section?
    • are you certain that all the DLLs for the site have been upgraded correctly? (Though I can't see how anything would work if this was the case)
    Perhaps someone who knows more about the upgrade process would know why the Upload control is somehow different in the upgraded version.
    JT

  • Søren Linaa 255 posts 208 karma points
    Sep 17, 2009 @ 10:44
    Søren Linaa
    0

    Well as someone else descriped in the old forum - It suddenly works.

    I didn't change a thing - strange but true.

     

    /cheers.

  • Daniel Ferreira 4 posts 22 karma points
    Oct 08, 2009 @ 20:44
    Daniel Ferreira
    0

    @kipusoep

    I got it working (MultipleFileUpload and umbracoUseDirectoryUrls=true together) in Windows Vista and IIS7 in Classic Mode, setting up the "Wildcard script mapping and IIS 7 integrated pipeline" as described here: http://learn.iis.net/page.aspx/508/wildcard-script-mapping-and-iis-7-integrated-pipeline/

    With the MultipleFileUpload I just had to install the package "noerd.Umb.MultipleFileUpload_1.1.umb" and then apply the fix "noerd.Umb.DataTypes.multipleFileUpload_source_1.1_quickfix.zip".

    Now I have all things working!

    Next step, I'll test in Windows Server 2008 with IIS7 and Windows Server 2003 with IIS6.

     

    cheers!

Please Sign in or register to post replies

Write your reply to:

Draft