OpenAccess crashes while saving changes

7 posts, 0 answers
  1. Erik
    Erik avatar
    9 posts
    Member since:
    Jul 2012

    Posted 02 Apr 2013 Link to this post

    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!


  2. Alexander
    Admin
    Alexander avatar
    727 posts

    Posted 03 Apr 2013 Link to this post

    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 >>
  3. DevCraft banner
  4. Erik
    Erik avatar
    9 posts
    Member since:
    Jul 2012

    Posted 03 Apr 2013 Link to this post

    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
  5. o
    o avatar
    3 posts
    Member since:
    Jul 2013

    Posted 26 Mar 2014 Link to this post

    Similer problem. No msg. Just hangs. Vs2013
  6. Viktor Zhivkov
    Admin
    Viktor Zhivkov avatar
    291 posts

    Posted 28 Mar 2014 Link to this post

    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.
     
  7. o
    o avatar
    3 posts
    Member since:
    Jul 2013

    Posted 28 Mar 2014 in reply to Viktor Zhivkov Link to this post

    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.
  8. Viktor Zhivkov
    Admin
    Viktor Zhivkov avatar
    291 posts

    Posted 02 Apr 2014 Link to this post

    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.
     
Back to Top
DevCraft banner