From: SourceForge.net <no...@so...> - 2008-11-05 14:07:13
|
Bugs item #2221686, was opened at 2008-11-04 17:31 Message generated for change (Comment added) made by nobody You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=821568&aid=2221686&group_id=161868 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Omid (omid_sh) Assigned to: Nobody/Anonymous (nobody) Summary: NPlot Pen Error Initial Comment: Dear All, I tried to customize my NPlot step chart in ASP.Net 2.0 to more thick line but changing the Pen.Width property gives an error message: Changes cannot be made to Pen because permissions are not valid. The VS.Net designer gives no warning or error message during complication! Please advise if this is a bug or there is any work-around for that. Best regards, Omid ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2008-11-05 14:07 Message: Dear Angel, Thanks for following this issue. Below is the full exception + stack trace for the error. Best regards, Omid Server Error in '/***' Application. -------------------------------------------------------------------------------- Changes cannot be made to Pen because permissions are not valid. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.ArgumentException: Changes cannot be made to Pen because permissions are not valid. Source Error: Line 133: npPlot2.Center = False Line 134: npPlot2.Pen = Pens.DarkBlue Line 135: npPlot2.Pen.Width = 5 Line 136: End Select Line 137: End With Source File: c:\inetpub\wwwroot\***\***.ashx Line: 135 Stack Trace: [ArgumentException: Changes cannot be made to Pen because permissions are not valid.] System.Drawing.Pen.set_Width(Single value) +298052 ChartGenerator.ProcessRequest(HttpContext context) in c:\inetpub\wwwroot\***\***.ashx:135 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +358 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64 -------------------------------------------------------------------------------- Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433 ---------------------------------------------------------------------- Comment By: Angel Marin (anmar) Date: 2008-11-04 19:07 Message: Can you post the full exception + stack trace for the error? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=821568&aid=2221686&group_id=161868 |