Having public class ObjFromOtherAppDomain : MarshalByRefObject { public async void Do(MarshalableCompletionSource<bool> source) { await Task.Delay(1000); source.SetResult(true); } } public class MarshalableCompletionSource<T> : MarshalByRefObject { private readonly TaskCompletionSource<T> tsc = new TaskCompletionSource<T>(); public void SetResult(T result) => tsc.SetResult(result); public void SetException(Exception[] exception) => tsc.SetException(exception); public void SetCanceled() => tsc.SetCanceled(); public Task<T> [...] read more
I have a 10mb Report that I am trying to upload to my SQL Report Server. When I would save it, I ran into the maxRequest Length exceeded error. So I edited the web.config file and changed the httpRuntime line to the following: httpRuntime executionTimeout="9000" maxRequestLength="1048576" requestValidationMode="2.0" Now I am [...] read more
I am taking over an existing website and I am trying to get the application running on my machine, however I can't launch the application because I get the following error. System.Threading.ThreadAbortException occurred HResult=0x80131530 Message=Thread was being aborted. Source=mscorlib StackTrace: at System.Threading.Thread.AbortInternal() at System.Threading.Thread.Abort(Object stateInfo) This is my code protected [...] read more
I've been working on a mixed desktop-and-web based solution for quite some time now. My local development environment was using VS2013-Pro, a recent DNN version (7.3, I think), Webmatrix 3, IIS Express 8.0, and SQL Server 2014 running on Windows 7 on Parallels on my Mac. Everything is up-to-date, all [...] read more