Ends in:
7 DAYS
19 HRS
3 MIN
17 SEC
Ends in:
7 D
19 H
3 M
17 S
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.

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