Copied to clipboard

Flag this post as spam?

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


  • Alec Griffiths 129 posts 151 karma points
    Mar 26, 2010 @ 13:41
    Alec Griffiths
    0

    malformed request

    umb 4.0.2.1
    I get a malformed request on the content pages that use the properly type.
    I can create folders and upload but cannot see how to remove files/folders.
    Created files/folder do not appear in the media section.

  • Alec Griffiths 129 posts 151 karma points
    Mar 26, 2010 @ 13:51
    Alec Griffiths
    0

    Fixed it (Missing intall instructions concerning whatt should be added to webconfg where...)

  • Alec Griffiths 129 posts 151 karma points
    Mar 26, 2010 @ 13:52
    Alec Griffiths
    0

    FYI:

       <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
          <section name="TomMaton.Umbraco.AmazonS3.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
        </sectionGroup>

     

    &

     

        </umbraco.presentation.Properties.Settings>
                <TomMaton.Umbraco.AmazonS3.Properties.Settings>
                <setting name="TomMaton_Umbraco_AmazonS3_com_amazonaws_s3_doc_AmazonS3" serializeAs="String">
                    <value>https://s3.amazonaws.com/soap</value>;
                </setting>
            </TomMaton.Umbraco.AmazonS3.Properties.Settings>

      </applicationSettings>

  • Kim Emil Vesterbirk 13 posts 34 karma points
    May 03, 2010 @ 12:19
    Kim Emil Vesterbirk
    0

    Hi Alec.

    You solved my problem with what to fill into the textfield. So thanks :)

    I'm stille in doubt thou where to paste the following to the webconfig:

    </umbraco.presentation.Properties.Settings>
                <TomMaton.Umbraco.AmazonS3.Properties.Settings>
                <setting name="TomMaton_Umbraco_AmazonS3_com_amazonaws_s3_doc_AmazonS3" serializeAs="String">
                    <value>https://s3.amazonaws.com/soap</value>;
                </setting>
            </TomMaton.Umbraco.AmazonS3.Properties.Settings>

      </applicationSettings>

     

    Hope you can help

    /Kim Emil

  • Stefan Arngrimsson 36 posts 59 karma points
    May 03, 2010 @ 13:07
    Stefan Arngrimsson
    0

    Hi,

     

    I'm having the same problem, where does the second config section go?

     

    Best regards,

    Stefan

  • Kim Emil Vesterbirk 13 posts 34 karma points
    May 03, 2010 @ 16:33
    Kim Emil Vesterbirk
    0

    So here goes Stefan:

    <sectionGroup name="applicationSettings".....etc etc> defines a sectionGroup.

    It seems like the following was cut out of context:

    </umbraco.presentation.Properties.Settings>
                <TomMaton.Umbraco.AmazonS3.Properties.Settings>
                <setting name="TomMaton_Umbraco_AmazonS3_com_amazonaws_s3_doc_AmazonS3" serializeAs="String">
                    <value>https://s3.amazonaws.com/soap</value>;
                </setting>
            </TomMaton.Umbraco.AmazonS3.Properties.Settings>
      </applicationSettings>

    What needs to be inserted in the webconfig is the following. A selfdefined (by Tom in the <sectionGroup... part) sectionGroup named applicationSettings

    <applicationSettings>
        <TomMaton.Umbraco.AmazonS3.Properties.Settings>
              <setting name="TomMaton_Umbraco_AmazonS3_com_amazonaws_s3_doc_AmazonS3" serializeAs="String">
                   <value>https://s3.amazonaws.com/soap</value>;
              </setting>
         </TomMaton.Umbraco.AmazonS3.Properties.Settings>
    </applicationSettings>

    There are a couple of issues with this package thou even with the previous challenges overcome.

    1. The package is more or less a copy of the tutorail "A Generic Storage Solution Using Amazon S3, ASP.NET, and SOAP", an excerpt from the Amazon.com Mashups book rather than an actual package. (http://developer.amazonwebservices.com/connect/entry.jspa?externalID=774)

    2. It handles only file upload when files are 1mb or less, since the PutObjectInline and not PutObject

    3. Since the name of the input on the datatype is hardcoded it fails when trying to apply the datatype more than once on any given node. An issue only when you have to upload for example both a pdf and a zip tio a given node.

    /Kim Emil

  • Stefan Arngrimsson 36 posts 59 karma points
    May 03, 2010 @ 23:44
    Stefan Arngrimsson
    0

    Thanks a lot, I´ll give this a try

    I'm defiantly going to take a closer look at this project.

    Stefan

  • Kim Emil Vesterbirk 13 posts 34 karma points
    May 05, 2010 @ 14:33
    Kim Emil Vesterbirk
    0

    Good luck :)

  • Tom Maton 387 posts 660 karma points
    May 07, 2010 @ 22:46
    Tom Maton
    0

    Hi Guys,

    Sorry, but for some reason I dont get an email telling me that I have a response to the forums.

    Created files/folder do not appear in the media section. - this is not how it works, the folders/files when created are created directly on your S3 folder.

    Yes this was from the Amazon Mashup then built into the Umbraco datatype. This was to get basics of the package working correctly but unfortunately not been able to update any issues since inital development.

    As for the Malformed Request error I haven't managed to replicate the error and made no changes to my config.

    There are some updates in the future build.

    1. Adding to the RichText Editor so can be added to the WYSIWYG

    2. Adding Azure to the list

    3. Multiple file upload to the Cloud

    Tom

  • Tom Maton 387 posts 660 karma points
    May 07, 2010 @ 22:52
    Tom Maton
    0

    Alec - in response to your "No creation of media nodes, no real integration" - the idea behind the plgin is so you dont have to create a media nodes for each media.

    Saving having to take up nodes for the media and just use nodes for content.

    Tom

     

  • Stephen Kiers 41 posts 62 karma points
    Aug 13, 2010 @ 01:04
    Stephen Kiers
    0

    Posted question on codeplex before I noticed it is here.

    I added

    <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
          <section name="TomMaton.Umbraco.AmazonS3.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
        </sectionGroup>

    in the configSections area

    and

      <applicationSettings>
       
    <TomMaton.Umbraco.AmazonS3.Properties.Settings>
             
    <setting name="TomMaton_Umbraco_AmazonS3_com_amazonaws_s3_doc_AmazonS3" serializeAs="String">
                   
    <value>https://s3.amazonaws.com/soap</value>
             
    </setting>
         
    </TomMaton.Umbraco.AmazonS3.Properties.Settings>
     
    </applicationSettings>

    immediately after the <appSettings> section

    Now I am getting a error that says

    "There is an error in XML document (1, 1087)."

    fyi...

  • Stephen Kiers 41 posts 62 karma points
    Aug 13, 2010 @ 01:28
    Stephen Kiers
    0

    Got another error message.System.InvalidOperationException: There is an error in XML document (1, 1087). ---> System.InvalidOperationException: Instance validation error: 'REDUCED_REDUNDANCY' is not a valid value for StorageClass. at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderAmazonS3.Read18_StorageClass(String s) at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderAmazonS3.Read23_ListEntry(Boolean isNullable, Boolean checkType) at

    System.InvalidOperationException: There is an error in XML document (1, 
    1087). ---> System.InvalidOperationException: Instance validation
    error: 'REDUCED_REDUNDANCY' is not a valid value for StorageClass.
    at
    Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderAmazonS3.Read18_StorageClass(String
    s)
    at
    Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderAmazonS3.Read23_ListEntry(Boolean
    isNullable, Boolean checkType)
    at
    Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderAmazonS3.Read25_ListBucketResult(Boolean
    isNullable, Boolean checkType)
    at
    Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderAmazonS3.Read47_ListBucketResponse()

    at
    Microsoft.Xml.Serialization.GeneratedAssembly.ArrayOfObjectSerializer47.Deserialize(XmlSerializationReader
    reader)
    at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader
    xmlReader, String encodingStyle, XmlDeserializationEvents events)
    --- End of inner exception stack trace ---
    at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader
    xmlReader, String encodingStyle, XmlDeserializationEvents events)
    at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader
    xmlReader, String encodingStyle)
    at
    System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage
    message, WebResponse response, Stream responseStream, Boolean
    asyncCall)
    at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
    methodName, Object[] parameters)
    at
    TomMaton.Umbraco.AmazonS3.com.amazonaws.s3.doc.AmazonS3.ListBucket(String
    Bucket, String Prefix, String Marker, Int32 MaxKeys, Boolean
    MaxKeysSpecified, String Delimiter, String AWSAccessKeyId, DateTime
    Timestamp, Boolean TimestampSpecified, String Signature, String
    Credential)
    at TomMaton.Umbraco.AmazonS3.AmazonS3.showContents(String bucketName)
    at TomMaton.Umbraco.AmazonS3.AmazonS3.generateBucketList()


    So I am assuming it is because I am storing my images with REDUCED_REDUNDANCY

     

    Hope nothing private is in that dump above...

Please Sign in or register to post replies

Write your reply to:

Draft