Quantcast
Channel: SQL Server Reporting Services
Viewing all 1418 articles
Browse latest View live

Web service request failed with HTTP status 401: Unauthorized in ssrs 2008 r2

$
0
0

We have an issue in our production environment where accessing the web service (ReportExecution2005) fails with with an 401 unauthorized error. If I access the http://<machine-name>/reportserver or http://<machine-name>/reports from a browser which is started under the same account as the one used to make the above explained web service request, I am able to view the reportserver/reports pages.

On enabling the report server verbose and http logs, we see the below message in the report server log file

http!rshost !d6c!<date-time>:: v VERBOSE: Authentication failed with error state:14

I was not able to find any detailed information about this error state. 

Since SQL Server 2008 r2 uses httpsys operating system component for authentication, we enabled error logging for httpsys but surprising there were no log statements logging in the error file when we get this error. Does this mean the error occurs before httpsys component is called?

Any inputs on this issue would be appreciated. Thank you.


Doubt on ASP.NET ,Reporting and SQL server

$
0
0

Hello,

I am researching on Creating a new web site with ASP.NET with SQL server as my Back end with limited users to access(like 50 users to login or so ) .I have no knowledge of MVC architecture hence i am preferring to use Normal ASP.NET Project web site(have some experience ). I have got many doubts and tried contacting people but did not get enough knowledge from it .Hopefully i am at correct place in posting my questions.(Please suggest).

1) If suppose i want my own Server and to deploy my ASP.NEt Application into that (SQL server as a back end database) which will be probably (For example ) say 50 users, I understand i need my own server or can buy the space.My doubt is do i need any Server Licenses for those users to connect? (Please correct me if i am wrong ).I was thinking as i have my application on web Site(Which is hosted in my own server) i do not need any licensing of SQL server(I am not able to get an absolute answer ).What is the correct answer to this ? Do i need SQL licenses? If yes when do we need ?(then does gmail and facebook pay for us having free login credentials to there GMAIL page???).

2) Reporting is some thing that amuze me a lot.I see there are loads of reporting tools out in the market .I am so curious to know what is the Reporting tool that We can integrate well with ASP.NEt? I know about crystal reports but I am not having enough clarity because SAP also has some crystal reports.(Sorry to confuse you but i need some understanding ).If suppose i have to integrate an Reporting capability in my Web site(ASP.NET) what will be the best tool to integrate .Does any one of you came across any best reporting tool that works fine with ASP.NET(Free and PAid Reporting tool).

3) Based on my understanding i am thinkign that for development purpose you can download the ASP.NET express version and work on it .But if i want to host my application into a website do i need any licensing of ASP.NET and SQL Server?If yes what is the best one to get license .I have these all doubts because i feel Microsft has a very poor customer care service when it comes to ASP.Net and SQL Server(I tried calling to them and i never get any perfect number to ask all these doubts)explanation .

This is it for now .But I wanted every one to give there experience and help me understand what is happening.

Hopefully i didnt confuse any one ,

Eagerly to get some answers which would enlighten me on these .

Note : I dont know if i am at correct part in Forum to post these...Administrators please help me if i am at wrong place.Appreciate the help

Thank you,

bharat

Report for each distinct value from a table

$
0
0

Hi,

I need help to conceive a report. My need is to create a one page report which will include Charts, tablix that must be filtered by each distinct value of a table.

My table will contain :

INST1

INST2

INST3


On the first page the charts and tablix must contain uniquely values from INST1, on page 2 from INST2 ...

Thanks

SSRS for CRM report (Many to Many relationships)

$
0
0

Hi,

I am creating Account Summary report which is combination of items per account. I have an Account Entity where I also have a subgrid to add my competitors (Competitor entity).

How can I go about reflecting that competitor list for that account?? Since it is a subgrid it does not show up in my Advanced Find (I use advanced find to get the report then FetchXML and transfer code to my SSRS tool)

Any help would be much appreciated!

Thanks so much!

SSRS problem with FetchXML code and Paramater.. Please help!

$
0
0

Hi all,

I am a rookie at building reports and trying to putt together Account Summary which basically has 8 other reports from CRM.

I created paramater which allows me to choose froom list of accounts. And then for for example, my dataset isContacts then pull all the contacts just for that account.

The PROBLEM is, I get same data no matter what account I select!! What I did is I used ADVANCED FIND in CRM and put Account Name=UBS and then just did FetchXML to get the code. I copied the code in Dataset and then replaced UINAME with@name in the code.. I think this is where I screwed up because no matter which account I select I only get UBS data..  "name" is my field for the account name in CRM..

I did the same for my other Datasets, for example my appointments per account, my opportunities, etc.. but no matter what account I select I always get UBS account details..

The code for Contacts is below:

<fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false">
<entity name="contact">
<attribute name="fullname"/>
<attribute name="contactid"/>
<attribute name="accountrolecode"/>
<attribute name="sp_function_new"/>
<attribute name="new_attitude"/>
<order attribute="fullname" descending="false"/>
<filter type="and">
<condition attribute="statecode" operator="eq" value="0"/>
<condition attribute="parentcustomerid" operator="eq" uiname="@name" uitype="account" value="{94CB6894-FFB8-E311-94D6-6C3BE5A87530}"/>
</filter>
</entity>
</fetch>

Here is another Dataset for my PRODUCTS.. I basically did the same

<fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false">
<entity name="sp_products">
<attribute name="sp_productsid"/>
<attribute name="sp_name"/>
<attribute name="sp_producttype"/>
<attribute name="sp_lifestage"/>
<attribute name="sp_distributionchannels"/>
<attribute name="sp_additionalinformation"/>
<order attribute="sp_name" descending="false"/>
<filter type="and">
<condition attribute="statecode" operator="eq" value="0"/>
<condition attribute="sp_clientid" operator="eq" uiname="@name" uitype="account" value="{94CB6894-FFB8-E311-94D6-6C3BE5A87530}"/>
</filter>
</entity>
</fetch>

=Sum(ReportItems!FinalCost.Value, "group_1") problem in group footer

$
0
0

Hi,

Im currently writing a report in SSRS which requires to take data in the fields, manipulate and perform functions on it then display it within its own textbox. For example the field Cost is manipulated so that a column will show the cost depreciated after 5 years.

Cost              Final Cost

500               250

1000             634

700              500

My problem is that within each group (as the data is grouped by its type) I need to have a sum of the Final Cost data. As this is NOT a field I cannot use =Sum(Fields!FinalCost.Value, "group_1") but rather I need to use =Sum(ReportItems!FinalCost.Value, "group_1"). I know that SSRS does not allow this, but after trying to find an answer going extensively through google and many forums, I am not able to find a solution on how to sum up the Final Cost column.

 If anyone has any ideas on how to resolve this issue I will be greatly thankful,

Cheers,

Ben

 

class/method not appearing in Available Datasets list after selecting data source

$
0
0

I am using visual studio 2012 to create a report based on data that is retrieved via a business object class. I have done this many times but this time I am having an issue where the class I want to use is not appearing in the available datasets drop down list. Does anyone know how I can resolve this?

Steps Followed

1. Created new class in namespace webapplication.service.

2. Created new report definition

3. Right clicked on datasets then selected add datasets from the popup menu. 

4. Selected the webapplication.service namespace from the data source drop down list. 

5. Go to select my class/method from available datasets but cannot find it.

I have been stuck on this for a couple of hours now so any suggestions would be appreciated.

Fix table size in rdlc report.

$
0
0

Hi all,

I'm new working with report rdlc in asp.net MVC4.

Now i want to fix table size in rdlc report, however i don't know how to fix size for table in rdlc report.

Please support and give me your ideas to set table size in rdlc.

Thank for you support always!


create .pdf file from a stored procedure

$
0
0

Hi there

i am looking for a way to create a .pdf file from execurting a stored produre. where i read data from the database and create a custom letter to users and where the user can print the .pdf file. 

appricate your help with an simple example project. 

thanks

Fix table size in rdlc report

$
0
0

Hi all,

I'm new working with report rdlc in asp.net MVC4.

Now i want to fix table size in rdlc report, however i don't know how to fix size for table in rdlc report.

Please support and give me your ideas to set table size in rdlc.

Thank for you support always!

Export to PDF missing data

$
0
0

I have a main report with about 25 subreports (some nested), not all of which are used every time.  This morning I noticed that the last 2 pages of some of the reports are now blank when being exported to PDF.  All of the data appears properly in the preview window, and it all shows up when exporting to Word and Excel, but not when using PDF.  There have been no changes made to the page that the ReportViewer object is on, or the data/objects that populate the report.

The 2 empty pages at the end still contain the header and footer, and represent the proper length that the report would be if the missing parts were there.

Has anyone else experienced something like this, or have any suggestions on where to look?

Oracle apps policy with C# mo_global.set_policy_context

$
0
0

How to allow the policy to use Oracle Views (Applications) before report (RDLC) in Report Viewer.

Something like this:

SELECT AMOUNT_APPLICABLE_TO_DISCOUNT From
AP_INVOICES_V

I need to call this PL/SQL Before (Policy Package) Using this select statement:

Begin
mo_global.set_policy_context('S',90);End;

so I did this on page load before setting the SQL Data source to the report:

if(!IsPostBack){

            db.connectODB();OracleCommand ora_cmd =newOracleCommand("mo_global.set_policy_context", db.con);
            ora_cmd.BindByName=true;
            ora_cmd.CommandType=CommandType.StoredProcedure;

            ora_cmd.Parameters.Add("P_ACCESS_MODE",'S');

            ora_cmd.Parameters.Add("P_ORG_ID",90);

            ora_cmd.ExecuteNonQuery();}

But still no data retrieved.

Face problem with rdlc report layout

$
0
0

Dear All,

I'm making rdlc to display data and genarator to .pdf file.

Howver when i set textbox in rectangle and textbox property can't grown, but when i show data to web, layout not same my setup.

How to fix this problem, please help me.

Enable Export Data Feed option SSRS report

$
0
0

Hi All,

         I am working on SSR reports and I required to get the "Export Data Feed"  option in the SSRS which it is not visible.I had added the below tag  in render section closing tag,But I don't find any solution. Can any one help me how can I solvew this

<Extension Name="ATOM" Type="Microsoft.ReportingServices.Rendering.DataRenderer.AtomDataReport,Microsoft.ReportingServices.DataRendering" Visible="True"/>

SSRS format

$
0
0

I have an expression =(Fields!Guaranteed_Value.Value) which gets me a value 456.98, I want to get R456.98, I tried this expression ="R"+(Fields!Guaranteed_Value.Value) but I an error. help.


Binding Excel worksheet to SSRS rdlc

$
0
0

I am very familiar with SSRS.  I'm trying to connect a Excel worksheet to a SSRS rdlc.   I have been able to create a datasource and a dataset.  But after I create the data set and try to preview the data. I get the error message of...ERROR [HYC00] [Microsoft] [ODBC Excel Driver] Optional feature not implemented.   But i have setup the DNS on my local machine and I have it pointing the the Excel file.  What is weird is...I am able to view data when using the Query Builder while creating the DataSet.  But afterwards I can't view the data using the Preview.   Any information provided is appreciated.

SSRS Date Field

$
0
0

I have a date field, =Fields!ModificationDate.Value. But its not showing any date. Not sure what I need to do.

I added a textbox and attached this field and picked one of the date format from Number.. 

print problem in rdlc

$
0
0

Hi,

I have rdlc report and  am adding print button to print that rdlc report.

The print option is working fine in my local machine.

after uploding to server  print option is not working..

and it is throwing error as" No printers are installed"

Please let me know what i can do to resolve this.

Thanks

Prabhanjan

Change embedded image of a image control in a Microsoft Report rdlc in code behind c#

$
0
0

Hello

Can someone tell me how to change the image propertie "Use this image:" of a image control in a rdlc report in codebehind using c#?

I have to emmedded images pic1 and pic2 in the report data

Thanks for the help

rubitoc

SSRS can display data in Preview, but it is fail to display data in report, what to do?

$
0
0

Hi Guys,

my report works fine in "Preview" and data can be present. But in report data is blank(Table can be present with column name).  Below is my SQL query and i just paste the script into Dataset. and bound the table with the dataset. Do you know how to fix the issue?

declare @TotalSum int;

 

set @TotalSum=

(

select sum(DB1.[DB1_Estimate])

from DB1

right outer join [dbo].[DB2]

on DB1.ID=[DB2].ID

)

 

select

QueryData.[ Category] as [Category],

QueryData.EstimateTime as EstimateTime,

convert(float,Round(QueryData.EstimateTime*100.0/@TotalSum,2)) as Percentage,

@TotalSum as Total

from

(

select [DB2].[Category],ISNULL(sum(DB1.[DB1_Estimate]),0) as EstimateTime

from DB1

right outer join [dbo].[DB2]

on DB1.ID=[DB2].ID

group by [DB2]. [Category]

) as QueryData

order by QueryData.EstimateTime ASC

Viewing all 1418 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>