OrchardCore icon indicating copy to clipboard operation
OrchardCore copied to clipboard

Error on run

Open GVX111 opened this issue 11 years ago • 8 comments

When i Running .Web getting some errors.

Could not load file or assembly 'OrchardVNext.Setup' or one of its dependencies. Invalid pointer (Exception from HRESULT: 0x80004003 (E_POINTER))

also same error on OrchardVNext.Demo Both solution exiting in Modules folder

GVX111 avatar Jul 13 '15 20:07 GVX111

Hmmm most odd, Can you do, "dnvm list"?

Jetski5822 avatar Jul 13 '15 20:07 Jetski5822

Active Version           Runtime Architecture Location                    Alias
------ -------           ------- ------------ --------                    -----
       1.0.0-beta4       clr     x64          C:\Users\Givi\.dnx\runtimes
       1.0.0-beta4       clr     x86          C:\Users\Givi\.dnx\runtimes
       1.0.0-beta4       coreclr x64          C:\Users\Givi\.dnx\runtimes
       1.0.0-beta4       coreclr x86          C:\Users\Givi\.dnx\runtimes
  *    1.0.0-beta5-12103 clr     x86          C:\Users\Givi\.dnx\runtimes de...

GVX111 avatar Jul 13 '15 21:07 GVX111

Hmmmm - It might be the version of the framework you are using.

Try doing a "dnvm upgrade -u"

if you have compilation issues, let me know.

Jetski5822 avatar Jul 13 '15 21:07 Jetski5822

same problem

System.MissingMethodException
Method not found: 'Microsoft.CodeAnalysis.PortableExecutableReference Microsoft.CodeAnalysis.AssemblyMetadata.GetReference(Microsoft.CodeAnalysis.DocumentationProvider, System.Collections.Immutable.ImmutableArray`1, Boolean, System.String, System.String)'.
C:\Users\Givi\Desktop\Brochard-master\src\OrchardVNext\Environment\Extensions\Loaders\DynamicExtensionLoader.cs
Line 49:  
Line 50:              using (_loaderContainer.AddLoader(new ExtensionAssemblyLoader(plocation, _serviceProvider))) {
Line 51:                  var assembly = Assembly.Load(new AssemblyName(descriptor.Id));
Line 52:  
Line 53:                  Logger.Information("Loaded referenced extension \"{0}\": assembly name=\"{1}\"", descriptor.Name, assembly.FullName);
 at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.Assembly.Load(AssemblyName assemblyRef) 
at OrchardVNext.Environment.Extensions.Loaders.DynamicExtensionLoader.Load(ExtensionDescriptor descriptor) in C:\Users\Givi\Desktop\Brochard-master\src\OrchardVNext\Environment\Extensions\Loaders\DynamicExtensionLoader.cs:line 51
at OrchardVNext.Environment.Extensions.ExtensionManager.BuildEntry(ExtensionDescriptor descriptor) in C:\Users\Givi\Desktop\Brochard-master\src\OrchardVNext\Environment\Extensions\ExtensionManager.cs:line 133
at OrchardVNext.Environment.Extensions.ExtensionManager.LoadFeature(FeatureDescriptor featureDescriptor) in C:\Users\Givi\Desktop\Brochard-master\src\OrchardVNext\Environment\Extensions\ExtensionManager.cs:line 92
OrchardVNext.OrchardException
Error while loading extension 'OrchardVNext.Setup'.
at OrchardVNext.Environment.Extensions.ExtensionManager.LoadFeature(FeatureDescriptor featureDescriptor) in C:\Users\Givi\Desktop\Brochard-master\src\OrchardVNext\Environment\Extensions\ExtensionManager.cs:line 96
at OrchardVNext.Environment.Extensions.ExtensionManager.b__12_0(FeatureDescriptor descriptor) in C:\Users\Givi\Desktop\Brochard-master\src\OrchardVNext\Environment\Extensions\ExtensionManager.cs:line 78
at System.Linq.Enumerable.WhereSelectEnumerableIterator.MoveNext() 
at System.Linq.Buffer..ctor(IEnumerable source) 
at System.Linq.Enumerable.ToArray(IEnumerable source) 
at OrchardVNext.Environment.Extensions.ExtensionManager.LoadFeatures(IEnumerable featureDescriptors) in C:\Users\Givi\Desktop\Brochard-master\src\OrchardVNext\Environment\Extensions\ExtensionManager.cs:line 77
at OrchardVNext.Environment.ShellBuilders.CompositionStrategy.Compose(ShellSettings settings, ShellDescriptor descriptor) in C:\Users\Givi\Desktop\Brochard-master\src\OrchardVNext\Environment\ShellBuilders\CompositionStrategy.cs:line 37
at OrchardVNext.Environment.ShellBuilders.ShellContextFactory.OrchardVNext.Environment.ShellBuilders.IShellContextFactory.CreateSetupContext(ShellSettings settings) in C:\Users\Givi\Desktop\Brochard-master\src\OrchardVNext\Environment\ShellBuilders\ShellContextFactory.cs:line 80
at OrchardVNext.Environment.DefaultOrchardHost.CreateShellContext(ShellSettings settings) in C:\Users\Givi\Desktop\Brochard-master\src\OrchardVNext\Environment\DefaultOrchardHost.cs:line 34
at OrchardVNext.Environment.OrchardContainerMiddleware.d__4.MoveNext() in C:\Users\Givi\Desktop\Brochard-master\src\OrchardVNext\Environment\OrchardContainerMiddleware.cs:line 31
--- exception rethrown --- 
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) 
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task) 
at System.Runtime.CompilerServices.TaskAwaiter.GetResult() 
at Microsoft.AspNet.Hosting.Internal.RequestServicesContainerMiddleware.d__3.MoveNext() 
--- exception rethrown --- 
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) 
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task) 
at System.Runtime.CompilerServices.TaskAwaiter.GetResult() 
at Microsoft.AspNet.Hosting.Internal.HostingEngine.<>c__DisplayClass29_0.<b__0>d.MoveNext() 
--- exception rethrown --- 
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) 
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task) 
at System.Runtime.CompilerServices.TaskAwaiter.GetResult() 
at Microsoft.AspNet.Loader.IIS.RuntimeHttpApplication.d__11.MoveNext() 
--- exception rethrown --- 
at Microsoft.AspNet.Loader.IIS.RuntimeHttpApplication.d__11.MoveNext() 
--- exception rethrown --- 
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) 
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task) 
at System.Runtime.CompilerServices.TaskAwaiter.GetResult() 
at Microsoft.AspNet.Loader.IIS.HttpApplicationBase.d__5.MoveNext()

GVX111 avatar Jul 13 '15 21:07 GVX111

Here is mine,.

D:\Brochard\src\OrchardVNext.Web>dnvm list

Active Version           Runtime Architecture Location                        Alias
------ -------           ------- ------------ --------                        -----
       1.0.0-beta4       clr     x64          C:\Users\Nicholas\.dnx\runtimes
       1.0.0-beta4       clr     x86          C:\Users\Nicholas\.dnx\runtimes
       1.0.0-beta4       coreclr x64          C:\Users\Nicholas\.dnx\runtimes
       1.0.0-beta4       coreclr x86          C:\Users\Nicholas\.dnx\runtimes
       1.0.0-beta5-12021 clr     x86          C:\Users\Nicholas\.dnx\runtimes
       1.0.0-beta6-11944 clr     x86          C:\Users\Nicholas\.dnx\runtimes
       1.0.0-beta6-12032 clr     x86          C:\Users\Nicholas\.dnx\runtimes
       1.0.0-beta6-12114 clr     x86          C:\Users\Nicholas\.dnx\runtimes
       1.0.0-beta6-12120 clr     x86          C:\Users\Nicholas\.dnx\runtimes
  *    1.0.0-beta6-12216 clr     x86          C:\Users\Nicholas\.dnx\runtimes default

However, there might be compilation issues with tip - I have a version compiling locally, but I am in the middle of switching the IoC container out and have a blocker with Autofac at the moment.

I can push it to a branch... but there is an issue with views at the moment.

Jetski5822 avatar Jul 13 '15 21:07 Jetski5822

can you add me in skype?

GVX111 avatar Jul 13 '15 21:07 GVX111

Jetski5822

Jetski5822 avatar Jul 13 '15 21:07 Jetski5822

resolved offline

Jetski5822 avatar Jul 14 '15 23:07 Jetski5822