Hi,
First you need to find out the error details:
http://www.mojoportal.com/basic-troubleshooting.aspx
most likely problems are things like file system permissions don't allow writing/uploading or you may need to use medium trust configuration
http://www.mojoportal.com/mediumtrust.aspx
Hope it helps,
Joe