Broken Find UI

  • Updated

After installing Find and then go to Edit mode.

The whole Episerver Find UI is broken and gives this error: 

EPiServer.Global System.AggregateException: One or more errors occurred. ---> System.Net.Http.HttpRequestException: Error while copying content to a stream. ---> System.ObjectDisposedException: The CancellationTokenSource has been disposed. 
at System.Threading.CancellationTokenSource.ThrowObjectDisposedException() 
at System.Threading.CancellationTokenSource.InternalRegister(Action`1 callback, Object stateForCallback, SynchronizationContext targetSyncContext, ExecutionContext executionContext) 
at System.Threading.CancellationToken.Register(Action`1 callback, Object state, Boolean useSynchronizationContext, Boolean useExecutionContext) 
at System.Threading.CancellationToken.Register(Action`1 callback, Object state) 
at System.Net.Http.WinHttpResponseStream.ReadAsync(Byte[] buffer, Int32 offset, Int32 count, CancellationToken token) 
at System.Net.Http.StreamToStreamCopy.<CopyAsyncAnyStreamToAnyStreamCore>d__3.MoveNext() 

1. Open project in the Visual Stuido

2. Go to Web project properties 

3. Choose Web tab, then update framework to 4.6.1.

4. Open web.config and add targetFramework = "4.6.1" attribute to httpRuntime element

5. Save and then rebuild the project.