Base solution for your next web application

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

a precision : the module is not compiled. i can't see it as ...chunk.js .

is this related with some lazy loading stuff ? how can i force this module to be generated ?

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 ?

I simply not unterstand how to do.

Wich settings files to modify ? where to change the main URL ?
any code to add somewhere ? Url redirection ? and so on ...

What i'm looking for is a detailled procedure how to archieve my goals ( deploy Host and Client on different servers under virtual directories) .

I tried everuthing i found on your forum in relation with IIs deploy. I found several infos like removing the home controller, copiing the files under the host's wwwroot and so on. but nothing to hosts each app on his own server.

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

No luck ... same error.

is there any setting to change after moving Entity6 to EntityCore ? Are the connection string the same ? Si the sql client the same ?

hi, the wildcards are only here for hidding the real address. The real code has the right address and the connection works with the .host project (with the same string).

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>

I use v3.0 .

Showing 1 to 10 of 17 entries