Open Closed

Error when viewing Web Gateway Project #3462


User avatar
0
mbuthiagrg@gmail.com 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
    Support Team 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
    mbuthiagrg@gmail.com created

    Thank you this has resolved the issue.

Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11