Getting OCI-22303: type "AQ_MANAGER"."MCKB_CMD_T" not found - oracle

When I am running the below query from my user account then getting the subject error.
Select * from CMD.CMD_AUDIT;
When I ran the same query from super user then able to run successfully.
I checked old articles regarding same, they said this is the version issue with toad. But in my case using same toad version, only the issue is with differ user account.
Could you please help me in this?

Related

After upgrade from Dynamics CRM 2011 to CRm 2016 experiencing weird issue with forms and plugins

Client company just upgraded to 2016 from 2011. I've been testing the plugins to make sure they all still function and I've finally (after much frustration) figured out what is happening, but no idea why or how to resolve this.
I have several plugins and they all function exactly as expected - as long as the updates to the data are not run through the forms.
Let me explain:
I have plugins (Synchronous) that trigger on a change to a field. If the field is changed via a workflow, or some other coded process, everything runs just fine.
But when I update the field on the form it's self. It fails with a very generic error (below).
I support a couple of other clients already on 2016, and I'm not experiencing this same problem. So I'm not even sure where to begin. I've been going crazy here the last couple of days to check the code. But it only happens when updating the field on the form. Every other method of updating the data that I have tested works with no errors.
I also have another issue. When the field is updated (through a test workflow), it runs and updates a child record. The child record then has a workflow that runs to deactivate the record. The workflow says it ran and deactivated the record, but it never deactivates).
Anyway. if ANYONE has ANY idea at all about what could be causing this. I would love to hear it. I'm at my wits end on this.
Thank you in advance.
I've tested the code and had it run successfully, as long as I don't update the field through the form. To test this I created some test workflows that update the data, they successfully run and the plugins fire off with no problems.
EntityReference contact =
(EntityReference)preImageEntity.Attributes["ipmahr_contact"];
QueryExpression cn = new QueryExpression("ipmahr_recertification");
cn.ColumnSet = new ColumnSet("ipmahr_contact", "statecode");
cn.Criteria.AddCondition("ipmahr_contact", ConditionOperator.Equal,
contact.Id);
cn.Criteria.AddCondition("statecode", ConditionOperator.Equal, 0);
EntityCollection results1 = server.RetrieveMultiple(cn);
if (results1.Entities.Count > 0)
foreach (Entity a in results1.Entities)
{
a.Attributes["ipmahr_deactivaterecertificationrecord"] = true;
server.Update(a);
}
The code is pretty straightforward in most cases, and works fine as long as things aren't updated on the form.
Here is the error: Exception: System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault]: System.ServiceModel.CommunicationObjectFaultedException: #595EB751 (Fault Detail is equal to Microsoft.Xrm.Sdk.OrganizationServiceFault)., Correlation Id: fd1a79ca-c846-407b-b578-ac9207d6dd0e, Initiating User: 274d55dc-3f4d-e811-b30f-0050569142af Exiting Recertifications.Main.DeactivateUsedRecertificationsonEndDateChange.Execute(), Correlation Id: fd1a79ca-c846-407b-b578-ac9207d6dd0e, Initiating User: 274d55dc-3f4d-e811-b30f-0050569142af
New information. I have found that not all the plugins I've written have an issue on this server. This is good. But I also found that there is a commonality on those plugins that do fail.
Any plugin using a Query Expression fails with the generic error. Adding robust error checking didn't show anything (once error checking was added, it just didn't run anything, and didn't produce any errors in the logs). Trace logs didn't show anything significant either.
So now I'm wondering if there is something in the way the Query Expression is formatted, or if there is an issue with the SQL. I mention SQL because I found this morning that if I create fields too fast, I get a generic SQL error. Wait a minute and I can create new fields without a problem.
I think it likely that this plugin is not actually failing based on the error you are receiving and the fact that it happens conditionally. More likely, your server.Update(a); call is resulting in a failure within a secondary plugin or workflow action triggered by update of the Recertification record.
- Comment out that line and verify that the plugin works
- See if you can reproduce a failure by directly updating that field on the Recertification record
- Review plugin/workflows running against the Recertification entity
Most likely this has one of the following root causes:
- A security issue based on different executing users between the form update or workflow update
- Other tangential fields are being updated by one or the other of those two methods which subsequently cause different behavior in a secondary plugin/workflow

Access Right for users

In my odoo 10 after several month I am encountering the problem of Access Right for my users. When they want to group the tasks based on project, etc they face the following message:
Odoo Warning - Access Error
The requested operation cannot be completed due to security restrictions. Please contact your system administrator.
(Document type: project.project, Operation: read)
Any Idea?
Seeing your error its seems you have to give access rights for project.project model for read. If its given then might be there some record rule for project.project model in your database you have to check it.

Connecting to Oracle with PowerQuery - UI not working but SQL works fine

I´m trying to connect to an Oracle database using PowerQuery. The connection works fine when I specify my own SQL (even something like select * from table); however when I select any table using the UI, PowerQuery just keeps trying to query the data, but the information is never displayed. I don´t get any error message or anything.
I´m interested in using the UI, because it´s easier and to take advantage of query folding.
I appreciate your thoughts on how to get this working properly. Thanks!
Try turning off "Include relationship columns" (under advanced options, when creating the connection).
If that doesn't work, you can "Send a frown" to the product team.

Oracle APEX 5 Mange users and developers Error

Hi Everyone this is my first question... its taken 4 years for me not to find the answer through others questions and google.
I am new to Oracle APEX 5 and administrating ORACLE APEX 5 for our DEV, System TEST and OQ environments and the DEV and ST environments have started producing this error when I try and click on a user to configure their passwords or changed their accounts to unlocked. I am using the ADMIN account which worked last month when I went in to reset a password for a developer. The error is below (I would rather have posted a screenshot but I am unable to as its my first question)
Internal Error Contact your administrator. Details about this incident are available via debug id "6818".
Can anyone tell me why this is happening and where to find the debug log or how to fix the problem?
Many thanks
Regards,
Helen.
This is an unhandled exception. We'd need to get the details of this exception to understand the problem better.
To find the details, you can either connect as SYS or SYSTEM (or someone granted the APEX_ADMINISTRATOR_ROLE database role) and run the following query:
select *
from apex_debug_messages
where page_view_id = 6818
order by message_timestamp asc;
By the way, this was so poorly documented, I decided to author a quick blog post about it. Thanks for the inspiration!
Joel
Thank-you for your reply
I got a few rows back from the query the one the sparked my interest is the following
ORA-01841: (full) year must be between -4713 and +9999, and not be 0
I updated the admin password in previous months to not expire as this is not needed.. The password still expires though even with this set to no. So I entered 99999 as a way to bypass this. I just change the days to within the range requested above and the page now displays. Very silly mistake on my side in the end! Thank-you for the info as it is a great help to know where these DE-BUG ID's are stored

Crystal report login failure - prompting user/pass when database has none

My crystal reports viewer prompts me to login even though my database has no username and password. When I leave userID and Password blank it still fails to log in.
Kindly please help me friends
thank you aMazing but i found the solution
I read somewhere that if the source table does not be filled crystal report prompt to loging in , but when i was trying to set filled table as datasource of report an error accoured saying crdb_adoplus.dll not find
it was for bad inistallation i think , however bellow link solved the problem
http://www.sourcehints.com/articles/how-to-use-crystal-report-2010-in-vs2010.html
Before you add a dataset to your report, there is a Checkbox that reads Integrated Security.
Leave your id and password blank and select that checkbox and try. Might solve your problem.

Resources