Open Closed

The Resource Requested couldn't found on server #8084


User avatar
0
nabass created

hi i faced non logical error after build angular project and publish in IIS Server this error doesn't appear in development phase what is that and how to solve it note: i started new project for test (abp new projectName -u angular) and faced same error

  • ABP Framework version: v8.3 && v8.0
  • UI Type: Angular
Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

7 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Fullstack Developer

    Could you share the full logs?

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    nabass created

    as i mention before this is new project without any logic without any code just generated project then test i got this error here is the log

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    liangshiwei created
    Fullstack Developer

    Hi,

    I can reproduce the problem, you can remove remoteEnv from environment.prod.ts to solve the problem.

    we will fix the problem in the next patch version and refund your ticket.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    masum.ulu created
    Angular Expert

    Hi, do you have web.config in your angular prod folder ? If yes can you please add a custom rule for getEnvConfig endpoint like below

    <system.webServer>
     <rewrite>
      <rules>
       <rule name="Redirect" stopProcessing="true">
        <match url="getEnvConfig" />
        <action type="Redirect" url="dynamic-env.json" />
       </rule>
      </rules>
     </rewrite>
    </system.webServer>
    
    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    improwise created

    Can confirm we are also seeing this problem but it seems like the source of it has been identified.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    improwise created

    Hi, do you have web.config in your angular prod folder ? If yes can you please add a custom rule for getEnvConfig endpoint like below

    <system.webServer> 
     <rewrite> 
      <rules> 
       <rule name="Redirect" stopProcessing="true"> 
        <match url="getEnvConfig" /> 
        <action type="Redirect" url="dynamic-env.json" /> 
       </rule> 
      </rules> 
     </rewrite> 
    </system.webServer> 
    

    Why would there be a web.config in an Angular application?

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    masum.ulu created
    Angular Expert

    Because if you gonna publish ng app to IIS, IIS needs web.config

    It is deployment step requirements. I'll try to get dynamic-env during first request.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on September 16, 2026, 14:50
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.