Connect to SSRS server in remote from pc with different domains

SSRS-VS 46 Reputation points
2021-06-02T08:20:53.22+00:00

Hello.
We are developing a report server 2019 in native. From a visual studio project, in a .cshtml view, we show the mobile reports embeded in the page.

When the user goes to that page, we connect in local (localhost) to the SSRS, and the explorer asks (credential prompt) for user data to connect (this user is defined in the SSRS portal web) wich uses the domain of the local pc.

But now we want to move the project to production (and change "localhost" for the server direction). The VS project to one server and the SSRS and DB to other.
When the user will use the web application and connect to the SSRS server, what will happen?
The user's pc will have x domain wich will not be the same as the server where the SSRS will be stored. We cannot register the user in the SSRS web portal since this will only accept users with same domain of the host.

For SSRS credentials and datasource connection, we have specified a sqluser in order to avoid the user to introduce any credentials.

But it didn't work. It ask for a user registered in the web portal.
So the questions are:

1) Can we avoid to ask the user to write the data registered in the web portal (avoid the prompt)? Keep in mind that the user has already had to enter their data to enter the visual studio website (and we do not want them to enter a second user to enter the SSRS server and display the reports).

2) And, I f we cannot avoid 1) How can a user from client pc with x domain connect to SSRS server with y domain? Can we fill the prompt with credentials from code?

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
14,494 questions
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.
3,037 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Olaf Helper 46,551 Reputation points
    2021-06-04T10:40:53.207+00:00

    Hi, I asked this two days ago. And I'm seeing that you are answering questions more recent than mine.

    "You" is the community here, with volunteers trying to answer questions. If this is somehow urgent, then contact the paid support.

    SSRS support Windows authentication from the same domain where the SSRS server is running, cross-domain access is not directly supported.
    You have to setup the domains a s trusted/forrest to my get it working, but that's nothing SSRS related, but Windows server.

    0 comments No comments

  2. SSRS-VS 46 Reputation points
    2021-06-04T10:50:46.6+00:00

    Thank you.
    But if I have registered users with the windows domain where the SSRS server is hosted (eg: ServerDomain\User pass: abcd). And I connect from other client pc (regardless of his domain -ClientDomain) and I just write in the prompt the credentials saved in the server (User\abcd) here

    That would work?


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.