I just installed VS 2017 and the latest development branch of nopCommerce 4.00. Compilation (in Release mode)/run in VS was very slow (about 3 minutes!). I did a few things (as per suggestions on stackoverflow) to VS options like uncheck 'Enable Diagnostics Tools while debugging', and uncheck the Microsoft Symbols Server, enable debugger option 'Just My Code', and now the site loads in about 1 minute - still quite slow. I see odd things in the VS Output window - e.g.
Exception thrown: 'System.BadImageFormatException' in mscorlib.dll Nop.Web.exe Error: 0 : System.BadImageFormatException: Could not load file or assembly 'libuv.dll' or one of its dependencies. The module was expected to contain an assembly manifest. File name: 'libuv.dll' ---> System.BadImageFormatException: Could not load file or assembly 'libuv.dll' or one of its dependencies. The module was expected to contain an assembly manifest. ...
Exception thrown: 'Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.Internal.ConnectionResetException' in Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.dll ...
I see many of these (with different file names) 'Nop.Web.exe' (CLR v4.0.30319: Nop.Web.exe): Loaded 'vqo2s3iy.4ud'. Cannot find or open the PDB file.
On start up I get about 100 of these, but also every time any page loads, I get about 40 of them: Exception thrown: 'Autofac.Core.Registration.ComponentNotRegisteredException' in Autofac.dll
Loading a category page: Microsoft.AspNetCore.Hosting.Internal.WebHost: Information: Request starting HTTP/1.1 GET http://localhost:50001/computers Exception thrown: 'System.ArgumentException' in Microsoft.AspNetCore.Authentication.Facebook.dll Exception thrown: 'System.ArgumentException' in mscorlib.dll Exception thrown: 'System.ArgumentException' in mscorlib.dll Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler: Information: AuthenticationScheme: Authentication was successfully authenticated.
... Compilation (in Release mode)/run in VS was very slow ... Exception thrown: 'System.BadImageFormatException' in mscorlib.dll Nop.Web.exe Error: 0 : System.BadImageFormatException: Could not load file or assembly 'libuv.dll' ...
Exception thrown: 'Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.Internal.ConnectionResetException' in Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.dll ...
I see many of these (with different file names) 'Nop.Web.exe' (CLR v4.0.30319: Nop.Web.exe): Loaded 'vqo2s3iy.4ud'. Cannot find or open the PDB file. ... etc.
Hello. I tried to reproduce this problem, but I couldn't. I created a clean copy of last change on develop branch, but all of output logs aren't contains any errors.
New York wrote:
I just installed VS 2017 and the latest development branch of nopCommerce 4.00. Compilation (in Release mode)/run in VS was very slow (about 3 minutes!). I did a few things (as per suggestions on stackoverflow) to VS options like uncheck 'Enable Diagnostics Tools while debugging', and uncheck the Microsoft Symbols Server, enable debugger option 'Just My Code', and now the site loads in about 1 minute - still quite slow. I see odd things in the VS Output window - e.g.
Exception thrown: 'System.BadImageFormatException' in mscorlib.dll Nop.Web.exe Error: 0 : System.BadImageFormatException: Could not load file or assembly 'libuv.dll' or one of its dependencies. The module was expected to contain an assembly manifest. File name: 'libuv.dll' ---> System.BadImageFormatException: Could not load file or assembly 'libuv.dll' or one of its dependencies. The module was expected to contain an assembly manifest. ...
Exception thrown: 'Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.Internal.ConnectionResetException' in Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.dll ...
I see many of these (with different file names) 'Nop.Web.exe' (CLR v4.0.30319: Nop.Web.exe): Loaded 'vqo2s3iy.4ud'. Cannot find or open the PDB file.
On start up I get about 100 of these, but also every time any page loads, I get about 40 of them: Exception thrown: 'Autofac.Core.Registration.ComponentNotRegisteredException' in Autofac.dll
Loading a category page: Microsoft.AspNetCore.Hosting.Internal.WebHost: Information: Request starting HTTP/1.1 GET http://localhost:50001/computers Exception thrown: 'System.ArgumentException' in Microsoft.AspNetCore.Authentication.Facebook.dll Exception thrown: 'System.ArgumentException' in mscorlib.dll Exception thrown: 'System.ArgumentException' in mscorlib.dll Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler: Information: AuthenticationScheme: Authentication was successfully authenticated.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.