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

How to make multi value parameter optional in SSRS

$
0
0

I HAVE REPORT IN SSRS 2005.

I have @strjournal as multi value parameter. Allow blank is checked. Parameter values r assigned through query.

select jornalno,jornalno as descr from tran_table 

union select 'NULL','NULL' 

So for @strjournal,  valuefield = jornalno  , label field = descr

-----------

my main query i am giving,

select .... from myTable where  (TRANKEY IN (@strjournal) AND @strjournal<> 'NULL' ) OR (TRANKEY LIKE '%' AND @strjournal = 'NULL')

If i select 'NULL' its giving me correct result (returning all records as condition is like '%')

if i select only 1 journalno (not 'NULL') also giving me correct result (i.e. only 1 record for which jornalno is selected)

if i select more than 1 jornalnos then its giving me error "an expression of non boolean type specified in a context where condition is expected , near ','"

Any help ??


h2007


Disable Paging

$
0
0

Hi

Is there any way I can disable paging and show all record on one page?

Regards

Amit

SSRS passing multiple values parameter

$
0
0

Hi ,

I have a multi select parameter that get values from a query in my SSRS report. The report works fine if i select a single value in drop down list. When trying to select All or select a multiple value i got an error. Any help is very much appreciated. thank you.

By the way, i'm using Query type text not an stored procedure.

Data in my @LineID parameter drop down list

Select All

Line1

Line2

Line3

up to Line15

I tried this approach and its not working. In dataset properties under parameter value expression, i made this approach

=Join(parameter!Lineid.value,",") or =parameter!Lineid.value

My Query:

Select * from sample
Where pt.Asuprodlineid IN (@LineID)









SSRS 2008: Chart Label issue with small values

$
0
0

Hi,

in my Bar-Chart I enabled "Show Data Labels" for a Series and encounter

problems with small datavalues so that the label will be placed outside the Bar area

and becomes unreadable because the label color is the same as the chart area background color.

I'm trying to play with smartlabels feature but to no avail.

I'm now use an expression for the label color and check if the value is below 0.2 (e.g) ,

however not sure if this will be 100% reliable.

Appreciate any thoughts.

Thanks

Bodo

SSRS 2008 Work order Report , when added item descriotion , somehow costgroup id is not working , donot know why, ( need help)

$
0
0

SSRS 2008 Production orders created report, when I added item description some how cost group id is not working ,

my costgroup id did not break into labor , only Mat Cost showed in the total,

my query is as below,  did I link the wrong field,   I want to show Labor total also

can some one suggest what I did wrong .

any advise will be great

SELECT        PRODTABLE.PRODID, PRODCALCTRANS.COSTGROUPID, PRODTABLE.QTYCALC, PRODTABLE.PRODSTATUS, PRODCALCTRANS.COSTAMOUNT,
                         PRODCALCTRANS.COSTMARKUP, PRODCALCTRANS.REALCOSTAMOUNT, PRODCALCTRANS.CALCTYPE, PRODTABLE.DATAAREAID, PRODCALCTRANS.KEY3,
                         PRODCALCTRANS.CONSUMPVARIABLE, PRODCALCTRANS.REALCONSUMP, PRODTABLE.ITEMID, PRODTABLE.SCHEDDATE, PRODTABLE.FINISHEDDATE,
                         PRODCALCTRANS.KEY1, PRODCALCTRANS.TRANSDATE, PRODCALCTRANS.QTY, PRODCALCTRANS.KEY2, PRODCALCTRANS.COLLECTREFLEVEL,
                         PRODCALCTRANS.LINENUM, INVENTTABLE.ITEMNAME, INVENTTABLE.ITEMID AS Expr1, PRODTABLE.INVENTTRANSID
FROM            PRODTABLE INNER JOIN
                         PRODCALCTRANS ON PRODTABLE.PRODID = PRODCALCTRANS.PRODID AND PRODTABLE.DATAAREAID = PRODCALCTRANS.DATAAREAID INNER JOIN
                         INVENTTABLE ON PRODCALCTRANS.DATAAREAID = INVENTTABLE.DATAAREAID AND PRODCALCTRANS.KEY1 = INVENTTABLE.ITEMID
WHERE        (PRODTABLE.PRODSTATUS = 7) AND (PRODTABLE.DATAAREAID = N'AR1') AND (PRODTABLE.ITEMID = @itemid) AND
                         (PRODTABLE.FINISHEDDATE >= @Paramfromdate) AND (PRODTABLE.FINISHEDDATE <= @Paramtodate) AND (PRODCALCTRANS.COLLECTREFLEVEL = 1) AND
                         (PRODCALCTRANS.CALCTYPE >= 0)

 

SSRS report security by expiring its session

$
0
0

Hello all,

We are using SSRS 2008 r2 for Reporting as its financial services company so, too much scope for reporting .

Here, i am facing some problems let to security when users opens report and forget to close anymore report still stay opens for a hours i get suggest that to expired session for report after 10 minutes . How to achieve this please help.

also ,  instead of login to application users are opening report from browser history .


Dilip Patil..

how to call ssrs report from Local

$
0
0

Hi All,

I Have Developed one SSRS Report in Sql 2010 Version and then i have taken that xml code and saved as record in a table,

Now how can i get that report and render and show the print in PDF And XML Format,

Can Anyone Help Me,

SSRS error - verbose mode

$
0
0

We have a SCCM and use SQL 2012 server for reporting. Recently we have started experiencing a problem where we can browse to the reports and once we do run the reports, it tries to run forever and eventually halts with the following error

An error occurred within the report server database. This may be due to a connection failure, timeout or low disk condition within the database. (rsReportServerDatabaseError) 

I have enabled verbose mode on the sql server and restarted the reporting service. Below is the log file where I am hoping someone will be able to tell me what the issue is:

<Header>
  <Product>Microsoft SQL Server Reporting Services Version 2011.0110.5058.00 ((SQL11_PCU_Main).140514-1820 )</Product>
  <Locale>English (United Kingdom)</Locale>
  <TimeZone>GMT Standard Time</TimeZone>
  <Path>E:\Program Files\Microsoft SQL Server\MSRS11.INSTANCE2\Reporting Services\Logfiles\ReportServerService__12_18_2014_14_54_36.log</Path>
  <SystemName>SRVPRDAPPDB1</SystemName>
  <OSName>Microsoft Windows NT 6.2.9200</OSName>
  <OSVersion>6.2.9200</OSVersion>
  <ProcessID>27476</ProcessID>
  <Virtualization>None</Virtualization>
</Header>
<ProcessorArchitecture>AMD64</ProcessorArchitecture>
<ApplicationArchitecture>AMD64</ApplicationArchitecture>
rshost!rshost!4d58!12/18/2014-14:54:36:: i INFO: CLR runtime is initialized.
rshost!rshost!4d58!12/18/2014-14:54:36:: v VERBOSE: Initializing Memory Monitoring
rshost!rshost!4d58!12/18/2014-14:54:36:: i INFO: Derived memory configuration based on physical memory as 268369396 KB
rshost!rshost!4d58!12/18/2014-14:54:36:: v VERBOSE: Supported winsock version is 2.2.

appdomainmanager!DefaultDomain!4d58!12/18/2014-14:54:36:: i INFO: Entered managed ServiceMain in DefaultDomain.
configmanager!DefaultDomain!6728!12/18/2014-14:54:37:: e ERROR: Configuration file element UrlReservation has a invalid VirtualRoot. It will be ignored.
configmanager!DefaultDomain!6728!12/18/2014-14:54:37:: e ERROR: Configuration file element UrlReservation has a invalid VirtualRoot. It will be ignored.
library!DefaultDomain!6728!12/18/2014-14:54:37:: i INFO: Initializing ConnectionType to '0'  as specified in Configuration file.
library!DefaultDomain!6728!12/18/2014-14:54:37:: i INFO: Initializing SecureConnectionLevel to '0'  as specified in Configuration file.
library!DefaultDomain!6728!12/18/2014-14:54:37:: i INFO: Initializing DisableSecureFormsAuthenticationCookie to 'False'  as specified in Configuration file.
library!DefaultDomain!6728!12/18/2014-14:54:37:: i INFO: Initializing CleanupCycleMinutes to '10' minute(s) as specified in Configuration file.
library!DefaultDomain!6728!12/18/2014-14:54:37:: i INFO: Initializing MaxActiveReqForOneUser to '20' requests(s) as specified in Configuration file.
library!DefaultDomain!6728!12/18/2014-14:54:37:: i INFO: Initializing DatabaseQueryTimeout to '120' second(s) as specified in Configuration file.
library!DefaultDomain!6728!12/18/2014-14:54:37:: i INFO: Initializing RunningRequestsScavengerCycle to '60' second(s) as specified in Configuration file.
library!DefaultDomain!6728!12/18/2014-14:54:37:: i INFO: Initializing RunningRequestsDbCycle to '60' second(s) as specified in Configuration file.
library!DefaultDomain!6728!12/18/2014-14:54:37:: i INFO: Initializing RunningRequestsAge to '30' second(s) as specified in Configuration file.
library!DefaultDomain!6728!12/18/2014-14:54:37:: i INFO: Initializing MaxScheduleWait to '5' second(s) as specified in Configuration file.
library!DefaultDomain!6728!12/18/2014-14:54:37:: i INFO: Initializing DisplayErrorLink to 'True'  as specified in Configuration file.
library!DefaultDomain!6728!12/18/2014-14:54:37:: i INFO: Initializing WebServiceUseFileShareStorage to 'False'  as specified in Configuration file.
library!DefaultDomain!6728!12/18/2014-14:54:37:: i INFO: Initializing WatsonFlags to '1064'  as specified in Configuration file.
library!DefaultDomain!6728!12/18/2014-14:54:37:: i INFO: Initializing WatsonDumpOnExceptions to 'Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException,Microsoft.ReportingServices.Modeling.InternalModelingException,Microsoft.ReportingServices.ReportProcessing.UnhandledReportRenderingException' as specified in Configuration file.
library!DefaultDomain!6728!12/18/2014-14:54:37:: i INFO: Initializing WatsonDumpExcludeIfContainsExceptions to 'System.Threading.ThreadAbortException,System.Web.UI.ViewStateException,System.OutOfMemoryException,System.Web.HttpException,System.IO.IOException,System.IO.FileLoadException,Microsoft.SharePoint.SPException,Microsoft.ReportingServices.WmiProvider.WMIProviderException' as specified in Configuration file.
library!DefaultDomain!6728!12/18/2014-14:54:37:: i INFO: Initializing AuthenticationTypes to '4'  as specified in Configuration file.
library!DefaultDomain!6728!12/18/2014-14:54:37:: i INFO: Initializing RSWindowsExtendedProtectionLevel to 'Off'  as specified in Configuration file.
library!DefaultDomain!6728!12/18/2014-14:54:37:: i INFO: Initializing RSWindowsExtendedProtectionScenario to 'Proxy'  as specified in Configuration file.
library!DefaultDomain!6728!12/18/2014-14:54:37:: i INFO: Initializing EnableAuthPersistence to 'True'  as specified in Configuration file.
library!DefaultDomain!6728!12/18/2014-14:54:37:: i INFO: Initializing IsSchedulingService to 'True'  as specified in Configuration file.
library!DefaultDomain!6728!12/18/2014-14:54:37:: i INFO: Initializing IsNotificationService to 'True'  as specified in Configuration file.
library!DefaultDomain!6728!12/18/2014-14:54:37:: i INFO: Initializing IsEventService to 'True'  as specified in Configuration file.
library!DefaultDomain!6728!12/18/2014-14:54:37:: i INFO: Initializing PollingInterval to '10' second(s) as specified in Configuration file.
library!DefaultDomain!6728!12/18/2014-14:54:37:: i INFO: Initializing WindowsServiceUseFileShareStorage to 'False'  as specified in Configuration file.
library!DefaultDomain!6728!12/18/2014-14:54:37:: i INFO: Initializing MemorySafetyMargin to '80' percent as specified in Configuration file.
library!DefaultDomain!6728!12/18/2014-14:54:37:: i INFO: Initializing MemoryThreshold to '90' percent as specified in Configuration file.
library!DefaultDomain!6728!12/18/2014-14:54:37:: i INFO: Initializing RecycleTime to '720' minute(s) as specified in Configuration file.
library!DefaultDomain!6728!12/18/2014-14:54:37:: i INFO: Initializing MaxAppDomainUnloadTime to '30' minute(s) as specified in Configuration file.
library!DefaultDomain!6728!12/18/2014-14:54:37:: i INFO: Initializing MaxQueueThreads to '0' thread(s) as specified in Configuration file.
library!DefaultDomain!6728!12/18/2014-14:54:37:: w WARN: Initializing UrlRoot to default value of ''  because it was incorrectly specified in Configuration file as ''.
library!DefaultDomain!6728!12/18/2014-14:54:37:: i INFO: Initializing IsWebServiceEnabled to 'True'  as specified in Configuration file.
library!DefaultDomain!6728!12/18/2014-14:54:37:: i INFO: Initializing IsReportManagerEnabled to 'True'  as specified in Configuration file.
library!DefaultDomain!6728!12/18/2014-14:54:37:: i INFO: Initializing MaxConnections to '2'  as specified in Configuration file.
library!DefaultDomain!6728!12/18/2014-14:54:37:: i INFO: Initializing Timeout to '10' second(s) as specified in Configuration file.
library!DefaultDomain!6728!12/18/2014-14:54:37:: i INFO: Initializing AppID to '(Default)'  as specified in Configuration file.
library!DefaultDomain!6728!12/18/2014-14:54:37:: i INFO: Initializing CacheLevel to 'Default'  as specified in Configuration file.
resourceutilities!DefaultDomain!6728!12/18/2014-14:54:37:: i INFO: Reporting Services starting SKU: Standard
configmanager!DefaultDomain!6728!12/18/2014-14:54:37:: e ERROR: Failed to get url configuration section.
configmanager!DefaultDomain!6728!12/18/2014-14:54:37:: e ERROR: Failed to get url configuration section.
configmanager!DefaultDomain!6728!12/18/2014-14:54:37:: w WARN: IsApplicationUrlSubsetOfReportServer() -- Failed to get url configuration section.
configmanager!DefaultDomain!6728!12/18/2014-14:54:37:: i INFO: Using report server internal url .
configmanager!DefaultDomain!6728!12/18/2014-14:54:37:: i INFO: Using report server external url .
configmanager!DefaultDomain!6728!12/18/2014-14:54:37:: i INFO: Using url root .
rshost!rshost!6728!12/18/2014-14:54:37:: i INFO: Configuring maxPhysicalCpu=4, minLogicalCpu=0
rshost!rshost!6728!12/18/2014-14:54:37:: i INFO: Logical processor per physical processor 16
rshost!rshost!6728!12/18/2014-14:54:37:: i INFO: Logical processor per core 2
rshost!rshost!6728!12/18/2014-14:54:37:: i INFO: Maximum logical CPU is 32
library!DefaultDomain!6728!12/18/2014-14:54:37:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: No DSN present in configuration file, Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: The report server has encountered a configuration error. ;
servicecontroller!DefaultDomain!6728!12/18/2014-14:54:37:: e ERROR: Error initializing configuration from the database: Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: The report server has encountered a configuration error. 
library!DefaultDomain!6728!12/18/2014-14:54:37:: i INFO: SQLDump flags: ReferencedMemory, AllThreads, SendToWatson
library!DefaultDomain!6728!12/18/2014-14:54:37:: i INFO: MiniDump flags: DataSegs, UnloadedModules, ProcessThreadData
library!DefaultDomain!6728!12/18/2014-14:54:37:: i INFO: Dump on: Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException,Microsoft.ReportingServices.Modeling.InternalModelingException,Microsoft.ReportingServices.ReportProcessing.UnhandledReportRenderingException
library!DefaultDomain!6728!12/18/2014-14:54:37:: i INFO: Do not dump on: System.Threading.ThreadAbortException,System.Web.UI.ViewStateException,System.OutOfMemoryException,System.Web.HttpException,System.IO.IOException,System.IO.FileLoadException,Microsoft.SharePoint.SPException,Microsoft.ReportingServices.WmiProvider.WMIProviderException
library!DefaultDomain!6728!12/18/2014-14:54:37:: i INFO: Minidump location: E:\Program Files\Microsoft SQL Server\MSRS11.INSTANCE2\Reporting Services\Logfiles
library!DefaultDomain!6728!12/18/2014-14:54:37:: v VERBOSE: Setting unhandled exception handler
appdomainmanager!DefaultDomain!6728!12/18/2014-14:54:37:: i INFO: Appdomain:2 WindowsService_0 started.
library!WindowsService_0!6728!12/18/2014-14:54:37:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: No DSN present in configuration file, Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: The report server has encountered a configuration error. ;
servicecontroller!WindowsService_0!6728!12/18/2014-14:54:37:: e ERROR: Error initializing configuration from the database: Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: The report server has encountered a configuration error. 
library!WindowsService_0!6728!12/18/2014-14:54:38:: i INFO: SQLDump flags: ReferencedMemory, AllThreads, SendToWatson
library!WindowsService_0!6728!12/18/2014-14:54:38:: i INFO: MiniDump flags: DataSegs, UnloadedModules, ProcessThreadData
library!WindowsService_0!6728!12/18/2014-14:54:38:: i INFO: Dump on: Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException,Microsoft.ReportingServices.Modeling.InternalModelingException,Microsoft.ReportingServices.ReportProcessing.UnhandledReportRenderingException
library!WindowsService_0!6728!12/18/2014-14:54:38:: i INFO: Do not dump on: System.Threading.ThreadAbortException,System.Web.UI.ViewStateException,System.OutOfMemoryException,System.Web.HttpException,System.IO.IOException,System.IO.FileLoadException,Microsoft.SharePoint.SPException,Microsoft.ReportingServices.WmiProvider.WMIProviderException
library!WindowsService_0!6728!12/18/2014-14:54:38:: i INFO: Minidump location: E:\Program Files\Microsoft SQL Server\MSRS11.INSTANCE2\Reporting Services\Logfiles
library!WindowsService_0!6728!12/18/2014-14:54:38:: v VERBOSE: Setting unhandled exception handler
resourceutilities!WindowsService_0!6728!12/18/2014-14:54:38:: i INFO: Reporting Services starting SKU: Standard
library!WindowsService_0!5c98!12/18/2014-14:54:38:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: No DSN present in configuration file, Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: The report server has encountered a configuration error. ;
library!WindowsService_0!5c98!12/18/2014-14:54:38:: e ERROR: ServiceStartThread: Exception caught while starting service. Error: Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: The report server has encountered a configuration error. 
library!WindowsService_0!5c98!12/18/2014-14:54:38:: e ERROR: ServiceStartThread: Attempting to start service again...
rpcserver!DefaultDomain!5c98!12/18/2014-14:54:38:: i INFO: RPC Server started.
servicecontroller!DefaultDomain!5c98!12/18/2014-14:54:38:: i INFO: RPC Server started. Endpoint name ='ReportingServices$MSRS11.INSTANCE2'
rshost!rshost!370c!12/18/2014-14:54:38:: w WARN: Endpoint 2 is enabled but no url is registered for vdir=, pdir=E:\Program Files\Microsoft SQL Server\MSRS11.INSTANCE2\Reporting Services\ReportServer.
rshost!rshost!4e68!12/18/2014-14:54:38:: w WARN: Endpoint 3 is enabled but no url is registered for vdir=, pdir=E:\Program Files\Microsoft SQL Server\MSRS11.INSTANCE2\Reporting Services\ReportManager.
rshost!rshost!4e68!12/18/2014-14:54:38:: i INFO: Endpoint 4 is disabled and no url is registered vdir=, pdir=E:\Program Files\Microsoft SQL Server\MSRS11.INSTANCE2\Reporting Services\ReportServer\ReportBuilder.
resourceutilities!DefaultDomain!6728!12/18/2014-14:54:38:: i INFO: Maximum memory limit is 65536Mb
rshost!rshost!6728!12/18/2014-14:54:38:: i INFO: Derived memory configuration based on physical memory as 67108864 KB
rpcserver!DefaultDomain!432c!12/18/2014-14:54:38:: i INFO: Process monitoring started.
servicecontroller!DefaultDomain!3a4c!12/18/2014-14:54:38:: i INFO: Total Physical memory: 274810261504

Thanks.


The permissions granted to user 'NT AUTHORITY\ANONYMOUS LOGON' are insufficient for performing this operation. While deploying SSRS reports to SharePoint 2013. How to resolve the issue?

$
0
0

Hello Everybody,

I'm facing a permission issue while deploying SSRS 2012 reports to SharePoint 2013. The error is below.

Error1The permissions granted to user 'NT AUTHORITY\ANONYMOUS LOGON' are insufficient for performing this operation. ---> Microsoft.ReportingServices.Diagnostics.Utilities.AccessDeniedException: The permissions granted to user 'NT AUTHORITY\ANONYMOUS LOGON' are insufficient for performing this operation.00

SSRS configuration with SharePoint is correct and both the services are running in same machine.

Please help me to resolve this issue.

Reagrding,
Thiru


GetReportServerUrl / ManagmentException

$
0
0

Trying to get the SSRS2012 sample authentication extension working in our dev environment.  I get to the point where the code attempts the report server url via WMI.  It is blowing up with ManagementException / "Invalid Namespace".  Not sure what is wrong.  Please advise.

Re: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server

$
0
0
Hi,

I'm encountering an issue with "Named Pipes Provider, error: 40 windows" and am having problems determining how to fix it due to the environment I'm using.  I have two SQL Servers installed on two separate Win2K3 Server boxes, one is SQL Server 2000 and the other is SQL Server 2005.  The SQL Server 2000 contains the actual application data.  The 2005 database is used only for Reporting Services.  I've set up the reports on SSRS such that their datasources hit the 2000 server.  This is using SQL Server authentication.

When testing the reports via SSRS (in Visual Studio 2005), the connection to the data works and the reports are generated fine.  When I deploy them to the reporting server and launch IE to test locally (still on the 2005 box), I get this "Named Pipes Provider, error 40" issue.  I made sure that Named Pipes and TCP were enabled and the port set at 1433 (to match that on the 2000 box). 

Now I changed the datasource's authentication from SQL Server to Windows authentication.  I tested this in SSRS and this works too.  When I redeployed the reports with this authentication change, testing the reports via IE locally (on the 2005 box) worked.  Great.  Now when I open IE on an external box, i.e. on the 2000 box, and try to test the reports, I get this same error 40 issue.  I've been through a few threads describing the error 40, fiddling around with the SQL Server configuration as well as SSRS, to no avail.  I have a feeling this error 40 issue has to due with permissions/authentication between the SQL Server boxes but I can't really be sure.  Anyone have any ideas on how to troubleshoot my situation.  Thanks.

larry

SSRS 2012 web.config caching issue

$
0
0

I modified/saved C:\Program Files\Microsoft SQL Server\MSRS11.MSSQLSERVER\Reporting Services\ReportServer\web.config to use 

FORMS authentication instead of windows authentication.  However, after restarting SSRS using Windows control panel, SSRS is still using the original unmodified web.config with Windows authentication.

I tried restarting the SSRS windows service via control panel to no avail.

For some reason SSRS is caching the old version and not seeing my new web.config.

How do you get SSRS to recognize new my web.config?

SSRS2012

Windows2012


Cannot preview SSRS report in Visual Studio 2012 - assembly does not allow partially trusted callers

$
0
0

Hi,

I have an SSRS report that works fine in Visual Studio 2008 BIDS.  This report references a .Net assembly namely:

System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a

I use this assembly in some simple Code functions in the report. e.g.

System.Web.HttpUtility.UrlEncode(inURL).ToString

I have converted the SSRS project to 2012 and am trying to preview the report.  However, I get an error relating to: "That assembly does not allow partially trusted callers".  If i deploy the rdl to my local SSRS it renders fine, but how do I fix Visual Studio to preview the report without error? This is highly annoying.

My Visual Studio version is:

Microsoft Visual Studio Professional 2012
Version 11.0.61030.00 Update 4
Microsoft .NET Framework
Version 4.5.51641

SQL Server Reporting Services  
Microsoft SQL Server Reporting Services Designers
Version 11.0.3402.0

Any help is appreciated on this one.

Regards,

MrHH

Expression Question for SQL Server Reporting Services 2008 R2

$
0
0

I am trying to form an expression that will give me the est. hours for a specific project type.  Project Type is a field in the data set as well as est.hrs.  There are no calculations needed.  The hours is listed under the field name"Est.Hours". So I've been trying to us an IIF expression.  IIF(Fields!ProjectType.Value=Landscaping, "", Fields!Est.Hours.Value).  It is not working.  It renders "0" and it should render "10".  What am I doing wrong?  

SSRS reports are not printing probably

$
0
0
when I preview my reports they look great but when I print them I get some blank pages

The attempt to connect to the report server failed. Check your connection information and that the report server is a compatible version.

$
0
0

Trying to get the Microsoft sample authentication extension running.  

Readme_Security Extension Sample

I am to the point of "Testing the Sample".  When I browse out to our test SSRS2012 server (http://devsql3/Reports/Pages/Folder.aspx), I get this error

     

"The attempt to connect to the report server failed.  Check your connection information and that the report server is a compatible version. "

What causes this error?  How do I troubleshoot this error?

scott


SSRS - Optional Report Parameter -ISSUES with query

$
0
0

I have a SSRS reports with the following parameters configured as: 

-@prmID  ---  I configured this parameter to "Allow blank value" because the user does not necessarily needs to enter a value
-@prmReviewer -- Allows multiple values
-@prmState  -- Allows multiple values
-@prmJobT -- Allows multiple values

My query looks like:

;WITH cteTemp(
   SELECT  Last
          ,First
          ,email
          ,ID
          ,Reviewer
          ,State
          ,JobTitle
   FROM (JOINS)
   Where State IN (@prmState)
   AND Reviewer IN (@prmReviewer)
   AND Jobtitle IN (@prmJobT)
   AND ID = @prmID
               )

SELECT DISTINCT Last, First, email
FROM cteTEmp


**The query above works perfectly fine when the user enters a value for @prmID 

What do I need to do for my query to continue working when the user leaves the @prmID blank?

-If the user enters @prmID then the query should do: 

Where State IN (@prmState)
   AND Reviewer IN (@prmReviewer)
   AND Jobtitle IN (@prmJobT)
   AND ID = @prmID

If the user leaves blank @prmID I want the query to evaluate:

Where State IN (@prmState)
   AND Reviewer IN (@prmReviewer)
   AND Jobtitle IN (@prmJobT)

Do I need to have an IF/ELSE statement inside my cteTemp to evaluate ISNULL(@prmID)?


-Alan

sql server integration services

$
0
0

Hi All,

i have 50 insert statements, 50 update statements and 50 delete statements, 

in all these statements 1 statement is wrong . How to find that statement?

Thank you

Could not find permission set named 'ASP.Net'

$
0
0

Hi,

I am trying to running report server directory through IIS getting below error. How to reslove this so that I can host my report here.

Description:An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Configuration.ConfigurationErrorsException: Could not find permission set named 'ASP.Net'.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[ConfigurationErrorsException: Could not find permission set named 'ASP.Net'.]
  System.Web.HttpRuntime.HostingInit(HostingEnvironmentFlags hostingFlags, PolicyLevel policyLevel, Exception appDomainCreationException) +238

[HttpException (0x80004005): Could not find permission set named 'ASP.Net'.]
  System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +8946484
  System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +97
  System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +258


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1

Server Error in '/Reports' Application.

Could not find permission set named 'ASP.Net'.

 

Find the difference between two columns in an ssrs matrix ? MSCRM

$
0
0

Hi All,

I am working in reporting part of our project (On-line MSCRM 2013) & in reporting services.

I am trying to create report using fetch xml based. Below is the snap what we required the result.

Kindly help me, how to get the difference in both column. (Its a matrix table where year is grouped).

We need difference between both year Like (Plan Revenue of 2013 & Plan Revenue of 2014 difference in Plan Revenue Diff section) and same for Actual Revenue.

https://social.microsoft.com/Forums/en-US/054d5ca4-0d38-4dc6-84a8-88866cc228fe/find-the-difference-between-two-columns-in-an-ssrs-matrix-mscrm?forum=crmdevelopment

Thanks,

Mohammad Sharique


Viewing all 10045 articles
Browse latest View live


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