Problem with model editing
Problem with model editing
I have been using linq connect 3.0.16 for more than a half year now and it has been working fine. Today i started getting errors when editing anything in the model. When i do some changes and save, there is an error :
Error 72 Custom tool error: Unable to cast object of type 'Microsoft.Cct.PropertyPages.CommonProperties' to type 'VSLangProj.VSProject'. ConsoleTester\DataContext1.lqml 1 1
If i right click the DataContext1.lqml file and select "run custom tool", the same error appears. Now i am unable to edit anything in existing modesl or create any new models.
It seems that there is some problem with DevartLinqToSqlGenerator.
Regards
Piotr Wójcicki
Error 72 Custom tool error: Unable to cast object of type 'Microsoft.Cct.PropertyPages.CommonProperties' to type 'VSLangProj.VSProject'. ConsoleTester\DataContext1.lqml 1 1
If i right click the DataContext1.lqml file and select "run custom tool", the same error appears. Now i am unable to edit anything in existing modesl or create any new models.
It seems that there is some problem with DevartLinqToSqlGenerator.
Regards
Piotr Wójcicki
-
- Devart Team
- Posts: 1710
- Joined: Thu 03 Dec 2009 10:48
Re: Problem with model editing
Please specify the following:
- whether you are using a stand-alone or Visual-Studio-integrated version of Entity Developer;
- in the latter case, please specify the edition and exact version of Visual Studio you are using;
- whether you installed any third-party products prior to the problem (if yes, please describe them).
- open your model;
- open a new Visual Studio instance;
- attach it to your process (the existing Visual Studio instance or stand-alone Entity Developer; the Tools -> 'Attach to Process' main menu item);
- ensure that you are catching all CLR exceptions (the Debug -> Exceptions main menu item, the 'Thrown' check box in the 'Common Language Runtime Exceptions' line);
- modify and save the model.
Re: Problem with model editing
I was able to catch the exception. I am sending a screenshot through contact form on this page: http://www.devart.com/company/contact.html
I am using Visual Studio 2010 Ultimate 10.0.31118.1 Sp1Rel
Framework 4.0.30319 SP1Rel
I do not recall installing anything before errors started appearing.
I am using integrated version of Entity Developer.
Regards
Piotr
I am using Visual Studio 2010 Ultimate 10.0.31118.1 Sp1Rel
Framework 4.0.30319 SP1Rel
I do not recall installing anything before errors started appearing.
I am using integrated version of Entity Developer.
Regards
Piotr
-
- Devart Team
- Posts: 1710
- Joined: Thu 03 Dec 2009 10:48
Re: Problem with model editing
Thank you for the screenshot. We will analyze the situation and inform you about the results as soon as possible.
-
- Devart Team
- Posts: 1710
- Joined: Thu 03 Dec 2009 10:48
Re: Problem with model editing
Could you please specify the following:
- the type of the project with which the issue occurs (a console library, a WinForms/WPF application, an ASP.NET web site etc.);
- the language used in this application (VB or C#);
- whether any other documents are opened in Visual Studio when the problem occurs.
Re: Problem with model editing
1. Type of the project seems irrelevant. It happens in class library and console application.
2. C#
3. I tried to check this and if there is no other documents opened the problem does not occur. Maybe this is it and some other document was problematic. We can put this issue aside and if i have any more clues i will post them.
Thanks
Piotr Wójcicki
2. C#
3. I tried to check this and if there is no other documents opened the problem does not occur. Maybe this is it and some other document was problematic. We can put this issue aside and if i have any more clues i will post them.
Thanks
Piotr Wójcicki
Re: Problem with model editing
Was there ever any resolution with this error? I am receiving the same problem, however I am using DevArtEfGenerator, EF6, VS2012, C#, Project Type is a regular Class Library. I have submitted a support request in hopes I can get some better direction but was wondering what solved your issue or how you worked around it? Thanks.
Re: Problem with model editing
We have asked for an additional information by email.