Base solution for your next web application

Activities of "abdourahmani"

Hi there, I'm trying to make my application run, but I'm unable to find where to start to debug these errors. Any help will be highly appreciated.

dotnet --version : 1.0.1 SDKs installed : 1.0.0-preview2-003121, 1.0.0-preview2-003131, 1.0.0-preview2-003133, 1.0.1 Microsoft.NETCore.App : 1.0.0, 1.0.1, 1.0.4, 1.1.1 Below is the package manager output

Thanks

PATH=.\node_modules\.bin;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Web\External;%PATH%;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Web\External\git
C:\Program Files\dotnet\dotnet.exe restore "D:\MyWorkingDir\Lbi.Tulipe\Server\.vs\restore.dg"
log  : Restoring packages for D:\MyWorkingDir\Lbi.Tulipe\Server\test\Lbi.Tulipe.Tests\project.json...
log  : Restoring packages for D:\MyWorkingDir\Lbi.Tulipe\Server\src\Lbi.Tulipe.Migrator\project.json...
log  : Restoring packages for D:\MyWorkingDir\Lbi.Tulipe\Server\src\Lbi.Tulipe.EntityFramework\project.json...
log  : Restoring packages for D:\MyWorkingDir\Lbi.Tulipe\Server\src\Lbi.Tulipe.Web.Core\project.json...
log  : Lock file has not changed. Skipping lock file write. Path: D:\MyWorkingDir\Lbi.Tulipe\Server\src\Lbi.Tulipe.Migrator\project.lock.json
log  : D:\MyWorkingDir\Lbi.Tulipe\Server\src\Lbi.Tulipe.Migrator\Lbi.Tulipe.Migrator.xproj
log  : Restore completed in 5511ms.
log  : Restoring packages for D:\MyWorkingDir\Lbi.Tulipe\Server\src\Lbi.Tulipe.Web.Host\project.json...
log  : Lock file has not changed. Skipping lock file write. Path: D:\MyWorkingDir\Lbi.Tulipe\Server\test\Lbi.Tulipe.Tests\project.lock.json
log  : D:\MyWorkingDir\Lbi.Tulipe\Server\test\Lbi.Tulipe.Tests\Lbi.Tulipe.Tests.xproj
log  : Restore completed in 13145ms.
log  : Restoring packages for tool 'Migrator.EF6.Tools' in D:\MyWorkingDir\Lbi.Tulipe\Server\src\Lbi.Tulipe.EntityFramework\project.json...
log  : Lock file has not changed. Skipping lock file write. Path: D:\MyWorkingDir\Lbi.Tulipe\Server\src\Lbi.Tulipe.Web.Core\project.lock.json
log  : D:\MyWorkingDir\Lbi.Tulipe\Server\src\Lbi.Tulipe.Web.Core\Lbi.Tulipe.Web.Core.xproj
log  : Restore completed in 15458ms.
error: Project Lbi.Tulipe.Core is not compatible with netcoreapp1.1 (.NETCoreApp,Version=v1.1). Project Lbi.Tulipe.Core supports: net461 (.NETFramework,Version=v4.6.1)
error: Package Abp.EntityFramework 1.5.0 is not compatible with netcoreapp1.1 (.NETCoreApp,Version=v1.1). Package Abp.EntityFramework 1.5.0 supports: net452 (.NETFramework,Version=v4.5.2)
error: Package Abp.Zero.EntityFramework 1.5.0 is not compatible with netcoreapp1.1 (.NETCoreApp,Version=v1.1). Package Abp.Zero.EntityFramework 1.5.0 supports: net452 (.NETFramework,Version=v4.5.2)
error: Package Abp 1.5.0 is not compatible with netcoreapp1.1 (.NETCoreApp,Version=v1.1). Package Abp 1.5.0 supports: net452 (.NETFramework,Version=v4.5.2)
error: Package Abp.AutoMapper 1.5.0 is not compatible with netcoreapp1.1 (.NETCoreApp,Version=v1.1). Package Abp.AutoMapper 1.5.0 supports: net452 (.NETFramework,Version=v4.5.2)
error: Package Abp.Castle.Log4Net 1.5.0 is not compatible with netcoreapp1.1 (.NETCoreApp,Version=v1.1). Package Abp.Castle.Log4Net 1.5.0 supports: net452 (.NETFramework,Version=v4.5.2)
error: Package Abp.Zero 1.5.0 is not compatible with netcoreapp1.1 (.NETCoreApp,Version=v1.1). Package Abp.Zero 1.5.0 supports: net452 (.NETFramework,Version=v4.5.2)
error: Package Abp.Zero.Ldap 1.5.0 is not compatible with netcoreapp1.1 (.NETCoreApp,Version=v1.1). Package Abp.Zero.Ldap 1.5.0 supports: net452 (.NETFramework,Version=v4.5.2)
error: One or more projects are incompatible with .NETCoreApp,Version=v1.1.
error: One or more packages are incompatible with .NETCoreApp,Version=v1.1.
log  : Lock file has not changed. Skipping lock file write. Path: D:\MyWorkingDir\Lbi.Tulipe\Server\src\Lbi.Tulipe.EntityFramework\project.lock.json
log  : D:\MyWorkingDir\Lbi.Tulipe\Server\src\Lbi.Tulipe.EntityFramework\Lbi.Tulipe.EntityFramework.xproj
log  : Restore failed in 18075ms.
log  : Restoring packages for tool 'Microsoft.Extensions.SecretManager.Tools' in D:\MyWorkingDir\Lbi.Tulipe\Server\src\Lbi.Tulipe.Web.Host\project.json...
log  : Restoring packages for tool 'Microsoft.AspNetCore.Razor.Tools' in D:\MyWorkingDir\Lbi.Tulipe\Server\src\Lbi.Tulipe.Web.Host\project.json...
log  : Restoring packages for tool 'Microsoft.AspNetCore.Server.IISIntegration.Tools' in D:\MyWorkingDir\Lbi.Tulipe\Server\src\Lbi.Tulipe.Web.Host\project.json...
log  : Restoring packages for tool 'Microsoft.VisualStudio.Web.CodeGeneration.Tools' in D:\MyWorkingDir\Lbi.Tulipe\Server\src\Lbi.Tulipe.Web.Host\project.json...
log  : Lock file has not changed. Skipping lock file write. Path: D:\MyWorkingDir\Lbi.Tulipe\Server\src\Lbi.Tulipe.Web.Host\project.lock.json
log  : D:\MyWorkingDir\Lbi.Tulipe\Server\src\Lbi.Tulipe.Web.Host\Lbi.Tulipe.Web.Host.xproj
log  : Restore completed in 18932ms.
Errors in D:\MyWorkingDir\Lbi.Tulipe\Server\src\Lbi.Tulipe.EntityFramework\Lbi.Tulipe.EntityFramework.xproj
    Project Lbi.Tulipe.Core is not compatible with netcoreapp1.1 (.NETCoreApp,Version=v1.1). Project Lbi.Tulipe.Core supports: net461 (.NETFramework,Version=v4.6.1)
    Package Abp.EntityFramework 1.5.0 is not compatible with netcoreapp1.1 (.NETCoreApp,Version=v1.1). Package Abp.EntityFramework 1.5.0 supports: net452 (.NETFramework,Version=v4.5.2)
    Package Abp.Zero.EntityFramework 1.5.0 is not compatible with netcoreapp1.1 (.NETCoreApp,Version=v1.1). Package Abp.Zero.EntityFramework 1.5.0 supports: net452 (.NETFramework,Version=v4.5.2)
    Package Abp 1.5.0 is not compatible with netcoreapp1.1 (.NETCoreApp,Version=v1.1). Package Abp 1.5.0 supports: net452 (.NETFramework,Version=v4.5.2)
    Package Abp.AutoMapper 1.5.0 is not compatible with netcoreapp1.1 (.NETCoreApp,Version=v1.1). Package Abp.AutoMapper 1.5.0 supports: net452 (.NETFramework,Version=v4.5.2)
    Package Abp.Castle.Log4Net 1.5.0 is not compatible with netcoreapp1.1 (.NETCoreApp,Version=v1.1). Package Abp.Castle.Log4Net 1.5.0 supports: net452 (.NETFramework,Version=v4.5.2)
    Package Abp.Zero 1.5.0 is not compatible with netcoreapp1.1 (.NETCoreApp,Version=v1.1). Package Abp.Zero 1.5.0 supports: net452 (.NETFramework,Version=v4.5.2)
    Package Abp.Zero.Ldap 1.5.0 is not compatible with netcoreapp1.1 (.NETCoreApp,Version=v1.1). Package Abp.Zero.Ldap 1.5.0 supports: net452 (.NETFramework,Version=v4.5.2)
    One or more projects are incompatible with .NETCoreApp,Version=v1.1.
    One or more packages are incompatible with .NETCoreApp,Version=v1.1.

Hi ,

I'm also facing this issue. with aspnet Core + angular 4 (not combined solution) v4.2.1

Abdourahmani

<cite>ismcagdas: </cite> Hi @abdourahmani,

Do you use Sql Server ?

Thanks.

Yes, I'm using Sql Server.

<cite>ismcagdas: </cite> Hi @abdourahmani,

So, is there any records on AbpLanguages table when you browse it with sql server management studio or with a similar tool ?

Thanks.

No, the table AbpLanguages is empty.

<cite>ismcagdas: </cite> Hi @abdourahmani,

So, is there any records on AbpLanguages table when you browse it with sql server management studio or with a similar tool ?

Thanks.

It's Ok now. I was running the "public" application. When I switched to the "Host", everything work fine.

Thanks

Hi !

Plaease run the web.host project at least once before running web.public.

Abdourahmani

Hi ,

Every was ok with VS 15.2 until I upgraded VS 15.3.0.

Now getting this "Castle.Core 4.0.0 depends on System.ComponentModel.TypeConverter (>= 4.0.1) but System.ComponentModel.TypeConverter 4.0.1 was not found. An approximate best match of System.ComponentModel.TypeConverter 4.1.0 was resolved." on all projects.

I cleared nuget cache but it did'nt help.

Please help.

Abdourahmani

Hi, inspired by this post [https://forum.aspnetboilerplate.com/viewtopic.php?f=5&t=9847]) I solved the problem by adding "System.ComponentModel.TypeConverter" from nugget in all the projects.

Abdourahmani

Hi ,

After running "Yarn upgrade" on my project, I started getting errors in this "feature-tree.component.ts" component.

var $combobox = $('<select class="feature-tree-combobox" />');
                    let inputType = feature.inputType as any;
                    _.each(inputType.itemSource.items, function(opt) {
                        $("<option></option>")
                            //.attr('value', opt.value)
                            //.text(opt.displayText)
                            .appendTo($combobox);
                    });

The commented lines show : <<Property 'value' does not exist on type 'string'>> and <<Property 'displayText' does not exist on type 'string'>>.

After commenting out these lines, the app runs fine, so far.

Can you please point me to how to correct these errors ?

Regards, Abdourahmani

Hi, I have a problem retrieving data.

<ins>Entity definition</ins>

public class AtmData : FullAuditedEntity<long>
    { 
       [Required]
        public virtual DateTime TransDate { get; set; }

        /// <summary>
        /// Montant de la transaction
        /// </summary>
        public virtual decimal TransAmount { get; set; }
}

<ins>DbContext :</ins>

public virtual DbSet<AtmData> AtmTrans { get; set; }

<ins>Application Service</ins>

private readonly IRepository<AtmData, long> _atmTransRepository;

        var atmTrans = _atmTransRepository.GetAll() ;

But GetAll() always returns nothing. I have the same problem with all tables defines with PK other then the default type int. All tables defined with default Pk int work fine.

Please help, I'm unable to see the problem for 2 days now.

Regards Abdourahmani

Showing 1 to 10 of 52 entries