r/SQL • u/RedditDon3 • Sep 27 '26
SQL Server Pls help, ssrs 2022 not working after upgrading from sql/ssrs2012
I upgraded ssrs 2022, configured db and restored encryption key. Then upgraded sql 2016 to 2022 and that completed.
When I went to http://localshost/Reports, it gave me an error about not being configured properly. /ReportServer shows some error related to wwwroot/ReportServer.
Did some googling, found that ssrs 2022 does not use IIS wwwroot directory. Checked keys table in the ReportServer db and found 2 instances of ssrs (one with new instance name and the other with old instance name from 2016). Google sear Lin suggests running an sql command to delete all entries, filtered on machinename, then open ssrsbconfiguration and reapply web service url so that it can rewrite run configuration file?
I’m fairly new to sql and found these steps from googling. I have sysadmi background but have very limited knowledge of sql.
I use Varonis. How can I fix SSRS 2022 so that Varonis can work again.
TIA
3
u/TemporaryDisastrous Sep 28 '26
Did you just casually do this in prod?
1
u/CanProfessional766 Sep 29 '26
I’d avoid deleting anything from the
Keystable for now. I’d first check the 2022 instance in Reporting Services Configuration Manager and make sure the database, Web Service URL, and Web Portal URL are all set correctly.Also SSRS 2022 doesn’t use IISwwwroot, so that part can probably be ignored. Once/ReportServeris working check Varonis again.1
u/bootycakes MSSQL Sep 27 '26
https://learn.microsoft.com/en-us/sql/reporting-services/install-windows/upgrade-and-migrate-reporting-services?view=sql-server-ver17
I just went through this upgrade, and had no issues. Be sure to do pre-upgrade steps.
1
u/DarlanSandro Oct 01 '26
Esse erro apontando para "wwwroot" e a duplicidade na tabela "Keys" revelam dois problemas de migração: conflito de portas com o IIS e registro órfão de instância na base.
Na minha opinião, você não deve executar um "DELETE" manual via SQL direto na tabela "Keys". Fazer isso na mão pode corromper o mapeamento da chave simétrica e travar de vez a descriptografia de credenciais e conexões salvas. O caminho seguro é abrir o Report Server Configuration Manager, navegar até a opção Scale-out Deployment (Implantação Escalável), selecionar a linha correspondente à instância antiga de 2016 e clicar em Remove. A própria ferramenta cuida de limpar o registro órfão sem quebrar a chave da nova instância de 2022.
Já o erro mencionando "wwwroot/ReportServer" acontece porque o SSRS não roda no IIS; ele escuta diretamente via driver "http.sys" do Windows. Se a requisição caiu no "wwwroot", significa que existe um IIS ativo na máquina (frequentemente instalado pelos módulos web do Varonis) segurando o binding da porta 80 e interceptando a chamada antes do SSRS.
O que costumo fazer nesses cenários para resolver :
Com o SSRS respondendo na porta dedicada e a instância antiga removida da implantação escalável, abra o console de administração do Varonis (nas configurações de servidor de relatórios/DatAdvantage) e atualize a URL do Report Server para apontar para a nova porta configurada. Feito isso, a integração volta a operar normalmente.
1
u/[deleted] Sep 28 '26
[removed] — view removed comment