You receive an error message in the Reporting Services trace log when you restart the Report Server service after you change the user account that is used to run the Report Server service (842421)
The information in this article applies to:
- Microsoft SQL Server 2000 Reporting Services
SYMPTOMSOn a computer that is running Microsoft
SQL Server 2000 Reporting Services, if you change the
user account that you use to run the Report Server service, and then you restart the Report Server service, you may notice
a behavior that is similar to the following: CAUSEThe
Report Server service uses the symmetric key to access the encrypted
data in a report server database. This symmetric key is encrypted by using an
asymmetric public key that corresponds to the computer and the user account
that is used to run the Report Server service. When you change the user account
that is used to run the Report Server service, the report server cannot
use the asymmetric public key to decrypt the symmetric key. Therefore, the Report Server
service cannot use the symmetric key to access the data from the report server
database.RESOLUTIONTo resolve this
problem, you must back up the encrypted keys before you change the user account
that is used to run the Report Server Windows service or the Report Server Web
service, and then you must apply the keys that were backed up. To do this, on the
computer that is running the Reporting Services, follow these steps: - Start the Report Server Windows service and
the Report Server Web service by using the user account that the service was
running successfully for.
- Use the rskeymgmt command-line utility to back up the
encryption keys. To do this, run the following command at the command prompt:
RSKeyMgmt -e -f FileName -p StrongPassword Note: Replace FileName and StrongPassword with an
appropriate file name and an appropriate password. By default, the rskeymgmt
command-line utility is located in the InstallationDrive:\Program Files\Microsoft SQL Server\80\Tools\Binn folder.
For
more information about the rskeymgmt command-line utility, run the following
command at the command prompt: - Use the rskeymgmt command-line utility to remove the
reference to the existing keys. To do this, run the following command at the
command prompt:
RSKeyMgmt -r InstallationID Note Replace InstallationID with the installation ID that is
provided in the InstallationID setting of the RSReportServer.config file. By default, the
RSReportServer.config file is stored in the InstallationDrive:\Program Files\Microsoft SQL Server\MSSQL\Reporting Services\ReportServer folder. - Stop Microsoft Internet Information Services (IIS).
- Stop the Report Server Windows service.
- Change the user account that is used to run the Report
Server Windows service or the Report Server Web service to the user account
that you want.
- Start IIS.
- Start the Report Server Windows service.
- Use the rskeymgmt command-line utility to apply the
encryption keys that were backed up in step 2. To do this, run the following
command at the command prompt:
RSKeyMgmt -a -f FileName -p StrongPassword Note Replace FileName and StrongPassword with the
file name and the password that you used to back up the symmetric encryption
keys in step 1.
STATUSMicrosoft
has confirmed that this is a problem in the Microsoft products that are listed
in the "Applies to" section.REFERENCESFor more information about Reporting Services trace logs,
visit the following Microsoft Developer Network (MSDN) Web site: For
more information about the RSReportServer.config configuration file, visit the
following Microsoft Web site:
Modification Type: | Minor | Last Reviewed: | 7/16/2004 |
---|
Keywords: | kbtshoot kbConfig kbService kbReport kbMsg kbUser kbsettings kblogin kberrmsg kbprb KB842421 kbAudDeveloper |
---|
|