Tuesday, March 20, 2012
RS_BooksOnline error 2711
setup.exe /settings.
In my ini file, I have the following enry (watch for line
wrap):
ADDLOCAL=RS_Server,RS_Manager,RS_Designer,RS_Admin_Tools,RS
_BooksOnline_EN,RS_Samples,RS_AdventureWorks
The setup fails, and in the setup log file, I have this
error:
DEBUG: Error 2711: The specified Feature name
('RS_BooksOnline_EN') not found in Feature Table.
The installer has encountered an unexpected error
installing this package. This may indicate a problem with
this package. The error code is 2711. The arguments are:
RS_BooksOnline_EN, ,
MSI (s) (18:A0): Product: Microsoft SQL Server 2000
Reporting Services Developer Edition -- The installer has
encountered an unexpected error installing this package.
This may indicate a problem with this package. The error
code is 2711. The arguments are
: RS_BooksOnline_EN, ,
Question: if RS_BooksONline_EN is not the right entry,
what should be?
JoeTry RS_BooksOnline_1033. It looks like the sample template.ini is
incorrect.
--
-Daniel
This posting is provided "AS IS" with no warranties, and confers no rights.
"Joe Bourne" <anonymous@.discussions.microsoft.com> wrote in message
news:5d4101c474c2$1ccf94a0$a301280a@.phx.gbl...
> I'm doing the command line install with
> setup.exe /settings.
> In my ini file, I have the following enry (watch for line
> wrap):
> ADDLOCAL=RS_Server,RS_Manager,RS_Designer,RS_Admin_Tools,RS
> _BooksOnline_EN,RS_Samples,RS_AdventureWorks
> The setup fails, and in the setup log file, I have this
> error:
> DEBUG: Error 2711: The specified Feature name
> ('RS_BooksOnline_EN') not found in Feature Table.
> The installer has encountered an unexpected error
> installing this package. This may indicate a problem with
> this package. The error code is 2711. The arguments are:
> RS_BooksOnline_EN, ,
> MSI (s) (18:A0): Product: Microsoft SQL Server 2000
> Reporting Services Developer Edition -- The installer has
> encountered an unexpected error installing this package.
> This may indicate a problem with this package. The error
> code is 2711. The arguments are
> : RS_BooksOnline_EN, ,
> Question: if RS_BooksONline_EN is not the right entry,
> what should be?
> Joe
>|||Where is the mapping between these numbers and the language names
documented? I guess 1033 refers to English, right?
Linchi
"Daniel Reib [MSFT]" <danreib@.online.microsoft.com> wrote in message
news:e7yokNMdEHA.212@.TK2MSFTNGP12.phx.gbl...
> Try RS_BooksOnline_1033. It looks like the sample template.ini is
> incorrect.
> --
> -Daniel
> This posting is provided "AS IS" with no warranties, and confers no
rights.
>
> "Joe Bourne" <anonymous@.discussions.microsoft.com> wrote in message
> news:5d4101c474c2$1ccf94a0$a301280a@.phx.gbl...
> > I'm doing the command line install with
> > setup.exe /settings.
> > In my ini file, I have the following enry (watch for line
> > wrap):
> >
> > ADDLOCAL=RS_Server,RS_Manager,RS_Designer,RS_Admin_Tools,RS
> > _BooksOnline_EN,RS_Samples,RS_AdventureWorks
> >
> > The setup fails, and in the setup log file, I have this
> > error:
> >
> > DEBUG: Error 2711: The specified Feature name
> > ('RS_BooksOnline_EN') not found in Feature Table.
> > The installer has encountered an unexpected error
> > installing this package. This may indicate a problem with
> > this package. The error code is 2711. The arguments are:
> > RS_BooksOnline_EN, ,
> > MSI (s) (18:A0): Product: Microsoft SQL Server 2000
> > Reporting Services Developer Edition -- The installer has
> > encountered an unexpected error installing this package.
> > This may indicate a problem with this package. The error
> > code is 2711. The arguments are
> > : RS_BooksOnline_EN, ,
> >
> > Question: if RS_BooksONline_EN is not the right entry,
> > what should be?
> >
> > Joe
> >
>|||Here are the supported languages
Chinese Simplified = 2052
Chinese Traditional = 1028
English = 1033
French = 1036
German = 1031
Italian = 1040
Japanese = 1041
Korean = 1042
Spanish = 3082
Hope that helps.
--
-Daniel
This posting is provided "AS IS" with no warranties, and confers no rights.
"Linchi Shea" <linchi_shea@.NOSPAM.ml.com> wrote in message
news:uf56xGOdEHA.1644@.tk2msftngp13.phx.gbl...
> Where is the mapping between these numbers and the language names
> documented? I guess 1033 refers to English, right?
> Linchi
> "Daniel Reib [MSFT]" <danreib@.online.microsoft.com> wrote in message
> news:e7yokNMdEHA.212@.TK2MSFTNGP12.phx.gbl...
> > Try RS_BooksOnline_1033. It looks like the sample template.ini is
> > incorrect.
> >
> > --
> > -Daniel
> > This posting is provided "AS IS" with no warranties, and confers no
> rights.
> >
> >
> > "Joe Bourne" <anonymous@.discussions.microsoft.com> wrote in message
> > news:5d4101c474c2$1ccf94a0$a301280a@.phx.gbl...
> > > I'm doing the command line install with
> > > setup.exe /settings.
> > > In my ini file, I have the following enry (watch for line
> > > wrap):
> > >
> > > ADDLOCAL=RS_Server,RS_Manager,RS_Designer,RS_Admin_Tools,RS
> > > _BooksOnline_EN,RS_Samples,RS_AdventureWorks
> > >
> > > The setup fails, and in the setup log file, I have this
> > > error:
> > >
> > > DEBUG: Error 2711: The specified Feature name
> > > ('RS_BooksOnline_EN') not found in Feature Table.
> > > The installer has encountered an unexpected error
> > > installing this package. This may indicate a problem with
> > > this package. The error code is 2711. The arguments are:
> > > RS_BooksOnline_EN, ,
> > > MSI (s) (18:A0): Product: Microsoft SQL Server 2000
> > > Reporting Services Developer Edition -- The installer has
> > > encountered an unexpected error installing this package.
> > > This may indicate a problem with this package. The error
> > > code is 2711. The arguments are
> > > : RS_BooksOnline_EN, ,
> > >
> > > Question: if RS_BooksONline_EN is not the right entry,
> > > what should be?
> > >
> > > Joe
> > >
> >
> >
>|||The mapping between culture identifiers and culture names is also documented
in MSDN:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemglobalizationcultureinfoclasstopic.asp
--
This posting is provided "AS IS" with no warranties, and confers no rights.
"Daniel Reib [MSFT]" <danreib@.online.microsoft.com> wrote in message
news:%23GAOwwOdEHA.3016@.tk2msftngp13.phx.gbl...
> Here are the supported languages
> Chinese Simplified = 2052
> Chinese Traditional = 1028
> English = 1033
> French = 1036
> German = 1031
> Italian = 1040
> Japanese = 1041
> Korean = 1042
> Spanish = 3082
> Hope that helps.
> --
> -Daniel
> This posting is provided "AS IS" with no warranties, and confers no
rights.
>
> "Linchi Shea" <linchi_shea@.NOSPAM.ml.com> wrote in message
> news:uf56xGOdEHA.1644@.tk2msftngp13.phx.gbl...
> > Where is the mapping between these numbers and the language names
> > documented? I guess 1033 refers to English, right?
> >
> > Linchi
> >
> > "Daniel Reib [MSFT]" <danreib@.online.microsoft.com> wrote in message
> > news:e7yokNMdEHA.212@.TK2MSFTNGP12.phx.gbl...
> > > Try RS_BooksOnline_1033. It looks like the sample template.ini is
> > > incorrect.
> > >
> > > --
> > > -Daniel
> > > This posting is provided "AS IS" with no warranties, and confers no
> > rights.
> > >
> > >
> > > "Joe Bourne" <anonymous@.discussions.microsoft.com> wrote in message
> > > news:5d4101c474c2$1ccf94a0$a301280a@.phx.gbl...
> > > > I'm doing the command line install with
> > > > setup.exe /settings.
> > > > In my ini file, I have the following enry (watch for line
> > > > wrap):
> > > >
> > > > ADDLOCAL=RS_Server,RS_Manager,RS_Designer,RS_Admin_Tools,RS
> > > > _BooksOnline_EN,RS_Samples,RS_AdventureWorks
> > > >
> > > > The setup fails, and in the setup log file, I have this
> > > > error:
> > > >
> > > > DEBUG: Error 2711: The specified Feature name
> > > > ('RS_BooksOnline_EN') not found in Feature Table.
> > > > The installer has encountered an unexpected error
> > > > installing this package. This may indicate a problem with
> > > > this package. The error code is 2711. The arguments are:
> > > > RS_BooksOnline_EN, ,
> > > > MSI (s) (18:A0): Product: Microsoft SQL Server 2000
> > > > Reporting Services Developer Edition -- The installer has
> > > > encountered an unexpected error installing this package.
> > > > This may indicate a problem with this package. The error
> > > > code is 2711. The arguments are
> > > > : RS_BooksOnline_EN, ,
> > > >
> > > > Question: if RS_BooksONline_EN is not the right entry,
> > > > what should be?
> > > >
> > > > Joe
> > > >
> > >
> > >
> >
> >
>
rs.Render issue
Reporting Services 2005 and I get an error saying that Render is not a member
of 'Microsoft.SqlServer.ReportingServices2005.ReportingService2005'. Anyone
any ideas what I am missing? Thanks for any help.Please help!! I am stuck.
"KMP" wrote:
> I am trying to run a report from command line using the "rs" utility in
> Reporting Services 2005 and I get an error saying that Render is not a member
> of 'Microsoft.SqlServer.ReportingServices2005.ReportingService2005'. Anyone
> any ideas what I am missing? Thanks for any help.|||The version of rs.exe that ships with SQL 2005 is configured to run against
the new 2005 management SOAP endpoint by default. The old 2000 endpoint is
still supported. Just add -e mgmt2000 to the command line to use the old
endpoint. You can get more information on this option by running rs.exe /?
or in the MSDN help files.
"KMP" wrote:
> I am trying to run a report from command line using the "rs" utility in
> Reporting Services 2005 and I get an error saying that Render is not a member
> of 'Microsoft.SqlServer.ReportingServices2005.ReportingService2005'. Anyone
> any ideas what I am missing? Thanks for any help.|||That was it. Thank you so much.
I don't understand the endpoint stuff. Can you point me to the right place
where I can find more about endpoints (very basic stuff I guess)?
"PRA Group" wrote:
> The version of rs.exe that ships with SQL 2005 is configured to run against
> the new 2005 management SOAP endpoint by default. The old 2000 endpoint is
> still supported. Just add -e mgmt2000 to the command line to use the old
> endpoint. You can get more information on this option by running rs.exe /?
> or in the MSDN help files.
>
> "KMP" wrote:
> > I am trying to run a report from command line using the "rs" utility in
> > Reporting Services 2005 and I get an error saying that Render is not a member
> > of 'Microsoft.SqlServer.ReportingServices2005.ReportingService2005'. Anyone
> > any ideas what I am missing? Thanks for any help.
rs.exe utility : Could not connect to server...
and I get this error:
Could not connect to server:
http://myserver.com/reportserver/ReportService.asmx
When I access http://myserver.com/reportserver/ReportService.asmx with IE6,
I get an XML file displayed on the browser (I presume the content of
ReportService.asmx).
I type following command on cmd :
rs -i C:\myScripts\script.rss -u myUserName -p myPassword -s
http://myserver.com/reportServer -v parentFolder="TestPublishRSS1"
Any advice to make it work ?
Thanks
MacflyI am also getting same error but this used to work with the CTP version.
My error says
"Could not connect to server:
http://myserver.com/reportserver/ReportService2005.asmx".
Please let me know, if this problem is resolved.
Thanks,
"MacFly" wrote:
> I'm trying to use rs.exe (used on command line cmd.exe) to publish my reports
> and I get this error:
> Could not connect to server:
> http://myserver.com/reportserver/ReportService.asmx
> When I access http://myserver.com/reportserver/ReportService.asmx with IE6,
> I get an XML file displayed on the browser (I presume the content of
> ReportService.asmx).
> I type following command on cmd :
> rs -i C:\myScripts\script.rss -u myUserName -p myPassword -s
> http://myserver.com/reportServer -v parentFolder="TestPublishRSS1"
> Any advice to make it work ?
> Thanks
> Macfly|||No sorry, I'm still looking for a solution...
"JDS" wrote:
> I am also getting same error but this used to work with the CTP version.
> My error says
> "Could not connect to server:
> http://myserver.com/reportserver/ReportService2005.asmx".
> Please let me know, if this problem is resolved.
> Thanks,
>
> "MacFly" wrote:
> > I'm trying to use rs.exe (used on command line cmd.exe) to publish my reports
> > and I get this error:
> > Could not connect to server:
> > http://myserver.com/reportserver/ReportService.asmx
> >
> > When I access http://myserver.com/reportserver/ReportService.asmx with IE6,
> > I get an XML file displayed on the browser (I presume the content of
> > ReportService.asmx).
> >
> > I type following command on cmd :
> > rs -i C:\myScripts\script.rss -u myUserName -p myPassword -s
> > http://myserver.com/reportServer -v parentFolder="TestPublishRSS1"
> >
> > Any advice to make it work ?
> > Thanks
> >
> > Macfly|||I found the culprit, it was our McAfee virus scan which was blocking the
rs.exe to connect. When I switched the rule off then the rs is working like a
champ.
Use>> rs -s <server> -i <inputfile> -t
-T is the switch to trace. This would give more info on why it is not
connecting.
Check with the Firewall and Virus scan whether the rs.exe is been blocked.
Hope this helps!.
"MacFly" wrote:
> No sorry, I'm still looking for a solution...
>
> "JDS" wrote:
> > I am also getting same error but this used to work with the CTP version.
> >
> > My error says
> > "Could not connect to server:
> > http://myserver.com/reportserver/ReportService2005.asmx".
> >
> > Please let me know, if this problem is resolved.
> > Thanks,
> >
> >
> > "MacFly" wrote:
> >
> > > I'm trying to use rs.exe (used on command line cmd.exe) to publish my reports
> > > and I get this error:
> > > Could not connect to server:
> > > http://myserver.com/reportserver/ReportService.asmx
> > >
> > > When I access http://myserver.com/reportserver/ReportService.asmx with IE6,
> > > I get an XML file displayed on the browser (I presume the content of
> > > ReportService.asmx).
> > >
> > > I type following command on cmd :
> > > rs -i C:\myScripts\script.rss -u myUserName -p myPassword -s
> > > http://myserver.com/reportServer -v parentFolder="TestPublishRSS1"
> > >
> > > Any advice to make it work ?
> > > Thanks
> > >
> > > Macfly|||Thanks a lot for this advice, I will try it as soon as possible !
Macfly
"JDS" wrote:
> I found the culprit, it was our McAfee virus scan which was blocking the
> rs.exe to connect. When I switched the rule off then the rs is working like a
> champ.
> Use>> rs -s <server> -i <inputfile> -t
> -T is the switch to trace. This would give more info on why it is not
> connecting.
> Check with the Firewall and Virus scan whether the rs.exe is been blocked.
> Hope this helps!.
> "MacFly" wrote:
> > No sorry, I'm still looking for a solution...
> >
> >
> > "JDS" wrote:
> >
> > > I am also getting same error but this used to work with the CTP version.
> > >
> > > My error says
> > > "Could not connect to server:
> > > http://myserver.com/reportserver/ReportService2005.asmx".
> > >
> > > Please let me know, if this problem is resolved.
> > > Thanks,
> > >
> > >
> > > "MacFly" wrote:
> > >
> > > > I'm trying to use rs.exe (used on command line cmd.exe) to publish my reports
> > > > and I get this error:
> > > > Could not connect to server:
> > > > http://myserver.com/reportserver/ReportService.asmx
> > > >
> > > > When I access http://myserver.com/reportserver/ReportService.asmx with IE6,
> > > > I get an XML file displayed on the browser (I presume the content of
> > > > ReportService.asmx).
> > > >
> > > > I type following command on cmd :
> > > > rs -i C:\myScripts\script.rss -u myUserName -p myPassword -s
> > > > http://myserver.com/reportServer -v parentFolder="TestPublishRSS1"
> > > >
> > > > Any advice to make it work ?
> > > > Thanks
> > > >
> > > > Macfly
rs.exe - SetReportDataSources error
I wanted to ask if anyone else has found a problem with rs.exe when trying to use the SetReportDataSources method.
The line appears as RS.SetReportDataSources(fullpath, dataSources)
The error is BC30456 - 'SetReportDataSorces' is not a member of 'Microsoft.SqlServer.ReportingServices2005.ReportingService2005'.
The aim is to design a single set of reports, that will be deployed to different folders with a different datasource per folder. Each datasource connects to an cube that is set up on a database of client data. There is therefore one database and one cube per client, and all databases and cubes have the same structure. This is being done to allow outside clients to view their own reports without being able to see other clients data.
Anyone else have a similar problem and fixed it, or could offer any hints?
Many thanks - Leo.
In SQL 2005, the name of this method is now called 'SetItemDataSources'. If you want to use the SQL 2000 RS endpoint, you need to run rs.exe with the -e option.
Monday, March 12, 2012
RS Utility- preserve folder structure and deploy RDSs
create/preserve a folder structure for organizing my reports, and how do I
deploy RDSs with this utility. Also, the sample script just shows how to
create data sources, not deploy the ones I have already created.
--
JasonThe RS.exe simply packages the SOAP API. So if you have an .RDS file,
you'll need to write parsing logic in your script to read the contents of it
and supply them to the CreateDataSource method.
BTW - there is no way to push a .rds file to the server; it's a file that is
used by the report designer while you're designing reports.
-Lukasz
This posting is provided "AS IS" with no warranties, and confers no rights.
"JasonDWilson" <JasonDWilson@.discussions.microsoft.com> wrote in message
news:F75E6394-E1CC-4C03-8F7F-0BC2B8CBFDFC@.microsoft.com...
>I am trying to figure out the RS command line utility. How do I
> create/preserve a folder structure for organizing my reports, and how do I
> deploy RDSs with this utility. Also, the sample script just shows how to
> create data sources, not deploy the ones I have already created.
> --
> Jason
RS utility parameters
I'm trying to use the rs utility on the command line, but all the examples I've found use only 1 parameter. I want to use multiple parameters and have not been able to get it working. Can anyone advise if this is possible, and if so, how to do it.
Thanks in advance
Jez
Hi,
following the script (rss) file definition that accepts the datasource from the rs command line stmt.
myfile.rss
Dim definition As [Byte]() = Nothing
Dim warnings As Warning() = Nothing
Dim parentFolder As String = "MyReports"
Dim parentPath As String = "/" + parentFolder
Dim filePath As String = "C:\Reports\"
Public Sub Main()
rs.Credentials = System.Net.CredentialCache.DefaultCredentials
Dim name As String
'Create the parent folder
Try
rs.CreateFolder(parentFolder, "/", Nothing)
Console.WriteLine("Parent folder created: {0}", parentFolder)
Catch e As Exception
Console.WriteLine(e.Message)
End Try
'Create the WOS shared data source
CreateDataSource()
'Publish the reports
PublishReport("Report1")
PublishReport("Report2")
End Sub
Public Sub CreateDataSource()
Dim name As String = "AFES_DB"
Dim parent As String = "/" + parentFolder
'Define the data source definition.
Dim definition As New DataSourceDefinition()
definition.CredentialRetrieval = CredentialRetrievalEnum.Store
definition.ConnectString = "data source=" & datasource & ";initial catalog=NorthWind"
definition.Enabled = True
definition.EnabledSpecified = True
definition.Extension = "SQL"
definition.ImpersonateUser = False
definition.ImpersonateUserSpecified = True
'Use the default prompt string.
definition.Prompt = Nothing
definition.WindowsCredentials = False
definition.UserName = "sa"
definition.Password = ""
Try
rs.CreateDataSource(name, parent, True, definition, Nothing)
Catch e As Exception
Console.WriteLine(e.Message)
End Try
End Sub
Public Sub PublishReport(ByVal reportName As String)
Try
Dim stream As FileStream = File.OpenRead(filePath + "\" + reportName + ".rdl")
definition = New [Byte](stream.Length) {}
stream.Read(definition, 0, CInt(stream.Length))
stream.Close()
Catch e As IOException
Console.WriteLine(e.Message)
End Try
Try
warnings = rs.CreateReport(reportName, parentPath, True, definition, Nothing)
If Not (warnings Is Nothing) Then
Dim warning As Warning
For Each warning In warnings
Console.WriteLine(warning.Message)
Next warning
Else
Console.WriteLine("Report: {0} published successfully with no warnings", reportName)
End If
Catch e As Exception
Console.WriteLine(e.Message)
End Try
End Sub
the rs command should be as follows
rs -i myfile.rss -s http://localhost/reportserver -v datasource=cpc2
u can also send the ParentFolder name from the command line. all u need to do is remove the statement Dim parentFolder As String = "MyReports" in the above rss file and add the value in the command line as follows
rs -i myfile.rss -s http://localhost/reportserver -v datasource=cpc2 -v parentFolder=myReports
if u wanna add few more parameters just use the -v switch followed by name and value.
|||Thanks - I got it working
Hi Chakra,
Your post is very useful for me too. But I have another issue. How to pass date-type parameter?
I am having trouble passing date type parameter into my report and always getting "Default value or value provided for the report parameter 'myParam' is not a valid value".
Thanks in advance,
Man
RS utility parameters
I'm trying to use the rs utility on the command line, but all the examples I've found use only 1 parameter. I want to use multiple parameters and have not been able to get it working. Can anyone advise if this is possible, and if so, how to do it.
Thanks in advance
Jez
Hi,
following the script (rss) file definition that accepts the datasource from the rs command line stmt.
myfile.rss
Dim definition As [Byte]() = Nothing
Dim warnings As Warning() = Nothing
Dim parentFolder As String = "MyReports"
Dim parentPath As String = "/" + parentFolder
Dim filePath As String = "C:\Reports\"
Public Sub Main()
rs.Credentials = System.Net.CredentialCache.DefaultCredentials
Dim name As String
'Create the parent folder
Try
rs.CreateFolder(parentFolder, "/", Nothing)
Console.WriteLine("Parent folder created: {0}", parentFolder)
Catch e As Exception
Console.WriteLine(e.Message)
End Try
'Create the WOS shared data source
CreateDataSource()
'Publish the reports
PublishReport("Report1")
PublishReport("Report2")
End Sub
Public Sub CreateDataSource()
Dim name As String = "AFES_DB"
Dim parent As String = "/" + parentFolder
'Define the data source definition.
Dim definition As New DataSourceDefinition()
definition.CredentialRetrieval = CredentialRetrievalEnum.Store
definition.ConnectString = "data source=" & datasource & ";initial catalog=NorthWind"
definition.Enabled = True
definition.EnabledSpecified = True
definition.Extension = "SQL"
definition.ImpersonateUser = False
definition.ImpersonateUserSpecified = True
'Use the default prompt string.
definition.Prompt = Nothing
definition.WindowsCredentials = False
definition.UserName = "sa"
definition.Password = ""
Try
rs.CreateDataSource(name, parent, True, definition, Nothing)
Catch e As Exception
Console.WriteLine(e.Message)
End Try
End Sub
Public Sub PublishReport(ByVal reportName As String)
Try
Dim stream As FileStream = File.OpenRead(filePath + "\" + reportName + ".rdl")
definition = New [Byte](stream.Length) {}
stream.Read(definition, 0, CInt(stream.Length))
stream.Close()
Catch e As IOException
Console.WriteLine(e.Message)
End Try
Try
warnings = rs.CreateReport(reportName, parentPath, True, definition, Nothing)
If Not (warnings Is Nothing) Then
Dim warning As Warning
For Each warning In warnings
Console.WriteLine(warning.Message)
Next warning
Else
Console.WriteLine("Report: {0} published successfully with no warnings", reportName)
End If
Catch e As Exception
Console.WriteLine(e.Message)
End Try
End Sub
the rs command should be as follows
rs -i myfile.rss -s http://localhost/reportserver -v datasource=cpc2
u can also send the ParentFolder name from the command line. all u need to do is remove the statement Dim parentFolder As String = "MyReports" in the above rss file and add the value in the command line as follows
rs -i myfile.rss -s http://localhost/reportserver -v datasource=cpc2 -v parentFolder=myReports
if u wanna add few more parameters just use the -v switch followed by name and value.
|||Thanks - I got it working
Hi Chakra,
Your post is very useful for me too. But I have another issue. How to pass date-type parameter?
I am having trouble passing date type parameter into my report and always getting "Default value or value provided for the report parameter 'myParam' is not a valid value".
Thanks in advance,
Man
rs utility global variables - getting urgent!
variable. my command line is something like...
rs -i c:\inetpub\MySite\DailyReports.rss -s http://localhost/reportserver -v
AccountManagerID=203 ReportPath=â'/DailyReports/Purchase Orders With Projected
Shorts" FileName=â'c:\Myfolder\Purchase Orders With Projected Shorts203.pdf"
Can anyone help? Please -- I'm nearing a deadline.
--
Thanks,
CGWFound the problem... reserved words.
--
Thanks,
CGW
"CGW" wrote:
> I'm having trouble getting the rs utility to recognize more than one global
> variable. my command line is something like...
> rs -i c:\inetpub\MySite\DailyReports.rss -s http://localhost/reportserver -v
> AccountManagerID=203 ReportPath=â'/DailyReports/Purchase Orders With Projected
> Shorts" FileName=â'c:\Myfolder\Purchase Orders With Projected Shorts203.pdf"
>
> Can anyone help? Please -- I'm nearing a deadline.
> --
> Thanks,
> CGW
RS user management
using the report manager interface?
Through a command line or programmatically'You can do this by writing an application using the Web Service API or via
the Report Server script host (which are basically the same thing).
--
Brian Welcker
Group Program Manager
Microsoft SQL Server Reporting Services
This posting is provided "AS IS" with no warranties, and confers no rights.
"Frank" <nospam@.nospam.org> wrote in message
news:uG6FRXddEHA.3148@.TK2MSFTNGP10.phx.gbl...
> Does anyone know how to handle assigning permission to user folder without
> using the report manager interface?
> Through a command line or programmatically'
>|||Some sample security scripting code here:
http://blogs.msdn.com/bryanke/archive/2004/03/17/91736.aspx
--
Bryan Keller
Developer Documentation
SQL Server Reporting Services
A friendly reminder that this posting is provided "AS IS" with no
warranties, and confers no rights.
"Frank" <nospam@.nospam.org> wrote in message
news:uG6FRXddEHA.3148@.TK2MSFTNGP10.phx.gbl...
> Does anyone know how to handle assigning permission to user folder without
> using the report manager interface?
> Through a command line or programmatically'
>|||Thank you all for your help
"Frank" <nospam@.nospam.org> wrote in message
news:uG6FRXddEHA.3148@.TK2MSFTNGP10.phx.gbl...
> Does anyone know how to handle assigning permission to user folder without
> using the report manager interface?
> Through a command line or programmatically'
>
RS SP2 Install Hell
Server 2004
Was able to install RS on IIS Server with command line using setup.exe
RSSETUPACCOUNT=sa RSSETUPPASSWORD=â'sapwâ'.
Then ran rsconfig â'c â'mâ'reportserver servernameâ' -s â'SQLServer machine nameâ'
â'aWindows â'uâ'domain\usernameâ' â'pâ'usernamepwâ'. Where â'domain\usernameâ' has
admin privs on the SQL Server.
Deployed some reports and received the error:
â'The version of the report server database is either in a format that is not
valid, or it cannot be read. The found version is 'Unknown'. The expected
version is 'C.0.6.43'. To continue, update the version of the report server
database and verify access rights.â'
I logged on to the IIS Server as with the domain\username used in rsconfig
and tried to install RSSP2 by running RSSP2.exe, then I tried running the
command line â'setup.exe RSSETUPACCOUNT=â'domain\usernameâ'
RSSETUPPASSWORD=usernamepwâ'.
Both failed with the following error:
â'SQL failed to connect to the database service for server configuration.
Refer to the Server error logs and set logs for more detailed error
information.â'
Then I tried several combinations of rsconfig with accounts (including sa)
that have administrator privs on SQL Server. Also tried â'aSQL option. All
attempts ended in the above connection error.
Is this a RS problem or SQL Server problem'
--
Thanks in advance
GHI can't install RS SP2 for the exact same reason :( Same config as you.|||Hello,
Please refer to the following information in the "Installing Reporting
Services From the Command Line" topic in Reporting Services Books
Online(BOL):
RSDATABASESERVER="servername\instancename"
Optional. Default value is the default instance of SQL Server on the local
machine.
This property applies to the RS_Server feature selection.
Specifies the SQL Server instance that hosts the report server database.
All editions of Reporting Services require SQL Server 2000 with SP3a or
later. For Standard Edition, the instance of SQL Server must be local. For
all others, it can either be local or available over the network. The
servername portion of the parameter can be a hostname, or an IP address.
Reporting Services does not support MSDE as a SQL Server instance.
--
Please notice that default value of RSDATABASESERVER is the DEFAULT
INSTANCE of SQL Server on the LOCAL machine. Since your SQL Server 2000
SP4 is installed on a Windows 2000 Server machine which is not the machine
your RS installed, you have to specify the RSDATABASESERVER properties when
installing RS. If not, RS may not be installed successfully.
I recommend you perform the following steps to narrow down the issue:
Step 1: Backup your files and remove RS entirely.
==================================If RS cannot be removed successfully, perform the following steps:
1. Re-run the setup.exe of Reporting Services that you had installed on
the machine before. Once this setup routine started it will detect the
existing installation and gave you an option to remove it.
2. If the issue still exists, run MSI installer clean up tool to uninstall
Reporting Services:
a. Please download the MSI installer clean up tool from the following web
site:
Description of the Windows Installer CleanUp Utility
http://support.microsoft.com/default.aspx?scid=kb;en-us;290301
b. Double click msicuu2.exe. Follow the wizard's instructions to install
the tool.
c. Launch the tool.
d. At the tool's UI, select "SQL Server 2000 Reporting Services" from the
product name listbox.
e. Click the "Remove" button and note the results.
Note: make sure that you only select "SQL Server 2000 Reporting Services"
item.
Step 2: Reinstalling RS
=============
Use the graphical setup wizard to install RS. If you use the command prompt
utility to install, you must provide information for each required
parameter. For example, you must specify the RSDATABASESERVER parameter.
Note:
1. For Standard Edition, the instance of SQL Server must be local. Check
your RS version to make sure it isn't Standard Edition.
2. Use the [/l*v log_file] parameter to specifies the name and path to a
verbose log file containing all Windows Installer log options. If you do
not specify this argument, no log file is created.
After installing, refer to the "Verifying an Installation of Reporting
Services" topic in BOL to verify RS is installed successfully.
If it cannot be installed successfully, check the verbose log file to find
related errors.
I hope the information is helpful.
Sophie Guo
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
=====================================================When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=====================================================This posting is provided "AS IS" with no warranties, and confers no rights.|||Hi Sophie,
Thanks for your reply.
The system on which I am installin RS is busy during the day so I will not
have an opportunity to do a reinstall before tonight.
I do want to make sure we need to do a reinstall of RS. This all started
when I was trying to install SP2.
Let me review ...
When I initially installed RS I used the command "setup.exe
RSSETUPACCOUNT=sa RSSETUPPASSWORD=sapassword" to launch the graphical
interface from which was the same as starting with the graphical interface
except it forced the 'sa' credentials to be used to connect to the remote SQL
Server instance.
RS installed, the virtual directories were installed under the Default web
site, and the RS databases were installed on the remote SS.
I then ran rsconfig to establish the connection properties.
When trying to deploy a report I received the error indicating there was a
version issue with the RS db. (In checking the install log there was an
indication that the sp 'GetDBVersion' could not be found ... I verified that
it was indeed installed).
I checked the KB for this error and found an article that recommended
installing SP2 as the solution.
The SP2 install keeps failing because it cannot connect to SS.
So, based upon this scenerio you are recommending a total reinstall of RS'
Thanks again for your assistance.
Gene
--
Thanks in advance
GH
"Sophie Guo [MSFT]" wrote:
> Hello,
> Please refer to the following information in the "Installing Reporting
> Services From the Command Line" topic in Reporting Services Books
> Online(BOL):
>
> --
> RSDATABASESERVER="servername\instancename"
> Optional. Default value is the default instance of SQL Server on the local
> machine.
> This property applies to the RS_Server feature selection.
> Specifies the SQL Server instance that hosts the report server database.
> All editions of Reporting Services require SQL Server 2000 with SP3a or
> later. For Standard Edition, the instance of SQL Server must be local. For
> all others, it can either be local or available over the network. The
> servername portion of the parameter can be a hostname, or an IP address.
> Reporting Services does not support MSDE as a SQL Server instance.
> --
> Please notice that default value of RSDATABASESERVER is the DEFAULT
> INSTANCE of SQL Server on the LOCAL machine. Since your SQL Server 2000
> SP4 is installed on a Windows 2000 Server machine which is not the machine
> your RS installed, you have to specify the RSDATABASESERVER properties when
> installing RS. If not, RS may not be installed successfully.
> I recommend you perform the following steps to narrow down the issue:
>
> Step 1: Backup your files and remove RS entirely.
> ==================================> If RS cannot be removed successfully, perform the following steps:
>
> 1. Re-run the setup.exe of Reporting Services that you had installed on
> the machine before. Once this setup routine started it will detect the
> existing installation and gave you an option to remove it.
>
> 2. If the issue still exists, run MSI installer clean up tool to uninstall
> Reporting Services:
> a. Please download the MSI installer clean up tool from the following web
> site:
> Description of the Windows Installer CleanUp Utility
> http://support.microsoft.com/default.aspx?scid=kb;en-us;290301
>
> b. Double click msicuu2.exe. Follow the wizard's instructions to install
> the tool.
> c. Launch the tool.
> d. At the tool's UI, select "SQL Server 2000 Reporting Services" from the
> product name listbox.
> e. Click the "Remove" button and note the results.
> Note: make sure that you only select "SQL Server 2000 Reporting Services"
> item.
>
> Step 2: Reinstalling RS
> =============> Use the graphical setup wizard to install RS. If you use the command prompt
> utility to install, you must provide information for each required
> parameter. For example, you must specify the RSDATABASESERVER parameter.
> Note:
> 1. For Standard Edition, the instance of SQL Server must be local. Check
> your RS version to make sure it isn't Standard Edition.
> 2. Use the [/l*v log_file] parameter to specifies the name and path to a
> verbose log file containing all Windows Installer log options. If you do
> not specify this argument, no log file is created.
> After installing, refer to the "Verifying an Installation of Reporting
> Services" topic in BOL to verify RS is installed successfully.
> If it cannot be installed successfully, check the verbose log file to find
> related errors.
> I hope the information is helpful.
> Sophie Guo
> Microsoft Online Partner Support
> Get Secure! - www.microsoft.com/security
> =====================================================> When responding to posts, please "Reply to Group" via your newsreader so
> that others may learn and benefit from your issue.
> =====================================================> This posting is provided "AS IS" with no warranties, and confers no rights.
>
>
>|||Hello,
I understand that your concern. However, some times reinstallation is a
efficient way to resolve the issue.
Based on my further research, customers who recevied similar error messages
resolved their issue by performing the following methods:
1. Connect to SQL using a standard SQL login
rsconfig -c -s servername -d reportserver -a SQL -u sa -p password
2. Install SRS SP2
3. Reinstallation:
http://www.microsoft.com/products/ee/transform.aspx?EvtSrc=Microsoft.Reporti
ngServices.Diagnostics.Utilities.ErrorStrings.resources.Strings&EvtID=rsInva
lidReportServerDatabase&ProdName=Microsoft%20SQL%20Server%20Reporting%20Serv
ices&ProdVer=8.00
Explanation
This error occurs when the report server database is not the same version
as the report server engine. This error can occur if you move components or
modify your configuration (for example, moving a report server into a Web
farm, and the existing report servers in the Web farm are a different
version).
User Action
There are no database repair tools that you can use to modify the version
of a database. You must run Setup to install a report server and create a
report server database that has the same version. You can run rs.exe to
copy data from one report server database to another. For more information,
search for rs utility in Books Online.
--
I suggest that you perform the following steps to narrow down the issue:
Step 1: Run the following commands in the command line window:
RSConfig.exe -c -m <computername> -s <sql_svr_name> -d <srs_db_name> -a
sql -u sa -p <pwd>
IISReset
net stop reportserver
net start reportserver
Note:
1. The "-m" parameter specifies the name of the computer on which the
report server is installed. In this case, it should be the name of the
Windows 2000 server.
2. The "-s" specifies the name of the SQL Server instance on which the
report server database is installed.
For default SQL instance, the name is same as the computer name.
For named SQL instance, the name is <computer name>\<SQL server instance
name>
The SQL Server instance name is case-sensitive if you are enforcing case
sensitivity on your SQL Server instance.
You mentioned that you have run rsconfig commands several times. However, I
notice that you used
-s 'SQLServer machine name'
in the command. Please notice that the "-s" specifies the SQL Server
instance name instead of a machine name.
Check the issue. If the issue still exists, check if you can install SRS
SP2 successfully.
If you still received the error message "SQL failed to connect to the
database service for server configuration. " Check the RS log files, SQL
server log files and Windows NT application and system log files to see if
there are any related errors.
By default, RS log files are located in C:\Program Files\Microsoft SQL
Server\MSSQL\Reporting Services\LogFiles folder. SQL server error logs are
located in the
C:\Program Files\Microsoft SQL Server\MSSQL\LOG folder.
If the issue still exists, reinstallation may be a efficient way to resolve
the issue. If anything is unclear, get in touch.
Sophie Guo
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
=====================================================When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=====================================================This posting is provided "AS IS" with no warranties, and confers no rights.|||I tried this on another server, one I can bounce at will!! And it worked to
install RS and RSSP2.
Howerver I am back to the following error being displayed in IE:
â'The version of the report server database is either in a format that is not
valid, or it cannot be read. The found version is 'Unknown'. The expected
version is 'C.0.6.43'. To continue, update the version of the report server
database and verify access rights.â'
Looking at the RS Log the following was displayed:
w3wp!library!d48!07/11/2005-13:15:44:: e ERROR: Sql
error:System.Data.SqlClient.SqlException: Could not find stored procedure
'GetDBVersion'.
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior
cmdBehavior, RunBehavior runBehavior, Boolean returnStream)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at
Microsoft.ReportingServices.Library.InstrumentedSqlCommand.ExecuteNonQuery()
at
Microsoft.ReportingServices.Library.ConnectionManager.EnsureCorrectDBVersion()
w3wp!library!d48!07/11/2005-13:15:44:: e ERROR: Throwing
Microsoft.ReportingServices.Diagnostics.Utilities.InvalidReportServerDatabaseException:
The version of the report server database is either in a format that is not
valid, or it cannot be read. The found version is 'Unknown'. The expected
version is 'C.0.6.54'. To continue, update the version of the report server
database and verify access rights.,
The proc 'GetDBVersion' IS INSTALLED. It is:
CREATE PROCEDURE [dbo].[GetDBVersion]
@.DBVersion nvarchar(32) OUTPUT
AS
set @.DBVersion = 'C.0.6.54'
GO
My question what calls GetDBVersion'
That seems to be the issue ..
--
Thanks in advance
GH
"Sophie Guo [MSFT]" wrote:
> Hello,
> I understand that your concern. However, some times reinstallation is a
> efficient way to resolve the issue.
> Based on my further research, customers who recevied similar error messages
> resolved their issue by performing the following methods:
> 1. Connect to SQL using a standard SQL login
> rsconfig -c -s servername -d reportserver -a SQL -u sa -p password
>
> 2. Install SRS SP2
> 3. Reinstallation:
>
> http://www.microsoft.com/products/ee/transform.aspx?EvtSrc=Microsoft.Reporti
> ngServices.Diagnostics.Utilities.ErrorStrings.resources.Strings&EvtID=rsInva
> lidReportServerDatabase&ProdName=Microsoft%20SQL%20Server%20Reporting%20Serv
> ices&ProdVer=8.00
>
> --
> Explanation
> This error occurs when the report server database is not the same version
> as the report server engine. This error can occur if you move components or
> modify your configuration (for example, moving a report server into a Web
> farm, and the existing report servers in the Web farm are a different
> version).
> User Action
> There are no database repair tools that you can use to modify the version
> of a database. You must run Setup to install a report server and create a
> report server database that has the same version. You can run rs.exe to
> copy data from one report server database to another. For more information,
> search for rs utility in Books Online.
> --
> I suggest that you perform the following steps to narrow down the issue:
>
> Step 1: Run the following commands in the command line window:
>
> RSConfig.exe -c -m <computername> -s <sql_svr_name> -d <srs_db_name> -a
> sql -u sa -p <pwd>
> IISReset
> net stop reportserver
> net start reportserver
>
> Note:
> 1. The "-m" parameter specifies the name of the computer on which the
> report server is installed. In this case, it should be the name of the
> Windows 2000 server.
> 2. The "-s" specifies the name of the SQL Server instance on which the
> report server database is installed.
> For default SQL instance, the name is same as the computer name.
> For named SQL instance, the name is <computer name>\<SQL server instance
> name>
> The SQL Server instance name is case-sensitive if you are enforcing case
> sensitivity on your SQL Server instance.
> You mentioned that you have run rsconfig commands several times. However, I
> notice that you used
> -s 'SQLServer machine name'
> in the command. Please notice that the "-s" specifies the SQL Server
> instance name instead of a machine name.
> Check the issue. If the issue still exists, check if you can install SRS
> SP2 successfully.
> If you still received the error message "SQL failed to connect to the
> database service for server configuration. " Check the RS log files, SQL
> server log files and Windows NT application and system log files to see if
> there are any related errors.
> By default, RS log files are located in C:\Program Files\Microsoft SQL
> Server\MSSQL\Reporting Services\LogFiles folder. SQL server error logs are
> located in the
> C:\Program Files\Microsoft SQL Server\MSSQL\LOG folder.
> If the issue still exists, reinstallation may be a efficient way to resolve
> the issue. If anything is unclear, get in touch.
>
> Sophie Guo
> Microsoft Online Partner Support
> Get Secure! - www.microsoft.com/security
> =====================================================> When responding to posts, please "Reply to Group" via your newsreader so
> that others may learn and benefit from your issue.
> =====================================================> This posting is provided "AS IS" with no warranties, and confers no rights.
>
>|||Hello,
Rsconfig should be run only against report server catalog database and not
against any database. Based on my research, if Rsconfig run against other
database, it will corrupt the config files and the error "Could not find
stored procedure 'GetDBVersion'" may occur.
I am not clear about the current situation:
> I tried this on another server, one I can bounce at will!! And it worked
to install RS and RSSP2.
Would you please answer the following questions to clarify?
1. When you installed RS on another server, have you created a new SQL SRS
database? Please understand that we cannot be using the same SQL SRS
database if they are not in a report server Web farm.
2. If you create a new SRS database, is it a local SQL server database? Do
you mean you reproduced the issue on a new installation?
3. If you didn't create a new database, are all the RS servers in a web
farm?
The following steps are for your reference:
1. On another server, install RS and let it create a new LOCAL ReportServer
database (for example, ReportServerTestOnly) from scratch. Install RS SP2.
2. Test installation by browsing to localhost/reportserver and
localhost/reports.
Make sure it works fine before continue with the folloiwng steps.
3. Use rsconfig to make the new RS point to the original RS database:
"RSConfig -c -m <computername> -s <SQL Server instance name> -d <Reporting
Services database name> -a Sql|Windows -u <User name> -p <User password>"
(without the quotation marks)
Note For more information about the Rsconfig.exe command-line utility, run
the following command at a command prompt: "RSConfig /?" (without the
quotation marks)
IISReset
net stop reportserver
net start reportserver
4. Test it by browsing to localhost/reportserver and localhost/reports
If it fails, the original RS database may have problems.
If it succeees, you can remove and reinstall RS and RS SP2 on the original
problematic RS server and point back to the original RS database.
For more information, you can refer to the following article:
842425 How to move a Reporting Services database from a computer that is
http://support.microsoft.com/?id=842425
I hope the information is helpful.
Sophie Guo
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
=====================================================When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=====================================================This posting is provided "AS IS" with no warranties, and confers no rights.|||Hi Sophie,
Great news after going back and doing a reinstall (command line) ... adding
the VPModule changes to the cofig files then installing SP2 and following
your rsconfig instructions things are working ...
Thank you so much for your assistance.
GH
"Sophie Guo [MSFT]" wrote:
> Hello,
> Rsconfig should be run only against report server catalog database and not
> against any database. Based on my research, if Rsconfig run against other
> database, it will corrupt the config files and the error "Could not find
> stored procedure 'GetDBVersion'" may occur.
> I am not clear about the current situation:
> > I tried this on another server, one I can bounce at will!! And it worked
> to install RS and RSSP2.
> Would you please answer the following questions to clarify?
> 1. When you installed RS on another server, have you created a new SQL SRS
> database? Please understand that we cannot be using the same SQL SRS
> database if they are not in a report server Web farm.
> 2. If you create a new SRS database, is it a local SQL server database? Do
> you mean you reproduced the issue on a new installation?
> 3. If you didn't create a new database, are all the RS servers in a web
> farm?
>
> The following steps are for your reference:
> 1. On another server, install RS and let it create a new LOCAL ReportServer
> database (for example, ReportServerTestOnly) from scratch. Install RS SP2.
> 2. Test installation by browsing to localhost/reportserver and
> localhost/reports.
> Make sure it works fine before continue with the folloiwng steps.
> 3. Use rsconfig to make the new RS point to the original RS database:
> "RSConfig -c -m <computername> -s <SQL Server instance name> -d <Reporting
> Services database name> -a Sql|Windows -u <User name> -p <User password>"
> (without the quotation marks)
> Note For more information about the Rsconfig.exe command-line utility, run
> the following command at a command prompt: "RSConfig /?" (without the
> quotation marks)
> IISReset
> net stop reportserver
> net start reportserver
>
> 4. Test it by browsing to localhost/reportserver and localhost/reports
> If it fails, the original RS database may have problems.
> If it succeees, you can remove and reinstall RS and RS SP2 on the original
> problematic RS server and point back to the original RS database.
> For more information, you can refer to the following article:
> 842425 How to move a Reporting Services database from a computer that is
> http://support.microsoft.com/?id=842425
> I hope the information is helpful.
>
> Sophie Guo
> Microsoft Online Partner Support
> Get Secure! - www.microsoft.com/security
> =====================================================> When responding to posts, please "Reply to Group" via your newsreader so
> that others may learn and benefit from your issue.
> =====================================================> This posting is provided "AS IS" with no warranties, and confers no rights.
>
>
>
>