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 14868 time(s), 8 post(s) 08.11.2012 20:57:48by DavidGarcia
DavidGarcia

DavidGarcia

08.11.2012 20:57:58
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.
Dieser Inhalt wurde noch nicht bewertet. 
659 Reputation 84 Total posts
mzilic

mzilic

08.11.2012 21:41:24
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
Dieser Inhalt wurde noch nicht bewertet. 
2218 Reputation 300 Total posts
DavidGarcia

DavidGarcia

15.11.2012 15:29:08
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,
Dieser Inhalt wurde noch nicht bewertet. 
659 Reputation 84 Total posts
mzilic

mzilic

15.11.2012 17:36:06
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
Dieser Inhalt wurde noch nicht bewertet. 
2218 Reputation 300 Total posts
DavidGarcia

DavidGarcia

15.11.2012 20:04:09
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
Dieser Inhalt wurde noch nicht bewertet. 
659 Reputation 84 Total posts
khorvat

khorvat

21.11.2012 16:09:52
Hi David,

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

Regards
Dieser Inhalt wurde noch nicht bewertet. 
15993 Reputation 2214 Total posts
DavidGarcia

DavidGarcia

22.11.2012 03:33:43
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.
Dieser Inhalt wurde noch nicht bewertet. 
659 Reputation 84 Total posts
khorvat

khorvat

22.11.2012 08:02:31
Glad to hear that everything is ok.

Regards
Dieser Inhalt wurde noch nicht bewertet. 
15993 Reputation 2214 Total posts