Data Access stopped working on my pc

5 posts, 0 answers
  1. Leszek
    Leszek avatar
    16 posts
    Member since:
    Sep 2009

    Posted 16 Jul Link to this post

    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")]

  2. Doroteya
    Admin
    Doroteya avatar
    502 posts

    Posted 18 Jul Link to this post

    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.
  3. DevCraft banner
  4. Thomas
    Admin
    Thomas avatar
    590 posts

    Posted 18 Jul Link to this post

    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.
  5. Leszek
    Leszek avatar
    16 posts
    Member since:
    Sep 2009

    Posted 19 Jul in reply to Thomas Link to this post

    Hi,

    thanks for your help. Working now.

    thanks

    Leszek

  6. Michael
    Michael avatar
    21 posts
    Member since:
    Aug 2008

    Posted 03 Aug Link to this post

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