Showing posts with label message. Show all posts
Showing posts with label message. Show all posts

Friday, March 30, 2012

ReportViewer Find

I have a Local report bound to a ReportViewer control and when I am typing in text in the find text box and I click find I get this message on the report viewer "Object reference not set to an instance of an object" anybody have any idea

This is a known issue with the report viewer control. It is fixed in Visual Studio SP1. See this posting for more information:

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1032267&SiteID=1

Monday, March 26, 2012

ReportViewer - Operation is not valid due to the current state of the object

Hi,
I'm getting an InvalidOperationException, message ("Operation is not
valid due to the current state of the object") when setting the
ServerReport.ReportServerUrl (or ServerReport.ReportPath) property of
the VS2005 ReportViewer control after performing a drilldown.
I've reproduced this error in the following scenario:
1) Clean Windows 2003 server with SP1 and latest hot fixes (installed
to defaults except UK English).
2) Clean SQL Server 2005 (RTM) install with SQL Server and Reporting
Services component (all installed to defaults).
3) Clean VS2005 (RTM) web app (default.aspx and default.aspx.cs, see
below) (running on a Windows XP Pro workstation under VS2005
Development Server but same thing on W2003 Web Server).
4) Clean reports (RSTest.rdl and RSTest2.rdl, see below).
The error can be reproduced as follows:
1) Click Button1 (standard asp:button). This sets
ReportViewer1.ServerReport.ReportPath and
ReportViewer1.ServerReport.ReportUrl to RSTest.rdl and correctly
displays the report.
2) Click the drilldown link in the report. This correctly displays
RSTest2.rdl.
3) Repeat step1. This causes the error.
Relevant code snippets are:
default.aspx:
<rsweb:ReportViewer ID="ReportViewer1" runat="server"
ProcessingMode="Remote">
</rsweb:ReportViewer>
<asp:Button ID="Button1" runat="server" Text="Button"
OnClick="Button1_Click" />
default.aspx.cs:
protected void Button1_Click(object sender, EventArgs e)
{
ReportViewer1.ServerReport.ReportServerUrl = new
Uri("http://dstst1/ReportServer");
ReportViewer1.ServerReport.ReportPath = "/RS Test
Project/RSTest";
}
RSTest.rdl:
<Textbox Name="textbox1">
...snip...
<Action>
<Drillthrough>
<ReportName>RSTest2</ReportName>
</Drillthrough>
</Action>
...snip...
</Textbox>
Has anyone got any ideas or is this a bug as I suspect?
Regards,
Ian Addis
Dorset Software Services Limited
Poole, Dorset, ENGLAND
Keywords: SQL Server 2005 Reporting Services ReportViewer drilldown
InvalidOperationException "Operation is not valid due to the current
state of the object" ServerReport.ReportServerUrl
ServerReport.ReportPathI have this exact same problem but have not found an answer. Did you
figure out the problem and if not how did you work around it? I am
using a nearly identical software configuration.
Scott Wylie
i.p.addis@.dunelm.org.uk wrote:
> Hi,
> I'm getting an InvalidOperationException, message ("Operation is not
> valid due to the current state of the object") when setting the
> ServerReport.ReportServerUrl (or ServerReport.ReportPath) property of
> the VS2005 ReportViewer control after performing a drilldown.
> I've reproduced this error in the following scenario:
> 1) Clean Windows 2003 server with SP1 and latest hot fixes (installed
> to defaults except UK English).
> 2) Clean SQL Server 2005 (RTM) install with SQL Server and Reporting
> Services component (all installed to defaults).
> 3) Clean VS2005 (RTM) web app (default.aspx and default.aspx.cs, see
> below) (running on a Windows XP Pro workstation under VS2005
> Development Server but same thing on W2003 Web Server).
> 4) Clean reports (RSTest.rdl and RSTest2.rdl, see below).
>
> The error can be reproduced as follows:
> 1) Click Button1 (standard asp:button). This sets
> ReportViewer1.ServerReport.ReportPath and
> ReportViewer1.ServerReport.ReportUrl to RSTest.rdl and correctly
> displays the report.
> 2) Click the drilldown link in the report. This correctly displays
> RSTest2.rdl.
> 3) Repeat step1. This causes the error.
> Relevant code snippets are:
> default.aspx:
> <rsweb:ReportViewer ID="ReportViewer1" runat="server"
> ProcessingMode="Remote">
> </rsweb:ReportViewer>
> <asp:Button ID="Button1" runat="server" Text="Button"
> OnClick="Button1_Click" />
>
> default.aspx.cs:
> protected void Button1_Click(object sender, EventArgs e)
> {
> ReportViewer1.ServerReport.ReportServerUrl = new
> Uri("http://dstst1/ReportServer");
> ReportViewer1.ServerReport.ReportPath = "/RS Test
> Project/RSTest";
> }
>
> RSTest.rdl:
> <Textbox Name="textbox1">
> ...snip...
> <Action>
> <Drillthrough>
> <ReportName>RSTest2</ReportName>
> </Drillthrough>
> </Action>
> ...snip...
> </Textbox>
> Has anyone got any ideas or is this a bug as I suspect?
> Regards,
> Ian Addis
> Dorset Software Services Limited
> Poole, Dorset, ENGLAND
> Keywords: SQL Server 2005 Reporting Services ReportViewer drilldown
> InvalidOperationException "Operation is not valid due to the current
> state of the object" ServerReport.ReportServerUrl
> ServerReport.ReportPath|||strw2001@.gmail.com wrote:
> I have this exact same problem but have not found an answer. Did you
> figure out the problem and if not how did you work around it? I am
> using a nearly identical software configuration.
> Scott Wylie
Nope, no solution as unfortunately the company I'm working with is
currently re-negotiating their support agreement with Microsoft. I'm
fairly sure it's a bug though, I was hoping someone from MS would be on
here to comment considering it's easily reproducible.
Ian A.

ReportService2005.asmx error

Hi,

I am getting below error message while uploading reports using RS.EXE command or MS Management Studio. There is no problem if I use IE and connect to https://localhost/Reports and then upload the .rdl file.

Could not connect to server: https://localhost/ReportServer/ReportService2005.asmx

Any idea what is the problem? I have SecureConnectionLevel=2 and UrlRoot as https://FQDN_SERVERNAME/reportserver in rsreportserver.config file. FQDN_SERVERNAME matches exactly with my web site certificate name.

Thanks

I had issues with the web service when I used localhost also, when I used the server name my problems went away. I don't think I got a could not connect to server error though.

-Somsong

Friday, March 23, 2012

ReportServer: newly published reports and/or folders - how to remove the "!NEW" in gre

I am heavily using ReportServer to disseminate reports around my company, but I cannot get rid of the "!NEW" message in green beside each newly published item.
Help is appreciated, thanks.

You cannot remove it manually. It will go away automatically after 2 days (currently this value cannot be configured).

Obviously, you set the system time of the report server to a date in the past, publish the reports, and then set the system time to present time ...

-- Robert

ReportServer: newly published reports and/or folders - how to remove the "!NEW" in

I am heavily using ReportServer to disseminate reports around my company, but I cannot get rid of the "!NEW" message in green beside each newly published item.
Help is appreciated, thanks.

You cannot remove it manually. It will go away automatically after 2 days (currently this value cannot be configured).

Obviously, you set the system time of the report server to a date in the past, publish the reports, and then set the system time to present time ...

-- Robert

sql

ReportServer Error - Please help!

How should I resolve the following error message when attempting to access
ReportServer? (i.e. http://wardteserv/reportserver or /reports)
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 'C.0.8.38'. The expected
version is 'C.0.8.39'. To continue, update the version of the report server
database and verify access rights. (rsInvalidReportServerDatabase)So it looks like you installed a new version of RS 2005 and attached to an
older version of the DB. There isn't a supported way to upgrade from
intermin builds like this. In this case you are fairly lucky in that the
Database changes are fairly easy and you should be able to make them
manually.
Here they are:
In the ReportServer DB run the following T-SQL:
ALTER TABLE [dbo].[ServerParametersInstance] ADD [ParentID] nvarchar(32)
NULL
also update the following Stored procs:
CREATE PROCEDURE [dbo].[StoreServerParameters]
@.ServerParametersID nvarchar(32),
@.Path nvarchar(425),
@.CurrentDate datetime,
@.Timeout int,
@.Expiration datetime,
@.ParametersValues image,
@.ParentParametersID nvarchar(32) = NULL
AS
DECLARE @.ExistingServerParametersID as nvarchar(32)
SET @.ExistingServerParametersID = (SELECT ServerParametersID from
[dbo].[ServerParametersInstance] WHERE ServerParametersID =@.ServerParametersID)
IF @.ExistingServerParametersID IS NULL -- new row
BEGIN
INSERT INTO [dbo].[ServerParametersInstance]
(ServerParametersID, ParentID, Path, CreateDate, ModifiedDate, Timeout,
Expiration, ParametersValues)
VALUES
(@.ServerParametersID, @.ParentParametersID, @.Path, @.CurrentDate,
@.CurrentDate, @.Timeout, @.Expiration, @.ParametersValues)
END
ELSE
BEGIN
UPDATE [dbo].[ServerParametersInstance]
SET Timeout = @.Timeout,
Expiration = @.Expiration,
ParametersValues = @.ParametersValues,
ModifiedDate = @.CurrentDate,
Path = @.Path,
ParentID = @.ParentParametersID
WHERE ServerParametersID = @.ServerParametersID
END
GO
CREATE PROCEDURE [dbo].[GetServerParameters]
@.ServerParametersID nvarchar(32)
AS
DECLARE @.now as DATETIME
SET @.now = GETDATE()
SELECT Child.Path, Child.ParametersValues, Parent.ParametersValues
FROM [dbo].[ServerParametersInstance] Child
LEFT OUTER JOIN [dbo].[ServerParametersInstance] Parent
ON Child.ParentID = Parent.ServerParametersID
WHERE Child.ServerParametersID = @.ServerParametersID
AND Child.Expiration > @.now
GO
finally change the GetDBVersion stored proc to:
CREATE PROCEDURE [dbo].[GetDBVersion]
@.DBVersion nvarchar(32) OUTPUT
AS
set @.DBVersion = 'C.0.8.39'
GO
That should get you up and running.
--
-Daniel
This posting is provided "AS IS" with no warranties, and confers no rights.
"Terry" <Terry@.discussions.microsoft.com> wrote in message
news:864DDB7A-6271-42D8-B8C5-E5EB71E5E374@.microsoft.com...
> How should I resolve the following error message when attempting to access
> ReportServer? (i.e. http://wardteserv/reportserver or /reports)
> 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 'C.0.8.38'. The expected
> version is 'C.0.8.39'. To continue, update the version of the report
> server
> database and verify access rights. (rsInvalidReportServerDatabase)
>|||Can anyone please tell What does this table ServerParametersInstance does in SSRS 2005
From http://www.google.co.in/search?q=ServerParametersInstance&hl=en&safe=off&filter=
Posted via DevelopmentNow.com Group
http://www.developmentnow.com

Saturday, February 25, 2012

Reporting Website Stops Responding - No Error Message

Hello,
We've had SQL Reporting Services running for over 6 months. This week,
every day, we've experienced a problem where the RS website stops responding.
There's no page could not be displayed message or any other error message,
just an hour glass as the browser tries to go to the URL. Restarting IIS and
the Reporting Services service makes the site available again. There are no
error messages in the RS logs, just processing messages. The server is a
dedicated Windows 2003 Enterprise, 4-CPU server.
Anyone else had this problem?
Thanks,
JasonJason its really sad that microsoft staff has been ignoring your post over a
month now.
Maybe you should try their sp 1 for Reporting Services. I my opinion its an
rewrite of the whole application judging from the sheer size of the
downloaded file.
"Jason" wrote:
> Hello,
> We've had SQL Reporting Services running for over 6 months. This week,
> every day, we've experienced a problem where the RS website stops responding.
> There's no page could not be displayed message or any other error message,
> just an hour glass as the browser tries to go to the URL. Restarting IIS and
> the Reporting Services service makes the site available again. There are no
> error messages in the RS logs, just processing messages. The server is a
> dedicated Windows 2003 Enterprise, 4-CPU server.
> Anyone else had this problem?
> Thanks,
> Jason|||Going to SP1 is a good idea. Note that you have a misconception about the
newsgroup. You are only guaranteed a response from MS if you are using a
managed newsgroup account when you post a question. Otherwise it is peer
supported. A problem like this should go the route of MS support, if it is a
bug / hotfix then there is no charge from product support.
--
Bruce Loehle-Conger
MVP SQL Server Reporting Services
"It a shame" <It a shame@.discussions.microsoft.com> wrote in message
news:574870D8-8FA3-4D7C-B428-EB8CA7805AE0@.microsoft.com...
> Jason its really sad that microsoft staff has been ignoring your post over
a
> month now.
> Maybe you should try their sp 1 for Reporting Services. I my opinion its
an
> rewrite of the whole application judging from the sheer size of the
> downloaded file.
>
> "Jason" wrote:
> > Hello,
> >
> > We've had SQL Reporting Services running for over 6 months. This week,
> > every day, we've experienced a problem where the RS website stops
responding.
> > There's no page could not be displayed message or any other error
message,
> > just an hour glass as the browser tries to go to the URL. Restarting
IIS and
> > the Reporting Services service makes the site available again. There
are no
> > error messages in the RS logs, just processing messages. The server is
a
> > dedicated Windows 2003 Enterprise, 4-CPU server.
> >
> > Anyone else had this problem?
> >
> > Thanks,
> > Jason

Monday, February 20, 2012

Reporting Services: I cannot deploy reports.

I am using Visual Studio 2005 and trying to deploy reports to SQL Server 2000.

I get the following message:

A connection could not be made to the report server http://aklink1/reportserver.

ADDITIONAL INFORMATION:

The attempt to connect to the report server failed.Check your connection information and that the report server is a compatible version. (Microsoft.ReportingServices.Designer)

Please help!

Hi,

The RDL files for SQL 2005 reports have changed. They are not backward compatible. Can you check the version of your Reporting Services Designer via the about box?

Greetz,

Geert

Geert Verhoeven
Consultant @. Ausy Belgium

My Personal Blog

|||

Version 9.00.1399.00

|||

Hi,

That's the 2005 version. You have 2 options:

upgrade the report server to 2005