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.
Related
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.
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!
Trying to set-up a Oracle data source from the WSO2 Management Console. My problem is that the page where one would enter the connection details (url, username etc) shows up empty, there are no fields/columns.
From the Tools section - Database Explorer - I can connect to the database and retrieve data so I'm assuming that the drivers are ok.
Have tried to set-up the data source with several different browsers but all behave the same - I can enter the "Create Data Service" - page 1 and give a name to the data store. Then comes up the second page, titled "Data Sources" and there is the text/link "Add New Data Store". Clicking that open a new page (addDataSource.jsp) but it is totally empty, now even a single header or anything, only a help button on far right corner.
The version of DSS is 3.2.1.
Would someone know how to resolve this?
I referred
http://docs.broadleafcommerce.org/core/current/getting-started
to get started with broadleaf commerce. While everything is good with installation, when i run the application as mentioned i get 2 errors. They are as below:
Database creation error: This error comes while starting jetty server.
SchemaExport - HHH000389: Unsuccessful: alter table
BLC_TRANS_ADDITNL_FIELDS drop constraint FK376DDE4B9E955B1D
SchemaExport - user lacks privilege or object not found:
PUBLIC.BLC_TRANS_ADDITNL_FIELDS
Static resoure mapping error: This error comes while i load any page which has image on it. Below are the details.
StaticAssetViewController - Unable to retrieve static asset Failed to
delete original file
'C:\user\AppData\Local\Temp\30\95\Hoppin-Hot-Sauce-Bottle---d41d8cd98f00b204e9800998ecf8427e.jpg'
after copy to
'C:\user\AppData\Local\Temp\img\sauces\Hoppin-Hot-Sauce-Bottle---d41d8cd98f00b204e9800998ecf8427e.jpg'
Note: StaticAssetView issue was resolved in BLC 3.2.
The database error shouldn't be an issue. When the app starts it first tries to clean the DB by dropping everything. If the tables or constraints don't exist you get this error and that is fine, later on in the start up sequence it will create all these DB objects.
My report was working just fine a few days ago, and i don't recall changing anything..
But I'm now getting this error when I run the report in the "Report Manager" view.
An error has occurred during report processing. (rsProcessingAborted)
Query execution failed for dataset 'DataSet1'. (rsErrorExecutingCommand)
For more information about this error navigate to the report server on the local server machine, or enable remote errors
EDIT:
Ok so I did try the SPROC in SSMS like so:
exec prc_RPT_Quota_Info 17221
and it returns a proper result:
SurveyNumber ID HoursRemaining FieldHours FEDSurveyName FieldEndDate FieldBeginDate SurveyStatusName ProjectName ProjectManager ClientName
17221 16226 -2195.75 NULL j41881 - Burial Preferences Survey - States 2012-09-10 06:00:00.000 NULL Complete 41881 Gibbs & Soell - Burial Preferences Survey Peter Gallagher BCC Public Affairs & Policy
any tips
Plainly, Dataset1's query isn't working. Firstly, check that the Stored Procedure radio button is selected in the Dataset Properties.
Running SQL Profiler and seeing what SQL is hitting the server might help.
Given that you have copied the query into SQL Server Management Studio and it works, it sounds like a permissions issue - that is, running it in SSMS under your account works, but it isn't working when the Reorting Services server runs it under its account.
Check the permissions of the Stored Procedure to see if the SSRS server account has the right permissions to execute the stored proc.