Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "fguo"

Question

I followed the documentation, and downloaded "ASP.NET Core & Angular 2.x" project.

I merged the files in Client folder into root folder of MyProject.Web.Host project in Server solution by exactly following instruction of "Merge Angular2 Client and Server Project".

I tried to build the solution. It failed. :(

There is a warning under *.Web.Host\Dependencies: npm – not installed. I double checked, the npm is installed on my computer. I verified it by npm --version, and it tell me 3.10.10.

I tried the "Database Migrations". I don't know how to run the "tool" in ".Migrator project", so I tried to use command "dotnet ef database update". It failed too. :( The error message is:

The specified framework 'Microsoft.NETCore.App', version '1.1.0' was not found.

  • Check application dependencies and target a framework version installed at: C:\Program Files\dotnet\shared\Microsoft.NETCore.App
  • The following versions are installed: 1.0.1
  • Alternatively, install the framework version '1.1.0'.

I am stuck here. Please advise what should I do! :( :( :(

Thanks,

I did updated nuget to ABP current version with a few other packages. Do you mean that I need to remove all of ABP packages from nuget?

I remembered I ran the template once before nuget updating. It gave me more errors about authentication, such as the user name has no permission to access the database. Unfortunately, I didn't keep the copy of the error page. I thought that's because I didn't migration the database yet.

Anyway, I will redo everything from scratch. Thanks!

That is all I get. Please see the attachment for the error page.

I downloaded the template (.NET core version), built it in VS 2015, updated all packages in Nuget, built it again, run it in VS by clicking Ctrl+F5, and got the error page.

Did I miss any steps (e.g. Migration)?

Thank you for your advice!

I followed the tutorial and created an ASP.NET Core 1.0 project, and built it in my Visual Studio 2015. I also updated all Abp packages in NuGet and built it again with success. When I run it in Visual Studio, I got errors around Web.Startup.Startup.ConfigureServices(IServiceCollection services) in Startup.cs Line 36: return services.AddAbp<SNet3WebModule>(options => as below:

Here is the error page:

An error occurred while starting the application. MethodAccessException: Attempt by method 'Castle.MicroKernel.SubSystems.Configuration.DefaultConfigurationStore..ctor()' to access method 'System.Collections.Generic.Dictionary2<System.__Canon,System.__Canon>..ctor()' failed. Castle.MicroKernel.SubSystems.Configuration.DefaultConfigurationStore..ctor() TypeInitializationException: The type initializer for 'Abp.Dependency.IocManager' threw an exception. Abp.Dependency.IocManager.get_Instance() MethodAccessException: Attempt by method 'Castle.MicroKernel.SubSystems.Configuration.DefaultConfigurationStore..ctor()' to access method 'System.Collections.Generic.Dictionary2<System.__Canon,System.__Canon>..ctor()' failed.

Please advise. Thank you very much!

Showing 251 to 254 of 254 entries