Showing posts with label system. Show all posts
Showing posts with label system. Show all posts

Friday, March 30, 2012

rsinvaliddataSourceReference problem

Hi,
I have some rdl files to be deployed using RS 2005. I have 3 folders viz., ReportFolder1, ReportFolder2 and System Files.
ReportFolder1 - contains soem reports
ReportFolder2 - contains some other types of reports
System Files - Contains the shared Data source
All the above folders are present in a main folder called ReportMain
In all my rdl files I have given the value of DataSourceReference element as 'ReportMain/System Files/MyDatabase'.
Still when the reports are deployed and i try to view any report, I get the following error:
The report server cannot process the report. The data source connection information has been deleted.(rsInvalidDataSourceReference).

Why do I get this error still? Can anyoen help?
Thanks.

Hi SandyJ,

This is because ur not pointing the reports to the required data source

I am giving u step by step solution for this issue.

1. go to Report Manager(http://<servername>/reports/pages/Folder.aspx)

2. Click on the Folder in which u have reports

3. U will be directed into contents tab where u will find Show Details at the right top corner

4. Click on Show Details

5. Check in the particular report and click the edit button corresponding to it

6. Go to the properties tab and click on it

7. U will find a menu on left hand side, click on Data Sources link

8. There u will find radio button selected for A share data source(by default) and a browse button.

9. Click on the browse button u will find the tree structure of the datasource and the reports folder.

10. select the datasource in the datasource folder and select OK.

by this way u will be able to point the report to the datasource.

Regards,

Vamsi Krishna Korasiga

rsinvaliddataSourceReference problem

Hi,
I have some rdl files to be deployed using RS 2005. I have 3 folders viz., ReportFolder1, ReportFolder2 and System Files.
ReportFolder1 - contains soem reports
ReportFolder2 - contains some other types of reports
System Files - Contains the shared Data source
All the above folders are present in a main folder called ReportMain
In all my rdl files I have given the value of DataSourceReference element as 'ReportMain/System Files/MyDatabase'.
Still when the reports are deployed and i try to view any report, I get the following error:
The report server cannot process the report. The data source connection information has been deleted.(rsInvalidDataSourceReference).

Why do I get this error still? Can anyoen help?
Thanks.

Hi SandyJ,

This is because ur not pointing the reports to the required data source

I am giving u step by step solution for this issue.

1. go to Report Manager(http://<servername>/reports/pages/Folder.aspx)

2. Click on the Folder in which u have reports

3. U will be directed into contents tab where u will find Show Details at the right top corner

4. Click on Show Details

5. Check in the particular report and click the edit button corresponding to it

6. Go to the properties tab and click on it

7. U will find a menu on left hand side, click on Data Sources link

8. There u will find radio button selected for A share data source(by default) and a browse button.

9. Click on the browse button u will find the tree structure of the datasource and the reports folder.

10. select the datasource in the datasource folder and select OK.

by this way u will be able to point the report to the datasource.

Regards,

Vamsi Krishna Korasiga

Wednesday, March 28, 2012

RsConfig -e command for Unattended execution

Hi
When I run the following RsConfig -e command for Unattended execution, I get
the "System.Management.ManagementException: Not found" error. Does anyone
know what the problem is?
C:\Program Files\Microsoft SQL Server\80\Tools\Binn>rsconfig -e -u
Sqlusername -p SqlPassword -t
System.Management.ManagementException: Not found
at
System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus
errorCode)
at System.Management.PropertyData.RefreshPropertyInfo()
at System.Management.PropertyDataCollection.get_Item(String propertyName)
at System.Management.ManagementBaseObject.GetPropertyValue(String
propertyName)
at System.Management.ManagementBaseObject.get_Item(String propertyName)
at
Microsoft.ReportingServices.ConfigManagement.ConfigFileApp.ConnectToWmi()
at
Microsoft.ReportingServices.ConfigManagement.ConfigFileApp.InstanceMain()
at Microsoft.ReportingServices.BaseCmdLine.CommandLineMain(String[] args,
BaseCmdLine instance)
Thanks,
MarkCan you try running mofcomp on ReportingServices.mof and see if this fixes
your issue.
--
-Daniel
This posting is provided "AS IS" with no warranties, and confers no rights.
"MCC" <cmc_za@.hotmail.com> wrote in message
news:evdrsvWpEHA.2900@.TK2MSFTNGP12.phx.gbl...
> Hi
> When I run the following RsConfig -e command for Unattended execution, I
get
> the "System.Management.ManagementException: Not found" error. Does anyone
> know what the problem is?
> C:\Program Files\Microsoft SQL Server\80\Tools\Binn>rsconfig -e -u
> Sqlusername -p SqlPassword -t
> System.Management.ManagementException: Not found
> at
>
System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus
> errorCode)
> at System.Management.PropertyData.RefreshPropertyInfo()
> at System.Management.PropertyDataCollection.get_Item(String
propertyName)
> at System.Management.ManagementBaseObject.GetPropertyValue(String
> propertyName)
> at System.Management.ManagementBaseObject.get_Item(String propertyName)
> at
> Microsoft.ReportingServices.ConfigManagement.ConfigFileApp.ConnectToWmi()
> at
> Microsoft.ReportingServices.ConfigManagement.ConfigFileApp.InstanceMain()
> at Microsoft.ReportingServices.BaseCmdLine.CommandLineMain(String[]
args,
> BaseCmdLine instance)
> Thanks,
> Mark
>|||That worked a treat, thanks.
Mark
"Daniel Reib [MSFT]" <danreib@.online.microsoft.com> wrote in message
news:eegzg5WpEHA.1992@.TK2MSFTNGP09.phx.gbl...
> Can you try running mofcomp on ReportingServices.mof and see if this fixes
> your issue.
> --
> -Daniel
> This posting is provided "AS IS" with no warranties, and confers no
rights.
>
> "MCC" <cmc_za@.hotmail.com> wrote in message
> news:evdrsvWpEHA.2900@.TK2MSFTNGP12.phx.gbl...
> > Hi
> >
> > When I run the following RsConfig -e command for Unattended execution, I
> get
> > the "System.Management.ManagementException: Not found" error. Does
anyone
> > know what the problem is?
> >
> > C:\Program Files\Microsoft SQL Server\80\Tools\Binn>rsconfig -e -u
> > Sqlusername -p SqlPassword -t
> >
> > System.Management.ManagementException: Not found
> >
> > at
> >
>
System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus
> > errorCode)
> > at System.Management.PropertyData.RefreshPropertyInfo()
> > at System.Management.PropertyDataCollection.get_Item(String
> propertyName)
> > at System.Management.ManagementBaseObject.GetPropertyValue(String
> > propertyName)
> > at System.Management.ManagementBaseObject.get_Item(String
propertyName)
> > at
> >
Microsoft.ReportingServices.ConfigManagement.ConfigFileApp.ConnectToWmi()
> > at
> >
Microsoft.ReportingServices.ConfigManagement.ConfigFileApp.InstanceMain()
> > at Microsoft.ReportingServices.BaseCmdLine.CommandLineMain(String[]
> args,
> > BaseCmdLine instance)
> >
> > Thanks,
> >
> > Mark
> >
> >
>

Wednesday, March 21, 2012

RS2005 - RenderStream: The stream cannot be found....

Hi
I am currently trying to get our reports to run on RS2005. We have
implemented a custom authentication system, and retrieve all the reports via
web services which we then render to our own report browser.
To have all the images render when rendering in HTML4.0 format, we are using
the renderstream function on all returned streamIDs. This has worked
perfectly for us in RS2000, but now we cannot get it to work with RS2005.
To help others reading this forum who are stuck with this I'll begin with
explaining some differences from RS2000 that we have managed to solve... and
then comes my question...
The first issue was that a URI would not be accepted in the streamroot
section. This however was solved with using a complete http://.. path... in
RS2000, the relative path was enough.
Then I noticed that the only streamID that was returned was the streamid
"0", which could not be retrieved from the Report Server. The cause for this
seems to be that you now need to use a history snapshot in order to retrieve
valid streamids- This was not explicitly needed in RS2000. So then I let all
reports create snapshots... This gave me something that looked like valid
StreamGuids to work with...
However, I still cannot retrieve these images from the ReportServer. I get:
"The stream cannot be found. The stream identifier that is provided to an
operation cannot be located in the report server database. --> The stream
cannot be found. The stream identifier that is provided to an operation
cannot be located in the report server database."
Everything looks good... I have the streamID, I have the snapshotID... I've
tried attaching the ReportParameters or ReportHistoryparameters, DeviceInfo,
and all other possible parameters I can give the RenderStream function, but I
still cannot retrieve the stream...
I have also done the SetReportHistoryOptions... to allow snapshots... no
good...
What am I missing here? Using the Sept CTP.
/KjellI am having the exact same issue. If I publish against a 2000 Report Server
everything works fine, on 2005 i get stream not found. (hanging the uri of
the image path with file:")
I am using the final release version.
"Kjell" wrote:
> Hi
> I am currently trying to get our reports to run on RS2005. We have
> implemented a custom authentication system, and retrieve all the reports via
> web services which we then render to our own report browser.
> To have all the images render when rendering in HTML4.0 format, we are using
> the renderstream function on all returned streamIDs. This has worked
> perfectly for us in RS2000, but now we cannot get it to work with RS2005.
> To help others reading this forum who are stuck with this I'll begin with
> explaining some differences from RS2000 that we have managed to solve... and
> then comes my question...
> The first issue was that a URI would not be accepted in the streamroot
> section. This however was solved with using a complete http://.. path... in
> RS2000, the relative path was enough.
> Then I noticed that the only streamID that was returned was the streamid
> "0", which could not be retrieved from the Report Server. The cause for this
> seems to be that you now need to use a history snapshot in order to retrieve
> valid streamids- This was not explicitly needed in RS2000. So then I let all
> reports create snapshots... This gave me something that looked like valid
> StreamGuids to work with...
> However, I still cannot retrieve these images from the ReportServer. I get:
> "The stream cannot be found. The stream identifier that is provided to an
> operation cannot be located in the report server database. --> The stream
> cannot be found. The stream identifier that is provided to an operation
> cannot be located in the report server database."
> Everything looks good... I have the streamID, I have the snapshotID... I've
> tried attaching the ReportParameters or ReportHistoryparameters, DeviceInfo,
> and all other possible parameters I can give the RenderStream function, but I
> still cannot retrieve the stream...
> I have also done the SetReportHistoryOptions... to allow snapshots... no
> good...
> What am I missing here? Using the Sept CTP.
> /Kjell|||I found a solution that works in my case. The trick was to pass the
reportHistoryParameters returned by the Render call into RenderStream,
instead of the original reportParameters.
result = rs.Render(reportPath, format, historyID, devInfo, reportParameters,
credentials,
showHideToggle, out encoding, out mimeType, out
reportHistoryParameters, out warnings,
out streamIDs);
// for multi-stream renders, such as HTML, need to render the report
images as streams
// so they show in the report
if (this.IsHtmlReport)
{
foreach (string streamID in streamIDs)
{
try
{
byte [] image = rs.RenderStream(reportPath, format, streamID,
historyID, devInfo, reportHistoryParameters, out optionalString, out
optionalString);
FileStream stream = File.OpenWrite(imageDownloadPath + streamID);
stream.Write(image, 0, image.Length);
stream.Close();
}
"Pedro" wrote:
> I am having the exact same issue. If I publish against a 2000 Report Server
> everything works fine, on 2005 i get stream not found. (hanging the uri of
> the image path with file:")
> I am using the final release version.
> "Kjell" wrote:
> > Hi
> >
> > I am currently trying to get our reports to run on RS2005. We have
> > implemented a custom authentication system, and retrieve all the reports via
> > web services which we then render to our own report browser.
> >
> > To have all the images render when rendering in HTML4.0 format, we are using
> > the renderstream function on all returned streamIDs. This has worked
> > perfectly for us in RS2000, but now we cannot get it to work with RS2005.
> >
> > To help others reading this forum who are stuck with this I'll begin with
> > explaining some differences from RS2000 that we have managed to solve... and
> > then comes my question...
> >
> > The first issue was that a URI would not be accepted in the streamroot
> > section. This however was solved with using a complete http://.. path... in
> > RS2000, the relative path was enough.
> >
> > Then I noticed that the only streamID that was returned was the streamid
> > "0", which could not be retrieved from the Report Server. The cause for this
> > seems to be that you now need to use a history snapshot in order to retrieve
> > valid streamids- This was not explicitly needed in RS2000. So then I let all
> > reports create snapshots... This gave me something that looked like valid
> > StreamGuids to work with...
> >
> > However, I still cannot retrieve these images from the ReportServer. I get:
> >
> > "The stream cannot be found. The stream identifier that is provided to an
> > operation cannot be located in the report server database. --> The stream
> > cannot be found. The stream identifier that is provided to an operation
> > cannot be located in the report server database."
> >
> > Everything looks good... I have the streamID, I have the snapshotID... I've
> > tried attaching the ReportParameters or ReportHistoryparameters, DeviceInfo,
> > and all other possible parameters I can give the RenderStream function, but I
> > still cannot retrieve the stream...
> >
> > I have also done the SetReportHistoryOptions... to allow snapshots... no
> > good...
> >
> > What am I missing here? Using the Sept CTP.
> >
> > /Kjell|||Finally got this one solved:
There is a bug with the backwards compability in RS2005. If you have more
than one parameter in your report, but you only pass some of them via the web
service interface, the report server will not be able to match your streamids
with a previous execution. Microsoft created a QFE for this that you will
need in order to fix it. The alternative is to pass every report parameter
with the render calls, even if you do not use the parameters.
/Kjell
"Pedro" wrote:
> I found a solution that works in my case. The trick was to pass the
> reportHistoryParameters returned by the Render call into RenderStream,
> instead of the original reportParameters.
> result = rs.Render(reportPath, format, historyID, devInfo, reportParameters,
> credentials,
> showHideToggle, out encoding, out mimeType, out
> reportHistoryParameters, out warnings,
> out streamIDs);
>
> // for multi-stream renders, such as HTML, need to render the report
> images as streams
> // so they show in the report
> if (this.IsHtmlReport)
> {
> foreach (string streamID in streamIDs)
> {
> try
> {
> byte [] image = rs.RenderStream(reportPath, format, streamID,
> historyID, devInfo, reportHistoryParameters, out optionalString, out
> optionalString);
> FileStream stream = File.OpenWrite(imageDownloadPath + streamID);
> stream.Write(image, 0, image.Length);
> stream.Close();
> }
> "Pedro" wrote:
> > I am having the exact same issue. If I publish against a 2000 Report Server
> > everything works fine, on 2005 i get stream not found. (hanging the uri of
> > the image path with file:")
> > I am using the final release version.
> > "Kjell" wrote:
> >
> > > Hi
> > >
> > > I am currently trying to get our reports to run on RS2005. We have
> > > implemented a custom authentication system, and retrieve all the reports via
> > > web services which we then render to our own report browser.
> > >
> > > To have all the images render when rendering in HTML4.0 format, we are using
> > > the renderstream function on all returned streamIDs. This has worked
> > > perfectly for us in RS2000, but now we cannot get it to work with RS2005.
> > >
> > > To help others reading this forum who are stuck with this I'll begin with
> > > explaining some differences from RS2000 that we have managed to solve... and
> > > then comes my question...
> > >
> > > The first issue was that a URI would not be accepted in the streamroot
> > > section. This however was solved with using a complete http://.. path... in
> > > RS2000, the relative path was enough.
> > >
> > > Then I noticed that the only streamID that was returned was the streamid
> > > "0", which could not be retrieved from the Report Server. The cause for this
> > > seems to be that you now need to use a history snapshot in order to retrieve
> > > valid streamids- This was not explicitly needed in RS2000. So then I let all
> > > reports create snapshots... This gave me something that looked like valid
> > > StreamGuids to work with...
> > >
> > > However, I still cannot retrieve these images from the ReportServer. I get:
> > >
> > > "The stream cannot be found. The stream identifier that is provided to an
> > > operation cannot be located in the report server database. --> The stream
> > > cannot be found. The stream identifier that is provided to an operation
> > > cannot be located in the report server database."
> > >
> > > Everything looks good... I have the streamID, I have the snapshotID... I've
> > > tried attaching the ReportParameters or ReportHistoryparameters, DeviceInfo,
> > > and all other possible parameters I can give the RenderStream function, but I
> > > still cannot retrieve the stream...
> > >
> > > I have also done the SetReportHistoryOptions... to allow snapshots... no
> > > good...
> > >
> > > What am I missing here? Using the Sept CTP.
> > >
> > > /Kjell

Friday, March 9, 2012

RS on Win2000 Server : Urgent help needed

Hello all
I have been having troubles installing RS Ent Edition on Win2000
server.
I tried with sql authentication and also NT/System account but always
get the error in the end saying
"could not activate RS. Have to activate manually before using"
I tried with rsactivate.exe but no progress.
Is there anything i am missing or blunderin here ?
the Win2k server is SP4
SQL server has Sp3a installed
Its a production server outside my domain and I only want to deploy my
reports there. So I didnt install VS.NET. can that be the problem ?
I currently have a development env where I have RS and SQL Server on
two diff Win2003 server boxes in the same domain.
What i am trying to achieve is to develop on my machine and deploy to
the RS on the production server.
Any suggestions will be sincerely appreciated.
Thx
BofoMaybe the rsactivate and rsconfig are using two different accounts. The
ReportServer service may also be using a different account that the
rsactivate and rsconfig.
"RemoteDeploy" wrote:
> Hello all
> I have been having troubles installing RS Ent Edition on Win2000
> server.
> I tried with sql authentication and also NT/System account but always
> get the error in the end saying
> "could not activate RS. Have to activate manually before using"
> I tried with rsactivate.exe but no progress.
> Is there anything i am missing or blunderin here ?
> the Win2k server is SP4
> SQL server has Sp3a installed
> Its a production server outside my domain and I only want to deploy my
> reports there. So I didnt install VS.NET. can that be the problem ?
> I currently have a development env where I have RS and SQL Server on
> two diff Win2003 server boxes in the same domain.
> What i am trying to achieve is to develop on my machine and deploy to
> the RS on the production server.
> Any suggestions will be sincerely appreciated.
> Thx
> Bofo
>