Open Closed

Error when viewing Web Gateway Project #3462


User avatar
0
geegee created

When I generate a new project and run it, when viewing the Web Gateway Swagger Document I get the following error:-

If you're creating a bug/problem report, please include followings:

  • ABP Framework version: v5.3.3
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): MicroService Template
  • Exception message and stack trace:
  • Steps to reproduce the issue:" Generate and run a new project without any modifications using abp suite.

2 Answer(s)
  • User Avatar
    0
    gterdem created
    Senior .NET Developer

    In OnApplicationInitialization:

    app.UseCorrelationId();
    app.UseStaticFiles(); //Add this line
    app.UseCors();
    

    I have refunded your question, we'll fix it in the first patch.

  • User Avatar
    0
    geegee created

    Thank you this has resolved the issue.

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.3.0-preview. Updated on April 16, 2025, 12:13