Can't install on localhost

Monday, November 25, 2024 5:53:15 PM
  • Posted: Tuesday, April 13, 2021 11:01 AM
  • 5
I am working on version 4.8 and upgrade net core 5.0.

When i run again create new database has error



sorry my english is not good
0
  • Posted: Tuesday, April 13, 2021 11:03 AM
  • 5
[quote=Tran]I am working on version 4.8 and upgrade net core 5.0.

When i run again create new database has error

[img]data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABaEAAAPrCAYAAABBLUBjAAAgAElEQVR4Xuzde3xU9Z0//pePboJLKVhseLAKsf0S6TbaAopKkBZE2gBdQq0BqRiqBIXIxSbAwkCFgIUJAkkFQrwQsAQsQiwl/ArJLmJY0aBFA16mK4ZHKyDlQbZUIkaSGP09Pucyc64z58wlTJJX9o+tZOacz3l+Puczmdf5nPe56u/n//EVrH6uAmD9G8uX8x87tsBVuApfcUB07E52cHQcBw6QOsFLOA46QSc7OESOAwdIneAlHAedoJMdHCLHgQOkTvASjoNO0MkODpHjwAFSJ3gJx0En6GQHh8hx4ACpE7xEOw6usgqhr7rqKnz15VeACKL5QwEhIC5IcDxwLHAccAxwPuAYUAU4H3AscD7gGOB8wDGgFeDnAscDPxc4Bvi5wDHAzwWOAaOA5u8DyxCaiSPHjJWAWAktrmDwp3MLcBx07v4P/F3J+YAjQfy1wHHAccBxwDEgC3A+4EjgOOAY4N+JHAP6/JF/J3JE8O8DjgH934nmEJplODhGgglwfHB8CAGOA44DjgOOAVWA8wHHAucDjgHOBxwDWgF+LnA88HOBY4CfCxwD/FzgGDAKXAXoQmjWa+EYcSbAvyydOXX0V3EcdPQednZ8HAfOnDr6qzgOOnoPOzs+jgNnTh39VRwHHb2HnR0fx4Ezp47+Ko6Djt7Dzo6P48CZU0d/FcdBR+9hJ8d31d/PX5AfP/gVa0A7AeNrZAFpuFwll+a46qqvpP/mT+cT4DjofH1udcQcBxwH/FzgGFAFOB9wLHA+4BjgfMAxoBXg5wLHAz8XOAb4ucAxoApc9dVXjA85HChAAQpQgAIUoAAFKEABClCAAhSgAA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uaKF/PvK0UrQLAXQlRjt//072LPnOowf/y28s2o1sGA+pLha2g5Q9o7836YQ+oHt8IfUSqj9nW1KXepQbTDUlP6/d94BfvADqb60sRyHvkyGdoVykkXNY00IW28OltVSGvrg1lkIHVgZbbVfARYs2FaD40BgrKtZbQy8338f7990kxR+m1ZCn6/G1vdTMUWqV20sK8IQOvT5wldQgAIUoAAFKEABClCAAhSgAAUoQIHOLdC2IfQ3umHI7VcwhI7i/hlCBx5MaFlTWRP6nnVYcxl4B0/+4Gl8VwmrQz2YULvfUG34liHg1p72QWtC68Ja84P3dIGt1epm/47kms/16sMHQ62EDrFfabPKAwnlmtLGYNviIYHabUr/+y3cqlkZrTY1VDkO+7IifDBh5/444dFTgAIUoAAFKEABClCAAhSgAAUoQAFrgbBD6LZ4+F+knRbLkiGhynFo2y4eYrhpy1b07dMH94z/j7APK9xyHLFdCW1TH1paqfwBct55CH/NCQTWpoM3lOkA5JIYYkW18xAa0srrD3KUVdHqTvxt0K60FvU4AvsQL7UPoY0PC9SHrFIY+9atgfIbQUNosYhYU27DLoSW6jsnoVL3kELrcFeqQz24QHnwocsQWhy4+jBF6B+2aBVCB1Z0K7ip2gcqqrWtGUKHfXLzjRSgAAUoQAEKUIACFKAABShAAQpQoAMLhB1CC5N4DqJjGUCLY3fyYEJ13Kj1oYM9xNDJGPus8XO0fun+wYSxDaFtQlwRAD8OPF
0
  • Posted: Tuesday, April 13, 2021 11:09 AM
  • 5
ArgumentNullException: Value cannot be null. (Parameter 'collection')
MongoDB.Driver.Core.Misc.Ensure.IsNotNull<T>(T value, string paramName)
MongoDB.Driver.IMongoCollectionExtensions.AsQueryable<TDocument>(IMongoCollection<TDocument> collection, AggregateOptions aggregateOptions)
Grand.Domain.Data.Repository<T>.get_Table() in Repository.cs
+
            get { return _collection.AsQueryable(); }
Grand.Services.Seo.UrlRecordService.GetBySlug(string slug) in UrlRecordService.cs
+
            var query = from ur in _urlRecordRepository.Table
Grand.Services.Seo.UrlRecordService+<>c__DisplayClass16_0+<<GetBySlugCached>b__2>d.MoveNext() in UrlRecordService.cs
+
                var urlRecord = await GetBySlug(slug);
Microsoft.Extensions.Caching.Memory.CacheExtensions.GetOrCreateAsync<TItem>(IMemoryCache cache, object key, Func<ICacheEntry, Task<TItem>> factory)
Grand.Core.Caching.MemoryCacheManager.GetAsync<T>(string key, Func<Task<T>> acquire) in MemoryCacheManager.cs
+
            return await _cache.GetOrCreateAsync(key, entry =>
Grand.Services.Seo.UrlRecordService.GetBySlugCached(string slug) in UrlRecordService.cs
+
            return await _cacheManager.GetAsync(key, async () =>
Grand.Framework.Mvc.Routing.SlugRouteTransformer.TransformAsync(HttpContext context, RouteValueDictionary values) in SlugRouteTransformer.cs
+
            var urlRecord = await _urlRecordService.GetBySlugCached(slug.ToString());
System.Threading.Tasks.ValueTask<TResult>.get_Result()
System.Runtime.CompilerServices.ValueTaskAwaiter<TResult>.GetResult()
Microsoft.AspNetCore.Mvc.Routing.DynamicControllerEndpointMatcherPolicy.ApplyAsync(HttpContext httpContext, CandidateSet candidates)
Microsoft.AspNetCore.Routing.Matching.DfaMatcher.SelectEndpointWithPoliciesAsync(HttpContext httpContext, IEndpointSelectorPolicy[] policies, CandidateSet candidateSet)
Microsoft.AspNetCore.Routing.EndpointRoutingMiddleware.<Invoke>g__AwaitMatch|8_1(EndpointRoutingMiddleware middleware, HttpContext httpContext, Task matchTask)
Grand.Framework.Middleware.PoweredByMiddleware.InvokeAsync(HttpContext context, IPoweredByMiddlewareOptions options) in PoweredByMiddleware.cs
+
            await _next.Invoke(context);
Microsoft.AspNetCore.Session.SessionMiddleware.Invoke(HttpContext context)
Microsoft.AspNetCore.Session.SessionMiddleware.Invoke(HttpContext context)
Grand.Framework.Middleware.InstallUrlMiddleware.InvokeAsync(HttpContext context, IWebHelper webHelper) in InstallUrlMiddleware.cs
+
            await _next(context);
Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware.Invoke(HttpContext context)
Microsoft.AspNetCore.Builder.Extensions.MapWhenMiddleware.Invoke(HttpContext context)
Microsoft.AspNetCore.Diagnostics.StatusCodePagesMiddleware.Invoke(HttpContext context)
Microsoft.AspNetCore.Diagnostics.StatusCodePagesMiddleware.Invoke(HttpContext context)
Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)
Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.HandleException(HttpContext context, ExceptionDispatchInfo edi)
Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)
Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)
0
  • Posted: Wednesday, April 14, 2021 6:48 AM
  • 33
Instead of modifying the existing version, which does not support core 5.0, maybe you will wait for the next version of GrandNode which will support it?
Best regards,
Tomasz

GrandNode Team
0
  • Posted: Wednesday, April 14, 2021 7:07 AM
  • 5
OK. thanks you @Tomasz
0
back to top
Filters