none
binding redirect if new assembly is not present RRS feed

  • Question

  • While opening a SharePoint 2013 site in SharePoint Designer (32bits), we are getting an error "The server could not complete your request". In the ULS, I see the error,

    "System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Data.Edm, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.  File name: 'Microsoft.Data.Edm, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'    "

    This is most probably happening because of the bindingredirect defined in the web.config of SharePoint WebApplication.

    <dependentAssembly>
            <assemblyIdentity name="Microsoft.Data.Edm" publicKeyToken="31bf3856ad364e35" culture="neutral" />
            <bindingRedirect oldVersion="5.0.0.0" newVersion="5.6.0.0" />
          </dependentAssembly>

    In the assemblies, 5.0.0.0 is present on the server and 5.6.0.0 is not.

    Question: 1. Which assembly is SharePoint Designer looking for because I am expecting SharePoint Designer to be compatible with both of the assemblies?

    2. Since the new version of the assembly is not present on the server, shouldn't it use the old version?

    3. Why the error in ULS says cant find assembly 5.0.0 even when it is present on the server?

    Thanks!

    Tuesday, April 17, 2018 5:33 AM

All replies

  • Hi Shubham11,

    Thank you for posting here.

    According to your question is more related to SharePoint, you could post a new thread in SharePoint forum for suitable support.

    https://social.msdn.microsoft.com/Forums/en-US/home?category=sharepoint

    The CLR Forum discuss and ask questions about .NET Framework Base Classes (BCL) such as Collections, I/O, Regigistry, Globalization, Reflection. Also discuss all the other Microsoft libraries that are built on or extend the .NET Framework, including Managed Extensibility Framework (MEF), Charting Controls, CardSpace, Windows Identity Foundation (WIF), Point of Sale (POS), Transactions.

    Best Regards,

    Wendy


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Thursday, April 19, 2018 5:00 PM