Posted on: 1/30/2015 11:59:56 PM | Views : 1814

 <sessionState mode="SQLServer" allowCustomSqlDatabase="true"  sqlConnectionString="Data Source="XXXX";Password=XXXX;" cookieless="false" timeout="20"/> I tried to install with cmd but returns Unable to connect to SQL database. I tried to install like this but not working: aspnet_regsql.exe -ssadd -d aspnetdb -sstype c -S localhost -U UserLogin1 -P testing111 returns is not recognized ... if used: aspnet_regsql.exe -ssadd -d aspnetdb -sstype c -S localhost -U <UserLogin1> -P <testing111> also not working... Please help Error is:
Unable to use SQL Server because either ASP.NET version 2.0 Session State is not installed on the SQL server, or ASP.NET does not have permission to run the dbo.TempGetVersion stored procedure. If the ASP.NET Session State schema has not been installed, please install ASP.NET Session State S ...

Go to the complete details ...