home recent topics recent posts search faq  

Huagati Systems Support Forum



register | lost password   open id sign in with Twitter
Messages in this topic - RSS

Home » Huagati DBML/EDMX Tools Support » Error: Updating entity/member names failed

Support forum for Huagati DBML/EDMX Tools
4/27/2011 5:08:42 PM

Zoe
Zoe
Posts: 2
I have just downloaded a trial version of Huagati DBML/EDMX Tools 2010 version 2.23.4085.33092. I am running Visual Studio 2010 and Entity Framework 4.0. I am attempting to use the Standardize ADO.NET Entity Data Model class and member names feature. The output suggests it's renaming a large number of things but ends with the following error. After that I can no longer open my edmx file. Any attempt to open the .edmx file results in a pop message "Invalid pointer".
Updating entity/member names failed due to exception: System.NullReferenceException: Invalid pointer (Exception from HRESULT: 0x80004003 (E_POINTER))
at EnvDTE.ItemOperations.OpenFile(String FileName, String ViewKind)
at HuagatiDBMLTools2010.VSProject.OpenFile(DTE2 applicationObject, ProjectItem projectItem, String fileName) in E:\work\HuagatiTools\HuagatiDBMLExtensions\HuagatiDBMLExtensions2010\VSProject.cs:line 37
at HuagatiDBMLTools2010.EDMXNamingConventions.RenameEntities(DTE2 applicationObject, Document document) in E:\work\HuagatiTools\HuagatiDBMLExtensions\HuagatiDBMLExtensions2010\EDMXNamingConventions.cs:line 426
0 permalink
4/27/2011 10:33:17 PM

msigman
msigman
Posts: 6
I'm getting a similar error: http://forum.huagati.com/topic182-error-when-updating-diagram-from-database.aspx

I reported it two months ago and Huagati just ignores us... don't expect a reply anytime soon.
0 permalink
4/28/2011 2:28:58 AM

Kristofer Andersson
Kristofer Andersson
Moderator
Posts: 312
Hi Zoe & msigman,

msigman: Sorry, I must have missed that.

Both: What type of VS project ( C#/VB, web app / website / winforms exe / ..?).

Would it be possible to share the EDMX file involved with me to attempt to reproduce the issue in-house?

Best regards,
Kristofer
0 permalink
4/28/2011 4:20:25 PM

Zoe
Zoe
Posts: 2
As noted in separate email, my EDMX is contained in a Visual Studio 2010 C# Class Library project. That project is then referenced by a separate Visual Studio 2010 C# Web Application project.
0 permalink
5/17/2011 12:13:49 AM

msigman
msigman
Posts: 6
I would also point out that we are not in EF4 but rather LINQ to SQL.

Project type is C# Web Application.
0 permalink
5/17/2011 12:04:20 PM

Kristofer Andersson
Kristofer Andersson
Moderator
Posts: 312
This was caused by a mismatch in complex type references after mass-renaming.

A bugfix for this issue is included in version 2.24 (released today). Please download the latest version and try again.

Best regards,
Kristofer
0 permalink

Home » Huagati DBML/EDMX Tools Support » Error: Updating entity/member names failed





Powered by Jitbit Forum 7.1.0.0 © 2006-2011 Jitbit Software