This project is read-only.

Error while submitting package

Feb 10, 2011 at 5:35 AM

I'm trying to upload package to GalleryServer I set up. As a test case, I pulled "elmah" package to local VS and used elmah.1.1.nupkg to submit to new empty gallery. Getting this error about IPackageFactory, tried it both on local and remote servers with same result. Am I doing something wrong?

 

The server encountered an error processing the request. Please see the service help page for constructing valid requests to the service. The exception message is 'Could not find a type implementing 'IPackageFactory' in assemblies in the directory 'D:\Projects\hg\galleryserver\GalleryServer\src\Gallery.Server\bin'.'. See server logs for more details. The exception stack trace is:

at Gallery.DependencyResolution.PluginService.FindPluginImplementation[TBase]() in d:\Projects\hg\galleryserver\GalleryServer\src\Gallery.DependencyResolution\PluginService.cs:line 29 at Gallery.DependencyResolution.NinjectDependencyResolver.<>c__DisplayClass1`1.<Register>b__0(IContext c) in d:\Projects\hg\galleryserver\GalleryServer\src\Gallery.DependencyResolution\NinjectDependencyResolver.cs:line 20 at Ninject.Activation.Providers.CallbackProvider`1.CreateInstance(IContext context) in d:\BuildAgent-03\work\b68efe9aafe8875e\src\Ninject\Activation\Providers\CallbackProvider.cs:line 45 at Ninject.Activation.Provider`1.Create(IContext context) in d:\BuildAgent-03\work\b68efe9aafe8875e\src\Ninject\Activation\Provider.cs:line 39 at Ninject.Activation.Context.Resolve() in d:\BuildAgent-03\work\b68efe9aafe8875e\src\Ninject\Activation\Context.cs:line 157 at Ninject.KernelBase.<Resolve>b__9(IContext context) in d:\BuildAgent-03\work\b68efe9aafe8875e\src\Ninject\KernelBase.cs:line 354 at System.Linq.Enumerable.<>c__DisplayClass12`3.<CombineSelectors>b__11(TSource x) at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext() at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source) at Ninject.Planning.Targets.Target`1.GetValue(Type service, IContext parent) in d:\BuildAgent-03\work\b68efe9aafe8875e\src\Ninject\Planning\Targets\Target.cs:line 178 at Ninject.Planning.Targets.Target`1.ResolveWithin(IContext parent) in d:\BuildAgent-03\work\b68efe9aafe8875e\src\Ninject\Planning\Targets\Target.cs:line 147 at Ninject.Activation.Providers.StandardProvider.GetValue(IContext context, ITarget target) in d:\BuildAgent-03\work\b68efe9aafe8875e\src\Ninject\Activation\Providers\StandardProvider.cs:line 97 at Ninject.Activation.Providers.StandardProvider.<>c__DisplayClass2.<Create>b__1(ITarget target) in d:\BuildAgent-03\work\b68efe9aafe8875e\src\Ninject\Activation\Providers\StandardProvider.cs:line 81 at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext() at System.Linq.Buffer`1..ctor(IEnumerable`1 source) at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source) at Ninject.Activation.Providers.StandardProvider.Create(IContext context) in d:\BuildAgent-03\work\b68efe9aafe8875e\src\Ninject\Activation\Providers\StandardProvider.cs:line 81 at Ninject.Activation.Context.Resolve() in d:\BuildAgent-03\work\b68efe9aafe8875e\src\Ninject\Activation\Context.cs:line 157 at Ninject.KernelBase.<Resolve>b__9(IContext context) in d:\BuildAgent-03\work\b68efe9aafe8875e\src\Ninject\KernelBase.cs:line 354 at System.Linq.Enumerable.<>c__DisplayClass12`3.<CombineSelectors>b__11(TSource x) at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext() at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source) at Ninject.Planning.Targets.Target`1.GetValue(Type service, IContext parent) in d:\BuildAgent-03\work\b68efe9aafe8875e\src\Ninject\Planning\Targets\Target.cs:line 178 at Ninject.Planning.Targets.Target`1.ResolveWithin(IContext parent) in d:\BuildAgent-03\work\b68efe9aafe8875e\src\Ninject\Planning\Targets\Target.cs:line 147 at Ninject.Activation.Providers.StandardProvider.GetValue(IContext context, ITarget target) in d:\BuildAgent-03\work\b68efe9aafe8875e\src\Ninject\Activation\Providers\StandardProvider.cs:line 97 at Ninject.Activation.Providers.StandardProvider.<>c__DisplayClass2.<Create>b__1(ITarget target) in d:\BuildAgent-03\work\b68efe9aafe8875e\src\Ninject\Activation\Providers\StandardProvider.cs:line 81 at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext() at System.Linq.Buffer`1..ctor(IEnumerable`1 source) at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source) at Ninject.Activation.Providers.StandardProvider.Create(IContext context) in d:\BuildAgent-03\work\b68efe9aafe8875e\src\Ninject\Activation\Providers\StandardProvider.cs:line 81 at Ninject.Activation.Context.Resolve() in d:\BuildAgent-03\work\b68efe9aafe8875e\src\Ninject\Activation\Context.cs:line 157 at Ninject.KernelBase.<Resolve>b__9(IContext context) in d:\BuildAgent-03\work\b68efe9aafe8875e\src\Ninject\KernelBase.cs:line 354 at System.Linq.Enumerable.<>c__DisplayClass12`3.<CombineSelectors>b__11(TSource x) at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext() at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source) at Ninject.ResolutionExtensions.Get(IResolutionRoot root, Type service, IParameter[] parameters) in d:\BuildAgent-03\work\b68efe9aafe8875e\src\Ninject\Syntax\ResolutionExtensions.cs:line 151 at Gallery.DependencyResolution.NinjectDependencyResolver.Resolve(Type typeToResolve) in d:\Projects\hg\galleryserver\GalleryServer\src\Gallery.DependencyResolution\NinjectDependencyResolver.cs:line 39 at Gallery.Server.IoCServiceClasses.IoCInstanceProvider.GetInstance(InstanceContext instanceContext, Message message) in d:\Projects\hg\galleryserver\GalleryServer\src\Gallery.Server\IoCServiceClasses\IoCInstanceProvider.cs:line 25 at System.ServiceModel.Dispatcher.InstanceBehavior.GetInstance(InstanceContext instanceContext, Message request) at System.ServiceModel.InstanceContext.GetServiceInstance(Message message) at System.ServiceModel.Dispatcher.InstanceBehavior.EnsureServiceInstance(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage41(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage4(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage3(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage2(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage11(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage1(MessageRpc& rpc) at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)

Feb 10, 2011 at 7:12 AM

Moving nuget dlls from the plugins directory fixed this issue. Getting closer - now it is bombing in the PackageAuthenticator.Verify method. I can see temp file created, but verification is failing and turning authenticate request off in config doesn't seem to help. Will try to debug tomorrow.