When trying to open Forecast 5, you are receiving the error below:
SqlException
Cannot open database "Forecast5V3_2018" requested by the login. The login failed.
Login failed for user 'Navsoft\JohnDoe'.
at Forecast5.DataAccessLayer.Forecast5Db_SQL2008.ExecuteNonQuery(String command)
at Forecast5.DataAccessLayer.Forecast5Db_SQL2008.RemoveThirdPartyViews()
at Forecast5.View.MainWindow..ctor()
at Forecast5.View.App.OnStartup(StartupEventArgs e)
at System.Windows.Application.<.ctor>b__1_0(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
This error message indicates that the user specified (highlighted above) does not have access to the database (italicised above).
Solution:
You will need to add the user to have permissions to access the database as per the steps below:
Note: Forecast 5 support can assist with this issue as long as we have been provided with the administrative login to the SQL Server.