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.
What needs to be inserted in the webconfig is the following. A selfdefined (by Tom in the <sectionGroup... part) sectionGroup named applicationSettings
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.
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
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.
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
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.
Fixed it (Missing intall instructions concerning whatt should be added to webconfg where...)
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>
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
Hi,
I'm having the same problem, where does the second config section go?
Best regards,
Stefan
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
Thanks a lot, I´ll give this a try
I'm defiantly going to take a closer look at this project.
Stefan
Good luck :)
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
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
Posted question on codeplex before I noticed it is here.
I added
in the configSections area
and
immediately after the <appSettings> section
Now I am getting a error that says
"There is an error in XML document (1, 1087)."
fyi...
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
So I am assuming it is because I am storing my images with REDUCED_REDUNDANCY
Hope nothing private is in that dump above...
is working on a reply...