After you have restored a NAV SQL database to your PC, you may need to unlock the database. Here is my sql-script: SQL-tool to unlock NAV-DB (SQL-server). This script creates a new user “TEMPUSER’ in SQL Server and the NAV database so you can log on to the NAV system.
Posted inDynamics NAV & BC Tips & tricks