- May 18, 2001
- 7,862
- 354
- 126
I have an application I wrote that has worked well for 2-3 years, but suddenly the people who are using it have a case where it is failing for unknown reasons.
The part that is failing is a Crystal Reports report that is being displayed inside a viewer that I wrote with managed C++. The first two pages of the report work fine, but attempting to display the 3rd page results in this message: "Failed to retrieve a rowset". This report works completely fine on every set of data they run it against, except for this most recent one. To deepen the mystery, this error only occurs when a normal user attempts to run the report. When I run the report under my administrator account, everything works as expected.
The page of the report in question has 3 separate SQL statements. By running a trace I know which of the 3 statements is causing the error. I can't display it on a public forum because of our company security policy, but it is a very straightforward and simple SELECT statement that calls two user-defined functions I created.
Does anybody have any ideas? If you need clarification on anything, please ask me.
The part that is failing is a Crystal Reports report that is being displayed inside a viewer that I wrote with managed C++. The first two pages of the report work fine, but attempting to display the 3rd page results in this message: "Failed to retrieve a rowset". This report works completely fine on every set of data they run it against, except for this most recent one. To deepen the mystery, this error only occurs when a normal user attempts to run the report. When I run the report under my administrator account, everything works as expected.
The page of the report in question has 3 separate SQL statements. By running a trace I know which of the 3 statements is causing the error. I can't display it on a public forum because of our company security policy, but it is a very straightforward and simple SELECT statement that calls two user-defined functions I created.
Does anybody have any ideas? If you need clarification on anything, please ask me.