Page Index Toggle Pages: [1] 2  Send TopicPrint
Hot Topic (More than 10 Replies) windows 2003 x64 bits (Read 13544 times)
wealves
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 11
Joined: Jun 10th, 2009
windows 2003 x64 bits
Jun 10th, 2009 at 3:43pm
Print Post  
Hi,
I trying to use Diagramming for ASP.NET version 3.0.1 and windows 2003 x64 bits, but i got a error.

If there is another Jar Version for 64 bits ?


Attempted to read or write protected memory. This is often an indication that other memory is corrupt.


My line code is



<%@ Register Assembly="MindFusion.Diagramming.WebForms" Namespace="MindFusion.Diagramming.WebForms" TagPrefix="ndiag" %>



var diag = <%= flowChart.AppletElement %>;


<ndiag: DiagramView ID="flowChart" runat="server" Height="100%" Width="100%"
Diagram-AllowSelfLoops="false"
DoubleClickedScript="layoutTree"
Diagram-ShapeHandlesStyle="MoveOnly"
Diagram-ShadowsStyle="None"
Behavior="LinkShapes"
Diagram-AllowUnconnectedLinks="false"
Diagram-DynamicLinks="True"
AllowInplaceEdit="false"
NodeCreatedScript="onNodeCreatedScript"
NodeSelectedScript="onNodeSelectedScript"
NodeDeselectedScript="onNodeDeselectedScript"
LinkSelectedScript="onLinkSelectedScript"
Diagram-NodesExpandable="false"
Diagram-ShapeCustomDraw="None"
Diagram-AllowLinksRepeat="true"
LinkDeselectedScript="onLinkDeselectedScript"
Diagram-ShapeBrush="l:360;#FFFFFFFF;#FFB0C4DE;0;0;0;0;"
LinkDeletedScript="onLinkDeletedScript"
NodeDeletingScript="onNodeDeletingScript"
NodeDeletedScript="onNodeDeletedScript"
JarLocation = "Controls/jdiagram.jar"
/>
Anyone help me ?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: windows 2003 x64 bits
Reply #1 - Jun 10th, 2009 at 4:04pm
Print Post  
Hi, Is the error shown by ASP on the server, or by the browser on the client side? Which ASP.NET and JRE versions are you using?
  
Back to top
 
IP Logged
 
wealves
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 11
Joined: Jun 10th, 2009
Re: windows 2003 x64 bits
Reply #2 - Jun 10th, 2009 at 5:05pm
Print Post  
This error displayed on Client side. and  My Framework is 2.0 / C# and JRE 6.

This error displayed only on operation system 64 bits.



  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: windows 2003 x64 bits
Reply #3 - Jun 10th, 2009 at 6:02pm
Print Post  
Could you check what is the exact JRE version number? Does that happen with any browser?
  
Back to top
 
IP Logged
 
wealves
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 11
Joined: Jun 10th, 2009
Re: windows 2003 x64 bits
Reply #4 - Jun 10th, 2009 at 7:00pm
Print Post  
JRE version 6 update 11 build 1.6.0_11.
Happen in any browser.

The line error is "var diag = <%= flowChart.AppletElement %>;", but only when application is hosted in windows 64.

  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: windows 2003 x64 bits
Reply #5 - Jun 10th, 2009 at 7:21pm
Print Post  
That looks more like error on the server... Are you getting a web page showing a server exception stack trace, or the browser crashes? Is it something similar to the message below?
http://mindfusion.eu/Forum/YaBB.pl?board=netdg_brep;action=display;num=123818175...
  
Back to top
 
IP Logged
 
wealves
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 11
Joined: Jun 10th, 2009
Re: windows 2003 x64 bits
Reply #6 - Jun 10th, 2009 at 7:25pm
Print Post  
Stack Trace:


Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
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.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

Source Error:


Line 213://alert('deleteLastCreatedItem_I');
Line 214: //-- OK!!!
Line 215: //var diag = <%= flowChart.AppletElement %>;
Line 216: var fb = flowChart.getDiagramView().getDiagram().getItems();
Line 217: var it = fb.get(fb.size()-1);


Source File: c:\Inetpub\wwwroot\Orbium\Designer\Process_Stage_Diagram.aspx Line: 215

Stack Trace:


[AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.]
MindFusion.Diagramming.ShapeNode.SaveToXml(XmlElement xmlElement, XmlPersistContext context) +0
MindFusion.Diagramming.XmlPersistContext.xcfee0917c3bf82cc(DiagramItem xccb63ca5f63dc470, XmlElement x1ea18269223b2a9c, String x121383aa64985888) +440
MindFusion.Diagramming.Diagram.SaveToXml(XmlDocument document, Boolean includeUnalteredProperties) +943
MindFusion.Diagramming.WebForms.DiagramView.SaveToXml(XmlDocument document, Boolean includeUnalteredProperties) +36
MindFusion.Diagramming.WebForms.DiagramView.xa45b9f6fb2389318(SaveToStringFormat
x5786461d089b10a0, Boolean x359efee92cf48af2, Boolean x4acbb041c2d5f0a1) +462
MindFusion.Diagramming.WebForms.DiagramView.xd798cfeedfe4ae43() +63
MindFusion.Diagramming.WebForms.DiagramView.RenderContents(HtmlTextWriter output) +4965
System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) +42
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246
System.Web.UI.WebControls.WebControl.RenderContents(HtmlTextWriter writer) +13
EO.Web.SplitterPane.a(HtmlTextWriter A_0) +192
EO.Web.Internal.ic.b(HtmlTextWriter A_0, Boolean A_1) +1557
EO.Web.Splitter.a(HtmlTextWriter A_0) +494
EO.Web.WebControlBase.n(HtmlTextWriter A_0) +143
EO.Web.WebControlBase.b(HtmlTextWriter A_0) +241
ASP.process_stage_diagram_aspx.__RenderContent1(HtmlTextWriter __w, Control parameterContainer) in c:\Inetpub\wwwroot\Orbium\Designer\Process_Stage_Diagram.aspx:215
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +113
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246
System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +81
System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +351
System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +80
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246
System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +42
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246
System.Web.UI.Page.Render(HtmlTextWriter writer) +38
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4702




--------------------------------------------------------------------------------

Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: windows 2003 x64 bits
Reply #7 - Jun 10th, 2009 at 7:40pm
Print Post  
Does it happen if you move the DiagramView out of the SplitterPane?
  
Back to top
 
IP Logged
 
wealves
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 11
Joined: Jun 10th, 2009
Re: windows 2003 x64 bits
Reply #8 - Jun 10th, 2009 at 7:58pm
Print Post  
New Stack Trace:

Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
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.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

Source Error:


Line 213://alert('deleteLastCreatedItem_I');
Line 214:        //-- OK!!!
Line 215:        var diag = <%= flowChart.AppletElement %>;
Line 216:        var fb = flowChart.getDiagramView().getDiagram().getItems();
Line 217:        var it = fb.get(fb.size()-1);


Source File: c:\Inetpub\wwwroot\Orbium\Designer\Process_Stage_Diagram.aspx    Line: 215

Stack Trace:


[AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.]
   MindFusion.Diagramming.ShapeNode.SaveToXml(XmlElement xmlElement, XmlPersistContext context) +0
   MindFusion.Diagramming.XmlPersistContext.xcfee0917c3bf82cc(DiagramItem xccb63ca5f63dc470, XmlElement x1ea18269223b2a9c, String x121383aa64985888) +400
   MindFusion.Diagramming.Diagram.SaveToXml(XmlDocument document, Boolean includeUnalteredProperties) +943
   MindFusion.Diagramming.WebForms.DiagramView.SaveToXml(XmlDocument document, Boolean includeUnalteredProperties) +36
   MindFusion.Diagramming.WebForms.DiagramView.xa45b9f6fb2389318(SaveToStringFormat
x5786461d089b10a0, Boolean x359efee92cf48af2, Boolean x4acbb041c2d5f0a1) +462
   MindFusion.Diagramming.WebForms.DiagramView.xd798cfeedfe4ae43() +63
   MindFusion.Diagramming.WebForms.DiagramView.RenderContents(HtmlTextWriter output) +4965
   System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) +42
   ASP.process_stage_diagram_aspx.__RenderContent1(HtmlTextWriter __w, Control parameterContainer) in c:\Inetpub\wwwroot\Orbium\Designer\Process_Stage_Diagram.aspx:215
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +113
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246
   System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +81
   System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +351
   System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +80
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246
   System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +42
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246
   System.Web.UI.Page.Render(HtmlTextWriter writer) +38
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4702




--------------------------------------------------------------------------------

Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: windows 2003 x64 bits
Reply #9 - Jun 10th, 2009 at 8:04pm
Print Post  
Does diagramView.Diagram.SaveToXml() work if called from the Page_Load handler? If it does, could you email us the xml file?
  
Back to top
 
IP Logged
 
wealves
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 11
Joined: Jun 10th, 2009
Re: windows 2003 x64 bits
Reply #10 - Jun 10th, 2009 at 8:27pm
Print Post  
but the error occurs before it creates the XML.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: windows 2003 x64 bits
Reply #11 - Jun 10th, 2009 at 8:32pm
Print Post  
Do you have .NET 2 SP2 installed on the server?
  
Back to top
 
IP Logged
 
wealves
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 11
Joined: Jun 10th, 2009
Re: windows 2003 x64 bits
Reply #12 - Jun 10th, 2009 at 9:17pm
Print Post  
i didn't had, but i installed and error continue.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: windows 2003 x64 bits
Reply #13 - Jun 11th, 2009 at 9:55am
Print Post  
Could you try that with these assemblies?
https://mindfusion.eu/_beta/netdiag_test64.zip
  
Back to top
 
IP Logged
 
wealves
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 11
Joined: Jun 10th, 2009
Re: windows 2003 x64 bits
Reply #14 - Jun 22nd, 2009 at 1:29pm
Print Post  
Hi.
When i use command arrange and some objects have no links show me the error "The given key was not present in the dictionary." in the command ortogonal.arrange(ol.Arrange(flowChart.Diagram);)
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: [1] 2 
Send TopicPrint