Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all 28687 articles
Browse latest View live

Passing Credentials from Web Forms to SSRS with Active Directory

$
0
0

I'm using ASP.Net WebForms with C#
Calling the report server this way:

ReportViewer1.ServerReport.ReportServerCredentials = new ReportServerCredentials(_username, _password, _domain);

_username = System.Web.HttpContext.Current.Request.LogonUserIdentity.Name.ToString().Split('\\')[1]
_domain = This one is easy
_password = I cannot get this to pass to the above Report

 I'm using Active Directory and the User has been authenticated
Is there a way to call it like this ReportViewer1.ServerReport.ReportServerCredentials = GetAuthInfo();
where GetAuthInfo() is a function that will return me the credentials for the person?

Does anyone know how to do this or has anyone run into this issue

--Pat Brown


SSRS 2017 - Can't access existing subscriptions or create new subscriptions on one report

$
0
0

Hi,

I have SSRS 2017 Server(native mode), its a new installation, not migrated from an older version.

On this box I have around 150 Reports and Subscrptions.

Now, since a 2 weeks, I am no longer able to open the subscriptions from one report and I cannot create a new subscription either.  

I get this Error: "An error has occurred. Something went wrong. Please try again later."

Same Error appears if try to open the Subscription direct on the SSRS Server.

On all other Reports I can open, modify & create the subscriptions.

Any help / idea would be really appreciated.

Thanks a lot

Ivo

How to avoid empty space in right side of the SSRS report

$
0
0

Hi 

I have two grids in two different pages. In that one grid have more number of columns compared another grid. In this case report takes width of the  first grid which has more no of columns. So empty sapce in right side of the report is there for second grid. Based on the grid size reprt width should be there. How to avoid empty space in this?




requirement in SSRS

$
0
0

Hi All

I am not sure whether this is possible or not but I have a requirement in SSRS. 

What I want to do is I want to validate username and password in ssrs using stored procedure. Is it possible????So something like in SSRS

Login PageUsername:- farhan@a.comPassword:- 12345So as user enter these details in SSRS , SP should check the username and password details stored in a table in SQL server and validate those details. If validated correctly then SSRS should redirect it into a new page with more further details. If the details are incorrect then SSRS should redirect it to a new page/display on same page which says invalid credentials. Please try. Is it possible in SSRS.

If it is possible then please someone guide me.

Regards

Farhan Jamil

Calling DB2 Stored Procedure from SSRS - Query runs fine under Datasets but gives error when Previewing report

$
0
0

I'm trying to call a DB2 Stored Procedure from SSRS, and though I can query it fine within the Datasets area when I attempt to Preview the report it fails with an error.  Here is the OLEDB Data Source Connection String with our info obscured:

Provider=DB2OLEDB;User ID=*******;Password=*******;Initial Catalog=*******;Network Transport Library=TCP;Host CCSID=37;PC Code Page=1252;Network Address=*******;Network Port=*******;Package Collection=*******;Default Schema=*******;Process Binary as Character=False;Connect Timeout=15;Units of Work=RUW;Default Qualifier=*******;DBMS Platform=DB2/MVS;Defer Prepare=False;Rowset Cache Size=0;Max Pool Size=100;Authentication=Server;Persist Security Info=False;Connection Pooling=False;Derive Parameters=False;

Adding the stored procedure to the Data Set works great, it pulls in the columns and parameters.  I can go into Query and run it, enter parameters, and it returns data.  I then added a Table and tied it to the Data Set.  But when I press Preview I get this:

An error occurred during local report processing.
An error has occurred during report processing.
Query execution failed for dataset 'DataSet1'.
An internal network library error has occurred.  A network level syntax error has occurred.  SQLSTATE: HY000, SQLCODE: -379

I found some others reporting this issue with Power BI and some other tools, but I've yet to find this error noted with SSRS.  Has anyone queried DB2 Stored Procedures with SSRS successfully?  I'd like to use the MS OLE DB Provider for DB2 which is working everywhere else for me.  Thanks.

Installation of SQL Server 2019 Reporting Services

$
0
0
My question is about installing SQL Server 2019 Reporting Services. I have a valid SQL Server 2019 key which has successfully been used on an installation of SQL 2019. Using the same key, copied and pasted from not only the setup but also the ini file in x64 installation to preclude any typos, the install keeps asking me to restart the server in order to continue with the setup. This has been done numerous times without success. The SQLServerReportingServices.exe has been downloaded directly using the hyperlink in SQL Server 2019 installation package. I have also tried installing as Administrator and Domain Admin but no joy. The latest update for the SQL Server is CU5. Might I be missing something? 

How to run .rss script in SSRS server?

$
0
0
This might be a newbie question, since I am newish to SSRS. I am basically trying to run a .rss script on the SSRS server using the command prompt in order to copy reports to the Power BI Report server. But I have no idea how to go about this. I also have to download and place the ssrs_migration.rss file on the server in order to run the script. Can anyone explain to me how I would get into the command prompt on the SSRS server?

Error [IM014] [ Microsoft][ODBC Driver Manager]

$
0
0

Hello,

I have created ODBC 32bit Connection (Microsoft Text Driver(*.txt,*.csv)) and i set a location that i have a text file that i want to use in my reporting service as a datasource

the report execute successfully from the designer, but after publish the report, i tried to open it from the browser and i keep receive the following error:

An error occurred during report processing.(rsProcessingAborted)

Cannot create a connection to data source 'test2' .(rsErrorOpeningConnection)

ERROR [IM014][Microsoft][ODBC Driver Manager] The specified DSN contains an architecture mismatch between the Driver and Application.

I've tried to used the ODBC 64 bit instead, but my datasource cannot see that connection.

Appreciate your support.

Regards.


No of user limit in report server

$
0
0

Is there any no of user limit to authenticate for report server. I'm giving access to hundreds of users for report server. I know there is a work around to add same functional group users into one group and then giving access to report server to that group. But I just want to know if I keep giving access to hundreds of users, then is there any limit in report server.

I've already given access to 350 users, and the report server security page is taking 5 minutes to add additional user.

I've never been faced this type of issue before. So it would be great if there is anyone can help me!

Thanks


Thanks in advance!

Report Server Error: "The request failed with HTTP status 401: Unauthorized

$
0
0

Hello,

I am getting this error when I am running SQL Server Report.

The service account is Admin and able to open manually from the browser but when I am running from ESP or command prompt I am getting error "HTTP status 401: Unauthorized".

Other user is able to execute this report, I am not able to understand what is the issue with the service account.

Window Server version :2003

Could you please give suggestion, what I can do here.

Thanks

Sandeep

Hide Label and Text if Empty

$
0
0

I have this basic formula that adds "Tel:" to the beginning of the text but I want to hide Tel: and the number if it's empty. How can I modify it to do this?

="Tel:" & Fields!nphone.Value

Thanks!

Creating a user in SSRS with SQL Server Authentication

$
0
0

Hi everyone,

I am trying to create a user that can only view (not edit) reports in SSRS. I have two situations- the first is that I created a user on Windows using "local users and groups", then added that user in Management Studio allowing them to login with Windows Authentication. This worked when I tried to add the user in SSRS, and the user was added with ease. Now the other situation- I want to add a user in SSRS using SQL Server Authentication, which means I would not add the user in the Windows "local users and groups". So I added the user in Management Studio, but I continue to get the same error when I try to add the user in SSRS:

The user or group name '<Domain>\TrialAcct' is not recognized. (rsUnknownUserName)

In my original user that I added (Windows Authentication) it had the Domain name built in to the username, but the user that aims to use SQL Server Authentication does not. Does anyone know if it is possible to add a user in this way, and if so, how would I do it?

Thank you guys,

Ryan

(SSDT 2015) Not sure how i can remove empty newlines in a string, which was created using Join function.

$
0
0

Hello, Please refer to the image i created below. 

So far, I was able to group by ID and Name and use Join function to consolidate Comment1 column. However, my issue is getting to remove the empty newline that's in there. 

My code is the following for 'Comment1' column:

=Join(LookupSet(
  Fields!ID.Value & Fields!Name.Value
, Fields!ID.Value & Fields!Name.Value  
, Fields!Comment1.Value
    , "DataSet1"), " " + chr(10) )

I tried to use a following code i camee across but not able to do so since the column 'Comment1' already is using Formula/Expression. 

Could someone please assist on how i can proceed? Than you 

Edit: Should have said "... remove empty newlines in a string Column" instead of just string. 




Formatting pie chart series expression causing the piece to disappear from chart

$
0
0

Hi,

I have a pie chart that is built with 6 different series expressions.  I've turned each expression into a percentage calculation.  However, if I attempt to format the expression (eg. Format((3/20)*100,"F2")) or concatenate any kind of string character (eg. "%"), the series (pie piece) is omitted from my pie chart when the report is executed.  Why does this happen?  Please let me know if you need more information.

Many thanks for any help!

Drop down missing radio buttons

$
0
0

Hi All, I have this issue in the SQL Server Reporting Services browser, when clicking the +New dropdown list, from 6 features, I'm missing 3. Dropdown list should have Folder, KPI, Mobile Report, Paginated Report, Dataset and Data Source.

My dropdown list shows only Folder, Paginated Report and Data Source. 

I have full rights on the report server and logged into it from Chrome, Firefox and Edge. No difference what so ever :(

Any help much appreciated. 

Regards,

Marius Maier


Image on the report page not showing up

$
0
0

Hello,

We have a folder and within the folder, there are reports including image (similar to a logo) on the left side corner. It used to work fine, but now, we cannot view it any more. SSRS 2016 server. Tried to reproduce the issue on the local SSRS server and same behavior. Permission looks ok. We can access the image separately, but when we try to browse the report, that image does not show up. The only recent change relates to disabling TLS 1.0 and TLS 1.1 and TLS 1.2 are enabled.

All other functionalities are working OK so far. BTW, we are using https:// to browse. 

Will greatly appreciate your thoughts on possible root cause and possible fix.

Thanks.

Victor


Victor

Client found response content type of '', but expected 'text/xml'.

$
0
0

when I ran the ESP job I am getting error "Client found response content type of '', but expected 'text/xml'." but manually I am able to run the report.

Windows Server : 2003

<ReportServiceUrl>http://host/ReportServer/reportservice.asmx?</ReportServiceUrl> ( I have found out even if I make changes to this the error is not changing )

I have given access to account same as production.

Could you please help me.




How to join two recordset created from two different data source in excel

$
0
0

Hi guys!

I have got a random one today

My Scenario is - I have one set of data in a base table and second set of data from another base table. I want import both lists of data together without merging on the same lines (in excel it would be a simple case of a copy and pasting a list from one spreadsheet to the bottom of another list).

Problem - I do not know how the correct way of doing this.

Any help would be greatly appreciated.

Thanks

Passing Credentials from Web Forms to SSRS with Active Directory

$
0
0

I'm using ASP.Net WebForms with C#
Calling the report server this way:

ReportViewer1.ServerReport.ReportServerCredentials = new ReportServerCredentials(_username, _password, _domain);

_username = System.Web.HttpContext.Current.Request.LogonUserIdentity.Name.ToString().Split('\\')[1]
_domain = This one is easy
_password = I cannot get this to pass to the above Report

 I'm using Active Directory and the User has been authenticated
Is there a way to call it like this ReportViewer1.ServerReport.ReportServerCredentials = GetAuthInfo();
where GetAuthInfo() is a function that will return me the credentials for the person?

Does anyone know how to do this or has anyone run into this issue

--Pat Brown

Having difficulty using two dataset for a single report (where one dataset is just total/count of records in a table?

$
0
0

Hello i have two dataset.

Dataset 1. Bunch of records of rows that have Name, Groups and other details. 

Dataset 2. Just a total number of data from above regardless of Name, Groups, etc. 

What's happening right now is after adding the Dataset 2 to my SSRS and then 

 

Viewing all 28687 articles
Browse latest View live