Base solution for your next web application
Open Closed

Error On Navigation Properties #12454


User avatar
0
Paulo.bietkoski created

After migrating from version 9 to the latest version, this error is occurring

Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)

5 Answer(s)
  • User Avatar
    0
    oguzhanagir created
    Support Team

    Hi @Paulo.bietkoski

    Could you please share the current versions of your ASP.NET Zero project and the Power Tools extensions you are using?

    This situation occurs when adding Foreign Entities to the combo box. Make sure that the json files of the entities you generated are under the AspNetZeroRadTool folder. Since you have updated your ASP.NET Zero project to the latest version, you also need to update the Power Tools tool to v4.6.3.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    Paulo.bietkoski created

    Good morning, these are the versions.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    oguzhanagir created
    Support Team

    Hi @Paulo.bietkoski

    Could you share the entity JSON file you created so that we can reproduce the issue? Thank you

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    Paulo.bietkoski created

    Good morning, it is not a specific one that happens, it is in any foreign key, in zip attachment of all json

    ** Link removed for security purposes **

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    oguzhanagir created
    Support Team

    Hi @Paulo.bietkoski

    As seen in the screenshot below, the files with the project name prefix are causing issues when retrieving the generated entities. Therefore, it is recommended to remove these files from the AspNetZeroRadTool folder. Since there are also other files with the same extension, the Power Tools tool is referencing these files as well.

    These must be removed:

    • YourProjectNamePowerTools.runtimeconfig.json
    • YourProjectNamePowerTools.runtimeconfig.dev.json
    • YourProjectNamePowerTools.deps.json


    These files may remain.

    • AspNetZeroRadTool.runtimeconfig.json
    • AspNetZeroRadTool.deps.json

    Should the issue persist, feel free to reach out to us for further assistance. Thank you

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)