You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After installing on 8.17.0 I get the following error when loading any content page, though there were no errors during installation.
Received an error from the server
An error occurred
An error occurred when trying to create a controller of type 'ContentGuardApiController'. Make sure that the controller has a parameterless public constructor.
Exception Details
System.InvalidOperationException: An error occurred when trying to create a controller of type 'ContentGuardApiController'. Make sure that the controller has a parameterless public constructor.
Stacktrace
at System.Web.Http.Dispatcher.DefaultHttpControllerActivator.Create(HttpRequestMessage request, HttpControllerDescriptor controllerDescriptor, Type controllerType)
at System.Web.Http.Dispatcher.HttpControllerDispatcher.d__15.MoveNext()
Inner Exception
System.IO.FileNotFoundException: Could not load file or assembly 'Cogworks.ContentGuard.Core, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
at System.Signature.GetSignature(Void* pCorSig, Int32 cCorSig, RuntimeFieldHandleInternal fieldHandle, IRuntimeMethodInfo methodHandle, RuntimeType declaringType)
at System.Reflection.RuntimeConstructorInfo.GetParametersNoCopy()
at System.Reflection.RuntimeConstructorInfo.GetParameters()
at LightInject.ConstructorDependencySelector.Execute(ConstructorInfo constructor)
at LightInject.TypeConstructionInfoBuilder.GetConstructorDependencies(ConstructorInfo constructorInfo)
at LightInject.TypeConstructionInfoBuilder.Execute(Registration registration)
at System.Collections.Concurrent.ConcurrentDictionary2.GetOrAdd(TKey key, Func2 valueFactory)
at LightInject.ServiceContainer.EmitNewInstance(ServiceRegistration serviceRegistration, IEmitter emitter)
at LightInject.ServiceContainer.CreateDynamicMethodDelegate(Action1 serviceEmitter) at LightInject.ServiceContainer.CreateInstanceDelegateIndex(Action1 emitMethod)
at System.Collections.Concurrent.ConcurrentDictionary2.GetOrAdd(TKey key, Func2 valueFactory)
at LightInject.ServiceContainer.EmitLifetime(ServiceRegistration serviceRegistration, Action1 emitMethod, IEmitter emitter) at LightInject.ServiceContainer.<>c__DisplayClass153_0.<CreateEmitMethodWrapper>b__0(IEmitter ms) at LightInject.ServiceContainer.CreateDynamicMethodDelegate(Action1 serviceEmitter)
at LightInject.ServiceContainer.CreateDelegate(Type serviceType, String serviceName, Boolean throwError)
at LightInject.ServiceContainer.CreateDefaultDelegate(Type serviceType, Boolean throwError)
at LightInject.ServiceContainer.TryGetInstance(Type serviceType)
at System.Web.Http.Dispatcher.DefaultHttpControllerActivator.GetInstanceOrActivator(HttpRequestMessage request, Type controllerType, Func`1& activator)
at System.Web.Http.Dispatcher.DefaultHttpControllerActivator.Create(HttpRequestMessage request, HttpControllerDescriptor controllerDescriptor, Type controllerType)
The text was updated successfully, but these errors were encountered:
After installing on 8.17.0 I get the following error when loading any content page, though there were no errors during installation.
Received an error from the server
An error occurred
An error occurred when trying to create a controller of type 'ContentGuardApiController'. Make sure that the controller has a parameterless public constructor.
Exception Details
System.InvalidOperationException: An error occurred when trying to create a controller of type 'ContentGuardApiController'. Make sure that the controller has a parameterless public constructor.
Stacktrace
at System.Web.Http.Dispatcher.DefaultHttpControllerActivator.Create(HttpRequestMessage request, HttpControllerDescriptor controllerDescriptor, Type controllerType)
at System.Web.Http.Dispatcher.HttpControllerDispatcher.d__15.MoveNext()
Inner Exception
System.IO.FileNotFoundException: Could not load file or assembly 'Cogworks.ContentGuard.Core, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
at System.Signature.GetSignature(Void* pCorSig, Int32 cCorSig, RuntimeFieldHandleInternal fieldHandle, IRuntimeMethodInfo methodHandle, RuntimeType declaringType)
at System.Reflection.RuntimeConstructorInfo.GetParametersNoCopy()
at System.Reflection.RuntimeConstructorInfo.GetParameters()
at LightInject.ConstructorDependencySelector.Execute(ConstructorInfo constructor)
at LightInject.TypeConstructionInfoBuilder.GetConstructorDependencies(ConstructorInfo constructorInfo)
at LightInject.TypeConstructionInfoBuilder.Execute(Registration registration)
at System.Collections.Concurrent.ConcurrentDictionary
2.GetOrAdd(TKey key, Func
2 valueFactory)at LightInject.ServiceContainer.EmitNewInstance(ServiceRegistration serviceRegistration, IEmitter emitter)
at LightInject.ServiceContainer.CreateDynamicMethodDelegate(Action
1 serviceEmitter) at LightInject.ServiceContainer.CreateInstanceDelegateIndex(Action
1 emitMethod)at System.Collections.Concurrent.ConcurrentDictionary
2.GetOrAdd(TKey key, Func
2 valueFactory)at LightInject.ServiceContainer.EmitLifetime(ServiceRegistration serviceRegistration, Action
1 emitMethod, IEmitter emitter) at LightInject.ServiceContainer.<>c__DisplayClass153_0.<CreateEmitMethodWrapper>b__0(IEmitter ms) at LightInject.ServiceContainer.CreateDynamicMethodDelegate(Action
1 serviceEmitter)at LightInject.ServiceContainer.CreateDelegate(Type serviceType, String serviceName, Boolean throwError)
at LightInject.ServiceContainer.CreateDefaultDelegate(Type serviceType, Boolean throwError)
at LightInject.ServiceContainer.TryGetInstance(Type serviceType)
at System.Web.Http.Dispatcher.DefaultHttpControllerActivator.GetInstanceOrActivator(HttpRequestMessage request, Type controllerType, Func`1& activator)
at System.Web.Http.Dispatcher.DefaultHttpControllerActivator.Create(HttpRequestMessage request, HttpControllerDescriptor controllerDescriptor, Type controllerType)
The text was updated successfully, but these errors were encountered: