Is It Supported To Use OpenXML In A SQL Report Dataset?

Oct 26, 2007



I have a table in SQL that stores XML code in one column. I use OpenXML to parse the XML data and then I store the parsed data into a SQL temp table so I can join it with other tables in the SQL DB. My query works great in Query Analyser, but when I paste it to a DataSet there seem to be a conflict with the variables and parameters.
I have other reports that use temp tables and it works fine, so I was wordering if OPENXML is supported in a dataset.

Thanks, Susan

View 1 Replies


ADVERTISEMENT

OPENXML Supported In CE 3.5?

Oct 2, 2007



I am viewing a list of the reserved keywords for CE 3.5 and OPENXML is listed. Can you please tell me how I would implement this in CE 3.5? Since only one SQL statement can be sent with a SqlCeCommand then how can you prepare the document, access the xml data with OPENXML, and then close the document handle all in one call? For example, I have the following TSQL code in a SQL Express stored procedure and need to port it over to CE 3.5. Could you please help with some great ideas on how to go about this porting task?


CREATE PROCEDURE [SaveConfigurationMiscs]

(@XmlData Text)

AS


SET NOCOUNT ON

DECLARE @iDoc Int





/* Create an internal representation of the XML document. */


EXEC sp_xml_preparedocument @iDoc OUTPUT, @XmlData



/* Dump XML Data into an in memory table */

DECLARE @ConfigurationMiscs TABLE (

ConfigurationMiscID Int,

ActiveLaunchMonitor NVarChar(50),

UseModeledShots Bit,

DeleteRecord Int

)



INSERT INTO @ConfigurationMiscs (ConfigurationMiscID, ActiveLaunchMonitor, UseModeledShots, DeleteRecord)

SELECT X.ConfigurationMiscID, X.ActiveLaunchMonitor, X.UseModeledShots, X.DeleteRecord

FROM OPENXML (@iDoc, '/xml/ConfigurationMisc')

WITH (

ConfigurationMiscID Int,

ActiveLaunchMonitor NVarChar(50),

UseModeledShots Bit,

DeleteRecord Int

) X



/* Clean up XML resources */

EXEC sp_xml_removedocument @iDoc


/* Update */

UPDATE Table_ConfigurationMiscs

SET

Table_ConfigurationMiscs.ActiveLaunchMonitor = X.ActiveLaunchMonitor,

Table_ConfigurationMiscs.UseModeledShots = X.UseModeledShots

FROM ConfigurationMiscs Table_ConfigurationMiscs

INNER JOIN

@ConfigurationMiscs X ON Table_ConfigurationMiscs.ConfigurationMiscID = X.ConfigurationMiscID

WHERE

X.ActiveLaunchMonitor IS NOT NULL AND

X.UseModeledShots IS NOT NULL




/* Insert New */

INSERT INTO ConfigurationMiscs (ConfigurationMiscID, ActiveLaunchMonitor, UseModeledShots)

SELECT X.ConfigurationMiscID, X.ActiveLaunchMonitor, X.UseModeledShots

FROM @ConfigurationMiscs X

LEFT JOIN

ConfigurationMiscs Table_ConfigurationMiscs ON Table_ConfigurationMiscs.ConfigurationMiscID = X.ConfigurationMiscID

WHERE

Table_ConfigurationMiscs.ConfigurationMiscID IS NULL AND

X.ActiveLaunchMonitor IS NOT NULL AND

X.UseModeledShots IS NOT NULL


/* Delete Old */

DELETE Table_ConfigurationMiscs

FROM ConfigurationMiscs Table_ConfigurationMiscs

INNER JOIN

@ConfigurationMiscs X ON Table_ConfigurationMiscs.ConfigurationMiscID = X.ConfigurationMiscID

WHERE

X.ConfigurationMiscID IS NOT NULL AND

X.DeleteRecord IS NOT NULL



RETURN

GO

View 1 Replies View Related

This Feature Remote Access To Report Data Sources And/or The Report Server Database Is Not Supported In This Edition Of Report

Jun 16, 2006

SQL server 2005 express reporting problem.

error message:

This feature "remote access to report data sources and/or the report server database" is not supported in this edition of reporting service

I got this error message when I try to connect to database hosted in another PC running SQL server 2000.

Is it true that SQlL server Express can only use Local Database Engine to host the database?



View 5 Replies View Related

Remote Access To Report Data Sources And/or The Report Server Database Is Not Supported In This Edition Of Reporting Services.

Apr 24, 2006

I'm using SQL Express with Advance Services & I get this error when I try to deploy my reports. Why do I get this error

An error has occurred during report processing. (rsProcessingAborted)

Cannot create a connection to data source 'EDPSYS'. (rsErrorOpeningConnection)

The feature: "Remote access to report data sources and/or the report server database" is not supported in this edition of Reporting Services. (rsOperationNotSupported)

Justin Song

View 4 Replies View Related

Listing Datasets In Report (dataset Name, Dataset's Commands)

Oct 12, 2007



Is there any way to display this information in the report?

Thanks

View 3 Replies View Related

Using Other Editions Of SQL Server For Report Data Sources And/or The Report Server Database Is Not Supported In This Edition Of Reporting Services

Sep 9, 2006

Hi My project is in .NET 2003 i.e. framework 1.1 and database in SQLServer 2000. But the reports have been developed using SQLServer 2005 Reporting Services. Now when I am trying to deploy them through deployment project of .NET its giving me following error:"Using other editions of SQL Server for report data sources and/or the report server database" is not supported in this edition of Reporting Services.  Now I am really confused with this. Can any one please guide me regarding this ASAP. Thanks, Falguni   

View 4 Replies View Related

Adding DataSet As DataSource To Report Published On Report Server From ClientSide

Jan 15, 2007

Hi

I am Creating Click Once Windows Application with Reporting Services 2005.I have created Report and Published on Report Server.In my windows application I am successfully able to view my published report through report viewer control.

Now in my application I am getting a dataset from my custom webservice. I want this dataset data to be added to my report as datasource at runtime on Client Side ,as my report is on Report Server.

waiting for help!!

Thanks in Advance

Pankaj

View 8 Replies View Related

Method Not Supported Error When Trying To Create New Report Model

Jan 21, 2008



I'm trying to create a few report models in Visual Studio to demonstrate the Report Builder tool and I'm encountering an issue when I try to generate a Report Model.

I get the error message "Specified Method Is Not Supported" when I click Finish on the Report Model wizard. The error detail is:

===================================
Specified method is not supported. (Microsoft Visual Studio)
------------------------------
Program Location:
at Microsoft.ReportingServices.ModelDesigner.Wizards.ChooseSemanticModelName.CreateSqlDsvStatisticsProvider(IDbConnection connection)
at Microsoft.ReportingServices.ModelDesigner.Wizards.ChooseSemanticModelName.BuildModel()



Steps to reproduce:
1. Create a new Report Model project in Visual Studio 2005 against SQL Server 2005
2. Create a new data source. The data source was tested and works correctly
3. Create a new data source view. The data source view was also tested (clicked on Explore Data) and I was able to look at the data in the view
4. Right-click on Report Models and select "Add New Report Model"
5. Click next at the welcome screen
6. Select the data source view created in #3
7. Leave the selected options for report model generation rules for creating the data source view
(Create Entities for all Tables, Create Count Aggregates, Create Attributes, Create Attributes for auto-increment columns, Create date variations, Create numeric aggregates, Create date aggregates, Create roles were all selected)
8. Click next
9. Select Update Model Statistics Before Generating (default option)
10. Click next
11. Click Run

Once I click run it processes for approx 3 seconds and then returns the error above.

If anyone could help me I'd appreciate it. Microsoft hasn't published any details on the namespace and I'm not sure why I'd be getting the error I am.

Thanks in advane,
Maurice

View 7 Replies View Related

The Operation Is Not Supported On A Report Server That Is Configured To Run In SharePoint Integrated Mode

May 23, 2008



Hi,



I got the following exception from the code listed below:



System.Web.Services.Protocols.SoapException occurred
Message="The operation is not supported on a report server that is configured to run in SharePoint integrated mode. ---> The operation is not supported on a report server that is configured to run in SharePoint integrated mode."
Source="System.Web.Services"
Actor="http://haileizws32b:8080/ReportServer/ReportService2005.asmx"
Lang=""
Node="http://haileizws32b:8080/ReportServer/ReportService2005.asmx"
Role=""
StackTrace:
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at Microsoft.PerformancePoint.Planning.Client.Common.ReportServer.ReportingServices2005.ListChildren(String Item, Boolean Recursive) in c:Officedev14ppsplanningclientCommonReportingServices2005.cs:line 1001
at Microsoft.PerformancePoint.Planning.Client.Common.DataAgent.RetrieveDirectoryStructureFromReportingServices(Object caller, Object parameters) in c:Officedev14ppsplanningclientCommonAgentsDataAgent.cs:line 2027
InnerException:



The code is like:



ReportingServices2005 reportingServices = new ReportingServices2005();

reportingServices.Url = "http://haileizws32b:8080/ReportServer/ReportService2005.asmx";

reportingServices.Credentials = System.Net.CredentialCache.DefaultCredentials

CatalogItem[] items = reportingServices.ListChildren("/", true); <== This code throws the exception.



I can browser and view the items from both Sharepoint site and ReportServer site without problem.



Can you tell me what is wrong?



Thanks a lot!

View 3 Replies View Related

Pass Dataset From Main Report To Sub-report

Apr 17, 2008

Hi

Don't know if this is possible or not - Need to produce a report and the main report has a grid in it.

For every row in the main report, in one of the grid fields there are n images. So to do this, I am using a sub-report. But there is a problem with going to the database for every row to fetch images that if the user does a report spanning more than about 6 months, there will be thousands of records each with the potential to have many images and the constant round trips to the db server would probably kill it.

So what I want to achieve is to fetch the dataset in the main report with just one trip to the database and then pass the dataset filtered by a uniqueidentifier to each row of the subreport.

Could someone please let me know if this or something like it is possible and how to go about it?

Thanks
Steve

View 5 Replies View Related

Report Manager Error Scale-out Deployment Not Supported In This Edition Of Reporting Services

Mar 15, 2007

Hi,

I have been trying to get report services installed but another error came:









The feature: "Scale-out deployment" is not supported in this edition of Reporting Services. (rsOperationNotSupported) (rsRPCError)



This error comes when I try to view either http://localhost/Reports or http://localhost/reportserver



Any suggestions?

thank you.

View 2 Replies View Related

How To Run Rdl Report From .net Using Dataset.

Oct 8, 2007



Hi
Is it possible create Reporting Svcs (RS) report with coding in .net assigning dataset to it....
how to run RS report with windows form through report viewer
I have tried to find a solution but so far, no luck.
Anyone have any ideas?

View 1 Replies View Related

2 Dataset In 1 Report

Mar 10, 2007

Hi all. Is it possible to create 2 dataset in 1 report in Business Intelligence Project? I tried to make 2 datasets but if I ran the report it occurs an error. It only ran for 1 dataset.
any thoughts please.

thanks.
-ron-

View 2 Replies View Related

Link Two DataSet In The Same Report

Apr 11, 2007

Hi !
I use ms sql server 2005, and I have a problem
I have a dataBase where I have a lot of data, I have a webServices which calculate indicator for a time period and an id indicator. The time period must be specific and choose by the user, so I can't dto automatically by integrating the data from my webService in a dataBase (with IntegrationServices).
So I create a report with 2 dataset, one which recover the indicator value for each equipment (the webService send a list of {<idEquipment> and <value>}) , and I want to link the idEquipment with the IdEquipement in my dataBase, it would allow me to know other informations about the equipment :
equipement ID | Indicator value (from webServices) | equipment name | eq number | cumul of event duration for this eq....
All in the same grid...
Does it possible ?
If it is possible with the report designer, does it possible with report builder, as report builder need a model, how can i do to make a model from 2 dataSource...
thank you for your answer...

View 6 Replies View Related

Designing A Report Without Dataset

Jun 12, 2007



Hello



We are trying to create an app where we pass dynamically a dataset (from our form in C#) to our {report}.rdl file.

We are having doubts about something.

How can we design the actual report if we don't have the datasource until runtime? The reason to do this is due to our complex calculations of data which becomes almost impossible to achieve in a T-SQL environment.

I know with a lot of patience and time (we don't have both) we can achieve it, but even though, we would need to process some data in the client side.

So, the question is... is it possible to design a report without a Dataset? I know we can drag the controls on the layout window, but we won't be able to test it. IS there any workaroung about this?



Thank you

View 3 Replies View Related

Create Report With An ADO Dataset

Aug 23, 2006

Hello,

We are trying to convert our Crystal XI reports to SQL Reporting Services 2005. Our crystal reports get their data from ADO datasets which are populated through code at run time. Is it possible to do this in SQL Reporting Services?

The only options for a dataset seem to be query and stored procedure. When i have a blank dataset it throws an error. When i try to link my dataset to code, it throws an error.

Thanks for your help!

View 7 Replies View Related

How To Use Two Dataset On SQL Server Report

Feb 22, 2008

Hi Guys,

I just designed a report using SQL Server Reporting 2005 in which I have used two datasets. I am able to bind fields of one dataset but other dataset fields are not visible. When I try to bind the field of other dataset it gives me error that the field is not found. If I bind the field by using the Aggregate function it is bind correctly because we specify the dataset name with field in the function. But I do not want to use Aggregate function. How can I use two dataset for single report?

Waiting your response

View 5 Replies View Related

Passing A Dataset Programmatically To Report

Oct 5, 2007

HI everyone;
i have a problem , is there a possible to pass a dataset to a ssrs report programmatically ?
or at runtime without specifying it at design time ...

View 1 Replies View Related

Dynamically Assigning Dataset To A Report

Jan 31, 2008



Hi All,

How to assign dataset(meaning SQL Query) to a report at RunTime. Please help me in doing this it's urgent.

-SR

View 4 Replies View Related

Preview Report Without Executing DataSet

Feb 29, 2008



Is there a way of previewing a report without executing the dataset? Problem is when I make changes to the layout of the report it is taking a while before the report renders.

While I am developing my reports and working on the layout, changing colours, fonts etc it would be good to have an option which uses local data only.

Is there an option like this?

View 3 Replies View Related

Displaying DataSet Query In Report

Oct 16, 2007

Is there a way to create an expression that references the DataSets / Queries? I'd like to be able to create an expandable text box that shows the raw sql query used to generate the report.

View 4 Replies View Related

Report Dataset Execution Sequence?

Dec 20, 2007

Hi all,

When we use more that one datasets in report, how can we know which dataset will be executed first.
For example if we have added 2 datasets (dataset1 and dataset2) and both of them are using stored procedures.
How can we know whether dataset1 will be executed first or dataset2.

In my case I need to execute one dataset first that loads data to database tables and then want to execute second dataset that calls stored procedure that depends on table data there were filled by first dataset.

Thanks,
.....Hinesh

View 1 Replies View Related

Use DataTable/DataSet As Source To Report

Mar 31, 2008

Hi,

Is it possible to use datatable/dataset as source to a report in Reporting Services. That is possible in e.g. Crystal Reports. I can only find Report Server Model and XML as non-database sources.


Best regards
Lars

View 10 Replies View Related

How To Find The Rowcount Of The Dataset In A Report

Mar 28, 2007

I have a report.

In one of the text field i have to show the rowcount of the dataset

How can i do that

View 5 Replies View Related

Passing DataSet To MS Access Report

May 28, 2007

I have many MS Access reports that process recordsets obtained from a MySQL database, based on a user-selected date range. This uses VBA and input boxes. I'm now creating .aspx pages to get the user input via the web, and am successful in creating a DataSet. My .aspx.vb code includes using Automation to open the Access report in Snapshot Viewer (DoCmd.OutputTo). How do I pass the DataSet to MS Access to replace using recordsets?



My VBA code in Access used to be this:




Code Snippet

Dim ws As Workspace
Dim strConnection As String
Dim dbs As Database

Dim rst_chg As Recordset

Set ws = DBEngine.Workspaces(0)
strConnection = "ODBC;DSN=xxx;DATABASE=xxx;" _
& "SERVER=10.1.144.xxx;" _

& "UID=xxx;PWD=xxx;PORT=xxx;OPTION=0;" _

& "STMT=set wait_timeout=100000;;"




Set dbs = ws.OpenDatabase("", True, True, strConnection)

Set rst_chg = dbs.OpenRecordset("SELECT ...")

'process the recordset ...




I'm thinking I should be able to eliminate most of this code and Set rst_chg = DataSet. I've been successful with using WriteXml in the .aspx.vb page and Application.ImportXML in my VBA to pass the data using XML, but this writes to the hard drive, and also creates a database in Access (overhead I would rather not have to deal with). Again, is there a way to open the DataSet directly in my VBA code?



Thanks,

Guy Rivers

View 1 Replies View Related

Creating Dataset For Report - Percentages In Result

Nov 3, 2015

Trying to create a dataset for a report. I need to bring back percentage in the result set. The fields that I am using to get the percentage have valid data but the result field is 0.00%. Is there reason I cant bring back a percentage field?

Code:
SELECT JobNum, Mailed, LT_7, BT_6_10, GT_10,
Format([LT_7]/[Mailed], 'p') AS PctScaned1,
Format([BT_6_10]/[Mailed], 'p') AS PctScaned2,
Format([GT_10]/[Mailed], 'p') AS PctScaned3,

[Code] ....

View 3 Replies View Related

Urgent! Report Server Bind Dataset

May 22, 2008

Hi Everyone,

I have used the StoredProcedure as shown below:

Begin

Select a.Field1,b.Field from table a, table b where a.patientid=@patID
if(@select=1)

select a.Field1, a.Field2 from table a

else if(@select=2)
select b.Field1, b.Field2 from table b
end

When I bind this storedprocedure with Dataset, all the Fields Corresponding to table a and table b are displayed in the Dataset.Finally, when i bind this Dataset with my chart, the fields corresponding to table b are not displayed in the Chart.
The reason for that may be because Report Server cannot bind with multiple Datasets? Please Clarify.
If the Report Server cannot bind with multiple datasets, then how to call different StoredProcedures (according to Criteria) in a Single Report in Report Server project?

Thanks
Navdeep

View 4 Replies View Related

Images (in Dataset) In Report Headers/Footers

Apr 7, 2008



I have an image stored in a dataset that I would like to place in the page header and footer. Unfortunately dataset fields can not be placed in headers/footers.

Embedded pics in the project and/or report are NOT an option as the report must pull the image from the database. UNLESS there is a way to embed it FROM the dataset.

Normally I use =ReportItems!FieldName, but this doesn't seem to work when dealing with images.

I put the image in the header row the table holding the report information, but there are some pitfalls. Consider the following: put the Image in the top left cell of the header rows (A1) , put my Report Title in Cell (A2) and finally put =Now() in cell (B2).


When the report renders Cell (A1) has grown to accomodate the size of the image, Cell (A2) is fine, but cell (A3 - the date-) is pushed down...as expected (boooo!)

I used the following function =Fields!ReportTitle.Value & chr(10) & chr(13) & Fields!ReportDate.Value in (A2) a slick solution, but the padding is different and I need different font sizes and weights. (...almost)

I moved the image in (a1) and the rest of the fields following respecfully (B1, C1, D1...) but with parameters the header is now practically half the page (...ok so that was a bit of an stretch)

I tried the RepeatsWith property and couldn't get it to work???? Am I using it correctly? I have a table in the body of a report (table1). Above it, I place the image. In the image properties, I choose RepeatWith and select table1, I expect to see the image repeat on each page, but that is not the case. I'm probably missing a simple explanation.

I even tried to pass the image as a parameter. URRRNT! At least with my experience.

Have I exhausted all possibilities without extensive code?

All I'm trying to do is line up the Image with the report Title/date/parameter values in the HEADER making the report look pretty.

Thanks for the help...

SSRS 2005 User

View 1 Replies View Related

Create A Dataset With .Net Code And Render Report From It. Possible?

Sep 20, 2007



Hi
I wonder if it is possible to create a dataset in code and then feed it to a Reporting Svcs (RS) report and have it rendered on the data from this dataset.
My collegues does this with Crystal and it would break my heart if I cant do this with (RS)...
I have tried to find a solution but so far, no luck.
Anyone have any ideas?

/F

View 3 Replies View Related

How To Get The Values From Dataset To Parameters On Report Header

Mar 13, 2008



Is it possible to get the reportdataset field values into parameters. dynamically when the report is generated.

Thanks.

View 1 Replies View Related

Error While Loading DataSet In Report Project

Jan 15, 2008

Hi, when I try to open up an existing report project in VS 2005 then open the report template it will guide me to the Layout tab. Once I change the tab to Data, the following error showed up with an OK button:

TITLE: Microsoft Report Designer
------------------------------

The data extension SQL was not found in the configuration file RSReportDesigner.config.
Add the extension to the configuration file before proceeding or choose another data extension.

------------------------------

I tried creating a new dataset on the Data tab, the "Command Type" section use to have 2 selection: Text and Storeprocedure type. But now the Storeprocedure type is missing. I tried uninstall VS 2005 & SQL Server 2005 Components and reinstall them the same error still occurs.

I have no idea how to solve it, anyone encounter the same problem or able to help out please do so. Thanks in advance.

From,
Daren

View 1 Replies View Related

Displaying RowCount From DataSet In Report TextBox

Jun 20, 2007

What is the expression for displaying the rowcount from a dataset in a textbox report item?

View 2 Replies View Related

Dynamic Parameterized MDX Dataset In Report Table

Oct 10, 2007

Hi, I was wondering if there is a way to solve this issue.

I have the following MDX to retrieve specialised time related data from a cube



Code Block

SELECT NON EMPTY { { { [Measures].[% Vacancy], [Measures].[Total Square Area], [Measures].[Deliveries], [Measures].[Net Absorption] } * { [Time].[Quarter].[2007 Q1], [Time].[Quarter].[2007 Q1].lag(1), [Time].[Quarter].[2007 Q1].lag(2), [Time].[Quarter].[2007 Q1].lag(3), [Time].[Quarter].[2007 Q1].lag(4), ytd( [Time].[Quarter].[2007 Q1]), ytd( [Time].[Quarter].[2007 Q1].lag(4)),ytd([Time].[Quarter].[2007 Q1].parent.lag(1)),ytd([Time].[Quarter].[2007 Q1].parent.lag(2)) } } } ON COLUMNS ,

NON EMPTY { DESCENDANTS( [Location].[All Location], [Location].[Market] ) } ON ROWS

FROM [QMS]

WHERE ( [Overall].[Overall].&[Y] )






I can populate a table with the columns i need from the resulting dataset, however it is not dynamic. i.e.

The dataset field names come up as say,

Measures___Vacancy_Time_All_Time_2007_2007_Q1
Measures___Vacancy_Time_All_Time_2006_2006_Q4

Which i can place in the report...

But if I then want to parameterize [2007 Q1] like as follows




Code Block
="SELECT NON EMPTY { { { [Measures].[% Vacancy], [Measures].[Total Square Area], [Measures].[Deliveries], [Measures].[Net Absorption] } * { [Time].[Quarter].[" + Parameters!Quarter.Value + "], [Time].[Quarter].[" + Parameters!Quarter.Value + "].lag(1), [Time].[Quarter].[" + Parameters!Quarter.Value + "].lag(2), [Time].[Quarter].[" + Parameters!Quarter.Value + "].lag(3), [Time].[Quarter].[" + Parameters!Quarter.Value + "].lag(4), ytd( [Time].[Quarter].[" + Parameters!Quarter.Value + "]), ytd( [Time].[Quarter].[" + Parameters!Quarter.Value + "].lag(4)),ytd([Time].[Quarter].[" + Parameters!Quarter.Value + "].parent.lag(1)),ytd([Time].[Quarter].[" + Parameters!Quarter.Value + "].parent.lag(2)) } } } ON COLUMNS ,NON EMPTY { DESCENDANTS( [Location].[All Location], [Location].[Market] ) } ON ROWS FROM [QMS] WHERE ( [Overall].[Overall].&[Y] )"





so that everything is then driven from a single selected Quarter value, the table report no longer gets populated, as it has hardcoded field values such as

=Fields!Measures___Vacancy_Time_All_Time_2007_2007_Q1.Value

and if the Quarter selected is [2006 Q1] for example, this field will not exist in the dataset.

Is there a way to accomplish this? I am using SSRS 2005 against SSAS 2000 cubes

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved