InstallAllOracleASPNETProviders doesn't work correctly - oracle

I am using asp.net mvc 3 and oracle database with ODAC1120240Beta_EntityFramework.
I want to do authorization in my site. Database works correctly, I can do everything with Database data, but if I go to ASP.NET Configuration -> Provider I see only AspNetSqlMembershipProvider.
InstallAllOracleASPNETProviders doesn't work correctly.
All functions, views and packages were created succesully. I do all using this Oracle Guide
Here is part of Oracle Database Output after executing this script from Visual Studio Tools.
GRANT SELECT ON ora_vw_aspnet_Applications TO ora_aspnet_Mem_ReportAccess
*
error in string 1:
ORA-01917: user or role 'ORA_ASPNET_MEM_REPORTACCESS' does not exist
GRANT SELECT ON ora_vw_aspnet_Users TO ora_aspnet_Mem_ReportAccess
*
error in string 1:
ORA-01917: user or role 'ORA_ASPNET_MEM_REPORTACCESS' does not exist
GRANT SELECT ON ora_vw_aspnet_MemUsers TO ora_aspnet_Mem_ReportAccess
*
error in string 1:
ORA-00942: table or view does not exist

You can implement using flow link.

Related

Unable to bind Application item - Oracle Apex

I have created 2 application items in shared component option.
Protection level: Restricted
Scope: Application
Then I have created a process in the login page where sql query is
select user_id, name into :G_USER_ID , :G_USER_NAME
from t_users
where upper(email) = upper(:P9999_USERNAME);
When I try to login it gives me error. Debugging says that there is an error in the above statement. I am not able to bind these items.
I'm using apex 19.1
It would help if you said which error you got.
However, if this piece of code runs before you managed to log in, you didn't establish connection to the database (yet) and can't select from any table, including t_users.

Ucanaccess 4.0.3 cannot find a specific table in my DB

I'm using jdbc with ucanaccess... When I connect to the database, there is one table that Ucanaccess is not finding... I saw that in debug mode in NetBeans...
Therefore when I try a transaction on that table, I get :
UCAExc:::4.0.3 user lacks privilege or object not found [Name of my table]
I guess everything else works perfectly since when I did a select on another table it worked...
I'm using :
ucanaccess 4.0.3
MS Access 2007
JDK : java 1.8.0_151
Netbeans : NetBeans IDE 8.2
Update
When Opening the database with console.bat ( by the way, this file is located in UcanAccess download folder) I got the follwoing warnings/errors :
WARNING:Looking for usage map at page 9093, but page type is 1
Cannot load procedure Query4 user lacks privilege or object not found: [My Table Name]
Cannot resolve table [My Table Name]
WARNING:Looking for usage map at page 9093, but page type is 1
strongly suggests a damaged database file. Jackcess, the record manager used by UCanAccess, retrieved a page (block) of data from the file expecting it to be tagged as a "usage map" but it was tagged as something else.
The most common solution for a damaged database file is to open it in Access and then do a "Compact and Repair Database" operation on it.

Oracle apex issue - ORA 20987: APEX - User nobody requires ADMIN privilege to perform this operation. - Contact your application administrator

I recently migrate my application from APEX 4.2 to 5.0. And now when i try to log in, error message shows up like this.
ORA-20987: APEX - User nobody requires ADMIN privilege to perform this
operation. - Contact your application administrator.
it happens when preforming the login. even login with the blank credentials. after login pressed it checks for the following,
DECLARE l_err_mesg VARCHAR2(500);
BEGIN
IF APEX_UTIL.GET_ACCOUNT_LOCKED_STATUS(p_user_name => :P101_USERNAME ) then
l_err_mesg := '<span style="color: red"> Account currently locked. </span>';
END IF;
RETURN l_err_mesg;
EXCEPTION WHEN OTHERS THEN
raise_application_error(-20001,'An error was encountered - '||SQLCODE||' -ERROR- '||SQLERRM);
END;
Please tell me what am I missing with this.
With Oracle Application Express 5.0, employing APEX_UTIL to manage workspace users and groups requires specific configuration. The default settings in APEX5 will provide give you an error when you employ APEX_UTIL for workspace users and groups
If you write and test code in SQL-Developer or SQLPlus, you will not likely encounter this error until you paste your code into APEX. The change is simple:
Go to: Edit Application Properties > Security > Runtime API Usage
You’ll find this as the very last item below database session. Add a check mark to permit “Modify Workspace Repository” as shown in the image below.
Saving this change to your Application Properties will clear the error.
Documentation
Source 1
Source 2

Is it possible to edit a table via dblink in APEX?

I've created a form in the APEX and I need to edit a table via dblink, which is already created . So, when I ask to show me a data in this remoute table- it's work fine, but when I'm trying to edit data, I get the error:
"Table or view OPERATION#DBQA not found Contact your application
administrator."
In the SQL workshop>SQL Commands- it also works fine(
update usr.operation#dbqa
set description='admin3' where operation_id=10
)
Well, I've created view usr.operation_qa as select * from usr.operation#dbqa, but, anyway, I receive the same error
"Table or view OPERATION_QA not found Contact your application
administrator."
I'll repeat, a permission and dblink -are ok, couse it's worl in SQL Commands
Will be appreciate for any help or comments. Thanks!

SQL Developer weird error

In the SQL Developer, I run this query, it gave me error : "table or view does not exist".
I tried to discontinute first and login agin, still same error.
But I use TOAD to run same query, it works.
SQL Developer have any settings to cause this ?
My SQL Developer version is 3.0.04. I am losing confidence in this tool.
select * from myschema.codes0
As I do this in SQL Developer every day, it's not a problem with the tool. I'd say you're almost certainly logged in as a user that does not have privileges over myschema. What user are you logging in as?
Assuming codes0 is a table, this should tell you if you have select privileges over it:
SELECT * FROM all_tab_privs WHERE table_owner = 'MYSCHEMA' AND table_name = 'CODES0'

Resources