I'm trying to configure ASP session state on SQL Server but running into an issue. I'm following the steps listed here:
https://www.codeproject.com/articles/104082/configuring-asp-session-state-on-sql-server
I navigated to the proper directory C:\Windows\Microsoft.NET\Framework64\v4.0.30319
and run the following command:
aspnet_regsql.exe -S MyServerName -U MyUserName -P MyPassword -ssadd -sstype p
However, I keep getting the same error message:
An error has occurred. Details of the exception:
Login failed for user 'MyUserName'.
Unable to connect to SQL Server database.
I have access to the server and I'm able to access it through SQL Server Management Studio so what can be the cause of this issue?