The RS.exe uses VBC.exe which is executing files from the TEMP directory

Phil Millington-Hore 1 Reputation point
2021-02-17T16:56:42.09+00:00

We use the RS.exe to deploy Reports to SSRS. However, the RS.exe utility uses VBC.exe which is executing .exe files from the TEMP directory. Is there a way I can avoid this because some anti-virus software does not like .exes being executed from the TEMP directory so my Reports are never deployed as RS.exe is treated like a suspicious file.

Is there something I can do to change the directory used by this tool? OR, will I have to change the TEMP directory, execute RS.exe and then restore the TEMP directory afterwards?

SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
2,799 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,568 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Viorel 112.1K Reputation points
    2021-02-17T17:22:38.277+00:00

    Maybe these programs get the folder from TEMP or TMP environment variables? You can perform a test in a Command Prompt Window:

    set TEMP=C:\MyFolder
    set TMP=C:\MyFolder
    rs.exe . . .
    
    1 person found this answer helpful.

  2. ZoeHui-MSFT 32,736 Reputation points
    2021-02-18T07:40:38.07+00:00

    Hi @Phil Millington-Hore ,

    Not familiar with Vbc.exe and the executing process with temp directory.

    From SSRS side, we could not only deploy reports with RS.exe, but also we could use other tools for help.

    We could deploy reports with SSDT(Visual Studio) or Report Builder.

    Also we may directly upload the reports to the report server.

    Details refer:publishing-reports-to-a-report-server

    Regards,

    Zoe


    If the answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
    Hot issues October

    0 comments No comments