AI OnAI Off
Solved.
Added following dll's to assembly and it started working again:
Microsoft.VisualStudio.Shell.dll
Microsoft.VisualStudio.OLE.Interop.dll
Microsoft.VisualStudio.Shell.Interop.dll
Microsoft.VisualStudio.Shell.Interop.8.0.dll
We just moved one of our sites to a new server and after this we are unable to load CurrentPage.
Somthing seems to go wrong in the PageBase class when CurrentPageHandler is being loaded. It seems to load "new LoadEmptyCurrentPage" when initiating the CurrentPageHandler.
I can load CurrentPageHandler.CurrentPageLink and then use DataFactory.Instance.GetPage to retrieve my CurrentPage but CurrentPageHandler.CurrentPage just returns null