.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
MarieAdela
Imran Ghani
Post New Web Links

Using Script to deploy reports

Posted By:      Posted Date: September 20, 2010    Points: 0   Category :Sql Server
 

Bonjour,

I'm using the PublishSampleReports.rss script to deploy my reports on the server report but i get this error when i write this commande rs -i PublishSampleReports.rss -s http://myserver/reportserver   in prompt :

System.Web.Services.Protocols.SoapException: La définition de rapport n'est pas
valide. Détails : '.', hexadecimal value 0x00, is an invalid character. Line 607
, position 10. ---> Microsoft.ReportingServices.ReportProcessing.ReportProcessin
gException: La définition de rapport n'est pas valide. Détails : '.', hexadecima
l value 0x00, is an invalid character. Line 607, position 10.
   at Microsoft.ReportingServices.ReportPublishing.ReportPublishing.Phase1(Catal
ogItemContext reportContext, Byte[] definition, IChunkFactory createChunkCallbac
k, CheckSharedDataSource checkDataSourceCallback, String& description, String& l
anguage, DataSourceInfoCollection& dataSources, UserLocationFlags& userReference
Location, Boolean& hasExternalImages, Boolean& hasHyperlinks)
   at Microsoft.ReportingServices.ReportPublishing.ReportPublishing.CreateInterm
ediateFormat(CatalogItemContext reportContext, Byte[] definition, IChunkFactory
createChunkCallback, CheckSharedDataSource checkDataSou


View Complete Post


More Related Resource Links

Deploy Reports Error (VS2008) to 2005 ReportServer Db...

  
Hi, i'm trying to deploy a report made in Visual Studio 2008 to a ReportServer Data Base 2005, but a get this error...   Error 2 The report definition is not valid.  Details: The report definition has an invalid target namespace 'http://schemas.microsoft.com/sqlserver/reporting/2007/01/reportdefinition' which cannot be upgraded.    Is it posible to use a SQL 2005 DB with Rdl's reports 2008   thanks

Cannot Deploy Reports to Report server - Times Out

  
I have SQL Server 2008 Developer SP1 on XP Pro SP3 to become familiar with its capabilities.  I installed the AdventureWorks sample database and was able to generate a cube, but I have not had the same success with reports.  I am trying to publish the sample reports to Report Server, but every report fails.  The errors says that the operation timed out.  However, the data sourse appears to publish correctly.  When I go to Report Manager, the data source is in the Data Sources folder and I see the AdventureWorks 2008 Sample Reports folder, but it's empty.  I tried loading the rdl file from within Report Manager, but it also fails.  Eventually, it gives me an empty dialog box for a username and password, but I configured Report Services to use a built-in account so I do not have a username or password to provide.  I have been searching forums for the past week, but cannot find anyone with a similar issue. Here is the portion of the log dealing with the deployment error: library!ReportServer_0-2!a44!06/06/2010-04:16:24:: Call to GetItemTypeAction(/AdventureWorks 2008 Sample Reports). library!ReportServer_0-2!a44!06/06/2010-04:16:24:: Call to GetItemTypeAction(/Data Sources). library!ReportServer_0-2!a44!06/06/2010-04:16:24:: Call to GetItemTypeAction(/Data Sources/AdventureWorks2008). library!ReportServer_0-2!a44

SSRS Reports Render Using Batch Script

  

Is there any batch script method by which SSRS reports can be rendered to required format PDF/Excel just by double clicking a batch


Vik

Sharepoint - Webpart doesnt deploy - stsadm reports deployment 'successful'

  
Hi,

MOSS 2007 :)

I am having problems deploying a webpart..
This webpart was successfully installed and deployed on a similar environment with no problems. However when trying to deploy it in its intended site it's having some strange problems..

1. I installed the webpart to the server (through stsadm) - return message "Operation completed successfully."
2. I deployed the webpart to the intended site - return message "Operation completed successfully."
3. I performed an IIS reset and navigated to the 'site features' area to find no trace of the webpart to activate.

I ran the 'stsadm -o enumsolutions' command to view the solutions that are deployed, and I see my webpart here:
   
  <Solution Name="solutionname.wsp">
  <Id>ID-here</Id

can we deploy the reports to SP2010 using sql 2005

  

I am using Sharepoint 2010 for creating a site. Can I use SQL server Bussiness Intelligence 2005 for creating reports. Or else I should use 2008.

If I use SQL server Bussiness Intelligence 2005 will it work ?


Deploy Performance Point Scorecards, KPI's, Dashboard, Reports

  

Hi,

I am looking for suggestion on deploying;

1) Performance Point Scorecards, KPI's, Dashboard, Reports created using dashboard designer from one enviornment to another.

2) Performance Point Web Parts like KPI web part, scorecard web part and report web part.

3) Performance Point Data Sources

Does SharePoint Solution Package support this scenario? How will this work?

Our goal is to define all the configuration for each release which will include add new content, webe pages having various sharepoint web parts and update sharepoint content for future release.

Thank you for your input in advance.

Amit


Amit

Deploy and update script file with custom ribbon tab to Sharepoint Server 2010

  

Hey everyone,

currently I'm building a custom tab for Sharepoint Server 2010 and at the moment I'm stuck on the following issue,
with the first debug deployment Visual Studio sends the .js file that provides some functions for the ribbon elements from Scripts folder in the VS project
to Sharepoint Server.
However, it won't apply any changes I did on the script afterwards to the file on the server.
So the effect is, that as soon as I do the next debug, the previous script is being used by Sharepoint and the new version, containing the new code, is left aside.

It seems to me as if Visual Studio would only deploy the .js file just once and then rely to this copy, maybe there are some configuration settings to make, but after hours of research, I still can't figure out where things do go wrong or what configuration to apply to update the script on the server.
I couldn't locate the file on hdd either, even searched the whole fs but the results showed only the new script file.

Any help on this would be very much appreciated, this issue drives me nuts and consumes plenty of time ;)

Workaround at the moment: each time the script is changed, set up new project... :D

Greets, Norman

P.S: Yes, I did flush

Unable to deploy reports from VS 2008 to SSRS 2008

  
I have a server that has SQL 2005 and SQL 2008 installed.  At one point, I was able to deploy reports from VS 2008 to SQL 2008, but can no longer do so.  Any ideas what could have changed that prevents the deployment?  Should I remove SQL 2005, as it's not being used on this particular server?

deploy the reports programatically in aspx page. in c#.net

  
zhi......... to all

i've created one ssrs report and i want to deploy in programatically.. in c#.net(.aspx page)

Deploy and update script file with custom ribbon tab to Sharepoint Server 2010

  

Hey everyone,

currently I'm building a custom tab for Sharepoint Server 2010 and at the moment I'm stuck on the following issue,
with the first debug deployment Visual Studio sends the .js file that provides some functions for the ribbon elements from Scripts folder in the VS project
to Sharepoint Server.
However, it won't apply any changes I did on the script afterwards to the file on the server.
So the effect is, that as soon as I do the next debug, the previous script is being used by Sharepoint and the new version, containing the new code, is left aside.

It seems to me as if Visual Studio would only deploy the .js file just once and then rely to this copy, maybe there are some configuration settings to make, but after hours of research, I still can't figure out where things do go wrong or what configuration to apply to update the script on the server.
I couldn't locate the file on hdd either, even searched the whole fs but the results showed only the new script file.

Any help on this would be very much appreciated, this issue drives me nuts and consumes plenty of time ;)

Workaround at the moment: each time the script is changed, set up new project... :D

Greets, Norman

P.S: Yes, I did flush

Rendering ASP.NET Script References into the Html Header

  
One thing that I've come to appreciate in control development in ASP.NET that use JavaScript is the ability to have more control over script and script include placement than ASP.NET provides natively. Specifically in ASP.NET you can use either the ClientScriptManager or ScriptManager to embed scripts and script references into pages via code.

Viewing Reports with SharePoint 2.0 Web Parts

  
Reporting Services provides several Web Parts that work with specific versions of a report server and in particular deployment modes. If you want to access report server content on a SharePoint site from a native mode report server, use the SharePoint 2.0 Web Parts that are included with Reporting Services. Instructions for installing and using the 2.0 Web Parts are provided in this topic.

crystal reports on mvc 2 vs2008

  

hi, i'm a new user of mvc 2, so, i need to use crystal reports on mvc 2, actually, i'm developing on visual studio 2008, but i can´t run my reports. it's posible run my reports???


thank you very much.


*.axd script references not being rendered to browser

  

I'm running VS2010 with .net 4.0, and am running into issues with the .net ajax script tags mysteriously not being rendered to the browser.

So far I've reduced it to a scenario where I set the DataSourceID property of a databound control.  More specifically, I've only tested it on a Gridview and a DropDownList.

This can be reproduced fairly easily on my machine by following these steps:


1. Create a new empty Web Application Project

2. Create a new Web Form

3. Add a ScriptManager inside the form

4. Add a DropDownList and a DataSource (I used an ObjectDataSource)

5. Set the DataSourceID property of the DropDownList to the ID of the DataSource.  This can be done either declaratively on the .aspx page, or in the code behind in the aspx.cs page, and both produce the same results.

6. Open the page in a browser and watch as you get a javascript error stating "Sys is not defined" and notice that the page source contains no script tags referencing *.axd scripts.


Here's my source code showing my set up:

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="ScriptResourceFAIL.Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 T

Client script not running

  

Dear all,

in my MVC 2 application, and in the shared Master Page I wrote this little script for menu handling :

<script src="../../Scripts/jquery-1.4.1.js" type="text/javascript"></script>
<script type="text/javascript"> $(document).ready(function () {   
       
     $('#nav li').hover(  
         function () {  
             //show its submenu  
             $('ul', this).slideDown(100);  
   
         },   
        function () {  
           //hide its submenu  
            $('ul', this).slideUp(100);           
         }  
     );  
       
 });</script>


The script, that shows menu items when the

Potentially dangerous script....blah blah

  

explain this one - -   (please)

2 projects - same code - one, using 2008, one using 2010 - a textbox a button and a label, using html code in the textbox

In the Page Directive:
EnableEventValidation="false" ValidateRequest="false&q

Session with Crystal Reports on IE 8

  

All,

Having a very wierd problem.  I have an application that uses Crystal Reports and it uses what I have found to be a common scenario (I am not a CR expert in any way).  I have an ASPX page that gathers options for the report, and then it goes and gets the data and if there is some, a button appears for them to launch the report.  On clicking that button, the code sets some values in the HttpResponse.Context area, then performs a Server.Transfer to another ASPX page that is our Report Template.  This page contains the CR stuff and it generates a PDF version of the report.  It then does the following code:

 With HttpContext.Current.Response
            .ClearContent()
            .ClearHeaders()
            .ContentType = "application/pdf"
            .AddHeader("Content-Disposition", "inline; filename=Report.pdf")
            .BinaryWrite(s.ToArray)
            .End()
        E

Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend