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

Activities of "chehrhard"

Question

Hi

I need some help. Within an existing project, i deleted and recreated my DB. And since this moment, my app won't launch. In the logs .txt i saw a Asp Zero License Check error ..

I’ve already downloaded a new project with the same name but, no luck : same error.

I need some urgent help please, i can’t do nothing !

Thanks

with v5 , angular and anpetcore. i created a new directory under src/app , at the same level than the main directory. I added a simple module

import {NgModule} from '@angular/core'; import {AppCommonModule} from '@app/shared/common/app-common.module'; import {UtilsModule} from '@shared/utils/utils.module'; import {CommonModule} from '@angular/common'; import {SellSySettingsComponent} from '@app/Sellsy/Settings/sellsy-settings.component';

@NgModule({ imports: [ CommonModule, AppCommonModule, UtilsModule, ], declarations: [SellSySettingsComponent]

}) export class SellsyModule { }

The component ( no html code )

import {AppComponentBase} from '@shared/common/app-component-base'; import {AfterViewInit, Component, OnDestroy, ViewEncapsulation} from '@angular/core'; import {appModuleAnimation} from '@shared/animations/routerTransition';

@Component ({ templateUrl: './sellsy-settings.component.html', encapsulation: ViewEncapsulation.None, animations: [appModuleAnimation()] }) export class SellSySettingsComponent extends AppComponentBase implements AfterViewInit, OnDestroy {

ngAfterViewInit(): void { }

ngOnDestroy() { }

}

at compilation i have this message

ERROR in ./src/app/sellsy/sellsy.module.ts Module build failed: Error: C:\EhciDev\StratosZero\StratosCore\angular\src\app\sellsy\sellsy.module.ts is not part of the compilation output. Please check the other error messages for details. at AngularCompilerPlugin.getCompiledFile (C:\EhciDev\StratosZero\StratosCore\angular\node_modules@ngtools\webpack\src\angular_compiler_plugin.js:625:23) at plugin.done.then (C:\EhciDev\StratosZero\StratosCore\angular\node_modules@ngtools\webpack\src\loader.js:467:39) at <anonymous> at process._tickCallback (internal/process/next_tick.js:188:7) @ ./src/$$_lazy_route_resource lazy @ ./node_modules/@angular/core/esm5/core.js @ ./src/main.ts @ multi webpack-dev-server/client?http://0.0.0.0:0 ./src/main.ts

what am i doing wrong ?

Hi

I try to publish a ASP NETCORE APP on a IIS with virtual directories. I've no merged solution. my top goal is to host the .Host app on one IIS server and the client on another IIS server. i use the latest version of aspnet Zero .

example :
HOST <a class="postlink" href="http://server.acme.com/ApiServer">http://server.acme.com/ApiServer</a> CLIENT : <a class="postlink" href="http://anotherServer.acme.com/AngularUi">http://anotherServer.acme.com/AngularUi</a>

I tried everything, read all posts but no luck.

can you provide a topo for doing this ?

THX

Chris

Hi all

I've got a WPF application for prototyping. But since migration to v3.0 i've got an error at DB access

" ArgumentException: Format of the initialization string does not conform to specification starting at index 0."

Any Idea ? Here's the app.config sections used :

<connectionStrings>
    <add name="Default" connectionString="Server=*.*.*.*\sql_sauron; Database=K2Alpha; User id=sa ; password=****** ; MultipleActiveResultSets=true"  />
    
  </connectionStrings>

Hello

I'll facing a problem and i can't find the answer. I use a brand new NetCore/Angular that works fine. I add a WPF for prototyping (i'll already done this whith v 2.3 and it works fine) but raises exceptions as i access to ABp Code.

Here is what i have :

L'exception Castle.MicroKernel.Handlers.HandlerException s'est produite HResult=0x80131500 Message=Can't create component 'K2.Stratos.Authorization.Users.UserManager' as it has dependencies to be satisfied.

'K2.Stratos.Authorization.Users.UserManager' is waiting for the following dependencies:

  • Service 'Microsoft.Extensions.Options.IOptions`1[[Microsoft.AspNetCore.Identity.IdentityOptions, Microsoft.Extensions.Identity.Core, Version=2.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60]]' which was not registered.
  • Service 'Microsoft.AspNetCore.Identity.IPasswordHasher`1[[K2.Stratos.Authorization.Users.User, K2.Stratos.Core, Version=4.1.0.0, Culture=neutral, PublicKeyToken=null]]' which was not registered.
  • Service 'System.Collections.Generic.IEnumerable1[[Microsoft.AspNetCore.Identity.IUserValidator1[[K2.Stratos.Authorization.Users.User, K2.Stratos.Core, Version=4.1.0.0, Culture=neutral, PublicKeyToken=null]], Microsoft.Extensions.Identity.Core, Version=2.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60]]' which was not registered.
  • Service 'System.Collections.Generic.IEnumerable1[[Microsoft.AspNetCore.Identity.IPasswordValidator1[[K2.Stratos.Authorization.Users.User, K2.Stratos.Core, Version=4.1.0.0, Culture=neutral, PublicKeyToken=null]], Microsoft.Extensions.Identity.Core, Version=2.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60]]' which was not registered.
  • Service 'Microsoft.AspNetCore.Identity.ILookupNormalizer' which was not registered.
  • Service 'Microsoft.AspNetCore.Identity.IdentityErrorDescriber' which was not registered.
  • Service 'System.IServiceProvider' which was not registered.
  • Service 'Microsoft.Extensions.Logging.ILogger`1[[K2.Stratos.Authorization.Users.UserManager, K2.Stratos.Core, Version=4.1.0.0, Culture=neutral, PublicKeyToken=null]]' which was not registered.
  • Service 'K2.Stratos.Authorization.Roles.RoleManager' which was registered but is also waiting for dependencies. 'K2.Stratos.Authorization.Roles.RoleManager' is waiting for the following dependencies:
  • Service 'System.Collections.Generic.IEnumerable1[[Microsoft.AspNetCore.Identity.IRoleValidator1[[K2.Stratos.Authorization.Roles.Role, K2.Stratos.Core, Version=4.1.0.0, Culture=neutral, PublicKeyToken=null]], Microsoft.Extensions.Identity.Core, Version=2.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60]]' which was not registered.
  • Service 'Microsoft.AspNetCore.Identity.ILookupNormalizer' which was not registered.
  • Service 'Microsoft.AspNetCore.Identity.IdentityErrorDescriber' which was not registered.
  • Service 'Microsoft.Extensions.Logging.ILogger`1[[K2.Stratos.Authorization.Roles.RoleManager, K2.Stratos.Core, Version=4.1.0.0, Culture=neutral, PublicKeyToken=null]]' which was not registered.

I boostraped the app with this code public App() {

        _bootstrapper = AbpBootstrapper.Create&lt;ProtoModule&gt;();
        //_bootstrapper.IocManager.IocContainer.AddFacility&lt;LoggingFacility&gt;(f => f.UseAbpLog4Net()
        //    .WithConfig("log4net.config"));
    }

    protected override async void OnStartup(StartupEventArgs e)
    {
        _bootstrapper.Initialize();
      //  await Proto.CurrentWebServer.ConnectAsync();

    }

    protected override void OnExit(ExitEventArgs e)
    {
        _bootstrapper.Dispose();
    }

can you help me ?

Chris

Question

Hi

I use Core & Angular Zero

I unterstand that the default tenant Id should be 1. But if the first seedings fails, the Id will be 2, 3 or more.

To reproduce, try to add a Custom Builder and make it fail (on a newly created DB)

Is this a bug or am i false ?

Showing 1 to 6 of 6 entries