Showing posts with label charts. Show all posts
Showing posts with label charts. Show all posts

Tuesday, March 27, 2012

excel export /collapsed fails to render excel file

Trying to render a report that has three groups two expand and collapse and
have charts. The first attempts to render were successful but all later ones
fail. And excel produces the following message:
Microsoft Office Excel File Repair Log
Errors were detected in file 'C:\Documents and Settings\johnsond\Local
Settings\Temporary Internet
Files\Content.IE5\UT38LWFQ\CustomerSalesByPartType[2].xls'
The following is a list of repairs:
Damage to the file was so extensive that repairs were not possible. Excel
attempted to recover your formulas and values, but some data may have been
lost or corrupted.
Can anyone help with this?DJJIII,
I wish I were writing with a solution (as I also am getting the annonying
"damage too extensive" message in excel.) I have an MSDN subscription, so we
should get a MS reply. I will repost under the subject: "Damage to file
message when exporting to excel" for good measure.
The interesting thing in my case is that I have a fairly complex report with
many charts and tables. My "top level" report throws this excel error.
However, if I add parameters ("drill down report") the structure of the
report is exactly the same with charts and tables, just less (or different)
data and then it renders fine. I am not using groups at all, so I don't
think the issue is directly related to your use of groups.
My guess is there is some data-related issue as our same report (both
top-level and drilldown) with different data works fine.
Our report actually is a collection of 10 or so subreports, so I will be
doing a little debugging by removing subreports to see if I can identify the
subreport or data that is causing the issue.
-David
"DJJIII" wrote:
> Trying to render a report that has three groups two expand and collapse and
> have charts. The first attempts to render were successful but all later ones
> fail. And excel produces the following message:
> Microsoft Office Excel File Repair Log
> Errors were detected in file 'C:\Documents and Settings\johnsond\Local
> Settings\Temporary Internet
> Files\Content.IE5\UT38LWFQ\CustomerSalesByPartType[2].xls'
> The following is a list of repairs:
> Damage to the file was so extensive that repairs were not possible. Excel
> attempted to recover your formulas and values, but some data may have been
> lost or corrupted.
> Can anyone help with this?
>

Friday, March 23, 2012

Excel as a data mining client

Can I use MS Excel to generate the diagrams and charts that are being generated in your data mining project when you use VS.NET 2005? If so, how? I am trying to bring this technology to marketing people the simplest way possible without having to create my custom application. They just love the graphs, diagrams, and charts generated by VS.NET 2005 when you create data mining projects but I don't want to install it as client tools to my end users. Besides, these are not tech people but marketing staff.There is no direct way. You would have to write your own code to get the results into Excel. We will be releasing samples, but we don't have any plans to have any custom charting in Excel.

The controls we ship with VS will have a redist package at RTM. These are Winform controls and could be wrapped as ActiveX controls to be put in Excel, but we personally haven't tried it as of yet.

If you like writing code, I would recommend looking at the thin client viewer samples to see how they are put together. Then you can replicate the same behavior in Excel however is convenient for you.|||

Using VS 2005 and the Visual Studio Tools for Office you can very easily create an XL workbook or Word doc and in Visual studio drag .Net controls from the toolbox out onto the document. It is very simple since they do all the work of wrapping up the control in an ActiveX wrapper, and you can write managed code behind the events using VB.Net or C# etc. It’s really slick. I haven’t yet tried with our viewer controls yet though. It should work if you add the necessary references to your project (File | New | Project | Visual C# | Office | Excel Workbook) for example.

Hope that helps.

Scott Oveson
Microsoft SQL Server Analysis Services
Data Mining Tools

This posting is provided "AS IS" with no warranties, and confers no rights.

sql