Advertisement

03.23.2004 at 07:27AM PST, ID: 20928849
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

6.0

Failed to open a rowset.

Asked by pmcgivern in Crystal Reports Software

Tags: , ,

I have a crystal report which I created to show details from one table on a database. I am using the crystal viewer on an ASP.Net page to view the report and it works fine until I switch to a different database. I want to use the same report to look at both databases - one of which is our test server - and not have to maintain 2 copies of the report pointing to each server.  Here is the code I have now:

Dim myreport As New CrystalDecisions.CrystalReports.Engine.ReportDocument
Dim i As Integer
Dim logOnInfo As New CrystalDecisions.Shared.TableLogOnInfo

myreport.Load(Server.MapPath("Reports/TestReport6.rpt"))

' Loop through every table in the report.
For i = 0 To myReport.Database.Tables.Count - 1
    ' Set the connection information for current table.
    logOnInfo.ConnectionInfo.ServerName = "servername"
    logOnInfo.ConnectionInfo.DatabaseName = "dbname"
    logOnInfo.ConnectionInfo.UserID = "userid"
    logOnInfo.ConnectionInfo.Password = "password"
    myReport.Database.Tables.Item(i).ApplyLogOnInfo(logOnInfo)
Next i

myreport.Refresh()

CRV1.ReportSource = myreport
CRV1.Visible = True

CRV1 is the crystal viewer.  when I use server1/db1 on which the report was developed it is fine but when I change to server2/db2 - a copy of the first database with all of the same users, permissions, etc, I get this error:  Failed to open a rowset.

[InternalException: Failed to open a rowset.]
   .I(String , EngineExceptionErrorID )
   .D(Int16 , Int32 )
   .C(Int16 )
   CrystalDecisions.CrystalReports.Engine.FormatEngine.GetPage(PageRequestContext reqContext)
   CrystalDecisions.ReportSource.LocalReportSourceBase.GetPage(PageRequestContext pageReqContext)
   CrystalDecisions.Web.ReportAgent.u(Boolean a)
   CrystalDecisions.Web.CrystalReportViewer.OnPreRender(EventArgs e)
   System.Web.UI.Control.PreRenderRecursiveInternal()
   System.Web.UI.Control.PreRenderRecursiveInternal()
   System.Web.UI.Control.PreRenderRecursiveInternal()
   System.Web.UI.Page.ProcessRequestMain()


Any ideas what is wrong with this?Start Free Trial
[+][-]03.23.2004 at 07:32AM PST, ID: 10658305

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.23.2004 at 07:42AM PST, ID: 10658404

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.23.2004 at 08:17AM PST, ID: 10658749

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.23.2004 at 08:39AM PST, ID: 10658990

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.23.2004 at 08:54AM PST, ID: 10659159

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.23.2004 at 09:24AM PST, ID: 10659514

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Crystal Reports Software
Tags: open, failed, rowset
Sign Up Now!
Solution Provided By: Krelek200
Participating Experts: 5
Solution Grade: B
 
 
[+][-]03.23.2004 at 09:25AM PST, ID: 10659532

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.23.2004 at 09:41AM PST, ID: 10659673

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.24.2004 at 04:31AM PST, ID: 10666999

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.20.2004 at 07:36PM PDT, ID: 10874606

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.21.2004 at 01:29AM PDT, ID: 10876156

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.21.2004 at 08:35AM PDT, ID: 10879484

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.21.2004 at 09:11AM PDT, ID: 10879958

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.22.2004 at 01:22AM PDT, ID: 10886547

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.10.2004 at 07:25AM PDT, ID: 12027034

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.11.2004 at 06:26AM PDT, ID: 12034193

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20081112-EE-VQP-42