Search

Using '&' character in Reporting Services Encryption Key Password makes restore impossible by pvitt

Active

1
0
Sign in
to vote
Type: Bug
ID: 777664
Opened: 1/28/2013 2:35:19 AM
Access Restriction: Public
0
Workaround(s)
0
User(s) can reproduce this bug
Using a '&' character within your password results in the following error:

>rskeymgmt.exe -a -f file.snk -p Strong&Password

Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
'Password' is not recognized as an internal or external command, operable program or batch file.

Additionally Mike Yin states (http://social.msdn.microsoft.com/Forums/en-US/sqlreportingservices/thread/71526eef-68f1-4e55-8944-7d9554db9fef/):

It seems that the “&” character within in the command line ends the commands before it, and starts a new command line for the characters after it. For example, if we set the path of the .snk file to include the “&” character, the same error will occur. However, if we backup/restore the encryption key via the Reporting Services Configuration Manager instead of the rskeymgmt utility, we can specify the “&” character in the password.
Details (expand)

Product Language

English

Version

SQL Server 2012 - Standard Edition

Category

Reporting Services

Operating System

Windows Server 2008 R2 Standard (SP1)

Operating System Language

English

Steps to Reproduce

Export the Reporting Services Encryption Key using the Reporting Services Configuration Manager and use a password with an '&' sign.
Try to restore the key.

Actual Results

When restore is doen via command line tool:
Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
'Password' is not recognized as an internal or external command, operable program or batch file.

Expected Results

Key is restored successfully.

Platform

 

Virtualization

 
File Attachments
0 attachments
Sign in to post a comment.
Sign in to post a workaround.