thoehler.com Umbraco Utilities MediaUpload Options
danimal
Posted: Monday, March 03, 2008 9:22:51 AM
Rank: Enthusiast

Joined: 2/20/2008
Posts: 26
Hi

I am trying to used the MediaUpload utility but when i click "Get Medias" i get this error returned by the web service:

System.InvalidCastException: Unable to cast object of type 'System.Int32' to type 'System.String'.
at TH.Utilities.Webservices.thUtilities.GenMedia(Media um)
at TH.Utilities.Webservices.thUtilities.GenMedia(Media um)
at TH.Utilities.Webservices.thUtilities.GenMedia(Media um)
at TH.Utilities.Webservices.thUtilities.GetMedias(String UserName, String PWD)

Any ideas? I'm using the latest version 1.4.1

Thanks

Dan
jdecaudin
Posted: Wednesday, August 27, 2008 5:19:35 PM

Rank: Newbie

Joined: 3/19/2008
Posts: 21
Location: London
Hi Dan,

I just had the same issue and I fixed it by re-saving all the folder and files on the Media section within Umbraco. You could also checked if you don't have a corrupted file somewhere or if one of the media document type does not have an extra property not really needed (it was the case for me). So I can;t really say why it breaks but doing all these checks could solve your problem if you still have it as your post is quite old!

Ju

Solutions come from this space between the computer and the chair... stay optimistic :) - www.juliens.org
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.