Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP forum
Suggested answer

"Limited User Type" license User is unable to login to GP

Posted on by 9

Hello ,

We recently acquired 10 new Limited User Type licenses along with our current Full licenses. Entered new Registration keys and created new user with Limited license type but user is unable to login in spite of having just Inquiry access in GP.   When user logs in first user is getting "don't have security privilages..." error, when click ok Company login window is displaying and when click ok user is getting below SQL error. I ran Dex Log but i couldn't find any thing substantially. Interesting part is, when same user has been changed to Full license then user is able to login successfully and i also checked SQL Server with both Full and Limited user has same access to Dynamics and Company db. Not sure what's going on, please help if anyone have seen this behavior before ? FYI, i also ran Grant SQL. Attached Security tasks which are configured for Inquiry role. We are using GP 2018 R2. 

pastedimage1649455708239v1.png

pastedimage1649455763210v2.png

pastedimage1649456154826v3.png

  • Preetham theGP Profile Picture
    Preetham theGP 9 on at
    RE: "Limited User Type" license User is unable to login to GP

    Check this post

    community.dynamics.com/.../dynamics-gp-limited-license-type-help

  • Suggested answer
    Lisa at AonC.com Profile Picture
    Lisa at AonC.com 3,024 on at
    RE: "Limited User Type" license User is unable to login to GP

    As previously noted, GP Limited User Licenses work very well for users who need inquiry/reporting access but should not be altering data. 

    You can set up a Full-License User who is only assigned the LIMITED USER roles.

    pastedimage1650032786682v1.png


  • Preetham theGP Profile Picture
    Preetham theGP 9 on at
    RE: "Limited User Type" license User is unable to login to GP

    Please check this blog post , this gives you details of what Limited users can do along with roles.

    www.erpsoftwareblog.com/.../

  • Suggested answer
    Lisa at AonC.com Profile Picture
    Lisa at AonC.com 3,024 on at
    RE: "Limited User Type" license User is unable to login to GP

    Limited licenses do NOT be able to perform all A/P duties.  They can be assigned to security that allows for inquiring/reporting on data but they won't be able to do things like enter or post transactions.  [They will be able to enter self-service transactions like their own payroll time and purchase requisitions.]

    We often recommend Limited licenses for management-level positions where the user needs to inquire on data but not enter/modify data.

    pastedimage1649943250761v1.png

  • Preetham theGP Profile Picture
    Preetham theGP 9 on at
    RE: "Limited User Type" license User is unable to login to GP

    Thanks David and Lisa for your response,  issue was related to one of GP customizations.  

  • David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    David Musgrave MVP ... 13,833 Moderator on at
    RE: "Limited User Type" license User is unable to login to GP

    Also as Lisa mentioned. Using GP Power Tools will help you identify the security issues on login.

    David

  • Suggested answer
    David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    David Musgrave MVP ... 13,833 Moderator on at
    RE: "Limited User Type" license User is unable to login to GP

    To fix the SQL error. Restore the default regional settings.

    Using dots/periods in the date format does not work for the code that is failing. I have seen dots in AM/PM cause time to fail.

    It is caused by code that uses STR() rather than sqlDate() and sqlTime() functions.

    Using STR() will also means the code will fail in countries that use dd/mm/yyyy date formats.

    Bad code that needs fixing.

    David

  • Preetham theGP Profile Picture
    Preetham theGP 9 on at
    RE: "Limited User Type" license User is unable to login to GP

    The following statement is the issue.

    /*  Date: 04/08/2022  Time: 17:26:06

    stmt(146554056):*/

    BEGIN DECLARE @stored_proc_name char(41) DECLARE @retstat int DECLARE @param5 int set nocount on SELECT @param5 = 0 SELECT @stored_proc_name = 'IAA.dbo.uprBuildHomepageDataGridTempTable' EXEC @retstat = @stored_proc_name '', '1900.01.01', '-4714.11.30', '##2070626', @param5 OUT SELECT @retstat, @param5 set nocount on END

    /*

  • Preetham theGP Profile Picture
    Preetham theGP 9 on at
    RE: "Limited User Type" license User is unable to login to GP

    Update:

    When i checked closely Dex SQL log i noticed this statement which is giving SQL Date to string conversion error. Looks like UPR10501  is Payroll module table and we don't even use this module. 

    /* Date: 04/08/2022 Time: 17:26:06
    SQLSTATE:(01000) Native Err:(0) stmt(146554056):*/
    [Microsoft][SQL Server Native Client 11.0][SQL Server]insert into ##2070626 select distinct TimeCard.PayCode, TimeCard.UNTSTOPY, TimeCard.TRXDATE from UPR10501 as TimeCard where TimeCard.EMPLOYID = '' and TimeCard.TRXDATE >= '1900.01.01' and TimeCard.T*/
    /*
    /* Date: 04/08/2022 Time: 17:26:06
    SQLSTATE:(22008) Native Err:(241) stmt(146554056):*/
    [Microsoft][SQL Server Native Client 11.0][SQL Server]Conversion failed when converting date and/or time from character string.*/

  • Suggested answer
    Lisa at AonC.com Profile Picture
    Lisa at AonC.com 3,024 on at
    RE: "Limited User Type" license User is unable to login to GP

    Do you have add-in products that may need to be added to the security?  Run a GP/SQL log to see what items are having an issue.

    [If you have access to GP PowerTools, it can help troubleshooting this as well.]

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,552 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,552 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Product updates

Dynamics 365 release plans