Solved

.XSD file updates not being seen in a report

Posted on 2013-12-24
5
235 Views
Last Modified: 2014-01-05
I have created a report using SQL Server 2008 R2 in VS2010 that uses a TableAdapter in an XSD file created within VS. Now when I change the query in the table adapter, the changes don't seem to be applied to the report. Is the XSD query information being cached somewhere?
0
Comment
Question by:steve_webber
  • 3
  • 2
5 Comments
 
LVL 26

Expert Comment

by:Kurt Reinhardt
ID: 39740325
You probably need to to a "Verify Database" in Crystal Reports to pull in the latest changes to the file.  Crystal Reports expects table structure to remain consistent, so if changes have occurred you need to confirm them.  Within the standalone copy of Crystal Reports, it's a simple matter of using the menu Database|Verify Database.  There may be a similar function in the VS2010 version.
0
 

Author Comment

by:steve_webber
ID: 39740466
I am not using Crystal Reports (although I'm not sure what technology is embedded in Visual studio). I'm just using the built-in capabilities of VS. I have refreshed the database information that VS has read from the server. You may be right in that there may be another way to refresh the definition file, but I have not been able to find it.
0
 
LVL 26

Expert Comment

by:Kurt Reinhardt
ID: 39740476
sorry about that, this came up in my list of neglected questions and I'm a Crystal Reports expert. I just assumed it was a question regarding the VS2010 version of Crystal Reports.
0
 

Accepted Solution

by:
steve_webber earned 0 total points
ID: 39748617
I have found the problem here. The problem was that the Dataset used when defining a report is not used when executing the report for display purposes. You need to explicitly specify a dataset at report display time.
0
 

Author Closing Comment

by:steve_webber
ID: 39757138
This explains the behavior well.
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
asp enable view state 1 33
asp.net mvc5 6 29
insert value of checklistbox checked 4 38
ASP.net Markup for Sub Menu 2 39
Hi, I am very much excited today since I'm going to share something very exciting Tool used for Analytical Reporting and that's nothing but MICROSTRATEGY. Actually there are lot of other tools available in the market for Reporting Such as Co…
Objective of This Article In 1990’s, when I was a budding software professional, I had a lot of confusion about which stream or technology, I had to choose to build my career. In those days, I had lot of confusion like whether to choose System so…
The purpose of this video is to demonstrate how to add AdSense Ads to a WordPress Website, and how to set up WordPress to automatically place Ads in Sidebars. This will be demonstrated using a Windows 8 PC. Log into your AdSense account. : Cli…
The purpose of this video is to demonstrate how to prevent comment spam on a WordPress Website. This will be demonstrated using a Windows 8 PC. Plugin Akismet will be used. Go to your WordPress login page. This will look like the following: myw…

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question