Dependencies

Aug 4, 2011 at 6:03 PM

Any chance you could upload dependencies? I guess they are all open source - I'll give it a try but if you have them handy you could always commit them and save us the time!

Thanks

Anton

Aug 4, 2011 at 7:51 PM

 

Hi,

Has anyone else got this to work? I admit that I don't have a handy dev machine with 2008 (R2) so I fudged around and converted the .bak from 2008 to 2005 - could that be the problem? It also may be a wrong-version problem with one of the dependencies...

Any ideas?

Thanks

Anton


Server Error in '/' 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) +98   System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean skipCheckThis, Boolean fillCache) +241   System.Activator.CreateInstance(Type type, Boolean nonPublic) +69   System.Web.Mvc.DefaultControllerActivator.Create(RequestContext requestContext, Type controllerType) +67
[InvalidOperationException: An error occurred when trying to create a controller of type 'LaxCraft.Controllers.TeamController'. Make sure that the controller has a parameterless public constructor.]   System.Web.Mvc.DefaultControllerActivator.Create(RequestContext requestContext, Type controllerType) +182   System.Web.Mvc.DefaultControllerFactory.GetControllerInstance(RequestContext requestContext, Type controllerType) +80   System.Web.Mvc.DefaultControllerFactory.CreateController(RequestContext requestContext, String controllerName) +74   System.Web.Mvc.MvcHandler.ProcessRequestInit(HttpContextBase httpContext, IController& controller, IControllerFactory& factory) +196   System.Web.Mvc.<>c__DisplayClass6.<BeginProcessRequest>b__2() +49   System.Web.Mvc.<>c__DisplayClassb`1.<ProcessInApplicationTrust>b__a() +13   System.Web.Mvc.SecurityUtil.<GetCallInAppTrustThunk>b__0(Action f) +7   System.Web.Mvc.SecurityUtil.ProcessInApplicationTrust(Action action) +22   System.Web.Mvc.SecurityUtil.ProcessInApplicationTrust(Func`1 func) +124   System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContextBase httpContext, AsyncCallback callback, Object state) +98   System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContext httpContext, AsyncCallback callback, Object state) +50   System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData) +16   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +8920324   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +184
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.225