Skip to main content

Notifications

Microsoft Dynamics NAV (Archived)

Microsoft Navision and SQL

Posted on by Microsoft Employee

We added additional hard disk to our Navision server but after restoring our SQL database only one user access was allowed, We have 30 licenses for this. When I checked the session it display many sessions for SA access even no one is using it.  We tried detaching and attaching our database but still it only allows one user in Nav.

Then I decided to uninstall the SQL server and reinstall it. But during installation it prompts for an instance and when we select the existing instance it says I cannot use an existing instance. But when we try to create new instance and try viewing in our SQL console, we can't see it. 

What we can do to resolve this? We are using Navision ver 2009 with Standard SQL 2012.

*This post is locked for comments

  • Saurav.Dhyani Profile Picture
    Saurav.Dhyani 17,965 Super User 2024 Season 2 on at
    RE: Microsoft Navision and SQL

    Hi,

    Are you referring for Role Tailored Client Or Classic Client?

    Is there any error message, if yes please share same...

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Microsoft Navision and SQL

    hi we are able to install the sql now. But Nav 2009 cannot connect to it?

    We define already the database name and server name in Nav. What we will do now?

  • Saurav.Dhyani Profile Picture
    Saurav.Dhyani 17,965 Super User 2024 Season 2 on at
    RE: Microsoft Navision and SQL

    Do you get an error message?

    If yes what is that.

  • Bodhi Profile Picture
    Bodhi 554 on at
    RE: Microsoft Navision and SQL

    20151125155938.png

    20151125155938.png

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Microsoft Navision and SQL

    We're able to declare the instance during the first SQL installation. But I have uninstalled SQL again because the instance (although created)  can't be seen in SQL console. Then I decided to reinstall SQL again.. But this time it doesn't complete the installation process. It stopped at "Setup files" phase.

  • Saurav.Dhyani Profile Picture
    Saurav.Dhyani 17,965 Super User 2024 Season 2 on at
    RE: Microsoft Navision and SQL

    Then How can are getting existing Instance Name?

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Microsoft Navision and SQL

    yes we un-installed using DVD before reinstalling.

    But the installation stops when it reach "setup files" phase.

  • Suggested answer
    Saurav.Dhyani Profile Picture
    Saurav.Dhyani 17,965 Super User 2024 Season 2 on at
    RE: Microsoft Navision and SQL

    Hey Joel,

    How you un-installed SQL?

    You Need to un-install SQL from the SQL Product DVD to completely un-install SQL.

    No Navision or SQL lock the system.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Microsoft Navision and SQL

    Hi, I have already uninstalled SQL then reinstall. During re-installation it stops before asking SQL Instance.  We tried reinstalling many time but it always stops.  Does Navision or SQL locks the system?

  • Suggested answer
    Saurav.Dhyani Profile Picture
    Saurav.Dhyani 17,965 Super User 2024 Season 2 on at
    RE: Microsoft Navision and SQL

    Hi,

    1. Only one user can access Navision database -

    > From SQL Server Go to Database Properties, under Options Check the Value of Last Property "Restrict Access". It should be set to MULTI_USER.

    OR

    From Navision, Open Database and Navigate to File -> Database -> Alter, Option (Tab). Check Value of Single User Boolean. It should be set to NO.

    2. Show SQL Instance -

    Considering you have installed a Instance Name Test.

    Open SQL Server Management Studio, Suppose The Server Name is ABC. So to access your instance you need to replace ABC with ABC\Test.

    Let us know if you have any issues. 

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans