http://www.gotreportviewer.com/
http://msdn2.microsoft.com/en-us/library/aa902651(SQL.80).aspx
For example:
"C:\Program Files\Microsoft SQL Server\90\Samples\Reporting Services\Application Samples\RSExplorer Sample"
*Problem 1:
The report server cannot decrypt the symmetric key used to access sensitive or encrypted data in
a report server database. You must either restore a backup key or delete all encrypted content and
then restart the service. Check the documentation for more information. (rsReportServerDisabled)
*** Kan lösas med, för SQL 2000:
1: rskeymgmt -d
2: omstart av IIS
3: rsactivate -c "C:\Program\Microsoft SQL Server\MSSQL\Reporting Services\ReportServer\RSReportServer.config" (obs endast SQL 2000 !)
4: publicera om rapportdefinitioner..
5: kontrollera "automatisk inloggning", dvs sql kontouppgifter (http://localhost/reports)
(Alternativet "Credentials stored securely in the report server")
1. Shut down the Report Server Windows NT Service.
2. Run RSKEYMGMT using the -e, -f, and –p switches to extract the current symmetric key. If this is a new installation and no reports have been uploaded to the Report Server, you can skip this step.
(or use "rskeymgmt -d" to delete key.)
(rskeymgmt.exe resides in folder "C:\Program Files\Microsoft SQL Server\90\Tools\binn"..)
3. Open the RSReportServer.Config file located in the C:\Program Files\Microsoft SQL Server\MSSQL\Reporting Services\ReportServer directory
4. Verify that the user who is going to initiate the activation process for the Report Server is logged on to
5. Run RSKEYMGMT using the -r switch, and pass the value that you found in the RSReportServer.Config file in
6. Examine the Report Service Windows NT Service log files to make sure that the service successfully activated.
7. Ask someone with Local Admin permissions on the IIS machine to browse to http://localhost/reportserver to force
8. Examine the Report Server Web Service log files to make sure that the service successfully activated.
9. If you used step 2 of this procedure to back up the symmetric key, reapply the symmetric key using RSKEYMGMT
http://support.microsoft.com/kb/842421
Make sure the application for the project type (.rptproj) is installed.
Artikel ang setup av Reporting Services:
* SQL 2000 / SQL 2005, saxat ifrån http://persalmi.net/
(se även: http://support.microsoft.com/kb/913048)
Idag var det dags att uppdatera en äldre rapportdefinition som designats i Visual Studio.Net 2003 och publiceras på SQL Server 2000 med tillägg för Reporting Services. Eftersom jag för tillfället har vissa problem med VS 2003 installationen på min dator så bestämde jag mig för att göra ett försök i Visual Studio 2005.
Tyvärr kan man inte använda VS 2005 för att designa rapporter som är fullständigt kompatibla med RDL-formatet i SQL 2000 versionen av Reporting Services, vissa begränsningar och viss handpåläggning måste till för att publicera rapporterna. Rapportdesignern i VS 2005 har utökad syntax för det nyare RDL-format som stöds av SQL Server 2005, så Report Manager applikationen i SQL2K gillar inte RDL-filerna som produceras av VS 2005. Därför fungerar inte t. ex. inte "Deploy" direkt från Visual Studio.
En del tricks finns dock att ta till för att komma runt dessa begränsningar.
- Använd bara funktioner som fanns i Reporting Services på SQL2K, använder man nyare funktioner kommer det garanterat inte att fungera.
- Använd inte VS2005 funktionen "Deploy" för att publicera rapporten, spara den istället som RDL-fil.
- Öppna rapporten (RDL-filen) antingen som Xml kod i VS eller med en annan textredigerare och ändra Xml namnrymdreferensen i <Report>-taggen enligt detta:
<Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2005/01/reportdefinition"
xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">
Ändra till:
<Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2003/10/reportdefinition"
xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">
- Ta bort rader som innehåller taggarna <InteractiveWidth> och <InteractiveHeight>, de är inte kompatibla med RS 2000 men genereras av VS2005. Såg ut så här i mitt fall:
...
<InteractiveWidth>8.5in</InteractiveWidth>
...
<InteractiveHeight>11in</InteractiveHeight>
...
Publicera rapporten från Report Manager applikationen genom att ladda upp RDL-filen.
Report Manager-applikationen är relativt väluppfostrad och talar om vilka taggar den inte har stöd för så om du kan ladda upp rapporten utan felmeddelanden kommer den med största sannolikhet att fungera korrekt.
Setup med "Remote Report Server Database", bland annat:
Installing SQL Server Reporting Services: http://msdn2.microsoft.com/en-us/library/ms143736.aspx
Reporting Services Installation How-to Topics: http://msdn2.microsoft.com/en-us/library/ms143757.aspx
Setting Up Windows Service Accounts: http://msdn2.microsoft.com/en-us/library/ms143504.aspx
SQL Server 2000 Reporting Services Deployment Guide: http://www.microsoft.com/technet/prodtechnol/sql/2000/deploy/rsdepgd.mspx
accesses for a certain time period, disable the idle timeout on the Performance tab in
the Application Pool in IIS Manager.
RTM: 8.00.743.00
SP1 : 8.00.878.00
SP2 : 8.00.1038.00
HKLM\SOFTWARE\Microsoft\Microsoft SQL Server\80\Reporting
Services\ProductCode
Standard: {B19FEFE7-069D-4FC4-8FDF-19661EAB6CE4}
Enterprise: {33FE9EED-1976-4A51-A7AF-332D9BBB9400}
Developer: {2879CA50-1599-4F4B-B9EC-1110C1094C16}
Evaluation: {7C93251A-BFB4-4EB8-A57C-81B875BB12E4}
An error occurred during rendering of the report. (rrRenderingError)
An error occurred during rendering of the report.
Object reference not set to an instance of an object."
Check your connection information and that the report server is a compatible version."
specify a host name as "localhost".
Link to info: http://carlos290.vox.com/library/post/the-attempt-to-connect-to-the-report-server-failed-check-your-connection-information-and-that.html
Whats new in Reporting Services 2008: http://technet.microsoft.com/en-us/library/ms170438.aspx
New in Reporting Services 2005:
- Run Time Sorting (Interactive Sort) (http://www.sqlservercentral.com/articles/Architecture/3024/)
Conditional Page break in SSRS: http://sqlblogcasts.com/blogs/mohitnayyar/archive/2009/05/10/Mohit-Nayyar-conditional-page-break-in-SSRS.aspx
Video, report designer 2.0:
http://mediadl.microsoft.com/mediaDL/WWW/S/sqlserver/2008/Report%20Builder/Report_Authoring_in_ReportingServices2008.wmv
Webcast: First Steps in Reporting Services 2008 (video missing?):
http://blogs.microsoft.co.il/blogs/barbaro/archive/2008/05/01/webcast-first-steps-in-reporting-services-2008-en.aspx
Video, overview SSRS2008:
http://www.youtube.com/watch?v=K-D4UP6VbGk
Vid användning av ReportViewer-kontrollen i web-lösningar så får man se upp med "beroende" av motsvarande SQL Server version..
För Visual Studio 2010 så är "v10" default, och den funkar enbart mot SQL Server 2008..
Mer info på följande länk:
http://smehrozalam.wordpress.com/2010/08/11/reportviewer-control-look-out-for-appropriate-version-when-using-in-server-mode-remote-processing/
How to write SSRS report into server folder as Excel File
http://forums.asp.net/t/1746293.aspx?How+to+write+SSRS+report+into+server+folder+as+Excel+File
Search-words: schedule subscription
Web Service URL: http://cqvm0107/ReportServer_k8/ReportService2006.asmx
Subscriptions and Delivery: http://msdn.microsoft.com/en-us/library/ms159762.aspx
Programmatically playing with SSRS Subscriptions: http://www.codeproject.com/Articles/36009/Programmatically-Playing-With-SSRS-Subscriptions
Programmatically Create Data Driven Subscriptions in SQL Server 2005/2008
http://www.sqlservercurry.com/2009/07/programmatically-create-data-driven.html
How to create a sample application that uses the Reporting Services SOAP APIs to render a report to a selected file format on a Web page
http://support.microsoft.com/kb/875447
http://www.codeproject.com/Articles/15555/Generating-PDF-reports-programmatically-using-SQL
-- *** Show SSRS subscriptions
SELECT
c.Name AS ReportName, c.ModifiedDate, rs.ScheduleID AS JOB_NAME,
s.[Description], s.SubscriptionID, s.LastStatus, s.LastRunTime
FROM
ReportServer..[Catalog] c
JOIN ReportServer..Subscriptions s ON c.ItemID = s.Report_OID
JOIN ReportServer..ReportSchedule rs
ON (c.ItemID = rs.ReportID AND rs.SubscriptionID = s.SubscriptionID)
*** Manually start subscription by SQL or by "ReportingService":
EXEC msdb..sp_start_job @job_name = 'guid-value-of-subscription-scheduleid'
Dim rs As New ReportingService()
rs.Credentials = System.Net.CredentialCache.DefaultCredentials
rs.FireEvent("TimedSubscription", "guid-value-of-subscription-scheduleid")