Starts in:
0 DAY
20 HRS
5 MIN
7 SEC
Starts in:
0 D
20 H
5 M
7 S
Open Closed

Could not find localization source: AbpUi and Could not find localization source: AbpIdentity #6287


User avatar
0
sunivycsm created

**ABP Framework version: v7.4.1

UI Type: MVC

Database System: EF Core (SQL Server)

Tiered (for MVC) or Auth Server Separated (for Angular): no

Exception message and full stack trace:

Steps to reproduce the issue: ** Hi,

Now after I publish the project to iis, this error appears and I can't process the jobs.


10 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Can you share the full error logs?

  • User Avatar
    0
    sunivycsm created

    Hi,

    These are the steps I'm doing: With dev environments, problems are completely normal.

    With the iis publishing environment, I can still log in to the project home page. But when entering entities, this error appears and no more logs appear.

  • User Avatar
    0
    sunivycsm created

    Despite that, my swagger api still works normally and returns data normally when I use it through postman.

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    I guess you are using the Response compression.

    Can you try to disable it to test again?

  • User Avatar
    0
    sunivycsm created

    Hi,

    I guess you are using the Response compression.

    Can you try to disable it to test again?

    Where can I turn them off?

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    You should see code like this in your project, please comment on these codes.

    AddResponseCompression UseResponseCompression

  • User Avatar
    0
    sunivycsm created

    Hi, I didn't find any such code in my source. ! image.png

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    After checking the Abp/ApplicationConfigurationScript and Abp/ApplicationLocalizationScript endpoint response content-type is text/html.

    They should be application/javascript

    Can you share the full logs? thanks.

  • User Avatar
    0
    sunivycsm created

    I found the cause. The reason is because my server lost some services. Thank you for your help.

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    :)

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