Skip to content

My name is Rob. Here are the things I find useful or amusing. Enjoy.


Tag: sql

Using SQL Server to store ASP.Net session state has it’s advantages. It was time for us to switch from InProc to SQL, but we ran into some problems getting the configuration right.

The SELECT permission was denied on the object ‘sysobjects’, database ‘mssqlsystemresource’, schema ‘sys’.]

Unable to use SQL Server because ASP.NET version 2.0 Session State is not installed on the SQL server. Please install ASP.NET Session State SQL Server version 2.0 or above.

These two pages got me going in the end.

Now watch your session states survive an iisreset, or even server reboot! You can also load balance your requests over multiple web servers now too.

Trying to install SQL Management Tools on my machine threw an error related to Visual Studio 2008 not having SP1.

I installed Sp1… Same error.

I tried uninstalling Visual Studio. It threw up on registry errors, office errors, etc. I removed office, fixed the registry errors – still no luck.

I forcefully removed Visual Studio using Perfect Uninstaller. Still no luck installeding SQL Management Studio.

Then I stumbled across this page:

This page may help too:

Removing the registry keys described in the article did the trick. Now lets hope I can get Visual Studio and Office back on here 🙂