MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

Error Cropping Image (Closed) (Mono Support )

Viewed 13800 time(s), 8 post(s) 11/8/2012 8:57:48 PMby DavidGarcia
DavidGarcia

DavidGarcia

11/8/2012 8:57:58 PM
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.
This content has not been rated yet. 
659 Reputation 84 Total posts
mzilic

mzilic

11/8/2012 9:41:24 PM
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
This content has not been rated yet. 
2218 Reputation 300 Total posts
DavidGarcia

DavidGarcia

11/15/2012 3:29:08 PM
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,
This content has not been rated yet. 
659 Reputation 84 Total posts
mzilic

mzilic

11/15/2012 5:36:06 PM
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
This content has not been rated yet. 
2218 Reputation 300 Total posts
DavidGarcia

DavidGarcia

11/15/2012 8:04:09 PM
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
This content has not been rated yet. 
659 Reputation 84 Total posts
khorvat

khorvat

11/21/2012 4:09:52 PM
Hi David,

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

Regards
This content has not been rated yet. 
15993 Reputation 2214 Total posts
DavidGarcia

DavidGarcia

11/22/2012 3:33:43 AM
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.
This content has not been rated yet. 
659 Reputation 84 Total posts
khorvat

khorvat

11/22/2012 8:02:31 AM
Glad to hear that everything is ok.

Regards
This content has not been rated yet. 
15993 Reputation 2214 Total posts