Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 Reporting Services Development
 Error "Key not valid for use in specified state"

Author  Topic 

Krayziekup
Starting Member

2 Posts

Posted - 2004-10-18 : 14:08:14
"Key not valid for use in specified state"


Reporting Services has started throwing this error in the log and
stopped working. Have researched on the web and can find very little
info on this error. If anyone has a solution or an idea - I'd
appreciate the help. Thanks in advance.

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2004-10-18 : 16:31:46
Duplicate post:

http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=41409

You only need to post your question once. Before posting, make sure you are in the correct forum.

Tara
Go to Top of Page

oyeyoy
Starting Member

1 Post

Posted - 2005-01-28 : 11:06:13
I had this same problem, and after a couple hours on the phone with Microsoft support was able to resolve it.

Here's some background info:

The problem seems to be linked with the installation of the .NET Framework 1.1 SP1 Hotfix KB867460. After running the rsactivate and rskeymgmt utilities to no avail, we ended up just uninstalling and reinstalling. Note, I had tried uninstalling and reinstalling Reporting Services before and I still got the same "Key not valid for use in specified state" error. The difference this time, was that before reinstalling, we went into administrative tools -> then Component Services. Expand Component Services -> Computers -> My Computer -> COM+ Applications. Right click on IIS--{Default Web Site//Root/ReportServer} and choose properties, and then the advanced tab. Uncheck the "Disable deletion" check box. Click OK. Now, you can right click on IIS--{...ReportServer} and delete. You should also do this for IIS--{...Reports} too. Next, go to C:\Documents and Settings\<machine_name>\ASPNET\Application Data\Microsoft\Crypto\RSA Then underneath a directory titled something like this "\S-1-5-21-823518204-436374069-854245398-1006" look for the system file that begins with this "1aedd7b5699f3d6a8..." and delete that file. Now you should be able to reinstall RS (make sure you've gotten rid of the "old" "ReportServer" and the "ResportServerTempDB" databases). I just had to re-deploy the reports, and was good to go. Hope this helps somebody.

Go to Top of Page

jhermiz

3564 Posts

Posted - 2005-01-28 : 11:30:53
Alternatively a reinstall should work as well.

Jon



Keeping the web experience alive -- [url]http://www.web-impulse.com[/url]
Imperfection living for perfection --
[url]http://jhermiz.blogspot.com/[/url]
Go to Top of Page
   

- Advertisement -