<div dir="ltr">Thanks Brian that looks like its exactly the issue, I'll try the temporary working around this afternoon. Does opening a TAC case on this help the bug get any more visibility with development? I see it's a fairly low priority one.</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Dec 19, 2013 at 10:57 AM, Brian Meade (brmeade) <span dir="ltr"><<a href="mailto:brmeade@cisco.com" target="_blank">brmeade@cisco.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Ed,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I don’t know much at all about CUIC but I did find a bug that potentially matches what you’re seeing-
<a href="https://tools.cisco.com/bugsearch/bug/CSCul06940" target="_blank">https://tools.cisco.com/bugsearch/bug/CSCul06940</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Brian<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> cisco-voip [mailto:<a href="mailto:cisco-voip-bounces@puck.nether.net" target="_blank">cisco-voip-bounces@puck.nether.net</a>]
<b>On Behalf Of </b>Ed Leatherman<br>
<b>Sent:</b> Thursday, December 19, 2013 10:19 AM<br>
<b>To:</b> Cisco VOIP<br>
<b>Subject:</b> [cisco-voip] custom reporting w CUIC<u></u><u></u></span></p><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">Good day!<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I'm exploring making some custom reports in UCCX 9 using the lab version of CUIC, running into a problem I'm hoping someone's seen before. <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Report I'm working on is a slightly modified version of the Traffic Analysis report - internal customers want the same information but just specific to a particular application on UCCX rather than all applications. So I've created copies
 of the two stored procedures that this report uses (sp_ivr_traffic_analysis and drop_table) and modified them to take an extra parameter (varchar(20) appName), and changed all the select statements against the contactcalldetail table to filter on the applicationName.
 I gave uccxHrUserRole execute permissions on these.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I created the report on CUIC, and it works OK.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">When I export the report and import to the uccx cuic, initially it doesnt work because there is an XML element in the CUIC version called enableUnauthenticatedAccess that uccx doesn't support. Removing that from the XML file allows UCCX
 to import it.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">However if I run the report, I get this exception:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">com.cisco.ccbu.cuic.businesslogic.datasource.CuicDbException: DbException: CuicDataSourceServiceManagerImpl.getDataSet() { Nested SQLException; SQLState: IX000 Vendor code: -313 Message: Not owner of table. } at<u></u><u></u></p>

</div>
<div>
<p class="MsoNormal">ETC<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I don't see anything else in the trace file that makes any sense to me.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Anyone know how I can figure out what table it's referring to? The SP looks like it creates some temp tables, but I'm not a DBA by trade and Informix is pretty new to me. The fact that it's working on CUIC and not on UCCX is puzzling me,
 must be some permissions thing I'm missing.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Have a great day!<br clear="all">
<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<p class="MsoNormal">-- <br>
Ed Leatherman<u></u><u></u></p>
</div>
</div>
</div></div></div>
</div>

</blockquote></div><br><br clear="all"><div><br></div>-- <br>Ed Leatherman<br>
</div>