SSRS 2012 problem with excel export

Hello
I updated SSRS 2005 up to SSRS 2012. When I exported report in excel (xlsx)  I got following warning :
"We found a problem with some conent in 'filnename.xlsx'.Do you want to try to recover as much as we can? if you trust the source of this workbook,click yes"
After Pressing Yes Button
"REpaired Recors: Cell information from .xl.worksheets.sheet1.xml port"
15
0.00000000000000000000 this is in string format instead decimal
2
0.00000000000000000000
This heppens if i have decimal(38.20) variable in table and record value is 0.
To avoid this problem i must change report and use this expression
=IIF(Fields!SomeValue.Value = 0, 0, Fields! SomeValue.Value)
for value in report, but this is not sulution for me because we have more then hundred reports.
Is any other solution?

Hi LashaGurgenidze,
The issue seems to be related to the Excel 2010 or the Excel 2007-2010 rendering extension in SSRS 2012. If possible, I suggest that you keep the Office 2010 and the SQL Server 2012 up to date, and check the issue again.
In order to solve the issue, we can enable the Excel 2003 rendering extension in SSRS 2012, and use this render when exporting to Excel. We can modify the EXCEL render extension in the rsreportserver.config file as follows:
<Extension Name="EXCEL" Type="Microsoft.ReportingServices.Rendering.ExcelRenderer.ExcelRenderer,Microsoft.ReportingServices.ExcelRendering"/>
Then, the Excel 2003 render extension will be available in the Export drop-down list.
By default, the file is located in: C:\Program Files\Microsoft SQL Server\MSRS11.MSSQLSERVER\Reporting Services\ReportServer. Before we modify it please backup the rsreportserver.config file.
Regards,
Alisa Tang
Alisa Tang
TechNet Community Support

Similar Messages

  • Problem with Excel export

    Hi!
    I am trying to export data from datagrid to Excel. Export goes just fine, but the page I make the export from stops responding. I.E. pressing the export button again won't do anything. After reload (by pressing F5) page it works normally until the next export. I made a simple code example that demonstrates the problem:
        public class ExcelTesti : System.Web.UI.WebControls.WebParts.WebPart
            Button excelButton = new Button();
            public ExcelTesti()
                this.ExportMode = WebPartExportMode.All;
            protected override void Render(HtmlTextWriter writer)
                excelButton.RenderControl(writer);
            protected override void CreateChildControls()
                excelButton.Text = "To Excel";           
                this.Controls.Add(excelButton);      
                excelButton.Click += new EventHandler(m_button_Click);
            protected void m_button_Click(object sender, EventArgs e)
                this.Page.Response.Clear();
                this.Page.Response.AddHeader("content-disposition", "attachment;filename=PIexport.xls");
                this.Page.Response.Cache.SetCacheability(HttpCacheability.NoCache);
                this.Page.Response.ContentType = "application/vnd.ms-excel";
                Page.Response.BufferOutput = true;
                this.Page.Response.Buffer = true;
                EnableViewState = false;
                this.Page.Response.Charset = "";
                StringWriter strW = new StringWriter();
                HtmlTextWriter htmlw = new HtmlTextWriter(strW);
                htmlw.RenderBeginTag(HtmlTextWriterTag.Table);
                htmlw.RenderBeginTag("tr"); //Add a row
                htmlw.RenderBeginTag("td"); // Add a cell
                htmlw.Write("Test");
                htmlw.RenderEndTag(); //End of the cell tag
                htmlw.RenderEndTag(); //End of the row tag
                htmlw.RenderEndTag(); //End <Table>           
                this.Page.Response.Write(strW.ToString());
                Page.Response.Flush();
                Page.Response.End();
    I found some threads with the same problem, but no solutions that helped me. For example
    http://forums.microsoft.com/TechNet/ShowPost.aspx?PostID=1572942&SiteID=17
    http://forums.microsoft.com/TechNet/ShowPost.aspx?PostID=1369245&SiteID=17
    There must be some way to do this. I have seen web parts that do this right.
    Can anyone help me?
    Antti

    Hi,
             I am facing with the same issue. I think it is absolutely with Response.Clear(), which removing all the events and hence page is not reepsonding to any event.
             I have a deployed a custom- webpart in to a sharepoint site, which is consisting of a summary html table, button control and Export to Excel button. Every thing is working except events are not fired after export to excel button is clicked. The code inside the export to excel is
    Export to Excel Click event code:
    Me.Page.Response.Clear() 'clear the response before writing excel stream
    Me.Page.Response.ContentType = "application/vnd.ms-excel" 'set the response contenttype as excel
    Me.Page.Response.Charset = String.Empty 'set response charset as string
    'get the filename to be displayed on the response stream
    'specifying the response stream as an attatchment in the header [to open the excel file in the seperate window]
    Me.Page.Response.AddHeader("Content-Disposition", "attachment;filename=test.xls")
    'write the content on to the screen
    Me.Page.Response.Write(sbExcelString.ToString()) 'writing excel stream in the form of string
    'end the response once done [otherwise unnecessary conent will be appended at the end of the excel file]
    Me.Page.Response.End()
    I think somewhere the issue with Response.Clear or Response.End.
    As you said there is a remedy for this, but i cant use that remedy because i cannot use a new page becauce my code is entirely in to a custom control and i should not depend on any aspx page.
    Please help out in solving this issue in the same custom control click event itself.
    I think there is a solution, only thing how to attach the events when we use Response.Clear or Response.End method [but i dont know how do i do this].
    Thanks in advance for your helpful message.
    Mukthesh.

  • Many problems with the 'Export to Text' (.txt) in CR Xi

    Hi,
    I have listed many problems with the 'Export to Text' (.txt) function of CR Xi.
    These problems are related to this export format only (meaning everything works fine in the Viewer or in the 'Export to PDF')...
    - Multi-columns layout do not export as Multi-column (export only a one column);
    - Numeric values with parenthesis for negative values or with a fix currency sign at the leftmost position are not exported correctly;
    - Fields having a Suppress formula which is "WhilePrintingRecords" do not appears when exported;
    - Fields with 'Suppress double value' checked are not always suppressed when exported to Text.
    - 'Keep Group Together' flag is not working.
    - 'Reset Page Number After' simply does not works when exported to text;
    - 'Keep object together' on TextBox/Section is not working.
    - Whenever a group is ending on the last line of a page, the the following page as the same Group header as the previous group with no records until the page is filled, then the PageBreak and PageHeader is missing but the records of the following group appears.
    I would like to know what is the status of the 'Export to Text' function (is it a deprecated function not supported anymore???).
    If still supported, when will these bugs be fixed???
    Thanks

    Hi Rene
    Export to Text is supported till date. Crystal Reports 2008 also supports this with Keep together working however when I tried with format with multiple columns, it didnot show up in the exported text file.
    Regards
    Sourashree

  • Problem with Excel output format

    Hi Guys,
    I am creating a report in XML Publisher (not standalone). I am facing some problems could anyone please help me to figure out the issues.
    Is it possible to have all three output format (PDF, HTML & EXCEL) exact (same aligned) only by creating a single RTF Template? I am facing the problem with Excel output format the output format of excel is taking excels cell formatting.
    Example Numeric fields --> Right Aligned, text fields --> Left Aligned
    One more issue with excel is -ve(negative) values are getting displayed in red and in brackets like ($13) (with red color).
    Our client want excel output on priority.
    Is there any limitation for excel output format of reports?
    It is very urgent for us please help.
    Any help would be highly appreciated.
    Thanks,
    Pragati
    Edited by: user11237443 on Aug 27, 2009 1:22 AM

    Hi Mahi,
    Thanks for your response. But i could not understand how can we write wrapper program could you please give some light on this or provide some link it would be helpful for me:-)
    I have read that blog for excel limitations but i have more question?
    1) What about the negative values?
    if any field is displaying negative amount then excel not displaying right value for that:(
    2)How can we align header or data?
    Do XMLP with EBS provide any solution for formatting in excel?
    3) If for the alignment of numeric value we concatenate them with any special character then how can we perform calculation that field?
    Here are so many formatting issues do we need to write any code in xml for that?
    Please help.
    Many Thanks,
    Pragati

  • SSRS 2012 integrated with Sharepoint 2013, subscription and impersonation

    Hello,
    We are configuring SSRS 2012 integrated with Sharepoint 2013. The reports are connecting to SSAS cubes via shared Datasources. We have defined user based roles and security in the cubes and would like to pass the effective username to the cubes when they
    access data via reports.
    Also we need to create subscriptions on these reports to run on either daily/weekly or monthly schedule and send email to a list of users.
    How do we configure our Datasources on sharepoint so both could be acheived.
    Our Database and Sharepoint are on different servers.
    Thanks
    Deepak

    Hi Deepak
    For your first question:
    while configuring the datasource in SharePoint, check the option 'Set execution context to this account' in the settings. This will pass the effective user name to the cubes.
    Thanks
    Bala

  • Issue with connection SSRS reportviewer control to SSRS 2012 integrated with SharePoint 2010...

    Hi,
    I have a .NET application that uses SSRS ReportViewer 2012 control to render reports deployed on SSRS 2012 integrated with SharePoint 2010. I am getting error "the report execution '' has expired or not found". The same code works when I connect
    to SSRS 2008 R2 integrated with SharePoint 2007. I investigated the issue and it seems the JavaScript that pings the SSRS server before it expires is missing from rendered HTML.
    Let me know if there is a way to fix this issue.
    following is the code:
    ASPX:
    <formid="form1"runat="server">
    <rsweb:ReportViewerAsyncRendering="true"  
    KeepSessionAlive="true"ID="test"runat="server"></rsweb:ReportViewer>
    <asp:scriptmanagerrunat="server"></asp:scriptmanager>
    </form>
    Code Behind:
    if(!IsPostBack)
    this.Session.Clear();
            test.Reset();
            test.ProcessingMode =
    ProcessingMode.Remote;
            test.KeepSessionAlive =
    true;
            test.ServerReport.ReportServerUrl =
    newSystem.Uri("https://webappname/_vti_bin/reportserver/");
            test.ServerReport.ReportPath =
    https://webappname/RS_Reports/REportEngineTest.rdl;
    ReportServerCredentialscred =
    newReportServerCredentials();
                test.ServerReport.ReportServerCredentials = cred;
    report server credentials:
    publicICredentialsNetworkCredentials
    get
    // Use default identity.
    returnnewNetworkCredential("user",
    "pwd",
    "domain");

    What's the meaning of webappname, are you mean the sharepoint site?
    I think this issue can be caused by the incorrect url. You can refer to the following link:
    http://msdn.microsoft.com/en-us/library/ms154497(v=sql.110).aspx
    Familyabc

  • TPC 2012 - Problems with shared variable

    Hi,
    I tried to program simmilar thing to this one http://zone.ni.com/devzone/cda/tut/p/id/5548 on TPC 2012. But it doesn't work.I can see that both programs on my laptop and TPC are working(I've added an additional counter with display), but I cannot see any effect on TPC when I change the value of shared variable on my laptop. I use LabView 8.6 with Touch Panel Module. My question is what are the exact steps to run such application on TPC2012? Are they the same as for TPC 2006?
    I've noticed following issues:
    1.I cannot deploy the program from Project Manager(there is an information that maybe TPC Service is not started. - I've found such information about TPC Service http://digital.ni.com/public.nsf/allkb/DE177828D27A14A48625734E00768B66 but in fact I cannot find Start » All Programs»National Instruments » NI TPC Service » NI TPC Service Manager 1.0 Does it mean, that the TPC Service is not installed and the programm with shared varibles won't be working or can I start it somehow in another way? Do I need to have TPC service installed on TPC2012?
    Until now, I've built the project and sent it through FTP to TPC(the folder was /TEMP) and then started it.
    2.Ping works OK
    Thank you in advance for any hints how to solve this problem.
    Martin

    Well no problem, but I'm frustrated with this issue... I've tested many things and nothing. Just to help someone else as I in the future, these are my sources:
    http://forums.ni.com/t5/LabVIEW/TPC-2012-Problems-with-shared-variable/m-p/1009631/highlight/false#M...
    http://digital.ni.com/public.nsf/allkb/28536DE7E2D9E98B8625770B00738920?OpenDocument
    http://zone.ni.com/reference/en-XX/help/372507B-01/lvtpcgsm/tpc_install_sharvar/
    http://zone.ni.com/reference/en-XX/help/372507C-01/lvtpcgsm/tpc_install_sharvar/
    http://digital.ni.com/public.nsf/allkb/23532363F4905EC28625727A00730B80?OpenDocument
    http://forums.ni.com/t5/FieldPoint-Family/TPC-2006-Not-Listed-in-Targets-and-Devices/td-p/566325
    http://forums.ni.com/t5/LabVIEW/MAX-can-t-detect-TPC-2106T/td-p/831524
    http://zone.ni.com/devzone/cda/tut/p/id/5868
    http://digital.ni.com/public.nsf/websearch/28B748B9697B79E18625725A00009066?OpenDocument
    http://digital.ni.com/public.nsf/websearch/D1726990DCEB82E4862570F20069C57D?OpenDocument
    http://digital.ni.com/public.nsf/allkb/3B469103BBDD4CE48625726000665B36
    I hope find some hint..
    Fabian León
    Certified LabVIEW Associate Developer

  • Problem with CR exporting and Excel formatting/merging

    I'm currently running Visual Studio 2008 (Version 10 of CR).  We have a Winforms application that runs various crystal reports  I can't say there's anything particularly sophisticated about it.  Just slap the report in a viewer, pass in the parameters, and run.  As I've mentioned elsewhere I have not done much with CR (or Excel for that matter).
    The problem is this.  Our client is exporting certain reports to Excel, the 'full' version if that's the right term, not the data only option.  The first field on every line of the detail is a text object consisting of several fields, concatenated.  These fields combined form an ID number that we want to sort by.  Unfortunately, so they tell me, this is currently impossible because in the export, the number occupies two columns and they are not merged.  (Actually it doesn't look like any of the report columns bear any relation to any of the Excel columns.)
    I always thought Excel export was one of those black box extras. 
    Now I have to ask, is there any way to customize it, programmatically or otherwise?  (Am I overlooking any options?)
    (Digging a bit deeper, could there be something in the CrystalDecisions API that I could use?  Not sure I see anything useful in the ExcelExportOptions object yet.)
    Edited by: BChernick on Jul 8, 2011 3:09 PM

    [SAP Crystal Reports Design|SAP Crystal Reports; forum.
    - Ludek
    Edited by: Don Williams on Jul 8, 2011 11:05 AM

  • PROBLEM IN EXCEL EXPORT. URGENT!!!!!

    hi all,
    I have requriment acco to which i need to download or export the content of the table UI element to excel 2003. I used the a excel export application, but facing problem like. in the below mentioned method name, how are the parameters
    1) com.sap.tc.webdynpro.progmodel.api.IWDNode
    2)java.util.map
    has been taken, i am not able to get this in my application where i need to use this method.
    or is there any other method by which i can export my table data to excel2003. please this really urgent requirment.
    public void exportToExcel2003( com.sap.tc.webdynpro.progmodel.api.IWDNode
    dataNode, java.util.Map columnInfos )
    REGRADS
    SHARAN
    Edited by: saisharan kalla on Dec 20, 2007 6:01 AM

    Hi Sharan,
                    What exactly is the problem u r facing with those parameters??
    U can use this method also for excel export
    /people/subramanian.venkateswaran2/blog/2006/08/16/exporting-table-data-to-ms-excel-sheetenhanced-web-dynpro-binary-cache
    U can check with this also
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/webDynproJava-ExportingTableDataUsingOn-DemandStreams-SAPNW+7.0&
    regards
    Sumit

  • BI 7 Web Templates: Problems with csv-export

    Hi all,
    I am aware that a csv-export out of a web template is associated with excel, meaning that the export in csv opens in excel.
    Nevertheless my problem is, that in the course of the export process several blank columns are inserted.
    So when I afterwards open the file with the "windows editor" for example I have a result like
    PLZ;;;45133 where I expected
    PLZ;45133
    Has anyone an idea?
    Best regards
    Mark

    Hello,
    Is there a hierarchy involved?
    If yes, then the blank spaces are inserted due to the hierarchy. When the hierarchy is drilled down, the blank spaces are inserted to show the hierarchy structure. Unfortunately, this is standard and cannot be changed using standard BW functionality.
    Thanks,
    Michael

  • SSRS 2012 compatibility with Oracle 11g

    Hello,
    I have a client that is asking us to implement SSRS 2012 to report on our data warehouse.  We currently support Oracle 11g in our DW.
    We have tried to connect to 11G using a trial version but have failed in all attempts.  In looking at the Microsoft documentation it states that Oracle 10G is the latest version supported.
    Is anyone using 11g with SSRS 2012?  Would really like to know if it works before purchasing the software.
    Thanks,

    To find an article, go to My Oracle Supprt (formerly metalink) metalink.oracle.com and login. Then search for the article ID (doc no).
    https://support.oracle.com/CSP/ui/flash.html#tab=KBHome(page=KBHome&id=()),(page=KBNavigator&id=(bmDocTitle=Starting%20With%20Oracle%20JDBC%20Drivers&from=BOOKMARK&viewingMode=1143&bmDocType=FAQ&bmDocDsrc=KB&bmDocID=401934.1))
    Somehow it's not easy to paste the URL to the new flashy documents!

  • Problem with PDF export and embedded font (characters disappear)

    Designer: Crystal Reports 2008 SP 2
    Engine: CR4E 2.0 SP2 (runtime_12.2.203)
    Hi there!
    we found a problem in the pdf export. It seems like there would be a problem with the embedded fonts, the problem is as follows:
    Rpt file with, for example only a text box which contains the german string " Änderungs Schlüssel ".
    Export the Rpt file with CR4E to a pdf file.
    When we open the pdf file in Adope Reader 8, the text appears to be correct,
    but if we print the PDF file from the Adope Reader, the text changes to " nderungs Schl sselu201C,
    here we are missing ther german umlaute.
    When we open the file for example with an alternative PDF reader like Foxit Reader, there they are also missing.
    After i found some posts here in the forum, there are people facing the same problem, since i couldn't find a solution in the forum, we build a little workaround for it that works for us.
    For all of you that have the same problem here the workaround:
    We used the IText JAVA library, this jar can can help as to fix the PDF file so the text is displayed correctly.
    Here the code:
    ReportClientDocument doc = new ReportClientDocument();
    doc.setReportAppServer(ReportClientDocument.inprocConnectionString);
    doc.open("C:\XY.rpt", OpenReportOptions._openAsReadOnly);
    //... database logon,.....
    InputStream inputStream = doc.getPrintOutputController().export(ReportExportFormat.PDF);
    inputStream = PDFHealer.heal(inputStream);
    //... write the stream some where

    The helper class using IText:
    import java.io.ByteArrayInputStream;
    import java.io.ByteArrayOutputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import com.lowagie.text.Document;
    import com.lowagie.text.DocumentException;
    import com.lowagie.text.pdf.PdfContentByte;
    import com.lowagie.text.pdf.PdfImportedPage;
    import com.lowagie.text.pdf.PdfReader;
    import com.lowagie.text.pdf.PdfWriter;
    public class PDFHealer
       public static InputStream heal(InputStream in) throws DocumentException, IOException
          try
             ByteArrayOutputStream out = new ByteArrayOutputStream();
             PdfReader reader = new PdfReader(in);
             // we retrieve the total number of pages
             int n = reader.getNumberOfPages();
             // step 1: creation of a document-object
             Document document = new Document();
             // step 2: we create a writer that listens to the document
             PdfWriter writer = PdfWriter.getInstance(document, out);
             // step 3: we open the document
             document.open();
             // step 4: we add content
             PdfContentByte cb = writer.getDirectContent();
             int i = 0;
             while( i < n )
                document.newPage();
                i++;
                PdfImportedPage page1 = writer.getImportedPage(reader, i);
                cb.addTemplate(page1, 0, 0);
             // step 5: we close the document
             document.close();
             ByteArrayInputStream ret = new ByteArrayInputStream(out.toByteArray());
             out.close();
             return ret;
          finally
             in.close();

  • HDMI On Mac Mini Late 2012: Problem with hardware?

    Just converted from PC to Mac.
    Purchased latest mac mini (Late 2012 version)
    Have tried several monitors through HDMI port and each time the picture quality is poor with very bad text resolution.
    Have tried HDMI to HDMI  and also tried HDMI to DVI adaptor.
    This is with full 1080p 27 inch samsung monitor and HP 2010i monitor.
    Is there a problem with the HDMI port on this new mac mini?
    The monitors I have are fine and are crystal sharp when connected to PC.
    Many thanks if you can answer this

    OK. So I have now tried LG 27 Inch E2742 Monitor as follows:
    1) Mini display to DVI-D : Picture good with decent text resolution
    2) HDMI-HDMI: Picture poor with poor colour and text resolution. This is not a calibration issue.
    The samsung monitor 27 inch series 3 also has poor picture and colour and text resolution with HDMI-HDMI. Again this is not a calibration issue. It does not have a DVI-D input to test the minidisplay port.
    So it seems the HDMI port is not working properly but the minidisplay one is ok as I suspected.
    From reading the other threads it seems this is a common problem including those people that have taken their minis back for an exchange and experienced same problem.
    Is there likely to be a software update to resolve this?

  • Imac late 2012 problems with motu ultralite mkIII through thunderbolt to firewire

    first - hi @all users here in the forum.
    i have a really curious problem with my audio configuration. at first i must say the audio-config. with my macbook pro (mid 2010) and my imac (early 2008) works fine without problems by using firewire.
    but not on my imac (late 2012). there is a static, high frequently noise on my monitors. and i don't find the reason for that problem. i have delete alle the audio drivers and make a fresh install. reset the nvram and pram with holding the power key and so on. two weeks ago i have contacted apple care and send the imac to the next service provider. first i think for a defect power-supply. but the provider located only a defect ram. they change it and send me the imac back.  but nothing has changed. if i heard about the defect ram from the provider i know this couldn't never ever the reason for that problem.
    i hope anyone can help a little bit by this problem...thank you.
    here is my hardware setup:
    - imac late 2012,"27 3.2ghz core i5 processor, 8 gb ram, 1tb fusion drive (osx 10.8.5)
      -> connected over the thunderbolt to firewire adapter to
       - the motu ultralite mkiii
         -> connected to the yamaha hs80 with balanced cables

    the static, high frequently noise on the right is stronger than on the left.

  • Indesign CS5 - Problems with PDF-Export

    Hello community,
    we do have a problem with Indesign CS5 and exporting data into PDF. It is about that logo on that white surface, which doesnt come along with the rest after the pdf-export. What we did was: We created that white surface in Indesign itself, put an effect on it with the Indesign effect gallery and then imported the logo in the surface ... the logo itself is .psd data. So, if we export it into pdf like that, it is just dissapeared. Does anyone have had a similar problem and what can be done about it?
    By the way ... if you put, for example, a simple backgroundshadow on a picture ... done also with the Indesign effect gallery, then you get just a white surface instead of the shadow, after the export into pdf. It does maybe correlate with the other problem ... not sure. Any suggestions?
    Thank you very much for your help and kind regards ...

    I would create the entire logo, including the white background, in Illustrator, save as PDF and place that in ID.

Maybe you are looking for

  • How to link Cost center and Work center?

    Hi All, We have a list of Work centers and the corresponding Cost centers. We need to know which tables can be used to connect the Work center with its corresponding cost center? Thanks: Siddharth

  • Find my iPad with 3G but not signed up for service

    Hi, Has anyone been able to get the "Find my iPad" feature from MobileMe to work on a 3G iPad that isn't signed up for 3G service? I supposed I should just enable my 3G, but I wasn't going to bother until I needed to use my iPad outside of WiFi areas

  • Safari cannot make a secure connection to Google or Youtube--but only on my home network

    Recently, when I am on my home network, I cannot connect to Google or Youtube.  When I try to, I get an error message that says that Safari can't make a secure connection to the site.  (I can connect to these sites with Firefox at home though)  Howev

  • NullPointerException from across the bridge

    Hi, I have a pretty complicated setup. I am using the api exposed by webobjects(Application server from Apple) iin my javabean which communicates with the server to get some data. after packaging all the required classes in the bean i tried to use it

  • Central System Administration in Workcenter - Remote Logon Issue

    Hi, We have a problem in our Solution Manager and we would like to know if is possible to fix it. We have configured Central System Administration correctly for our satellite systems. We have configured some tasks and we are able to do remote logon t