Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9224597
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T04:21:44+00:00 2026-06-18T04:21:44+00:00

I have a plain asp.Net page that contains a CrystalReportViewer. I use the following

  • 0

I have a plain asp.Net page that contains a CrystalReportViewer. I use the following code to in the Page_Load method to display a report:

ReportDocument report = new ReportDocument();
                    TableLogOnInfos crtableLogoninfos = new TableLogOnInfos();
                    TableLogOnInfo crtableLogoninfo = new TableLogOnInfo();
                    ConnectionInfo crConnectionInfo = new ConnectionInfo();
                    Tables CrTables;

                    report.Load(Server.MapPath("Reports\\" + Request.Params[0]));

                    crConnectionInfo.ServerName = ConfigurationManager.AppSettings["ReportSQLServer"];
                    crConnectionInfo.DatabaseName = ConfigurationManager.AppSettings["ReportSQLDatabase"];
                    crConnectionInfo.UserID = ConfigurationManager.AppSettings["ReportSQLUsername"];
                    crConnectionInfo.Password = ConfigurationManager.AppSettings["ReportSQLPassword"];

                    CrTables = report.Database.Tables;
                    foreach (CrystalDecisions.CrystalReports.Engine.Table CrTable in CrTables)
                    {
                        crtableLogoninfo = CrTable.LogOnInfo;
                        crtableLogoninfo.ConnectionInfo = crConnectionInfo;
                        CrTable.ApplyLogOnInfo(crtableLogoninfo);
                    }

                    Session["Report"] = report;
                    rptViewer.ReportSource = report;
                    rptViewer.RefreshReport();

However, no matter what report I load, it displays as follows:

This is how it displays

When I use the exact same logic in a WinForms app to populate a CrystalReportsViewer there, the report displays as expected.

Please advise as to what I am missing in the asp.net web form to make the report display correctly.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T04:21:46+00:00Added an answer on June 18, 2026 at 4:21 am

    I have same issue in IE10,Vertical stripes are displaying instead of data in reportviewer in IE10 browser mode.

    Solution is to switch “IE10 Compatibility mode”, everything is working fine

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

On my C# asp.net webform I have a search page that has roughly 20
I ran an ASP.NET page that i have under development on my local IIS.
I have a dynamically created TextBox in a C#/ASP.NET web page that I want
I have an ASP.NET page that uses the MySQL.NET library to access a MySQL
I have problems binding both a telerik RadGrid and a plain vanilla ASP.NET GridView
so I have a function that exports some data async via asp.net and displays
I have an ASP.NET 2.0 page with many repeating blocks, including a third-party server-side
I have an ASP.NET MVC 3 action method which accepts a HttpFileCollectionBase in the
I have a ASP.NET bulleted list control that, until today, was created and used
I have a WCF service in an ASP.NET AJAX app that is returning json.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.