Open Closed

"Role" entity is not shown in "Select your entity" dropdown via asp.net zero power tool #9478


0
mahendra created

We are going to create new entity via asp.net zero power tool in which we have to link RoleId of "Role" table. We have a option to Add new navigation property via "Navigation Properties" tab. From "Select your entity" dropdown we can select which entity we want to link but as you can see in screenshot "Role" entity is not there while other entities like: "OrganizationUnit" and "User" are present. Is there any way workaround of this issue or is it any bug? If it is bug can you please resolve it ASAP and provide us updated version of tool. FYI, we are using "2.5.0" version of this tool.


16 Answer(s)
  • 0
    mahendra created

    Hi Aspnetzero team,

    Any update for us as we are stuck in extending or using the role and permission model.

    Regards, Mahendra

  • 0
    ismcagdas created
    Support Team

    Hi,

    I have created an issue, please follow https://github.com/aspnetzero/aspnet-zero-core/issues/3459. We will add it for the next release.

  • 0
    mahendra created

    Hi Team, you informed us that this issue will be resolved in next aspnetzero tool or aspnetzero framework. I could not find the solution in 14/08/2020 release of the tool. Please let us know the tentative date by when this is expected. Also, please priortize this issue as our release is impacted. Regards, Mahendra

  • 0
    ismcagdas created
    Support Team

    Hi @mahendra

    This is reacently added to Power Tools. We will release it in a few days.

  • 0
    mahendra created

    Hi Team,

    I am still waiting for the release from you. my project is on hold because of this. I appreciate if you please update me with the ETA.

    Regards, Mahendra

  • 0
    ismcagdas created
    Support Team

    Hi @mahendra

    This should be released last week. Did you update the Power Tools ?

  • 0
    mahendra created

    Hi Team,

    As per visual studio marketplace, latest version is 2.6.0 which was released on 14th Augest 2020 and this version does not contain solution of this issue.

  • 0
    mahendra created

    Hi Team,

    Could you please update on my last post?

  • 0
    maliming created
    Support Team

    HI @mahendra

    https://marketplace.visualstudio.com/items?itemName=Volosoft.AspNetZeroPowerTools

  • 0
    mahendra created

    Hi Team,

    Today after upgrading to new version 2.6.1, i have tried to create new entity "OEPartnerPrivacyStatementMaster" but it has not generated any single relevant file for same. Pleae see below screenshot for your reference:

  • 0
    Mitch created

    I also have an issue with 2.6.1.

    I've selected "Load Entity from Database", made a few changes and then clicked on "Generate", but all it did was to close the Power Tool window, nothing was generated.

    I've tried 5 times including rebooting and closing and reopening Visual Studio, but nothing works.

    I've never had this issue with any previous version of Power Tools up to version 2.6.0 which worked fine.

  • 0
    ismcagdas created
    Support Team

    Hi @mahendra, @Mitch

    1. Could you check logs of the Power Tools ?
    2. Could you also check Windows event viewer logs ?

    Thanks,

  • 0
    mahendra created

    Hi @Team,

    I have not found any logs in window event viewer related to this app. Please see below logs of Power Tools:

    Power tool logs:

    DEBUG 2020-09-09 14:25:15,351 [1 ] lVisualStudioExtension.AspNetZeroRadTool - Menu item clicked with params > loadFromJson: False, loadFromDatabase: False, showAboutForm: False DEBUG 2020-09-09 14:26:10,457 [1 ] dioExtension.Dialogs.EntityGeneratorForm - Generate entity started. DEBUG 2020-09-09 14:26:20,007 [1 ] dioExtension.Dialogs.EntityGeneratorForm - Entity successfully generated. DEBUG 2020-09-09 14:26:33,084 [1 ] lVisualStudioExtension.AspNetZeroRadTool - Menu item clicked with params > loadFromJson: False, loadFromDatabase: False, showAboutForm: True ERROR 2020-09-09 14:26:55,348 [1 ] isualStudio.Lambda.LambdaTesterUtilities - Error configuring Lambda Tester on project. FileName: , FullName: , UniqueName: <MiscFiles> System.Exception: Unable to determine project FileName at Amazon.AWSToolkit.VisualStudio.Lambda.LambdaTesterUtilities.EnsureLambdaTesterConfigured(Project project, IAWSLambda lambdaPlugin) DEBUG 2020-09-09 14:31:14,993 [83 ] it.Telemetry.Internal.TelemetryPublisher - Telemetry Publisher loop has stopped. INFO 2020-09-09 14:31:14,997 [1 ] it.MobileAnalytics.SimpleMobileAnalytics - Queuing analytics event in local queue with timestamp: 09/09/2020 09:01:14 INFO 2020-09-09 14:31:15,014 [1 ] it.MobileAnalytics.SimpleMobileAnalytics - Main session was stopped. Attempting to force final analytics service call attempt. Note: Permission to collect analytics will be checked. INFO 2020-09-09 14:31:17,595 [156 ] it.MobileAnalytics.AMAServiceCallHandler - Reponse from AMAClient.PutEvents(request) meta data: Amazon.Runtime.ResponseMetadata, response HttpStatusCode: Amazon.Runtime.ResponseMetadata DEBUG 2020-09-09 14:33:14,526 [1 ] lVisualStudioExtension.AspNetZeroRadTool - Menu item clicked with params > loadFromJson: False, loadFromDatabase: False, showAboutForm: True INFO 2020-09-09 14:34:01,195 [1 ] it.MobileAnalytics.SimpleMobileAnalytics - Queuing analytics event in local queue with timestamp: 09/09/2020 09:04:01 DEBUG 2020-09-09 14:34:01,202 [8 ] it.Telemetry.Internal.TelemetryPublisher - Telemetry Publisher loop has stopped. INFO 2020-09-09 14:34:01,218 [1 ] it.MobileAnalytics.SimpleMobileAnalytics - Main session was stopped. Attempting to force final analytics service call attempt. Note: Permission to collect analytics will be checked. INFO 2020-09-09 14:34:03,765 [112 ] it.MobileAnalytics.AMAServiceCallHandler - Reponse from AMAClient.PutEvents(request) meta data: Amazon.Runtime.ResponseMetadata, response HttpStatusCode: Amazon.Runtime.ResponseMetadata DEBUG 2020-09-09 14:35:23,793 [1 ] lVisualStudioExtension.AspNetZeroRadTool - Menu item clicked with params > loadFromJson: False, loadFromDatabase: False, showAboutForm: False DEBUG 2020-09-09 14:36:14,641 [1 ] dioExtension.Dialogs.EntityGeneratorForm - Generate entity started. DEBUG 2020-09-09 14:36:16,893 [1 ] dioExtension.Dialogs.EntityGeneratorForm - Entity successfully generated.

  • 0
    ismcagdas created
    Support Team

    Hi @mahendra

    ERROR 2020-09-09 14:26:55,348 [1 ] isualStudio.Lambda.LambdaTesterUtilities - Error configuring Lambda Tester on project. FileName: , FullName: , UniqueName: <MiscFiles> System.Exception: Unable to determine project FileName at Amazon.AWSToolkit.VisualStudio.Lambda.LambdaTesterUtilities.EnsureLambdaTesterConfigured(Project project, IAWSLambda lambdaPlugin)

    Problem might be related to this error. Is this a VS Plugin ? If so, could you disable it and try again ?

    Thanks,

  • 0
    mahendra created

    Hi,

    I have disabled this plugin, still i am not able to generate the entities. FYI, till last version everytnig was working fine. Only in latest version (2.6.1), this issue started coming. Please see below screenshot of disabled toolkit and latest logs:

    DEBUG 2020-09-10 13:58:17,974 [168 ] it.Telemetry.Internal.TelemetryPublisher - Telemetry Publisher loop has stopped. INFO 2020-09-10 13:58:17,977 [1 ] it.MobileAnalytics.SimpleMobileAnalytics - Queuing analytics event in local queue with timestamp: 09/10/2020 08:28:17 INFO 2020-09-10 13:58:17,981 [1 ] it.MobileAnalytics.SimpleMobileAnalytics - Main session was stopped. Attempting to force final analytics service call attempt. Note: Permission to collect analytics will be checked. INFO 2020-09-10 13:58:20,485 [63 ] it.MobileAnalytics.AMAServiceCallHandler - Reponse from AMAClient.PutEvents(request) meta data: Amazon.Runtime.ResponseMetadata, response HttpStatusCode: Amazon.Runtime.ResponseMetadata DEBUG 2020-09-10 14:02:45,366 [1 ] lVisualStudioExtension.AspNetZeroRadTool - Menu item clicked with params > loadFromJson: False, loadFromDatabase: False, showAboutForm: False DEBUG 2020-09-10 14:03:15,111 [1 ] dioExtension.Dialogs.EntityGeneratorForm - Generate entity started. DEBUG 2020-09-10 14:03:17,612 [1 ] dioExtension.Dialogs.EntityGeneratorForm - Entity successfully generated.

  • 0
    ismcagdas created
    Support Team

    Hi @mahendra

    Could you try installing dotnet-runtime-2.2.0-win-x64.exe and try again ?

    Thanks,