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

IAuthenticationExtension and IDisposable

$
0
0

In looking at the SSRS2012 code, it appears that SSRS2012 does not honor IDisposable on custom IAuthenticationExtension implementations.

Has this changed in SSRS2014?  

thanks

scott


AD security group issues in SharePoint 2013 Integrated Mode

$
0
0

Hello,

Sorry if this is the wrong forum, I'm not sure if this is a SharePoint issue or a Reporting Services configuration issue (or if it should be in a SharePoint forum regardless).

I have SSRS2012 on SharePoint 2013 in integrated mode. We are doing item level permissions, which means we have an AD security group Reports-All with Read to the Reports document library, then each actual report has unique permissions. We have a report with the ProjectManagers AD security group on it with Read (plus some other stuff to let them manage subscriptions), and another AD security group ProjectUsers with just Read access so they can open the reports. The data source used by this report has the AD security group I mentioned before, Reports-All, with Read.

At a SharePoint level, things appear to work. When a user in ProjectManagers or ProjectUsers browses to the library, they see only the 3 reports that those two security groups have permission to see (out of a lot more in the library). That means SharePoint is reading those security group memberships correctly as far as I can tell.

The issue is when a user in ProjectManagers or ProjectUsers clicks on a report, they get a reporting server based error message, and the ULS logs have an error specific to the user trying to run the report.

Microsoft.ReportingServices.Diagnostics.Utilities.AccessDeniedException: The permissions granted to user 'MyDomain\MyUser' are insufficient for performing this operation. (Fault Detail is equal to Microsoft.ReportingServices.ServiceContract.RsExceptionInfo)

If I add that specific user with Read permissions to the report and the data source, they are then able to run the report without errors. It seems like some Report Server component is not liking the fact that I'm using security groups. 

Has anyone seen this behavior with AD security groups? Any ideas on why my environment does not want to work properly with those even though AD security groups are working fine for other non-Reporting Services files?

Thanks,

Aaron

Will SQL Server express 2014 version will allow us to Work on SSRS(MS-BI) ?

$
0
0

Hi,

Currently i am using SQL Server 2008 for SQL Queries for ASP.Net  and SSRS, but From yesterday on wards when i am trying to open SQl Server Management Studio "Evaluation Period has expired" message is displaying(Can't able to open SQl Server).

Error message Screenshot is shown below

How to solve the above issue? please post the solution for this problem

If there is no solution to reuse that installed sql server2008 , then 

Will SQL Server express 2014 version will allow us to Work on SSRS(MS-BI) ?

If yes, then 

how do i have to install ,can i install "SQL Server express 2014 version" directly, or first i need to uninstall the Existing sql server 2008(Which is already installed in my machine)?

Thanks

How to point PowerView tab to a SSAS cube data source?

$
0
0

Hello,

I already have a SSAS cube connection in my excel workbook, and I would like to create a Power View pointing to the same SSAS cube connection.  Is that possible?  If so, how do I link the PV to the existing data source

Your help is much appreciated!

Use FormsIdentity.UserData with SSRS/Forms Authentication?

$
0
0

Is there a way to set the FormsIdentity.UserData property when using Forms Authentication with SSRS2012?

thanks

scott

Getting Chart Data To Show Correctly??????????????????

$
0
0

Please assist me to get the year, month, week to date to show like my example doeson the right below.  What changes I can make to my query to get it to show as I need it to below. 

DataSet:

  SELECT DATEPART(YY,c.loandate) as YearLoan, DATEPART(MM,c.loandate) AS MonthLoan, DATEPART(WW,c.loandate) AS WeekLoan,a.SSN,A.[Borrower Firstname],a.[Borrower Email], a.[Home Phone], a.[cell phone], a.[marital status], a.[Date of Birth], a.[Current Street Address], a.city,a.[state],a.zip,a.Yearsatthisaddress, a.sex,a.ethnicity,a.race,a.isactive,
b.MonthlyIncome,b.Bonuses,b.Commission,b.OtherIncome,b.[Rent or Own],b.Checking,b.Savings,b.RetirementFund,b.MutualFund,
c.[Purpose of Loan],c.LoanAmount,c.[Purchase Price],c.CreditCardAuthorization,c.[Number of Units],c.Refferal,c.[Co-Borrower SSN],c.loandate,
d.[Property Usage],d.[Property City],d.[Property State],d.[Property Zip],d.RealEstateAgentName,d.RealEstateAgentPhone,d.RealEstateAgentEmail
  FROMdim_borrower a 
  LEFT OUTER JOINFact_Financial b
  ONa.BorrowerID=b.borrowerid
  LEFT OUTER JOINDim_Loan c
  ONb.LoanID=c.Loan_ID
  LEFT OUTER JOINDim_Property d
  ONd.property_id=b.propertyid


whereDATEPART(YY,c.loandate) = DATEPART(YY,GETDATE())
ORDATEPART(MM,c.loandate) = DATEPART(MM,GETDATE())
ORDATEPART(WW,c.loandate) = DATEPART(WW,GETDATE())

Error loading custom extension assembly - "The parameter is incorrect"

$
0
0

SSRS2012 fails to load my custom authentication assembly.  I see this error in the logs:

extensionfactory!ReportServer_0-2!10d8!01/02/2015-23:34:49:: e ERROR: Exception caught instantiating Forms report server extension: System.IO.FileLoadException: Could not load file or assembly 'CT.Integrations.SSRS.Web.Impl, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))
File name: 'CT.Integrations.SSRS.Web.Impl, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' ---> System.ArgumentException: Invalid directory on URL.

I have the DLL in both ReportManager\bin and ReportServer\bin folders.  What might cause this error?

Fusion logs show the dll loads successfully so not sure why SSRS is not happy.


Cannot Edit My Data Driven Subscription

$
0
0
"The value provided for the StartDateTime field is not valid for its type. It cannot be converted from a string value to the type that is required. (rsElementTypeMismatch) Get Online Help
Home

I'm a noobie. Getting the above error message SS 2012. Here's what happened. About 20 minutes ago I created a data driven subscription which worked fine (I set it for every five minutes, it ran 3 times). Then I edited the schedule but made a typo generating the above error.  The report is still running every five minutes. I'm going to have to put a stop to SqlAgent.

When I click the Edit button I get the error message again, immediately  - I never get a chance to edit the subscription. I suppose I could delete it, but isn't there a way to edit it?




A New Year, a New Challenge! Become the FIRST SSRS Guru of 2015!

$
0
0

Happy New Year!

"Guru 2014" is so 'last year'!

The real glory is to be the first Guru of 2015! :D

The birth of a new year, and a new hero?

Or the stamp of authority from long established Guru leaders?

The challenge is on, all eyes are watching, anyone could win this month.

The prize? Glory! Honor! Virtual medals! Unashamed love and worship from those within the community and those bloging about it (article spotlights, weekly awards). Published interviews and the chance to climb the TechNet social ladder. Become a true TNWiki Ninja and advance through to black belt... and beyond!

All you have to do is add an article to TechNet Wiki from your own specialist field. Something that fits into one of the categories listed on the submissions page. Copy in your own blog posts, a forum solution, a white paper, or just something you had to solve for your own day's work today.

Drop us some nifty knowledge, or superb snippets, and become MICROSOFT TECHNOLOGY GURU OF THE MONTH!

This is an official Microsoft TechNet recognition, where people such as yourselves can truly get noticed!

HOW TO WIN

1) Please copy over your Microsoft technical solutions and revelations toTechNet Wiki.

2) Add a link to it on THIS WIKI COMPETITION PAGE (so we know you've contributed)

3) Every month, we will highlight your contributions, and select a "Guru of the Month" in each technology.

If you win, we will sing your praises in blogs and forums, similar to the weekly contributor awards. Once "on our radar" and making your mark, you will probably be interviewed for your greatness, and maybe eventually even invited into other inner TechNet/MSDN circles!

Winning this award in your favoured technology will help us learn the active members in each community.

Feel free to ask any questions below.

More about TechNet Guru Awards

Thanks in advance!
Pete Laker


#PEJL
Got any nice code? If you invest time in coding an elegant, novel or impressive answer on MSDN forums, why not copy it over toTechNet Wiki, for future generations to benefit from! You'll never get archived again, and you could win weekly awards!

Have you got what it takes o become this month's TechNet Technical Guru? Join a long list of well known community big hitters, show your knowledge and prowess in your favoured technologies!

report parameter is disabled

$
0
0

Hi All,

I have some report using SSRS after published and run the report, all parameters is disabled / freeze, that is different if I try in visual studio, is working well.

is anyone know where the problem is occurred?

thanks

Using DateDiff to work as Excel Networkdays

$
0
0
Hi there, 

Happy New Year to all.

So I am trying to work out the difference between today's date (GETDATE()) and a Target Date in a specific table (targetdate)

When I use the DATEDIFF function it is including non working days in the calculation (weekends and bank holidays). Although our date calandar table provided to us from a third party supplier will tell you the weekends, it does not tell you the bank holidays.

Luckily there is another table in the database called - ih_non_work_days.

The format of the date is "2014-12-25 00:00:00.000" for example in that table.

How do I using my "targetdate" and today's date calculate in days the differance - excluding the dates that exist in the ih_non_work_days database?


So for now my basic script looks like - 
SELECT   com.comm_reference AS'Referance',com.current_task_target_date AS'TargetDate',DATEDIFF(D,com.current_task_target_date,GETDATE())AS'Incorrect Date Calculation'FROM[dbo].[em_communication]as com

Human Icon graphic needed for SSRS Report

$
0
0

I am looking for a human icon to do some reports with an element of visualation in an SSRS report. Is there a place where I can get some free graphics to use for this ?

Set Parameter to pick up previous month and year unless first month of the year

$
0
0


Hi,<o:p></o:p>

I have a start and end date set to the same format (CCYYMM) and date.<o:p></o:p>

I am running a report each month using the below expression.<o:p></o:p>

=Year(Today()) * 100 + Month(Today().AddMonths(-1))<o:p></o:p>

This functions correctly except when the report is run in January where the date returned is 201512 instead of 201412.<o:p></o:p>

Can someone advise of how i can get this expression to show the correct month when i run this in January?


M Stoker

SSRS user created on Report manager is different from ReportServer database userName

$
0
0

Hi All,

It will be quite helpful if someone can advice:

I created reporting services user on SSRS report manager as MeahK1 which is network username he was given. He is created succesfully but when he tries to access live reports, he is not able to see them because he does not have any access. When checked in ReportServer db, this user is created as MeahK instead of MeahK1.

I am trying to see user details from the below query:

select  *
FROMReportServer.dbo.Catalog 

INNER JOIN ReportServer.dbo.Policies 
ONCatalog.PolicyID=Policies.PolicyID 

INNER JOIN ReportServer.dbo.PolicyUserRole 
ONPolicies.PolicyID=PolicyUserRole.PolicyID 

INNER JOIN ReportServer.dbo.Users 
ONPolicyUserRole.UserID = Users.UserID

where username like 'Meah%'

Do any one know what could be the problem as all other users apart from him are working fine and let's say if a user ID is Kh3R, then he also is user with same name in ReportServer db.

Can this problem be fixed?


Adnan

=SUM(IIF(Fields!OPTION_CODE.Value="N","0",Fields!COST.Value * Fields!TOTAL_UNITS.Value ) ) only this is working

$
0
0

=SUM(IIF(Fields!OPTION_CODE.Value="N","0",Fields!COST.Value * Fields!TOTAL_UNITS.Value ) )
only this is working

=SUM(IIF(Fields!OPTION_CODE.Value="P","0",Fields!COST.Value * Fields!TOTAL_UNITS.Value ) )
its not working

we even try this but its showing error.can u make any changes to work this
=SUM(IIF(Fields!OPTION_CODE.Value="P","0",IIF(Fields!OPTION_CODE.Value="N","0",Fields!COST.Value * Fields!TOTAL_UNITS.Value ) )


Migrating JUST subscriptions

$
0
0

Is there an easy way to disable/enable SQL subscriptions, with out disabling the agent or reporting services?

We need to migrate 150 SQL subscriptions from a SQL Server 2005 Enterprise to a new SQL Server 2014 Business Intelligence server. After the migration the SQL Server 2005 will still remain operational and will be need the agent and reporting services to be up.

Disabling the schedules in "Site Settings > Manage shared schedules" is not an option as most subscriptions have their own schedule. We do not want to delete the subscriptions on the 2005 server just in case we need them.

I'm happy to disable the 150 jobs manually before we start the migration, then enabling them again on the new server, it's just a little manual and be nice if there was a faster way to do this!

problem in activating SQL Server Report Integration feature after upgrade

$
0
0

Hi,

I have a SharePoint 2013 farm recently patched up to October 2014 CU. Before the upgrade, I had installed and configured SSRS 2012 SP 1  (RS in SharePoint integrated mode) to the farm and it was in SP1 + May 2014 CU. After patching, I notice the site collection feature "SQL Server Report Integration feature" stops working. On new site collection, even it said feature activated, the SQL Server Reporting content type is missing. 

Anyone experienced this behavior after patching?

Rendering Problem when printing to PDF using PDFCreator.

$
0
0
When I print my report to PDF using PDF Creator it overlays the text over itself vs when i export to pdf and then print it prints it fine, can anyone enlighten me as to why it does this?

Employee data not showing up

$
0
0

Hi,

I executed this stored procedure on Friday and it worked fine with Employee '646219' able to open the reports and view contents. But today this employee is not able to open reports. I looked into this and it looks fine to me. Can someone help? as always second eye helps.

                                 

SELECT  [AuditID]
      ,convert(varchar,[Product_C]) + convert(varchar,[Policy_N]) as PolicyNumber
      ,[Insured_M]
      ,[Amendment_D] + [Amendment_T] as AmendmentDate
      ,[PolicyEffective_D]
      , Staff.First_M + ' ' + Staff.Last_M as EmployeeName
      ,[Agent_N]
      ,convert(varchar,[Branch_N]) + ' - ' + convert(varchar,[Branch_M]) as Branch
      ,[Team_C] as Team
      ,[AuditUser_M]

      ,[AuditStart_D]
      ,[AuditEnd_D]

      ,[UserPremium_A]
      ,[AuditPremium_A]

      ,case [Error1_I] when 'Error' then 'Red' else 'Transparent' end as Error1_I
      ,case [Error2_I] when 'Error' then 'Red' else 'Transparent' end as Error2_I
      ,[Error1_2_Comments]
      ,case [Error3_I] when 'Error' then 'Red' else 'Transparent' end as Error3_I
      ,[Error3_Comments]
      ,case [Error4_I] when 'Error' then 'Red' else 'Transparent' end as Error4_I
      ,[Error4_Comments]
      ,case [Error5_I] when 'Error' then 'Red' else 'Transparent' end as Error5_I
      ,case [Error6_I] when 'Error' then 'Red' else 'Transparent' end as Error6_I
      ,[Error5_6_Comments]
      ,case [Error7_I] when 'Error' then 'Red' else 'Transparent' end as Error7_I
      ,[Error7_Comments]
      ,case [Error8_I] when 'Error' then 'Red' else 'Transparent' end as Error8_I
      ,[Error8_Comments]
      , [Usable_I]
  , Supervisor.EmailAddress as TargetRecipient
  , 'ErrorFree' = case when (case when [Error8_I] = 'Error' then 1 else 0 end +
case when [Error7_I] = 'Error' then 1 else 0 end +
case when [Error6_I] = 'Error' then 1 else 0 end +
case when [Error5_I] = 'Error' then 1 else 0 end +
case when [Error4_I] = 'Error' then 1 else 0 end +
case when [Error3_I] = 'Error' then 1 else 0 end +
case when [Error2_I] = 'Error' then 1 else 0 end +
case when [Error1_I] = 'Error' then 1 else 0 end ) > 0 then 'Transparent' else 'LightGreen' end

  FROM AO_AUDIT.[dbo].[tblAOAudit] Audit (nolock)
  Inner Join CallCenterEmployee.dbo.tblStaff Staff(nolock)
  on Staff.Emp_N = Audit.Agent_N
  and Audit.Amendment_D between Staff.Eff_D and Staff.Exp_D
  Inner Join CallCenterEmployee.dbo.tblStaff Supervisor(nolock)
  on Supervisor.Emp_N = Staff.SupervisorEmp_N
  and Audit.Amendment_D between Supervisor.Eff_D and Supervisor.Exp_D


  where AuditID = 646219

Nothing has changed since Friday.

And the error is :- 

  • An error has occurred during report processing. (rsProcessingAborted)
    • Cannot read the next data row for dataset 'ds_AOAccuracyForm' (rsErrorReadingNextDataRow)

For more information about this error navigate to the report server on the local server machine, or enable remote errors

Move some of data records between sql databases

$
0
0
I have two customers databases, both has the same structure.  I need to move some of the new customers and their related info from one database to our test database, since there are multiple tables involved(with constrain), How should I accomplish it? Do I need to first drop all the constrain in the tables on target database?  If someone can provide me a guideline or some example code on this issue will be very much appreciated.
Viewing all 20764 articles
Browse latest View live


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