Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

Access Denied

Posted on by 85

Hi,

I am getting access denied error message while login to Microsoft Nav from yesterday onwards (06-Jul-2013). Below is the screenshot of the error message. If we change the SQL server date to previous dates, it is working fine. But for future dates it is not working. 

We have tried to attach the database to one of the test server and tried to open the NAV application, this also working. Can anyone tell me what is wrong with my SQL server? Did anyone come across with this issue before? please help.

Albin

*This post is locked for comments

  • Mohana Yadav Profile Picture
    Mohana Yadav 59,139 Super User 2024 Season 2 on at
    RE: Access Denied

    You can read this blog to know about the above stored proceudre

    mibuso.com/.../login-stored-procedure-on-the-sql-server-option

  • Verified answer
    Albin Profile Picture
    Albin 85 on at
    RE: Access Denied

    Hi All,

    Thanks for your collective support to resolve this issue. We have identified the cause and resolved the issue.

    The issue happened because of a stored procedure "sp_$ndo$loginproc" in all our NAV Databases. This procedure blocks the users while login to NAV database, I am not sure what is inside this procedure (as this procedure is encrypted) . We just renamed the procedure and our NAV works as usual.

    Albin

  • Suggested answer
    Neville Foyn Profile Picture
    Neville Foyn 4,320 on at
    RE: Access Denied

    Hi,

    If you are using a database login rather than windows login, you need to change the date back so that you can login, then go to Tools -> Security -> Database logins inside of NAV and ensure that there are no expiry dates specified against your login

    Cheers

    Nev

  • Suggested answer
    Aleksandar Totovic Profile Picture
    Aleksandar Totovic 16,765 on at
    RE: Access Denied

    Look at SQL Server Management, at Security->Logins->/username/->Properties.

    Does this user has marked 'Enforce password expiration' field?

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans
Liquid error: parsing "/globalsearch/?q=(kdkdjjejjddkjdjjdjdjd" - Not enough )'s.