After installing Feather I get "OpenAccessEnhancer"

Posted by Community Admin on 05-Aug-2018 19:23

After installing Feather I get "OpenAccessEnhancer" task could not be loaded

All Replies

Posted by Community Admin on 09-Oct-2014 00:00

I've been at it for two days now, and could probably install sitefinity with my eyes closed. When I install it, everything works until I try to install feather. 

I've followed everything listed here exactly: github.com/.../Getting-Started

However when I try and build the project I get the following error message:

Error 25 The "OpenAccessEnhancer" task could not be loaded from the assembly C:\Program Files %28x86%29\Telerik\Sitefinity 7.2\Projects\Feather\\packages\Telerik.DataAccess.Fluent.2014.2.918.1\tools\enhancer\enhancer.exe. Could not load file or assembly 'file:///C:\Program Files %28x86%29\Telerik\Sitefinity 7.2\Projects\Feather\packages\Telerik.DataAccess.Fluent.2014.2.918.1\tools\enhancer\enhancer.exe' 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.

I've verified the enhancer.exe is there. I've tried the things mentioned in this thread: http://www.sitefinity.com/developer-network/forums/project-feather/assambly-missmatch-on-clean-install as well, but that didn't help either. 

I was hoping someone with more experience with sitefinity/feather could weigh in. 

Thanks in advance!

 

 

Posted by Community Admin on 14-Oct-2014 00:00

Hello,

The enhancer which appears to be missing should be retained by downloading a Nuget package. Please check if there is Telerik.DataAccess.Fluent.2014.2.918.1 folder in the packages folder. If there is another version there it must be causing a missmatch. In order for you to fix this, please re-install the Feather Packages nuget depicted as a prerequisite in our GitHub repository. This can be done through the Nuget console. Simply type Nuget console inside Visual Studios Quick Launch. From then you can install the package by typing:

Copy Code
Install-Package Telerik.DataAccess.Fluent -Version 2014.2.918.1
It is part of the Sitefinity Nuget server. Here is an image for further reference (note that it`s for an older version - 2014.1.403.2).

Hope this helps.

Regards,
Vassil Vassilev
Telerik
 
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
 

Posted by Community Admin on 17-Oct-2014 00:00

I am receiving the same error.  I have checked and the folder  and enhancer are present.  However, what is interesting is the path listed in the error message:

The "OpenAccessEnhancer" task could not be loaded from the assembly D:\Program Files %28x86%29\Telerik\Sitefinity 7.2\Projects\Default\\packages\Telerik.DataAccess.Fluent.2014.2.918.1\tools\enhancer\enhancer.exe. Could not load file or assembly 'file:///D:\Program Files %28x86%29\Telerik\Sitefinity 7.2\Projects\Default\packages\Telerik.DataAccess.Fluent.2014.2.918.1\tools\enhancer\enhancer.exe' 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. SitefinityWebApp

It would appear that there is a double slash in the message.  Not sure if this is really an issue, but I cannot find anything else wrong.

 Also, I am using Sitefinity 7.2.5310 and have added all the binding redirects in the web.config as such:

<runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <dependentAssembly>
        <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Telerik.Sitefinity" publicKeyToken="b28c218413bdf563" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-7.2.5300.0" newVersion="7.2.5310.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Telerik.Sitefinity.Model" publicKeyToken="b28c218413bdf563" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-7.2.5300.0" newVersion="7.2.5310.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Telerik.Sitefinity.Utilities" publicKeyToken="b28c218413bdf563" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-7.2.5300.0" newVersion="7.2.5310.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Telerik.Sitefinity.Services.Events" publicKeyToken="b28c218413bdf563" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-7.2.5300.0" newVersion="7.2.5310.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Telerik.Sitefinity.Services.Comments" publicKeyToken="b28c218413bdf563" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-7.2.5300.0" newVersion="7.2.5310.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Telerik.Sitefinity.Personalization" publicKeyToken="b28c218413bdf563" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-7.2.5300.0" newVersion="7.2.5310.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Telerik.Sitefinity.Services.Notifications" publicKeyToken="b28c218413bdf563" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-7.2.5300.0" newVersion="7.2.5310.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Telerik.Sitefinity.Services.Documents" publicKeyToken="b28c218413bdf563" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-7.2.5300.0" newVersion="7.2.5310.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Telerik.Sitefinity.Services.Statistics" publicKeyToken="b28c218413bdf563" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-7.2.5300.0" newVersion="7.2.5310.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Telerik.Sitefinity.Search" publicKeyToken="b28c218413bdf563" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-7.2.5300.0" newVersion="7.2.5310.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Telerik.Sitefinity.Services.RecycleBin" publicKeyToken="b28c218413bdf563" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-7.2.5310.0" newVersion="7.2.5310.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Telerik.Sitefinity.ContentModules" publicKeyToken="b28c218413bdf563" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-7.2.5310.0" newVersion="7.2.5310.0" />
      </dependentAssembly>
    </assemblyBinding>



    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <dependentAssembly>
        <assemblyIdentity name="Telerik.OpenAccess" publicKeyToken="7ce17eeaf1d59342" culture="neutral" />
        <bindingRedirect oldVersion="2014.2.910.1" newVersion="2014.2.918.1" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Telerik.OpenAccess.35.Extensions" publicKeyToken="7ce17eeaf1d59342" culture="neutral" />
        <bindingRedirect oldVersion="2014.2.910.1" newVersion="2014.2.918.1" />
      </dependentAssembly>
    </assemblyBinding>
  </runtime>

Posted by Community Admin on 20-Oct-2014 00:00

Hello Allen,

The instructions on the site indicate that you should do assembly binding redirection however I could advise you to test if it works without them and let us know for the result.

An other reason I can think of could be linked to your Visual Studio's cache. Please try and clear the cache and see if the behavior persists. Additionally you can try and set the Feather project on a different machine.

Hope this helps.

Regards,
Vassil Vassilev
Telerik

 
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
 

Posted by Community Admin on 05-Nov-2014 00:00

Did this get resolved? I'm having the same issue with the double slashes in the path to enhancer.exe

Posted by Community Admin on 10-Nov-2014 00:00

Hello,

I noticed that you have manged to work around this by changing the path to OpenAccess.targets in the csproj file. I am posting in this thread as well. Instead of the default path:

<Import Project="OpenAccessNuget.targets" />
use:
<Import Condition="Exists('$(MSBuildExtensionsPath)\OpenAccess.targets')" Project="$(MSBuildExtensionsPath)\OpenAccess.targets" />


Regards,
Atanas Valchev
Telerik
 
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
 

This thread is closed