My Work env:
In Office 365, I have created an app with Search Service Application. When I add the app in the Office 365 site I got below error,
Server Error in '/' Application.
--------------------------------------------------------------------------------
Could not load file or assembly 'Microsoft.SharePoint.Client.Search,
Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one
of its dependencies. The system cannot find the file specified.
Description: An
unhandled exception occurred during the execution of the current web request.
Please review the stack trace for more information about the error and where it
originated in the code.
Exception Details:
System.IO.FileNotFoundException: Could not load file or assembly
'Microsoft.SharePoint.Client.Search, Version=15.0.0.0, Culture=neutral,
PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot
find the file specified.
Source Error:
An unhandled
exception was generated during the execution of the current web request.
Information regarding the origin and location of the exception can be
identified using the exception stack trace below.
Assembly Load Trace: The following information can be
helpful to determine why the assembly 'Microsoft.SharePoint.Client.Search,
Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' could not
be loaded.
Solution:
Change the specific
version is true for 'Microsoft.SharePoint.Client.Search' in DLL Properties.
No comments:
Post a Comment