Solved

The rowset column could not be found.

Posted on 2006-10-27
12
2,425 Views
Last Modified: 2012-06-27
I am trying to run report which ran just fine last week and this week i am getting the following error: Error in File D:\Program Files\Business Objects\BusinessObjects Enterprise 11\Data\procSched\picasso.reportjobserver\~tmp1d5c48275dcdad0.rpt: The rowset column could not be found
Last week our security guys implemented some SSO changes on the network and we have to reboot our servers.Since then we are having these issues.

-Issolinc
0
Comment
Question by:Issolinc
  • 7
  • 4
12 Comments
 
LVL 17

Expert Comment

by:MIKE
Comment Utility
Check the permissions to make sure that you are allowed/granted access to the Database(s)

MikeV
0
 
LVL 13

Expert Comment

by:crgary_tx
Comment Utility
Make sure any of the field name is not changed in the database.

Gary
0
 

Author Comment

by:Issolinc
Comment Utility
I checked with the networking team and there are no changes in the database and question of access to the database doesn't arise because i am logging in as admin.

-Issolinc
0
 
LVL 17

Expert Comment

by:MIKE
Comment Utility
On ALL reports or just this one???

Still sounds like there is a problem with "security" access.

MikeV
0
 
LVL 17

Expert Comment

by:MIKE
Comment Utility
Can you try to create a new report pulling data from this exact database/table? If you can pull a new report from the TABLE.,..then the security access is OK..

0
 

Author Comment

by:Issolinc
Comment Utility
I ran the SP in the Query Analyzer and it's terminated with the following error. "Divide by zero error encountered.The statement has been terminated"
Here is my code in the SP:

Select A.Group_Num, A.Year_mo,
      Admin_percentp1 = Case when B.Admin_p1 = 0 then 0 else cast((round(sum(A.Admin_P1/B.Admin_P1),5)) as decimal(6,5)) end,
      Admin_percentP2 = Case when B.Admin_p2 = 0 then 0 else cast((round(Sum(A.Admin_p2/B.Admin_p2),5)) as decimal (6,5)) end,
      Prem_TaxPercentP1 = Case when B.Prem_Taxp1 = 0 then 0 else cast((round(Sum(A.Prem_Taxp1/B.Prem_Taxp1),5)) as decimal (6,5)) end,
      Prem_TaxPercentP2 = Case when B.Prem_Taxp2 = 0 then 0 else cast((round(Sum(A.Prem_Taxp2/B.Prem_Taxp2),5)) as decimal (6,5)) end
Into #Admin_Tax5  --  Drop table #Admin_Tax5
From #Admin_Tax4 A
Left Join #Admin_Tax3 B on A.Year_Mo = B.Year_mo
Group by A.Group_Num, A.year_mo, A.Admin_p1, --A.Admin_p2, A.Prem_Taxp1, A.Prem_TaxP2,
B.Admin_p1, B.Admin_P2, B.Prem_Taxp1, B.Prem_TaxP2



Please advice what changes need to be done to the code.

-Issolinc


0
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 
LVL 17

Expert Comment

by:MIKE
Comment Utility
the problem is you are mixing up levels of aggragation:

You have to put the CASE statement inside the SUM like (in the four lines):

     Admin_percentp1 =cast((round(sum( Case when B.Admin_p1 = 0 then 0 else  A.Admin_P1/B.Admin_P1 end),5)) as decimal(6,5)) ,

MikeV
0
 
LVL 17

Accepted Solution

by:
MIKE earned 500 total points
Comment Utility
Depending on what you want to achieve another solution could be:

     Admin_percentP2 = Case when sum(B.Admin_p2) = 0 then 0 else cast((round(Sum(A.Admin_p2)/sum(B.Admin_p2)),5)) as decimal (6,5)) end,


Not necessarily you are going to end up with same result.

The diference is at what level you evaluate B.Admin_P2. With the previous solution you are "ignoring" the rows with this field in zero. With this solution you are ignoring all the rows for a A.Group_Num and A.Year_mo where the total is 0(If you have to rows one is -5 and the other 5 the total will 0, so the query willl "ignore" this group)
0
 

Author Comment

by:Issolinc
Comment Utility
Can you please explain in detail

Thanks
Issolinc
0
 

Author Comment

by:Issolinc
Comment Utility
Thanks for your help,Problem fixed
0
 
LVL 17

Expert Comment

by:MIKE
Comment Utility
Glad
0
 
LVL 17

Expert Comment

by:MIKE
Comment Utility
Uh...Glad to be able to help out... (there that's better.... )

MikeV
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now