SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
Search:  
 
 
        
Home       Members    Calendar    Who's On


12»»

Using VS 2005 to Edit SQL RS 2000 Reports? Expand / Collapse
Author
Message
Posted Tuesday, April 24, 2007 12:30 PM
Old Hand

Old HandOld HandOld HandOld HandOld HandOld HandOld HandOld Hand

Group: General Forum Members
Last Login: Wednesday, June 24, 2009 12:48 PM
Points: 394, Visits: 197

I have some reports created with VS .Net 2003.  The reports are running on a SQL RS 2000 server.  Now I have VS 2005.  When I tried to open the reports in VS 2005 it informed me that its going to update the reports.  If VS 2005 updated the reports, would the reports be broken when they run on the SQL RS 2000 server?  Is there anything I should be aware of? 

Thanks.




Post #360655
Posted Monday, April 30, 2007 11:55 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Wednesday, June 17, 2009 4:23 PM
Points: 121, Visits: 3
YES... you get an error from the ReportServer itself stating it is the wrong version number...


Moe C
Post #362062
Posted Monday, April 30, 2007 12:00 PM
Old Hand

Old HandOld HandOld HandOld HandOld HandOld HandOld HandOld Hand

Group: General Forum Members
Last Login: Wednesday, June 24, 2009 12:48 PM
Points: 394, Visits: 197

I ran into this error but didn't have time to go back.

What do I need to do when upgrading to SQL 2005 is not possible at this time?  Keep using VS .NET 2003?

Thanks.




Post #362064
Posted Monday, April 30, 2007 1:02 PM


Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: 2 days ago @ 10:18 PM
Points: 1,262, Visits: 1,575

Actually,

 

The only way to go back and forth is allow VS to do the upgrade to 2005, but to go backwards you'll need to edit the reports from 2005 to still use them in RS 2000 in notepad....

What you need to do is change the namespace referenced at the top of the XML file from ...

xmlns="http://schemas.microsoft.com/sqlserver/reporting/2003/10/reportdefinition"

TO

xmlns="http://schemas.microsoft.com/sqlserver/reporting/2005/01/reportdefinition"

 

and delete COMPLETELY the two sections with "InteractiveHeight" and "InteractiveWidth"

 

You can now upload the report to the RS 2000 instance.




~Why push the envelope when you can just open it?

Jason Selburg


Post #362089
Posted Monday, April 30, 2007 1:06 PM
Old Hand

Old HandOld HandOld HandOld HandOld HandOld HandOld HandOld Hand

Group: General Forum Members
Last Login: Wednesday, June 24, 2009 12:48 PM
Points: 394, Visits: 197
Thanks.  I will give it a try.


Post #362091
Posted Monday, April 30, 2007 1:33 PM


Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: 2 days ago @ 10:18 PM
Points: 1,262, Visits: 1,575
OOPS, I had my namespaces reversed...but I'm sure you caught that.


~Why push the envelope when you can just open it?

Jason Selburg


Post #362098
Posted Monday, April 30, 2007 2:11 PM
Old Hand

Old HandOld HandOld HandOld HandOld HandOld HandOld HandOld Hand

Group: General Forum Members
Last Login: Wednesday, June 24, 2009 12:48 PM
Points: 394, Visits: 197
I haven't tried but thanks.


Post #362106
Posted Tuesday, May 01, 2007 4:11 PM
Old Hand

Old HandOld HandOld HandOld HandOld HandOld HandOld HandOld Hand

Group: General Forum Members
Last Login: Wednesday, June 24, 2009 12:48 PM
Points: 394, Visits: 197

Jason,

When I upload a report saved in VS 2005 to a SQL 2000 RS server, I got The report definition is not valid. Please verify that the report definition uses the current report definition namespace (i.e. ‘http://schemas.microsoft.com/sqlserver/reporting/2003/10/reportdefinition’). (rsNotACurrentReportDefinition)Is there a way to go around or VS 2003 is the only choice to edit the report?

Thanks




Post #362464
Posted Tuesday, May 01, 2007 4:16 PM


Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: 2 days ago @ 10:18 PM
Points: 1,262, Visits: 1,575
Did you edit the RDL in notepad and change the xmlns="" entry, and then upload through ReportManager?

This should work, I've done it many times.

You can't "Deploy" them from VS.



~Why push the envelope when you can just open it?

Jason Selburg


Post #362466
Posted Tuesday, May 01, 2007 4:20 PM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Wednesday, June 17, 2009 4:23 PM
Points: 121, Visits: 3
VS 2003 is the only choice to edit the report ... i would stick with that...


Moe C
Post #362467
« Prev Topic | Next Topic »

12»»

Permissions Expand / Collapse