I created clean Windows Server 2012 R2 installs on two servers; one for the database engine, the other for MDS. I was able to add the roles and features pre-requisites (including the new Dynamic Content Compression requirement) and install and configure
MDS as per usual with a domain service account; creating the database and a web application named MDS under the default web site.
At first startup of the website I get the 500.19 error. For whatever reason the service account (or local MDS_ServiceAccounts group) did not get any access to web.config. I granted Read & Read & Execute access. Then I received a further error. After
changing the web.config errors to RemoteOnly I can see the full error text:
Server Error in '/MDS' Application.
No parameterless constructor defined for this object.
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.MissingMethodException: No parameterless constructor defined for this
object.
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. |
Stack Trace:[MissingMethodException: No parameterless constructor defined for this object.]
System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck) +0
System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) +138
System.Activator.CreateInstance(Type type, Boolean nonPublic) +105
System.Activator.CreateInstance(Type type) +12
System.Web.Mvc.DefaultControllerActivator.Create(RequestContext requestContext, Type controllerType) +73
[InvalidOperationException: An error occurred when trying to create a controller of type 'Microsoft.MasterDataServices.WebUI.Controllers.HomeController'. Make sure that the controller has a parameterless public constructor.]
System.Web.Mvc.DefaultControllerActivator.Create(RequestContext requestContext, Type controllerType) +240
System.Web.Mvc.DefaultControllerFactory.CreateController(RequestContext requestContext, String controllerName) +103
System.Web.Mvc.MvcHandler.ProcessRequestInit(HttpContextBase httpContext, IController& controller, IControllerFactory& factory) +268
System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContextBase httpContext, AsyncCallback callback, Object state) +95
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +913
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +167
|
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET
Version:4.0.30319.34274 Has anyone else had this problem or have any ideas or remedies? I have set up a lot of MDS 2012 and 2014 installations but not seen this occur; it seems related specifically to CTP 3. Thanks.