Showing posts with label learn. Show all posts
Showing posts with label learn. Show all posts

Wednesday, March 28, 2012

Reporting Services 2005 on SQL Server 2000

Hi,

I'm quite new to the Reporting Services 2005 and think I've made a slight(!) mistake. When I was on a training course to learn ASP2, I was told that I could create the Reports in SSRS2005 tool for VS2005 and that would work perfectly well with my copy of SQL Server 2000 - As VS2005 came with a 'runtime' so it could read the data off any objectdatasource.

Do I need SQL Server 2005 installed to run reports created in SSRS2005? We only have SQL Server 2000 and have no plans at present to upgrade.

If anyone has any advice, I'd be grateful, I guess I could always reinstall VS2003 and then recreate the reports in the Reporting Services for SQL Server 2000 and then link the two together.

Thanks,

Barnaby

Hi,

You can not publish SSRS 2005 reports to a SQL Server 2000 server as the RDL schema is changed in SSRS 2005 from SSRS 2000.

Directly from MSDN -

You cannot publish a report that has the SQL Server 2005 report definition namespace to a SQL Server 2000 report server.

Now to change the reports to SSRS 2000 chack this post(doin reverse might help, not sure) -

http://www.developmentnow.com/g/115_2007_4_0_0_964434/Converting-2000-rdl-files-to-2005.htm

Friday, March 23, 2012

Reporting Services (SSRS)

Hey everyone...I'm completely new to SQL Server and I'm trying to learn the Reporting Services tool. I just installed SQL Server 2005 and selected to install all the options, atleast I'm 99.99% sure I did.

When I go to launch Report Services Configuration, I get "No report servers were found on the specified machine. Details: Invalid namespace". Do I need IIS for this to work?

Also, I do not think the AdventureWorks database was installed, I cannot seem to find it anywhere. I have tried to go back through and reinstall it, but it says that it is already installed.

Also, is there a certain order that you are supposed to install things? i.e. SQL Server before Visual Studios?

Thanks in advance.

*Edit* BTW, I'm using Windows XP, SQL Server Enterprise Edition, and VS.NET 2005.
YOu definetly need IIS to host Reporting Services. If you did not install that prior to the installation of Reporting Services / SQL Server 2005, the installer skipped the Reporting Services (server) part, although you might activated a "full installation". But at the beginning of the setup there should have been a warning at the prerequisites pages telling you that server components of Reporting Services will not be installed due to the lack of IIS.

HTH, Jens K. Suessmeyer.

http://www.sqlserver2005.de
|||Do I have to again uninstall SQL Server 2005 and install it again or I coan now configure it to run RS?|||

Actually no. You will have to

-install IIS on your computer
-Register ASP.NET on the IIS instance again using aspnet_regiis -i on the commandline.
-Install Reporting Services
-Done.

HTH, jens K. Suessmeyer.

http://www.sqlserver2005.de

sql

Reporting Services (SSRS)

Hey everyone...I'm completely new to SQL Server and I'm trying to learn the Reporting Services tool. I just installed SQL Server 2005 and selected to install all the options, atleast I'm 99.99% sure I did.

When I go to launch Report Services Configuration, I get "No report servers were found on the specified machine. Details: Invalid namespace". Do I need IIS for this to work?

Also, I do not think the AdventureWorks database was installed, I cannot seem to find it anywhere. I have tried to go back through and reinstall it, but it says that it is already installed.

Also, is there a certain order that you are supposed to install things? i.e. SQL Server before Visual Studios?

Thanks in advance.

*Edit* BTW, I'm using Windows XP, SQL Server Enterprise Edition, and VS.NET 2005.YOu definetly need IIS to host Reporting Services. If you did not install that prior to the installation of Reporting Services / SQL Server 2005, the installer skipped the Reporting Services (server) part, although you might activated a "full installation". But at the beginning of the setup there should have been a warning at the prerequisites pages telling you that server components of Reporting Services will not be installed due to the lack of IIS.

HTH, Jens K. Suessmeyer.

http://www.sqlserver2005.de|||Do I have to again uninstall SQL Server 2005 and install it again or I coan now configure it to run RS?|||

Actually no. You will have to

-install IIS on your computer
-Register ASP.NET on the IIS instance again using aspnet_regiis -i on the commandline.
-Install Reporting Services
-Done.

HTH, jens K. Suessmeyer.

http://www.sqlserver2005.de

Saturday, February 25, 2012

Reporting Problems w/ "MS SQL Server 2005 Reporting Services Step By Step" to MS

I am trying to learn Reporting Services using the title "MS SQL Server 2005 Reporting Services Step by Step" by Stacia Misner and Hitachi Consulting, published in 2006. I am experiencing problems with some of the exercises. I got as far as Chapter 4 when I followed directions to create a SQL statement to define a query string for a dataset. Pg 80:

select * from vProductProfitability

where year = 2003 and

MonthNumberOfYear = 1

The view vProductProfitability does not exist in the tutorial database that came with the book, rs2005sbsDW. The result of this query is the basis for the entire chapter on developing basic reports and I'm being denied a learning opportunity because the view does not exist. In short, I'm stuck.

I have tried to find somewhere at Microsoft to place this question and get some answers so I can continue thru the tutorial. To no avail. Does anyone have any suggestions?

BTW, the solution that came in the CD is also wrong because the query noted above is also in the solution.

This humble grasshopper seeks wisdom.

Respectfully Submitted,

Dave Matthews

Atlanta, GA

aka FlooseMan Dave

Hello,

Just to be sure, your looking at the DB "rs2005sbsDW" and not the other one "rs2005sbs" right?

Regarding official support,please take a loot at the readme.txt thats part of the samples CD, it contains contact\support information for the books materials.

Hope that helps

|||

Hi, Craig.

Good question, and yes I was going after rs2005sbsDW and not the other.

Regards,

Dave

Atlanta

|||

Did you try Stacia's blog?

http://blog.datainspirations.com/

cheers,

Andrew

|||

Hi, Andrew,

I have just looked at Stacia's blog and she is so far ahead of me, I'm not so sure she would want to take time out to go back and help out a rookie who needs to have his hand held while he studies Repoprting Services from a book.

Perhaps an alternative would be for someone who is familiar with the Adventure Works tutorial database could come up with something that roughly approximates the missing view it is using. This is a very important query because the project that first uses it is referenced starting all the way back in Chapter 3 and continues thru the end of Chapter 7. Without that view query, that is a lot of the book that has no tutorial project associated with it. For the hands-on types, learning without the learn-by-doing piece is more difficult.

Thanks for the help!

Dave from Atlanta

|||

Don't you get a warranty when you buy a book?

If someone bought my book I would answer any questions they would have about it.

Write the publishers.. Smile

cheers,

Andrew

|||

Dave, I do not have the CD handy but I do know the readme on it contains contact infromation for support.

Its the odd the query is just missing, perhaps a reinstall would help. The concern would be that if 1 query is missing for some reason, who is to say other needed things are not as well. I do not recall the install in detail but perhaps if you 1) detach the DB, move it/rename it and then 2) run the install from the disc again which should put a new copy of the files on your drive then you can run the file which I think essentially attached the DB for you. Again though, I would check the readme for support info as I know I have seen it there.

good luck

|||

I am trying to learn Reporting Services using the title "MS SQL Server 2005 Reporting Services Step by Step" by Stacia Misner and Hitachi Consulting, published in 2006. I am experiencing problems with sample files.

I got as far as the Introduction page xvi step 19.

I get the following error:

===================================

Errors in the encryption library: Failed to decrypt sensitive data. Possibly the encryption key does not match or is inaccessible because of improper service account change.
(Microsoft.AnalysisServices)


Program Location:

at Microsoft.AnalysisServices.AnalysisServicesClient.SendExecuteAndReadResponse(ImpactDetailCollection impacts, Boolean expectEmptyResults, Boolean throwIfError)
at Microsoft.AnalysisServices.AnalysisServicesClient.Restore(String file, String databaseName, Boolean allowOverwrite, ICollection locations, RestoreSecurity security, String password)
at Microsoft.AnalysisServices.Server.Restore(String file, String databaseName, Boolean allowOverwrite, RestoreLocation[] locations, RestoreSecurity security, String password)
at Microsoft.AnalysisServices.ManagementDialogs.RestoreDialog.DoPreProcessExecution(RunType runType, ExecutionMode& executionResult)
at Microsoft.SqlServer.Management.SqlMgmt.SqlMgmtTreeViewControl.DoPreProcessExecutionAndRunViews(RunType runType)
at Microsoft.SqlServer.Management.SqlMgmt.SqlMgmtTreeViewControl.ExecuteForOlap(PreProcessExecutionInfo executionInfo, ExecutionMode& executionResult)
at Microsoft.SqlServer.Management.SqlMgmt.SqlMgmtTreeViewControl.Microsoft.SqlServer.Management.SqlMgmt.IExecutionAwareSqlControlCollection.PreProcessExecution(PreProcessExecutionInfo executionInfo, ExecutionMode& executionResult)
at Microsoft.SqlServer.Management.SqlMgmt.ViewSwitcherControlsManager.RunNow(RunType runType, Object sender)

===================================

I'm using the SQL Server 2005 Enterprise "Evaluation" Edition, I have the service packs installed and I'm using windows authentication.

Microsoft SQL Server Management Studio (expires in 180 days) 9.00.3042.00

Microsoft Analysis Services Client Tools 2005.090.3042.00

Microsoft Data Access Components (MDAC) 2000.085.1117.00 built by: (_sqlbld)

Microsoft MSXML 2.6 3.0 4.0 5.0 6.0

Microsoft Internet Explorer 6.0.2800.1106

Microsoft .NET Framework 2.0.50727.42

Operating System 5.0.2195 (Windows 2000, Service Pack 4)

Respectfully Submitted,

Jim Pollock

London

U.K.

|||

Hi, Andrew,

I'm with you -- if there are questions about what I have written, I would certainly insist on answering them. In this case, all I have to go on to communicate questions comes from the ReadMe on the accompanying CD: send all inquiries to mspinput@.microsoft.com. Since I have already done so, and I am not certain I will ever get a response, the next best thing would be for me to ask a favor of whoever else has successfully used the book: I would like to see a copy of the SQL code that produces the view vProductProfitability. Loading it to my database would spare me no end of difficulties: I was directed to load the tutorial database to a version of SQL Server on a dev machine, not localhost.

Perhaps I will yet get a resolution to this.

Regards,

Dave

|||

Are you sure you are using the databases that came with the book? If you are using the AdventureWorks sample databases from MSDN, they don't have the views that are specific to the book. The vProductProfitability is in the rs2005svsDW database. The databases that come with the book do not have LDF files so you must attach them using the script that also comes with the book.

USE [rs2005sbsDW]

GO

/****** Object: View [dbo].[vProductProfitability] Script Date: 05/23/2007 12:56:57 ******/

SET ANSI_NULLS ON

GO

SET QUOTED_IDENTIFIER ON

GO

/* from Microsoft? SQL Server? 2005 Reporting Services: Step by Step */

/****** Object: View dbo.vProductProfitability Script Date: 9/8/2003 3:03:29 PM ******/

ALTER VIEW [dbo].[vProductProfitability]

AS

SELECT dbo.DimProduct.ProductName AS Product, dbo.DimProductSubCategory.ProductSubCategoryName AS SubCategory,

dbo.DimProductCategory.ProductCategoryKey AS CategoryKey, dbo.DimProductCategory.ProductCategoryName AS Category,

SUM(dbo.FactResellerSales.TotalProductCost) AS CostAmount, SUM(dbo.FactResellerSales.SalesAmount) AS SalesAmount,

SUM(dbo.FactResellerSales.OrderQuantity) AS OrderQuantity, LEFT(dbo.DimTime.MonthName, 3) AS [Month], dbo.DimTime.MonthNumberOfYear,

dbo.DimTime.CalendarYear AS [Year]

FROM dbo.FactResellerSales INNER JOIN

dbo.DimProduct ON dbo.FactResellerSales.ProductKey = dbo.DimProduct.ProductKey INNER JOIN

dbo.DimProductSubCategory ON dbo.DimProduct.ProductSubCategoryKey = dbo.DimProductSubCategory.ProductSubCategoryKey INNER JOIN

dbo.DimProductCategory ON dbo.DimProductSubCategory.ProductCategoryKey = dbo.DimProductCategory.ProductCategoryKey INNER JOIN

dbo.DimTime ON dbo.FactResellerSales.OrderDateKey = dbo.DimTime.TimeKey

GROUP BY dbo.DimProduct.ProductName, dbo.DimProductSubCategory.ProductSubCategoryName, dbo.DimProductCategory.ProductCategoryName,

dbo.DimProductCategory.ProductCategoryKey, dbo.DimTime.MonthNumberOfYear, LEFT(dbo.DimTime.MonthName, 3), dbo.DimTime.CalendarYear

Reporting Problems w/ "MS SQL Server 2005 Reporting Services Step By Step" to MS

I am trying to learn Reporting Services using the title "MS SQL Server 2005 Reporting Services Step by Step" by Stacia Misner and Hitachi Consulting, published in 2006. I am experiencing problems with some of the exercises. I got as far as Chapter 4 when I followed directions to create a SQL statement to define a query string for a dataset. Pg 80:

select * from vProductProfitability

where year = 2003 and

MonthNumberOfYear = 1

The view vProductProfitability does not exist in the tutorial database that came with the book, rs2005sbsDW. The result of this query is the basis for the entire chapter on developing basic reports and I'm being denied a learning opportunity because the view does not exist. In short, I'm stuck.

I have tried to find somewhere at Microsoft to place this question and get some answers so I can continue thru the tutorial. To no avail. Does anyone have any suggestions?

BTW, the solution that came in the CD is also wrong because the query noted above is also in the solution.

This humble grasshopper seeks wisdom.

Respectfully Submitted,

Dave Matthews

Atlanta, GA

aka FlooseMan Dave

Hello,

Just to be sure, your looking at the DB "rs2005sbsDW" and not the other one "rs2005sbs" right?

Regarding official support,please take a loot at the readme.txt thats part of the samples CD, it contains contact\support information for the books materials.

Hope that helps

|||

Hi, Craig.

Good question, and yes I was going after rs2005sbsDW and not the other.

Regards,

Dave

Atlanta

|||

Did you try Stacia's blog?

http://blog.datainspirations.com/

cheers,

Andrew

|||

Hi, Andrew,

I have just looked at Stacia's blog and she is so far ahead of me, I'm not so sure she would want to take time out to go back and help out a rookie who needs to have his hand held while he studies Repoprting Services from a book.

Perhaps an alternative would be for someone who is familiar with the Adventure Works tutorial database could come up with something that roughly approximates the missing view it is using. This is a very important query because the project that first uses it is referenced starting all the way back in Chapter 3 and continues thru the end of Chapter 7. Without that view query, that is a lot of the book that has no tutorial project associated with it. For the hands-on types, learning without the learn-by-doing piece is more difficult.

Thanks for the help!

Dave from Atlanta

|||

Don't you get a warranty when you buy a book?

If someone bought my book I would answer any questions they would have about it.

Write the publishers.. Smile

cheers,

Andrew

|||

Dave, I do not have the CD handy but I do know the readme on it contains contact infromation for support.

Its the odd the query is just missing, perhaps a reinstall would help. The concern would be that if 1 query is missing for some reason, who is to say other needed things are not as well. I do not recall the install in detail but perhaps if you 1) detach the DB, move it/rename it and then 2) run the install from the disc again which should put a new copy of the files on your drive then you can run the file which I think essentially attached the DB for you. Again though, I would check the readme for support info as I know I have seen it there.

good luck

|||

I am trying to learn Reporting Services using the title "MS SQL Server 2005 Reporting Services Step by Step" by Stacia Misner and Hitachi Consulting, published in 2006. I am experiencing problems with sample files.

I got as far as the Introduction page xvi step 19.

I get the following error:

===================================

Errors in the encryption library: Failed to decrypt sensitive data. Possibly the encryption key does not match or is inaccessible because of improper service account change.
(Microsoft.AnalysisServices)


Program Location:

at Microsoft.AnalysisServices.AnalysisServicesClient.SendExecuteAndReadResponse(ImpactDetailCollection impacts, Boolean expectEmptyResults, Boolean throwIfError)
at Microsoft.AnalysisServices.AnalysisServicesClient.Restore(String file, String databaseName, Boolean allowOverwrite, ICollection locations, RestoreSecurity security, String password)
at Microsoft.AnalysisServices.Server.Restore(String file, String databaseName, Boolean allowOverwrite, RestoreLocation[] locations, RestoreSecurity security, String password)
at Microsoft.AnalysisServices.ManagementDialogs.RestoreDialog.DoPreProcessExecution(RunType runType, ExecutionMode& executionResult)
at Microsoft.SqlServer.Management.SqlMgmt.SqlMgmtTreeViewControl.DoPreProcessExecutionAndRunViews(RunType runType)
at Microsoft.SqlServer.Management.SqlMgmt.SqlMgmtTreeViewControl.ExecuteForOlap(PreProcessExecutionInfo executionInfo, ExecutionMode& executionResult)
at Microsoft.SqlServer.Management.SqlMgmt.SqlMgmtTreeViewControl.Microsoft.SqlServer.Management.SqlMgmt.IExecutionAwareSqlControlCollection.PreProcessExecution(PreProcessExecutionInfo executionInfo, ExecutionMode& executionResult)
at Microsoft.SqlServer.Management.SqlMgmt.ViewSwitcherControlsManager.RunNow(RunType runType, Object sender)

===================================

I'm using the SQL Server 2005 Enterprise "Evaluation" Edition, I have the service packs installed and I'm using windows authentication.

Microsoft SQL Server Management Studio (expires in 180 days) 9.00.3042.00

Microsoft Analysis Services Client Tools 2005.090.3042.00

Microsoft Data Access Components (MDAC) 2000.085.1117.00 built by: (_sqlbld)

Microsoft MSXML 2.6 3.0 4.0 5.0 6.0

Microsoft Internet Explorer 6.0.2800.1106

Microsoft .NET Framework 2.0.50727.42

Operating System 5.0.2195 (Windows 2000, Service Pack 4)

Respectfully Submitted,

Jim Pollock

London

U.K.

|||

Hi, Andrew,

I'm with you -- if there are questions about what I have written, I would certainly insist on answering them. In this case, all I have to go on to communicate questions comes from the ReadMe on the accompanying CD: send all inquiries to mspinput@.microsoft.com. Since I have already done so, and I am not certain I will ever get a response, the next best thing would be for me to ask a favor of whoever else has successfully used the book: I would like to see a copy of the SQL code that produces the view vProductProfitability. Loading it to my database would spare me no end of difficulties: I was directed to load the tutorial database to a version of SQL Server on a dev machine, not localhost.

Perhaps I will yet get a resolution to this.

Regards,

Dave

|||

Are you sure you are using the databases that came with the book? If you are using the AdventureWorks sample databases from MSDN, they don't have the views that are specific to the book. The vProductProfitability is in the rs2005svsDW database. The databases that come with the book do not have LDF files so you must attach them using the script that also comes with the book.

USE [rs2005sbsDW]

GO

/****** Object: View [dbo].[vProductProfitability] Script Date: 05/23/2007 12:56:57 ******/

SET ANSI_NULLS ON

GO

SET QUOTED_IDENTIFIER ON

GO

/* from Microsoft? SQL Server? 2005 Reporting Services: Step by Step */

/****** Object: View dbo.vProductProfitability Script Date: 9/8/2003 3:03:29 PM ******/

ALTER VIEW [dbo].[vProductProfitability]

AS

SELECT dbo.DimProduct.ProductName AS Product, dbo.DimProductSubCategory.ProductSubCategoryName AS SubCategory,

dbo.DimProductCategory.ProductCategoryKey AS CategoryKey, dbo.DimProductCategory.ProductCategoryName AS Category,

SUM(dbo.FactResellerSales.TotalProductCost) AS CostAmount, SUM(dbo.FactResellerSales.SalesAmount) AS SalesAmount,

SUM(dbo.FactResellerSales.OrderQuantity) AS OrderQuantity, LEFT(dbo.DimTime.MonthName, 3) AS [Month], dbo.DimTime.MonthNumberOfYear,

dbo.DimTime.CalendarYear AS [Year]

FROM dbo.FactResellerSales INNER JOIN

dbo.DimProduct ON dbo.FactResellerSales.ProductKey = dbo.DimProduct.ProductKey INNER JOIN

dbo.DimProductSubCategory ON dbo.DimProduct.ProductSubCategoryKey = dbo.DimProductSubCategory.ProductSubCategoryKey INNER JOIN

dbo.DimProductCategory ON dbo.DimProductSubCategory.ProductCategoryKey = dbo.DimProductCategory.ProductCategoryKey INNER JOIN

dbo.DimTime ON dbo.FactResellerSales.OrderDateKey = dbo.DimTime.TimeKey

GROUP BY dbo.DimProduct.ProductName, dbo.DimProductSubCategory.ProductSubCategoryName, dbo.DimProductCategory.ProductCategoryName,

dbo.DimProductCategory.ProductCategoryKey, dbo.DimTime.MonthNumberOfYear, LEFT(dbo.DimTime.MonthName, 3), dbo.DimTime.CalendarYear