Photo upload errors!

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
10/10/2005 3:54:41 PM
Gravatar
Total Posts 15

Re: Photo upload errors!

Ok what am I missing, I have uploaded photo's in the pasted. But I cannot seem to now.?

OS: ???? FC3
MONO: 1.1.8.3
mojoPortal: 20050912


Description: Error processing request.

Error Message: HTTP 500.
Stack Trace:

System.NullReferenceException: Object reference not set to an instance of an object
in <0x00000>
in (wrapper managed-to-native) System.Runtime.InteropServices.Marshal:PtrToStringUni (intptr)
in <0x0007e> System.Drawing.GdipImageCodecInfo:MarshalTo (GdipImageCodecInfo gdipcodec, System.Drawing.Imaging.ImageCodecInfo codec)
in <0x00180> System.Drawing.Imaging.ImageCodecInfo:GetImageEncoders ()
in <0x00021> System.Drawing.Image:findEncoderForFormat (System.Drawing.Imaging.ImageFormat format)
in (wrapper remoting-invoke-with-check) System.Drawing.Image:findEncoderForFormat (System.Drawing.Imaging.ImageFormat)
in <0x0001d> System.Drawing.Image:Save (System.String filename, System.Drawing.Imaging.ImageFormat format)
in (wrapper remoting-invoke-with-check) System.Drawing.Image:Save (string,System.Drawing.Imaging.ImageFormat)
in <0x00383> mojoPortal.Business.GalleryImage:ProcessImage (System.String OriginalFileName)
in <0x00517> mojoPortal.Web.GalleryImageEdit:btnUpdate_Click (System.Object sender, System.EventArgs e)
in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs)
in <0x0006e> System.Web.UI.WebControls.Button:OnClick (System.EventArgs e)
in <0x00040> System.Web.UI.WebControls.Button:System.Web.UI.IPostBackEventHandler.RaisePostBackEvent (System.String eventArgument)
in <0x00016> System.Web.UI.Page:RaisePostBackEvent (IPostBackEventHandler sourceControl, System.String eventArgument)
in <0x00033> System.Web.UI.Page:RaisePostBackEvents ()
in <0x00238> System.Web.UI.Page:InternalProcessRequest ()
in <0x000a9> System.Web.UI.Page:ProcessRequest (System.Web.HttpContext context)
in <0x00233> System.Web.HttpApplication+ExecuteHandlerState:Execute ()
in <0x0007c> System.Web.HttpApplication+StateMachine:ExecuteState (IStateHandler state, System.Boolean readysync)
10/10/2005 8:36:19 PM
Gravatar
Total Posts 148

Re: Photo upload errors!

Can you make the file you are trying to upload available to us to test with?  Also, does commenting out the UploadHttpModule from the Web.config fix the problem?

--Dean
10/11/2005 4:27:28 AM
Gravatar
Total Posts 15

Re: Photo upload errors!

Dean,

Commenting out the upload module from the Web.config did fix the issue. I can still send you the file if you think it would help. The files are just normal JPG files from my Old Digital Camera. 

Thanks for the help.

Phil

10/11/2005 6:52:02 AM
Gravatar
Total Posts 148

Re: Photo upload errors!

Please download NeatUpload-1.0.8, unzip it, drop the Brettle.Web.NeatUpload.dll it contains into mojoPortal/bin, add the UploadHttpModule back to the Web.config, restart your server, and retest.  If the problem still occurs, please send the file that is causing problems to me (dean at brettle dot com).

Thanks,

--Dean

PS. Joe, I'll merge the latest NeatUpload into mojoPortal sometime next week.
10/11/2005 5:40:44 PM
Gravatar
Total Posts 15

Re: Photo upload errors!

That did it I download NeatUpload-1.0.8 and the error is gone.    

Thanks for the Help!
You must sign in to post in the forums. This thread is closed to new posts.