Quantcast
Channel: Entity Framework
Viewing all articles
Browse latest Browse all 10318

Commented Issue: [RTM] Assertion failure: DSL Diagram is empty. [1513]

$
0
0
VS 2012

Create new Console Application project
Choose Target framework: .NET Framework 4
Add New Item > ADO.NET Entity Data Model
Generate from database > Next > Select Entity Framework 5.0 > Select Tables > Finish
Manage NuGet Packages > Install EF6
Right click the diagram > Update Model from Database > Finish
The Entity Data Model Designer is unable to display the file you requested: Click the <modify> link

---------------------------
Assertion Failed: Abort=Quit, Retry=Debug, Ignore=Continue
---------------------------
DSL Diagram is empty. at Microsoft.Data.Entity.Design.EntityDesigner.MicrosoftDataEntityDesignSerializationHelper.ReloadModel(EntityDesignerViewModel viewModel) at

Microsoft.Data.Entity.Design.EntityDesigner.ViewModel.EntityDesignerViewModel.ClearAndReloadDiagram() at

Microsoft.Data.Entity.Design.EntityDesigner.ViewModel.EntityDesignerViewModel.OnContextReloaded(Object sender, EventArgs e) at System.EventHandler.Invoke(Object sender,

EventArgs e) at Microsoft.Data.Entity.Design.Base.Context.EditingContext.OnReloaded(EventArgs args) at

Microsoft.Data.Entity.Design.VisualStudio.Model.VSArtifact.FireArtifactReloadedEvent() at Microsoft.Data.Entity.Design.Model.EntityDesignArtifact.ReloadArtifact() at

Microsoft.Data.Entity.Design.VisualStudio.Model.VSArtifact.ReloadArtifact() at

Microsoft.Data.Entity.Design.Model.Commands.RetargetXmlNamespaceCommand.RetargetArtifactXmlNamespaces(CommandProcessorContext cpc, EntityDesignArtifact artifact, Version

targetSchemaVersion) at Microsoft.Data.Entity.Design.EntityDesigner.View.EntityDesignerDiagram.ReversionModel(IEdmPackage package, EditingContext editingContext,

EntityDesignArtifact entityDesignArtifact, Version targetSchemaVersion) at

Microsoft.Data.Entity.Design.EntityDesigner.View.EntityDesignerDiagram.diagramWatermark_UpgradeLinkClicked(Object sender, LinkLabelLinkClickedEventArgs e) at

Microsoft.Data.Entity.Design.EntityDesigner.View.EntityDesignerDiagram.diagramWatermark_LinkClicked(Object sender, LinkLabelLinkClickedEventArgs e) at

System.Windows.Forms.LinkLabel.OnLinkClicked(LinkLabelLinkClickedEventArgs e) at System.Windows.Forms.LinkLabel.OnMouseUp(MouseEventArgs e) at

System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at

System.Windows.Forms.Label.WndProc(Message& m) at System.Windows.Forms.LinkLabel.WndProc(Message& msg) at

Microsoft.VisualStudio.Modeling.Diagrams.DiagramWatermark.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at

System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr

lparam)
---------------------------
Abort Retry Ignore
---------------------------

Closing and reopening the edmx seems to fix the problem.

Related work item: https://entityframework.codeplex.com/workitem/1562
Comments: Future work is tracked as [Codeplex 1562](https://entityframework.codeplex.com/workitem/1562)

Viewing all articles
Browse latest Browse all 10318

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>