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

Telerik Bug in Sql Server 2014 SP1

20 Answers 706 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.
Luis
Top achievements
Rank 1
Luis asked on 05 Apr 2016, 02:02 PM

Hi, I have upgraded my SQL SERVER 2014 to Microsoft SQL Server 2014 (SP1-CU5) (KB3130926) - 12.0.4439.1 (X64) and I am getting the following error where I want to insert a record in the database:

Failed to retrieve the automatically incremented column value from the server.

Possible reason: A trigger does not perform 'select ID from inserted' as last operation.

 

The Telerik version that I am using is 2015.1.225.1

Thank´s a lot and regards.-

20 Answers, 1 is accepted

Sort by
0
Doroteya
Telerik team
answered on 06 Apr 2016, 12:05 PM
Hi Luis,

A hot fix for Data Access Q1 2015 that tackles with this issue is in the attachment of this forum post.

I hope this helps.

Regards,
Doroteya
Telerik
 
Check out the latest announcement about Telerik Data Access vNext as a powerful framework able to solve core development problems.
0
Dave
Top achievements
Rank 1
answered on 23 Jul 2017, 12:34 PM

Telerik - as a long term customer across multiple companies, not just the account I am posting from currently - I have always recommended your products but around the Data Access - you have left many of us with in a very precarious situation.

I have implemented the Data Access, previously Open Access product in many legacy solutions and have implemented your patch but Microsoft continues to release updates which break the patch you published.  The latest patch GDR 5203 For SQL Server 2014 (KB3194714) released on 7/17/17 breaks the database libraries once more.

If you discontinued support for it - why have you not open sourced the patch to the community?  Why have you not released the entire project out on GitHub or equivalent?  Telling the users they must migrate systems they have not touched in some instances 2-3 years is not a migration path.  We chose you as a vendor because of your track record.

This places us in a very costly position.

 

 

0
Viktor Zhivkov
Telerik team
answered on 31 Jul 2017, 01:12 PM
Hello Dave,

Are you experiencing issues with getting back auto-increment primary key values after the update on SQL Server?
If you do, please let me know what version of Telerik Data Access are you using.

Regards,
Viktor Zhivkov
Progress Telerik
Telerik Data Access is no longer being developed. For more information please refer to this page.
0
Patrice Boissonneault
Top achievements
Rank 1
answered on 08 Aug 2017, 05:52 PM

What is the latest version of SQL Server supported by Data Access 2015.1.225.1 ?  We are stuck with this version also because we want to stick with the Database first approach.

I also vote for Telerik to open source DataAccess if you can't continue support.  Very frustrated.

0
Viktor Zhivkov
Telerik team
answered on 11 Aug 2017, 07:04 AM
Hi Patrice,

At the moment Telerik Data Access supports the latest official version - SQL Server 2016.
I believe you are more interested in the situation with Service Pack releases as we have version detection issue in 2015.1.225.1 that is surfacing when you are targeting Service Pack versions.
If this is the case you can replace Telerik.OpenAccess.Runtime.dll in your installation folder with the one found in the attached HotFix zip.
After applying the hotfix please run the tests outlined in the readme file to verify that the patch is OK.

Regards,
Viktor Zhivkov
Progress Telerik
Telerik Data Access is no longer being developed. For more information please refer to this page.
0
Patrice Boissonneault
Top achievements
Rank 1
answered on 11 Aug 2017, 01:15 PM
Thanks Viktor, so you are saying that we can run SQL Server 2016 (or any other version of SQL) with Telerik 2015.1.225.1-Hotfix version?
0
Dave
Top achievements
Rank 1
answered on 11 Aug 2017, 02:17 PM
Yes the error is the same. I am using the version that the patch fixes.  When I remove the security update and force Windows to not allow it. - the patch works again. 
0
Viktor Zhivkov
Telerik team
answered on 11 Aug 2017, 03:51 PM
Hello,

Yes you can use SQL Server 2016 with Telerik Data Access 2015.1.225.1.
Without replacing the Runtime assembly with the hotfixed one you are risking failures to get Auto-Increment values after a security or service pack releases from Microsoft.

Regards,
Viktor Zhivkov
Progress Telerik
Telerik Data Access is no longer being developed. For more information please refer to this page.
0
Dave
Top achievements
Rank 1
answered on 11 Aug 2017, 04:59 PM

Viktor - I replaced it with the hotfix for Telerik Data Access 2015.1.225.1 - it breaks both the SQL Server 2014 and SQL Server 2016 versions.

Either post the hotfix source code or preferably the Data Access project to GitHub - otherwise we need a fix for latest patch GDR 5203

0
Patrice Boissonneault
Top achievements
Rank 1
answered on 11 Aug 2017, 05:34 PM

I'm currently testing the 2015.1.225.1-HotFix1 version on

 

"Microsoft SQL Server 2016 (SP1-CU2) (KB4013106) - 13.0.4422.0 (X64)   Mar  6 2017 14:18:16   Copyright (c) Microsoft Corporation  Express Edition (64-bit) on Windows Server 2012 R2 Standard 6.3 <X64> (Build 9600: ) (Hypervisor)" 

 

And it's looking promising in here.  We don't get the insert failure anymore.

0
Patrice Boissonneault
Top achievements
Rank 1
answered on 11 Aug 2017, 05:35 PM

I'm currently testing the 2015.1.225.1-HotFix1 version on

 

"Microsoft SQL Server 2016 (SP1-CU2) (KB4013106) - 13.0.4422.0 (X64)   Mar  6 2017 14:18:16   Copyright (c) Microsoft Corporation  Express Edition (64-bit) on Windows Server 2012 R2 Standard 6.3 <X64> (Build 9600: ) (Hypervisor)" 

 

And it's looking promising in here.  We don't get the insert failure anymore.

0
Patrice Boissonneault
Top achievements
Rank 1
answered on 11 Aug 2017, 05:36 PM
Make sure you install on the GAC also and that your csproj are refering to the new hotfix version (we removed reference to nuget package).
0
Dave
Top achievements
Rank 1
answered on 11 Aug 2017, 06:49 PM
I have been using this hotfix for 9 months - the Windows Update I posted about came out a few weeks ago.
0
Dave
Top achievements
Rank 1
answered on 13 Aug 2017, 01:00 AM
It will break on all workstations - server currently hasn't received the updates which is why it works for you.  Once it does - it will break yours as well.  I am running 2012 server as well and it still works for now on that version but anyone running Windows Pro 10 will have issues.
0
Viktor Zhivkov
Telerik team
answered on 14 Aug 2017, 08:31 AM
Hello Dave,

Can you share the specific versions of MS SQL Server and your OS so I can try to reproduce the issue?
I need the error messages (ideally with stack trace) as well.

You can get SQL Server version details using the following query:
select @@version

Regards,
Viktor Zhivkov
Progress Telerik
Telerik Data Access is no longer being developed. For more information please refer to this page.
0
Kevin Cabritit
Top achievements
Rank 1
answered on 04 Dec 2017, 06:16 AM

Hi, I just updated my 2012 SQL server to SP2 and got the same issue.

Microsoft SQL Server 2012 (SP2-GDR) (KB3194719) - 11.0.5388.0 (X64)   Sep 23 2016 16:56:29   Copyright (c) Microsoft Corporation  Enterprise Edition (64-bit) on Windows NT 6.3 <X64> (Build 9600: ) (Hypervisor) 

I am using Telerik OpenAccess 2014.3.1209.1

I override the file in the my projects bin folder with the hotfix above but got the below error.

 Exception message: Could not load file or assembly 'Telerik.OpenAccess.Runtime, Version=2014.3.1209.1, Culture=neutral, PublicKeyToken=7ce17eeaf1d59342' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) (\\KICSFILES\KICSWebsites\staging.kics.com.au\web.config line 107)

 

I'm installing SP3 on the server now to see if it resolves it.

0
Viktor Zhivkov
Telerik team
answered on 05 Dec 2017, 03:47 PM
Hi Kevin,

You should use hotfix assembly with the correct version for your project.
Please download the attached Telerik.OpenAccess.2014.3.1209.1-HotFix1.zip and replace the original Telerik.OpenAccess.Runtime.dll with the one from the attached zip file.
The other option is to upgrade to Q1 2015 (version 2015.1.225.1) and then apply the corresponding hotfix (liked several posts ago).

Regards,
Viktor Zhivkov
Progress Telerik
Telerik Data Access is no longer being developed. For more information please refer to this page.
0
Kevin Cabritit
Top achievements
Rank 1
answered on 06 Dec 2017, 12:06 AM

Thanks Viktor

The hotfix resolved the issue.

Will let you know if there are any other issues.

0
Андрей
Top achievements
Rank 1
answered on 28 Feb 2018, 06:10 AM

Hi, Viktor!

Could you please provide with the hotfix for version 2013.3.78.1835 (2013.3.1211.3) also? 

0
Viktor Zhivkov
Telerik team
answered on 01 Mar 2018, 01:20 PM
Hi Андрей,

Please download the attached ZIP file and replace Telerik.OpenAccess.Runtime.dll in your installation folder and project's BIN folder.
See the text file inside the ZIP for more information.

Regards,
Viktor Zhivkov
Progress Telerik
Telerik Data Access is no longer being developed. For more information please refer to this page.
Tags
Data Access Free Edition
Asked by
Luis
Top achievements
Rank 1
Answers by
Doroteya
Telerik team
Dave
Top achievements
Rank 1
Viktor Zhivkov
Telerik team
Patrice Boissonneault
Top achievements
Rank 1
Kevin Cabritit
Top achievements
Rank 1
Андрей
Top achievements
Rank 1
Share this question
or