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

Data Access stopped working on my pc

5 Answers 474 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Leszek
Top achievements
Rank 1
Leszek asked on 16 Jul 2016, 05:05 PM

Hi,

Data Access stopped working on my pc. I'm using version 2013.3.132.

It is working on the same project on another pc (synchronized via visual studio online) and I have created new project, added DataAcess project and is the same error. Error is when compiling.

Error1The "OpenAccessDeploy" task could not be loaded from the assembly C:\Program Files (x86)\Telerik\Data Access\\sdk\enhancer.exe. Could not load file or assembly 'Microsoft.Build.Utilities, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. Confirm that the <UsingTask> declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask.DataAccess
.

Visual creator for DataAccess is working fine. I could connect to the database and create model from database tables.

I have reinstalled data Access from wizzard provided by Telerik. Restarted pc. Still the same error.

Please advise.

Thanks.

Leszek

 

Assemmbly info:

using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following 
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("DataAccess")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("DataAccess")]
[assembly: AssemblyCopyright("Copyright ©  2016")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

// Setting ComVisible to false makes the types in this assembly not visible 
// to COM components.  If you need to access a type in this assembly from 
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]

// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("7ab2ac8d-278e-4094-9018-ecffded3d171")]

// Version information for an assembly consists of the following four values:
//
//      Major Version
//      Minor Version 
//      Build Number
//      Revision
//
// You can specify all the values or you can default the Build and Revision Numbers 
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

5 Answers, 1 is accepted

Sort by
0
Doroteya
Telerik team
answered on 18 Jul 2016, 01:25 PM
Hello Leszek,

In general, the Data Access Enhancer tool is built against the CLR 2 build framework, which seems to be not installed / discoverable on your machine. To troubleshoot the situation on your side, it will be most helpful if your provide the following additional details:

1. Machine configuration:
- the Windows version
- the .NET Framework version
- the Visual Studio version
2. Is the Microsoft.Build.Utilities assembly (with version 2.0.0.0) available in the GAC folder of the machine?

Thanks in advance.

Regards,
Doroteya
Telerik by Progress
 
Check out the latest announcement about Telerik Data Access vNext as a powerful framework able to solve core development problems.
0
Thomas
Telerik team
answered on 18 Jul 2016, 03:30 PM
Hi Leszek,

I think the issue might be that per default, Windows 10 does not install the .NET 3.5 framework. If you started with a new clean Windows 10 machine, the needed assemblies are not available immediately.
You can install this optional feature of Windows by yourself. A detailed explanation is available
from 
http://www.howtogeek.com/250228/what-windows-10s-optional-features-do-and-how-to-turn-them-on-or-off/

Hope this solves your issue,
Thomas
Telerik by Progress
 
Check out the latest announcement about Telerik Data Access vNext as a powerful framework able to solve core development problems.
0
Leszek
Top achievements
Rank 1
answered on 19 Jul 2016, 07:09 AM

Hi,

thanks for your help. Working now.

thanks

Leszek

0
Michael
Top achievements
Rank 1
answered on 04 Aug 2016, 04:20 AM
I had the same issue after upgrading to Windows 10 anniversary edition.  It looks like .NET Framework 3.5 wasn't installed after the updated.  I installed .NET Framework again, and appears to be working okay.
0
Dan
Top achievements
Rank 1
answered on 13 Apr 2017, 12:18 PM
Just wanted to post that the Windows 10 Creator's update does this same nerfing even when just upgrading a previous Windows 10 installation that was all working fine.  They've also started moving things around to get rid of parts of the Control Panel, but just searching "Turn windows features on or off" in the start menu will get you right there.
Tags
General Discussions
Asked by
Leszek
Top achievements
Rank 1
Answers by
Doroteya
Telerik team
Thomas
Telerik team
Leszek
Top achievements
Rank 1
Michael
Top achievements
Rank 1
Dan
Top achievements
Rank 1
Share this question
or