Mono Support Error Cropping Image (Closed)

Viewed 15384 time(s), 8 post(s), 11/8/2012 8:57:48 PM - by DavidGarcia
11/8/2012 8:57:58 PM
659 Reputation 84 Total posts

Hello,

Iv'e been testing the MonoX_4_7_40_3937 solution and its all great but it appears to me that theres an error when trying to change my avatar and the image height is larger than the width.

It doesnt give me a logged error but it doesnt do the cropping properly, here are some pics related to the error.

Regards.

1
11/8/2012 9:41:24 PM
2218 Reputation 300 Total posts

Hello,

Thank you for reporting this issue we have corrected the problem. I think the changes will be available in the next nightly build.

Regards,
Mario

2
11/15/2012 3:29:08 PM
659 Reputation 84 Total posts

Hello,

Indeed it was a resolved problem, but now i often get this error when cropping:

2012-11-15 09:27:03,086 [30] ERROR MonoX [BaseHttpApplication] - Application Error
System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.OverflowException: Value was either too large or too small for an Int32.
   at System.Convert.ToInt32(Double value)
   at MonoSoftware.MonoX.MonoX.controls.CropImage.CropImage.btnCrop_Click(Object sender, EventArgs e) in C:\inetpub\wwwroot\MonoX_2\Portal\MonoX\controls\CropImage\CropImage.ascx.cs:line 450
   at MonoSoftware.MonoX.Controls.StyledButton.OnClick(Object sender, EventArgs e) in C:\inetpub\wwwroot\MonoX_2\Portal\MonoX\controls\StyledButton.ascx.cs:line 225
   at MonoSoftware.MonoX.Controls.StyledButton.btnButton_Click(Object sender, EventArgs e) in C:\inetpub\wwwroot\MonoX_2\Portal\MonoX\controls\StyledButton.ascx.cs:line 239
   at System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e)
   at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument)
   at System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
   at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
   at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.HandleError(Exception e)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest()
   at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
   at System.Web.UI.Page.ProcessRequest(HttpContext context)
   at ASP.monox_pages_socialnetworking_userprofile_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\90d93e1c\4e5528e5\App_Web_n2hvimga.1.cs:line 0
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)


Any ideas?

Regards,

3
11/15/2012 5:36:06 PM
2218 Reputation 300 Total posts

Hello,

I believe we resolved the problem, please let me know if you want to wait until the next nightly build update or do you want me to send you the corrections via InMail?

Regards,
Mario

4
11/15/2012 8:04:09 PM
659 Reputation 84 Total posts

Hello,

I believe i could wait, but it would be nice to see the corrections too, if its not a problem could you send me that?

Regards

5
11/21/2012 4:09:52 PM
15993 Reputation 2214 Total posts

Hi David,

did you resolve your issue ? did you received the source code correction from Mario ?

Regards

6
11/22/2012 3:33:43 AM
659 Reputation 84 Total posts

Hello,


Sorry for the late response, yes it was indeed the solution i was looking for i did the changes and all went well, Again thanks for your great support!!


Regards.

7
11/22/2012 8:02:31 AM
15993 Reputation 2214 Total posts

Glad to hear that everything is ok.

Regards

8
This is a demo site for MonoX. Please visit Mono Software for more info.