This is a migrated thread and some comments may be shown as answers.

OpenAccess crashes while saving changes

6 Answers 67 Views
Data Access Free Edition
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Erik
Top achievements
Rank 2
Erik asked on 02 Apr 2013, 06:53 AM
Hi,

My OpenAccess completely freezes every time I try to update and then save my model.
A dialog pops up saying 'Running this text template can potentially harm your computer'. I can't click OK, everything freezes.
After leaving it 'running' for 15 minutes it slows down the entire PC until it eventually freezes to a dead stop and I have to reset it. Destroying all my work. If I open up the model again, the changes I've made are visible in the designer but the classes are not re-generated.

Visual Studio Premium 2012
OpenAccess 2012.3.1404.1

I've re installed OpenAccess by itself, no changes.
I've re installed Visual Studio AND OpenAccess, no changes.

I'm used to OpenAccess giving me headaches but this is ridiculous!


6 Answers, 1 is accepted

Sort by
0
Alexander
Telerik team
answered on 03 Apr 2013, 01:10 PM
Hello Erik,

We are sorry for the trouble you are experiencing with OpenAccess.
Such problem has never been reported, so we will need your assistance in order to locate the cause for this behavior. First of all, please try disabling the warning for execution of T4 templates from Tools -> Options -> Text Templating - Show Security Message should be False.
If this does not help, please open a support ticket and attach your rlinq file to it, so we can test the code generation on our side. I expect that there could be something specific in your model that is causing the issue.

Kind regards,
Alexander
the Telerik team
Using Encrypted Connection Strings with Telerik OpenAccess ORM. Read our latest blog article >>
0
Erik
Top achievements
Rank 2
answered on 03 Apr 2013, 01:19 PM
Hi Alexander,

It wasn't a model issue. I forgot to mention that my colleagues could update the model without problems.
Anyway, thanks for your suggestion. Setting the show security message to falls solved the problem.

Erik
0
o
Top achievements
Rank 1
answered on 26 Mar 2014, 08:55 AM
Similer problem. No msg. Just hangs. Vs2013
0
Viktor Zhivkov
Telerik team
answered on 28 Mar 2014, 05:28 PM
Hello Ofir,

Can you describe your experience in more details?
What is the version of Telerik Data Access that is causing it?
Are you experiencing this after upgrade from older version or you have new clean installation?
Have you tried the suggestion from Alexander Filipov posted earlier?
What are the Visual Studio extensions that you are using on the same Visual Studio instance?
What source control system are you using?

Answering these questions will enable us to assist you and resolve the issue you are experiencing.

We are looking forward your feedback

Regards,
Viktor Zhivkov
Telerik
 
OpenAccess ORM is now Telerik Data Access. For more information on the new names, please, check out the Telerik Product Map.
 
0
o
Top achievements
Rank 1
answered on 28 Mar 2014, 06:39 PM
Can you describe your experience in more details?
yes i can.
What is the version of Telerik Data Access that is causing it?
the latest, 2014 Q1.
Are you experiencing this after upgrade from older version or you have new clean installation?
clean installation
Have you tried the suggestion from Alexander Filipov posted earlier?
they are not relevant. i am not getting any messages, and I am using vs13
What are the Visual Studio extensions that you are using on the same Visual Studio instance?
long list, but nothing like resharper. mostly microsoft add on´s,  code maid, typescript tool.
What source control system are you using?
tfs.
0
Viktor Zhivkov
Telerik team
answered on 02 Apr 2014, 04:04 PM
Hello,

I was hoping that you will describe the steps that you did to trigger the Visual Studio crash in full details.
Suggestion that Alexander has posted is to resolve a potential issue with application of code generation templates. These templates are executed when you try to save your RLINQ model and if this is the last action you do before your Visual Studio crashes there is strong indication that there is a problem with code generation.
Please disable the warning for execution of T4 templates from Tools -> Options -> Text Templating - Show Security Message by setting the value to False.

Another possible cause is if you have huge number of types mapped in your RLINQ model.
Is it the case? How many types do you have in your model (approximate number is totally acceptable)?

I had asked you about your Visual Studio extensions because they may associate with certain file types or react to new files or change of content and cause the crash.

My last suggestion is to enable logging for the Visual Studio instance and reproduce the crash. After that please send us the log or post it's content for analysis. For more information please check this article how to enable the ActivityLog of Visual Studio. The workflow can be used in Visual Studio 2013 too.

Regards,
Viktor Zhivkov
Telerik
 
OpenAccess ORM is now Telerik Data Access. For more information on the new names, please, check out the Telerik Product Map.
 
Tags
Data Access Free Edition
Asked by
Erik
Top achievements
Rank 2
Answers by
Alexander
Telerik team
Erik
Top achievements
Rank 2
o
Top achievements
Rank 1
Viktor Zhivkov
Telerik team
Share this question
or