Open Closed

The resource requested could not found on the server in Angular #8512


User avatar
0
nabass created

when run angular application i got this error all configurations are good .... response is 200 all is well why this error

  • ABP Framework version: v8.0.2
  • UI Type: Angular
  • Database System: EF Core (SQL Server)

9 Answer(s)
  • User Avatar
    0
    Anjali_Musmade created
    Support Team Support Team Member

    Hello ,

    Can you share some steps to reproduce this issue.

    Thank you.

  • User Avatar
    0
    nabass created

    Hi all steps and all configurations that make angular work is in images i mentioned is there a steps i miss ?

  • User Avatar
    0
    Anjali_Musmade created
    Support Team Support Team Member

    can you share environment.prod.ts file code.

  • User Avatar
    0
    nabass created

    import { Environment } from '@abp/ng.core';

    const baseUrl = 'http://posmini.devtest.sale-erp.com';

    const oAuthConfig = { issuer: 'https://devtest.sale-erp.com/', redirectUri: baseUrl, clientId: 'HorizonERP_App', responseType: 'code', scope: 'offline_access HorizonERP', requireHttps: true, };

    export const environment = { production: true, application: { baseUrl, name: 'HorizonERP', }, oAuthConfig, apis: { default: { url: 'https://devtest.sale-erp.com', rootNamespace: 'HorizonERP', }, AbpAccountPublic: { url: oAuthConfig.issuer, rootNamespace: 'AbpAccountPublic', }, } } as Environment;

  • User Avatar
    0
    Anjali_Musmade created
    Support Team Support Team Member

    Can you update your code as per this file

  • User Avatar
    0
    nabass created

    this is my server URLs but okay i changed the code as image below and i got same error i think error not in angular maybe within appsetting files is there something should i do ?

  • User Avatar
    0
    Anjali_Musmade created
    Support Team Support Team Member

    Hello

    Can you check once appsettings.json and BookStoreHttpApiHostModule.cs file code.

    Thank you.

  • User Avatar
    0
    nabass created

    thank you it works appreciate your efforts

  • User Avatar
    0
    Anjali_Musmade created
    Support Team Support Team Member

    Thank you :)

Made with ❤️ on ABP v9.1.0-preview. Updated on December 13, 2024, 06:09