10 Aug 2010

ASP.NET 4 Session State asp_regsql

Erm, are Microsoft being deliberately obtuse or what? asp_regsql.exe runs a wizard for membership and profile storage but utterly fails to offer a pretty GUI option for creating SQL Session State storage. Noooo, that's hidden away in the command line options. This does the trick:


C:\Windows\Microsoft.NET\Framework\v4.0.30319>aspnet_regsql.exe -ssadd -S yourDbServer -E -sstype c -d yourDatabaseNameHere

No comments:

Post a Comment

Comments are very welcome but are moderated to prevent spam.

If I helped you out today, you can buy me a beer below. Cheers!