Database schema problem
I granted object priviledge(e.g select) on a specific table
in my own schema to a specific person.
But when this person that I granted
access this table
.. error occured('table not exists')
not unless we put schema name beside this
(e.g dennis.payroll_transactions)
thank you very much in advance !
null
dennisj (guest) wrote:
: dennisj (guest) wrote:
: : I granted object priviledge(e.g select) on a specific table
: : in my own schema to a specific person.
: : But when this person that I granted
: : access this table
: : .. error occured('table not exists')
: : not unless we put schema name beside this
: : (e.g dennis.payroll_transactions)
: : how to access this table without putting
: : my schema name ? thank you very much
Hi,
You can do this two ways
1) If you have create public synonym privilege and you want all
other users to have the select privilege on this table, create a
public synonym as
Create public synonym payroll_tansaction for
dennis.payroll_transactions
and grant select privilege on this table to public.
The synonym name need not be payroll_transactions. If you name
the synonym as public_payroll, other users can select on this
table by query select * from public_payroll.
2) If you have create any synonym privilege,
create a private synonym for the specific person (dev) as
create synonym dev.payroll_transactions for
dennis.payroll_transactions
and grant select privilege on this table to dev.
Hope this will help.
null
Similar Messages
-
Oracle 11g Database Schema problem
Hi I have installed the Enterprise Edition of Oracle 11g on windows XP SP2. I log in to Enterprise Manager. When I click on the schema tab I get the following error message.
Error
Internal Error has occured. Check the log file for details.
Does anybody know why ? and which log file they are refering to?
Also can someone tell me where or how you can create normal users ?
thanksthe related OC4J machine is failing, it could be due to a number of reasons. Sometimes it has to do with the TZ region Agent recognizes, but the only way to know it for sure is by taking a look at the operational log files. Those can be found at the EM Console directory under the ORACLE_HOME. You will see the ORACLE_HOME/EMConsoleDirectory/log at the log there are several files, take a look at them and feedback.
~ Madrid
http://hrivera99.blogspot.com/ -
Problem with database schema objects in the entity object wizard
Hi All,
When creating a new entity object, I am facing a problem with database schema objects in the entity object wizard, database schema objects (check boxes for tables,synonyms...) are disabled. Actually I am using a synonym but I am not able to select the synonym check box.
Can any of you folks tell me how to enable the database schema objects (check boxes for tables,synonyms...).
Thanks in Advance.
Raja.MMake sure your using rite version of jdeveloper..
Make sure your using apps schema and check whether your able perform DML operations in the schema vis sql developer.
--Prasanna -
Problem adding database schema , eroor : not connected
Thank you for reading my post
I download the demo sample from oracle soa web site . and i am trying to follow the tutorial to
create the database schema, to make this step complete
I create oracle_home and oracle_SID variables (Windows OS )
then
I open an sqlplus session (sys/pass as sysdba) and to make sure that i am
connected i execute
select * from V$database ;
it works
then i execute :
select * from hr.jobx
it works file.
it mean that i am connected to database.
but when i execute @build.sql i get the following errors , can some one help me ?
i should say that after i execute the @build.sql i can not execute any command because it says that SP2-0640:Not connected
SQL> @build.sql
old 1: DROP USER &&1 CASCADE
new 1: DROP USER SOADEMO CASCADE
DROP USER SOADEMO CASCADE
ERROR at line 1:
ORA-01918: user 'SOADEMO' does not exist
SP2-0734: unknown command beginning "DEFAULT TA..." - rest of line ignored.
SP2-0734: unknown command beginning "TEMPORARY ..." - rest of line ignored.
SP2-0734: unknown command beginning "QUOTA UNLI..." - rest of line ignored.
SP2-0734: unknown command beginning ", create t..." - rest of line ignored.
SP2-0734: unknown command beginning ", create p..." - rest of line ignored.
SP2-0734: unknown command beginning ", create s..." - rest of line ignored.
SP2-0734: unknown command beginning ", create t..." - rest of line ignored.
SP2-0044: For a list of known commands enter HELP
and to leave enter EXIT.
SP2-0734: unknown command beginning ", create v..." - rest of line ignored.
SP2-0734: unknown command beginning ", create s..." - rest of line ignored.
SP2-0734: unknown command beginning ", alter se..." - rest of line ignored.
SP2-0734: unknown command beginning ", create t..." - rest of line ignored.
SP2-0044: For a list of known commands enter HELP
and to leave enter EXIT.
SP2-0734: unknown command beginning ", create m..." - rest of line ignored.
SP2-0734: unknown command beginning ", query re..." - rest of line ignored.
SP2-0734: unknown command beginning ", create d..." - rest of line ignored.
SP2-0734: unknown command beginning ", create a..." - rest of line ignored.
SP2-0044: For a list of known commands enter HELP
and to leave enter EXIT.
SP2-0734: unknown command beginning ", alter us..." - rest of line ignored.
SP2-0734: unknown command beginning ", resumabl..." - rest of line ignored.
SP2-0734: unknown command beginning ", ALTER AN..." - rest of line ignored.
SP2-0734: unknown command beginning ", DROP ANY..." - rest of line ignored.
SP2-0044: For a list of known commands enter HELP
and to leave enter EXIT.
SP2-0734: unknown command beginning ", LOCK ANY..." - rest of line ignored.
SP2-0734: unknown command beginning ", CREATE A..." - rest of line ignored.
SP2-0734: unknown command beginning ", SELECT A..." - rest of line ignored.
SP2-0042: unknown command "TO &&1" - rest of line ignored.
SP2-0044: For a list of known commands enter HELP
and to leave enter EXIT.
SP2-0734: unknown command beginning ", execute_..." - rest of line ignored.
SP2-0042: unknown command "TO &&1" - rest of line ignored.
ERROR:
ORA-01017: invalid username/password; logon denied
Warning: You are no longer connected to ORACLE.
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
drop table 'ITEMS'
SP2-0640: Not connected
drop table 'ADDRESS'
SP2-0640: Not connected
drop table 'CUSTOMER'
SP2-0640: Not connected
drop table 'ORDERS'
SP2-0640: Not connected
drop table 'PRODUCT'
SP2-0640: Not connected
drop table 'CUSTOMER_ADDRESS'
SP2-0640: Not connected
drop sequence 'EJB_SEQ_ID_GEN'
SP2-0640: Not connected
drop sequence 'ADDRESS_EJB_SEQ_ID_GEN'
SP2-0640: Not connected
drop sequence 'ORDER_SEQ_ID_GEN'
SP2-0640: Not connected
drop table 'SSN'
SP2-0640: Not connected
SP2-0640: Not connected
create table 'ITEMS'
SP2-0640: Not connected
create table 'ADDRESS'
SP2-0640: Not connected
create table 'CUSTOMER'
SP2-0640: Not connected
create table 'CUSTOMER_ADDRESS'
SP2-0640: Not connected
create table 'ORDERS'
SP2-0640: Not connected
create table 'PRODUCT'
SP2-0640: Not connected
create primary key constraint on 'ITEMS'
SP2-0640: Not connected
create primary key constraint on 'ADDRESS'
SP2-0640: Not connected
create primary key constraint on 'CUSTOMER'
SP2-0640: Not connected
create primary key constraint on 'ORDERS'
SP2-0640: Not connected
create primary key constraint on 'PRODUCT'
SP2-0640: Not connected
create foreign key constraint on 'ITEMS'
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
create foreign key constraint on 'ORDERS'
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
SP2-0640: Not connected
What OBJECTS were created?
SP2-0734: unknown command beginning ",object_na..." - rest of line ignored.
SP2-0734: unknown command beginning "from user..." - rest of line ignored.
SP2-0734: unknown command beginning "order by 1..." - rest of line ignored.
Are there any INVALID OBJECTS?
SP2-0734: unknown command beginning ",object_na..." - rest of line ignored.
SP2-0734: unknown command beginning "from user..." - rest of line ignored.
SP2-0734: unknown command beginning "where sta..." - rest of line ignored.Hi
I almost resolved the issue but i do not know whether it is a correct path that i used or not.
i have made some changes in build.sql as follow :
-i changed the schema name to HR , and its pass to HR_PASS
-i comment schema creation command
now it successfully executed.
but i can not understand what was the problem.
Thanks -
Installation stuck at Create database schema Phase 13 of 27
Hi
I am installing the Netweaver 7.01 SP3 and have already removed it completely after getting stuck at the same installation step. Do not know what is going wrong. A small extract of the log is shown below. Any advice on how to proceed will be helpful. I know when einstalling it has to be removed completely which I did using uninstallation and then clean up tool. But again it is stooping at the same step. I had let it run more almost two days but of no use. My system configuration is good enough with 2GB RAM etc.
INFO 2009-03-12 16:52:00.443 [synxcpath.cpp:807]
CSyPath::createDirectory()
Creating directory C:\sapdb.
INFO 2009-03-12 16:52:00.458 [synxcpath.cpp:807]
CSyPath::createDirectory()
Creating directory C:\sapdb\NSP.
INFO 2009-03-12 16:52:00.458 [synxcpath.cpp:807]
CSyPath::createDirectory()
Creating directory C:\sapdb\NSP\saplog.
INFO 2009-03-12 16:52:00.474 [synxcpath.cpp:807]
CSyPath::createDirectory()
Creating directory E:\sapdb\NSP\sapdata.
INFO 2009-03-12 16:52:01.67 [sixxcstepexecute.cpp:790]
Execute step sdb_create_db_instance of component |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|9|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_ADA_DB|ind|ind|ind|ind|6|0|SdbPreInstanceDialogs|ind|ind|ind|ind|4|0|SdbInstanceDialogs|ind|ind|ind|ind|1|0|SDB_INSTANCE_CREATE|ind|ind|ind|ind|0|0
File sapdb.inf does exist. Will use the commands in file sapdb.inf.
INFO 2009-03-12 16:52:06.544 [sixxcstepexecute.cpp:790]
Execute step sdb_init_instance_type of component |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|9|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_ADA_DB|ind|ind|ind|ind|6|0|SdbPreInstanceDialogs|ind|ind|ind|ind|4|0|SdbInstanceDialogs|ind|ind|ind|ind|1|0|SDB_INSTANCE_CREATE|ind|ind|ind|ind|0|0
INFO 2009-03-12 17:12:38.722 [sixxcstepexecute.cpp:790]
Execute step CheckDBUnicode of component |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|9|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_ADA_DB|ind|ind|ind|ind|6|0|Sdb_Schema_Dialogs|ind|ind|ind|ind|5|0|Sdb_Schema|ind|ind|ind|ind|1|0
INFO 2009-03-12 17:12:39.883 [sixxcstepexecute.cpp:790]
Execute step CreateDbSchema of component |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|9|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_ADA_DB|ind|ind|ind|ind|6|0|Sdb_Schema_Dialogs|ind|ind|ind|ind|5|0|Sdb_Schema|ind|ind|ind|ind|1|0
Also see log browser from the installation window............................
Please see below as it is geeting stuck at
component ><![CDATA[Run ABAP Reports]]></component><currentprogress current="105" total="216"/>
Mar 12, 2009 5:12:35 PM [Info]: com.sap.sdt.sapinst.rapi.connector.SAPinstConnector [Thread[SAPinstCommLink,5,main]]: Received: <?xml version="1.0" encoding="UTF-8"?><sapinstgui version="1.0"><dialog sid="diProgress" progress="true" windowtitle="SAPinst vtaneja2@skumar278-1: SAP NetWeaver 7.0 SR1 including Enhancement Package 1 > SAP Application Server ABAP > MaxDB > Central System > Central System"><title>Task Progress</title><description>Task is running</description><status><![CDATA[]]></status><component current="true"><![CDATA[Create users for SAP system]]></component><component current="true"><![CDATA[Install common system files]]></component><component current="true"><![CDATA[Unpack SAP archives]]></component><component current="true"><![CDATA[Install SAP Cryptographic component><component ><![CDATA[Perform MaxDB post-load activities]]></component><component ><![CDATA[Import MaxDB statistics]]></component><component ><![CDATA[Install central instance]]></component><component ><![CDATA[Start central services instance]]></component><component ><![CDATA[Start instance]]></component><component ><![CDATA[ABAP post installation activities]]></component><component ><![CDATA[Check DDIC password]]></component><component ><![CDATA[Run ABAP Reports]]></component><currentprogress current="99" total="216"/>
<button sid="btPREV" default="false" enabled="false" ><caption>< &Back</caption><action>ACTION_PREV</action><tooltiphelp><![CDATA[]]></tooltiphelp></button><button sid="btNEXT" enabled="false" ><caption>&Next</caption><action sendValuesBack="false">ACTION_NEXT</action><tooltiphelp></tooltiphelp></button></dialog></sapinstgui>
Mar 12, 2009 5:12:35 PM [Info]: com.sap.sdt.sapinst.rapi.connector.SAPinstConnector [Thread[SAPinstCommLink,5,main]]: Received: <?xml version="1.0" encoding="UTF-8"?><sapinstgui version="1.0"><dialog sid="diProgress" progress="true" windowtitle="SAPinst [Setup database connection for user SKUMAR278-1\nspadm]]></component><component ><![CDATA[Setup database connection for user skumar278-1\SAPServiceNSP]]></component><component ><![CDATA[Perform MaxDB pre-load activities]]></component><component ><![CDATA[Import ABAP]]></component><component ><![CDATA[Post load activities]]></component><component ><![CDATA[Perform MaxDB post-load activities]]></component><component ><![CDATA[Import MaxDB statistics]]></component><component ><![CDATA[Install central instance]]></component><component ><![CDATA[Start central services instance]]></component><component ><![CDATA[Start instance]]></component><component ><![CDATA[ABAP post installation activities]]></component><component ><![CDATA[Check DDIC password]]></component><component ><![CDATA[Run ABAP Reports]]></component><currentprogress current="100" total="216"/>
<button sid="btPREV" default="false" enabled="false" >
vtaneja2@skumar278-1: SAP NetWeaver 7.0 SR1 including Enhancement Package 1 > SAP Application Server ABAP > MaxDB > Central System > Central System"><title>Task Progress</title><description>Task is running</description><status><![CDATA[]]></status><component CDATA[Prepare database schema for ABAP]]></component><component current="true"><![CDATA[Create database schema]]></component><component ><![CDATA[Create sequence for the ABAP user]]></component><component ><![CDATA[Setup database connection for user SKUMAR278-1\nspadm]]></component><component ><![CDATA[Setup database connection for user skumar278-1\SAPServiceNSP]]></component><component ><![CDATA[Perform MaxDB pre-load activities]]></component><component ><![CDATA[Import ABAP]]></component><component ><![CDATA[Post load activities]]></component><component ><![CDATA[Perform MaxDB post-load activities]]></component><component ><![CDATA[Import MaxDB statistics]]></component><component ><![CDATA[Install central instance]]></component><component ><![CDATA[Start central services instance]]></component><component ><![CDATA[Start instance]]></component><component ><![CDATA[ABAP post installation activities]]></component><component ><![CDATA[Check DDIC password]]></component><component ><![CDATA[Run ABAP Reports]]></component><currentprogress current="104" total="216"/>
[Install central instance]]></component><component ><![CDATA[Start central services instance]]></component><component ><![CDATA[Start instance]]></component><component ><![CDATA[ABAP post installation activities]]></component><component ><![CDATA[Check DDIC password]]></component><component ><![CDATA[Run ABAP Reports]]></component><currentprogress current="105" total="216"/>
<button sid="btPREV" default="false" enabled="false" ><caption>< &Back</caption><action>ACTION_PREV</action><tooltiphelp><![CDATA[]]></tooltiphelp></button><button sid="btNEXT" enabled="false" ><caption>&Next</caption><action sendValuesBack="false">ACTION_NEXT</action><tooltiphelp></tooltiphelp></button></dialog></sapinstgui>
Mar 12, 2009 5:12:39 PM [Info]: com.sap.sdt.sapinst.rapi.connector.SAPinstConnector [Thread[SAPinstCommLink,5,main]]: Received: <?xml version="1.0" encoding="UTF-8"?><sapinstgui version="1.0"><update><updateitem><dialogstatus><![CDATA[ ]]></dialogstatus></updateitem></update></sapinstgui>
Mar 12, 2009 5:38:16 PM [Info]: com.sap.sdt.sapinst.rapi.connector.SAPinstConnector [Thread[AWT-EventQueue-0,6,main]]: Sent: <?xml version="1.0"?><sapinstlog severity="FLOW TRACE" filename="" version="1.0"/>
Mar 12, 2009 5:38:16 PM [Info]: com.sap.sdt.sapinst.rapi.connector.SAPinstConnector [Thread[SAPinstCommLink,5,main]]: Received: <?xml version="1.0" encoding="UTF-8"?><sapinstlog version="1.0" append="false" filename="C:\Program Files\sapinst_instdir\NW701\AS-ABAP\ADA\CENTRAL\sapinst_dev.log"/>
Mar 12, 2009 5:43:59 PM [Info]: com.sap.sdt.sapinst.rapi.connector.SAPinstConnector [Thread[AWT-EventQueue-0,6,main]]: Sent: <?xml version="1.0"?><sapinstlog logoff="true" filename="" version="1.0"/>
Mar 12, 2009 6:08:17 PM [Info]: com.sap.sdt.sapinst.rapi.connector.SAPinstConnector [Thread[AWT-EventQueue-0,6,main]]: Sent: <?xml version="1.0"?><sapinstlog logoff="true" filename="" version="1.0"/>
Mar 12, 2009 6:30:31 PM [Info]: com.sap.sdt.sapinst.rapi.connector.SAPinstConnector [Thread[AWT-EventQueue-0,6,main]]: Sent: <?xml version="1.0"?><sapinstlog logoff="true" filename="" version="1.0"/>
Thanks in advance
VikasGuess you are talking about sapinst.log file. Below are the last few lines after which it did not proceed
Do see the last step create DB schema....... The previos log was from sapinst_dev.log
Oliver I have a doubt could it be becuase of the host name.
The host name of my machine is "skumar278-1" with DNS domain name for SAP system "asiapac.globalcsc.net"
Could this be the reason for the problem i am facing i.e installation getting stuck at phase 13 Create DB schema.... Other than this I cannot see anything else which can go wrong.. Do have the DHCP server available..
The page file as per the ram settings i.e for 2 GB should be 3072 so I have set it to the same. Though
the prerequisite page shows
"For the selected services at least 7138 MB swap space are recommended. Current value: 2851 MB. (Updated 2005-06-24)"
Can this be the reason???
Also I just looked at the services file.. there are about about 4-5 different files with the name services .3 services.4 ... services.5 etc als there is no entry for port 3900 3600 & 8000.. .. do not know what to do... Please suggest..
INFO 2009-03-12 17:12:35.412
Execute step CheckDbExistence of component |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|9|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_ADA_DB|ind|ind|ind|ind|6|0|Sdb_Schema_Dialogs|ind|ind|ind|ind|5|0|Sdb_Schema|ind|ind|ind|ind|1|0
INFO 2009-03-12 17:12:35.726
Execute step check_dbm_dba_user_passwd of component |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|9|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_ADA_DB|ind|ind|ind|ind|6|0|Sdb_Schema_Dialogs|ind|ind|ind|ind|5|0|Sdb_Schema|ind|ind|ind|ind|1|0
INFO 2009-03-12 17:12:37.718
Execute step StartDb of component |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|9|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_ADA_DB|ind|ind|ind|ind|6|0|Sdb_Schema_Dialogs|ind|ind|ind|ind|5|0|Sdb_Schema|ind|ind|ind|ind|1|0
INFO 2009-03-12 17:12:38.722
Execute step CheckDBUnicode of component |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|9|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_ADA_DB|ind|ind|ind|ind|6|0|Sdb_Schema_Dialogs|ind|ind|ind|ind|5|0|Sdb_Schema|ind|ind|ind|ind|1|0
INFO 2009-03-12 17:12:39.883
Execute step CreateDbSchema of component |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|9|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_ADA_DB|ind|ind|ind|ind|6|0|Sdb_Schema_Dialogs|ind|ind|ind|ind|5|0|Sdb_Schema|ind|ind|ind|ind|1|0 -
The command TfsAdmin ProjectServer /RegisterPWA causes next error:
TF244069: An error occurred while checking the provisioning status of the reporting database schema for a PWA instance.
Project Server returned the following error: "Server was unable to process request. ---> The request failed with HTTP status 401: Unauthorized.".
(type ProvisionException)
Exception Stack Trace: at Microsoft.TeamFoundation.Sync.Provisioning.ProvisionPwaDBSchema.HandleSoapException(SoapException soapException, String errorResourceString)
at Microsoft.TeamFoundation.Sync.Provisioning.ProvisionPwaDBSchema.IsDBSchemaProvisioned()
at Microsoft.TeamFoundation.Sync.Provisioning.ProvisionManager.Provision()
I installed SharePoint 2013 and Project Server 2013 as farm and TFS 2012 and my account has permissions everywhere. I read article
http://msdn.microsoft.com/en-us/library/gg412653.aspx and gave full permissions for TFS account to SQL and Project, Project app pool account to SQL, but still have an error.
How can I find out what exactly permissions are not enough???The problem was in claims authentication. Changed to Windows and all worked out.
-
Database schema SCM does not contain the associated database objects
I am getting the following error when i am trying to migrate the form to apex using application migration.
"*Database schema SCM does not contain the associated database objects for the project, aafs.*
*Ensure the database schema associated with the project contains the database objects associated with the uploaded Forms Module .XML file(s).* ".
Actully i am having one schema which i named as SCM, and i have defined one table TT.
I created one form test.fmb in which i used TT table.its compiled successfully.
Then i generated the xml file using frmf2xml from fmb file. After that, I created the project in appication migration wizard in SCM schema.
Project creattion is working fine.but when i m trying to create application,it is showing me above error.
can any one help in solving this problem.Hi Hilary,
Thanks for your response/feedback.
1. The schema associated with the project does not contain the necessary objects Can you please verify that the schema associated with your Forms conversion project does in fact contain the objects associated with the uploaded files. Could you also verify that the object names referenced in the error message do not exist within the schema associated with your workspace. Ensure that the schema associated with the project contains the necessary database objects before proceeding to the generation phase of the conversion process.
Ans:
Yes it does contain the objects (See results from SQL query Commands below):
SELECT MWRA_CONTRACT_NO, OLD_CONTRACT_NO FROM PROJECTS@CONTRACT_LX19.MWRA.NET
ORDER BY MWRA_CONTRACT_NO
000000569 551TA
000000570 553TA
000000575 560TA
000000576 561TA
000107888 502TA
000108498 500TA
000108502 503TA
2. The block being converted contains buttons, which may have been incorrectly identified as database columns, and included in the original or enhanced query associated with your block This is a known issue ,bug 9827853, and a fix will be available in our upcoming 4.0.1 patch release. Some possible solutions to this issue are:
-> delete the buttons before generating the XML
-> delete the button tags from the XML
-> add "DatabaseItem=No" for the button in the XML file before importing it in Apex.The button is excluded when creating the Application.
Ans
yes it does contain push buttons to transfer to another forms and these are defined as Non data base items. Parial XML code provided below:
- <Item Name="REPORTS" FontSize="900" DirtyInfo="true" Height="188" XPosition="4409" FontName="Fixedsys" ForegroundColor="black" DatabaseItem="false" Width="948" CompressionQuality="None" YPosition="3709" FontSpacing="Normal" Label="REPORTS" BackColor="canvas" FillPattern="transparent" ShowHorizontalScrollbar="false" FontWeight="Medium" ShowVerticalScrollbar="false" FontStyle="Plain" ItemType="Push Button">
<Trigger Name="WHEN-BUTTON-PRESSED" TriggerText="GO_BLOCK('REPORT_1');" />
</Item>
- <Item Name="TRACKHDR" FontSize="900" DirtyInfo="true" Height="188" XPosition="3409" FontName="Fixedsys" ForegroundColor="black" DatabaseItem="false" Width="948" CompressionQuality="None" YPosition="3709" FontSpacing="Normal" Label="TRACK" BackColor="canvas" FillPattern="transparent" ShowHorizontalScrollbar="false" FontWeight="Medium" ShowVerticalScrollbar="false" FontStyle="Plain" ItemType="Push Button">
<Trigger Name="WHEN-BUTTON-PRESSED" TriggerText="GO_BLOCK('TRACKHDRS');" />
</Item>
- <Item Name="SUBAWRD" FontSize="900" DirtyInfo="true" Height="188" XPosition="2429" FontName="Fixedsys" ForegroundColor="black" DatabaseItem="false" Width="948" CompressionQuality="None" YPosition="3719" FontSpacing="Normal" Label="SUBAWARDS" BackColor="canvas" FillPattern="transparent" ShowHorizontalScrollbar="false" FontWeight="Medium" ShowVerticalScrollbar="false" FontStyle="Plain" ItemType="Push Button">
3. If you are still experiencing issues, then please create a testcase on apex.oracle.com and update this thread with the workspace details so I can take a look.
Test case details are given below. It was created per ORACLE for open Service Request Number 3-1938902931 on ORACLE Metalink.
Workspace: contract4
username: [email protected] (my email)
Password: contract4
Comments:
For my migration/testing purpose a dabatase link and synonyms have been setup by our ORACLE DBA. Could this be causing this problem?
Do we know when the fix 4.0.1 patch release will be available?
Thanks for your help.
Indra -
VS2013 suddenly unable to read database schema on Azure server
Hi,
I have 2 databases on an azure server. Everything worked well until yesteday: VS2013 is now unable to read any database schema on this Azure server (same operations on an SQL EXPRESS instance are performed without problem).
When I try to open any table definition, I have "the designer encountered an error while loading the table definition"
When I try to rebuild after update the model (EF6) from database (I added a stored procedure), I have:
"The target database schema could not be retrieved. Unable to reconnect to database: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. " (note that when I launched "update
model from database", I had no problem. The fuss happens during the build).
But I still can read data and execute procedure from Azure using VS 2013. I did not alter any credential. Using the same credentials, I still can create/update tables/procédures from Azure portal.
I am a very basic user of VS2013 and Azure, I did not install or create anything weird on it.
I emphisize same operations on an SQL EXPRESS instance are performed without problem.
Thanks for help.
OlivierHello Olivier,
Sorry for the inconvenience because of the above issue.
Could you please try the new SSDT (preview) tool and check if you are able to get the table definition or not.
http://blogs.msdn.com/b/ssdt/archive/2014/12/18/sql-server-database-tooling-preview-release-for-the-latest-azure-sql-database-update-v12-preview.aspx
Download link : http://www.microsoft.com/en-us/download/details.aspx?id=45319
Thanks,
Mukesh -
Cascade delete in container or database schema?
I am creating a database schema which I want to map EJB CMP Entity Beans onto. There are a number of relationships in the schema where I want to cascade deletion if a parent record is deleted and a number of relationships where I want to prevent deletion of parent records if child records exist for the relationship.
I am wondering whether it is better to implement this in the database schema (Oracle) or in the container (JBoss 3.2.2)? I believe it is possible to implement cascading delete in the container but I am not sure about preventing delete in the container? Is there a way I could do it programmatically? I want to use CMP though so I'm not sure there would be much scope for that.
Are there any rules as to which approach is better? Will the container have a problem if I implement it in the database schema? Obviously the ejbRemove may throw an exception if I prevent deletion in a relationship but that is fine. I believe it is not a good idea to implement it in both the container and schema as there will be a conflict when they both try to delete records.
Thanks.Container's cascade-deleting in jboss(tm)3.2.x working properly with any scope:
This example with 1 scope:
<relationships>
<ejb-relation>
<ejb-relation-name>Region-Town</ejb-relation-name>
<ejb-relationship-role>
<ejb-relationship-role-name>region-has-towns</ejb-relationship-role-name>
<multiplicity>One</multiplicity>
<relationship-role-source>
<ejb-name>RegionBean</ejb-name>
</relationship-role-source>
<cmr-field>
<cmr-field-name>regionTowns</cmr-field-name>
<cmr-field-type>java.util.Set</cmr-field-type>
</cmr-field>
</ejb-relationship-role>
<ejb-relationship-role>
<ejb-relationship-role-name>town-belongs-to-region</ejb-relationship-role-name>
<multiplicity>Many</multiplicity> <cascade-delete/>
<relationship-role-source>
<ejb-name>TownBean</ejb-name>
</relationship-role-source>
<cmr-field>
<cmr-field-name>region</cmr-field-name>
</cmr-field>
</ejb-relationship-role>
</ejb-relation>
</relationships> -
SIMPLE Database Design Problem !
Mapping is a big problem for many complex applications.
So what happens if we put all the tables into one table called ENTITY?
I have more than 300 attributeTypes.And there will be lots of null values in the records of that single table as every entityType uses the same table.
Other than wasting space if I put a clustered index on my entityType coloumn in that table.What kind of performance penalties to I get?
Definition of the table
ENTITY
EntityID > uniqueidentifier
EntityType > Tells the entityTypeName
Name >
LastName >
CompanyName > 300 attributeTypes
OppurtunityPeriod >
PS:There is also another table called RELATION that points the relations between entities.>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
check the coloumn with WHERE _entityType='PERSON'
as there is is clustered index on entityType...there
is NO performance decrease.
there is also a clustered index on RELATION table on
relationType
when we say WHERE _entityType ='PERSON' or
WHERE relationType='CONTACTMECHANISM'.
it scans the clustered index first.it acts like a
table as it is physically ordered.I was thinking in terms of using several conditions in the same select, such as
WHERE _entityType ='PERSON'
AND LastName LIKE 'A%' In your case you have to use at least two indices, and since your clustered index comes first ...
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Have you ever thought of using constraints in your
modell? How would you realize those?
...in fact we did.We have arranged the generic object
model in an object database.The knowledge information
is held in the object database.So your relational database is used only as a "simple" storage, everything has go through your object database.
But the data schema is held in the RDBMS with code
generation that creates a schema to hold data.If you think that this approach makes sense, why not.
But in able to have a efficent mapping and a good
performance we have thought about building only one
table.The problem is we know we are losing some space
but the thing is harddisk is much cheaper than RAM
and CPU.So our trade off concerated on the storage
cost.But I still wonder if there is a point that I
have missed in terms performance?Just test your approach by using sufficiently data - only you know how many records you have to store in your modell.
PS: it is not wise effective using generic object
models also in object databases as CPU cost is a lot
when u are holding the data.I don't know if I'd have taken your approach - using two database systems to hold data and business logic.
PS2: RDBMS is a value based system where object
databases are identity based.we are trying to be in
the gray area of both worlds.Like I wrote: if your approach works and scales to the required size, why not? I would assume that you did a load test with your approach.
What I would question though is that your discussing a "SIMPLE Database Design" problem. I don't see anything simple in your approach when it comes to implementation.
C. -
A question about database schema when creating JClient Form
Sir,
I created a JClient Form application using the wizard, in which a JCLoginDialog was generated. Then I modified the JCLoginDialog.java file so that it works with JDBC instead of with the OracleAS JAAS Provider. My name is the database schama name, and I created the form using my name.
When I log in using my name, It is fine. But when my colleague log in using her name, it is failed. The error message said that the table is not found. My colleague has access of the related database table through a database role.
I think it is the schema problem when I create the model project. I do not know how to add the schema name before the table name, such as stephen.mytable .
Please help me. Thanks
StephenI have solve the problem. That was a mistake I made.
Stephen -
Slow database/schema - network OK
We have an arrangement at a users site that has an IIS web server connected to an Oracle database Schema. The ping (<1ms) and trace route between them are very healthy. The web server is OK too. Yet when the server reads and writes data to the database the process is very slow.
We’ve even taken the web server out of the equation and got the DBA to run a small script that inserts and deletes data and captures some timings. The result is the read and write (Select, update and delete) take at least 200% longer than in most other environments we ran the same test in. All in all the bottle neck is the Oracle 9 server.
The database server itself is supposed to be very powerful. Any suggestions?I don't think there is anything wrong with the Actual SQL of the application, under normal circumstances it is quite efficient, we have it running on several servers with no problems. The test script was devised to prove it wasn't the SQL of the application or the application server itself. It creates a table with two columns and using loops inserts, updates and deletes the data. The test table is index on the ID column.
In using this test script on other servers the time it took to complete the operations was very quick except for this one Oracle 9 server. We understand the server is hosting serveral Oracle databases each containing several users and schemas also in the afternoons the time the operation takes can be even longer pointing towards some sort of load management issue. -
URGENT: Show the Database Schema in a JSP
Hi,
I want to make a JSP to show the Database Schema.
I'm using JDev 10.1.2 + ADF/Struts + Oracle Database.
I need show the tablenames in this page.
How to do this ?more details;
1. I developed a web-application, and now, I want to include a new module:
- Import and Export database objects.
2. I have a Stored Procedure that receives two parameters:
- The table name and the operation(import or export).
This Stored Procedure import/export the table to/from a DBF file.
Well, I found two solutions and two problems:
---- Solution 01 ------
-> To make one Store Procedure to get the table object names and show this result in a JSP.
---- The Problem ----
I do not know how to "to pass/to transfer" the connection object from the Application Module to a JDBC connection object or from an Application Module execute a Stored Procedure.
---- Solution 02 -----
-> From the ADF objects, browsing the database objects(schema) to a JSP.
---- The Problem ----
I do not know how to do this. I do not know which objects to use.
Please, give-me an idea, how to do this, and in the your opinion which is the best solution.
thanks for any reply, for any help. -
Migrating reports to new database schema
Hi,
My company has numerous Crystal Reports .RPT files that work against the existing database schema, but we are moving to a new database with a significantly different schema.
Rather than have to manually recreate new RPT files for all the reports, it would be nice if it would be possible to automate the process.
I have looked through the documentation for the various Java APIs and am completely confused as to whether this is possible and, if so, the best way to do it.
Any help would be appreciated.
Thanks,
CarlI did have Crystal Reports version 9 installed, as well as version XI, but I uninstalled everything and only reinstalled Crystal Reports XI release 2, and I still have the same problem.
Here is the code I am running:
package reporting;
import com.crystaldecisions.sdk.occa.report.data.*;
import com.crystaldecisions.sdk.occa.report.lib.*;
import com.crystaldecisions.sdk.occa.report.application.*;
import java.io.*;
import java.util.*;
public class TestReporting3 {
public TestReporting3() {
public static void main (String [] p_Args) {
try {
String path = "C:\\Samples\\Test3.rpt";
ReportAppSession ra = new ReportAppSession();
ra.createService("com.crystaldecisions.sdk.occa.report.application.ReportClientDocument");
ra.setReportAppServer("inproc:jrc");
ra.initialize();
ReportClientDocument clientDoc = new ReportClientDocument();
clientDoc.setReportAppServer(ra.getReportAppServer() );
clientDoc.open(path, 0);
ConnectionInfo info = new ConnectionInfo();
info.setKind(ConnectionInfoKind.SQL);
info.setPassword("client");
info.setUserName("client");
PropertyBag bag = new PropertyBag();
bag.put("Server Type", "JDBC (JNDI)");
bag.put("Database DLL", "crdb_jdbc.dll");
bag.put("Connection String", "Use JDBC=b(true);Connection URL=s(jdbc:derby://localhost:6652/agency;create=true);Database Class Name=s(org.apache.derby.jdbc.ClientDriver);Server=;User ID=s(client);Password=;JDBC Connection String=s(!org.apache.derby.jdbc.ClientDriver!jdbc:derby://localhost:6652/agency;create=true!user={userid}!password={password})");
bag.put("Use JDBC", "true");
bag.put("Database Class Name", "org.apache.derby.jdbc.ClientDriver");
bag.put("Server Name", "jdbc:derby://localhost:6652/agency;create=true");
bag.put("URI", "!org.apache.derby.jdbc.ClientDriver!jdbc:derby://localhost:6652/agency;create=true!user={userid}!password={password}");
info.setAttributes(bag);
clientDoc.getDatabaseController().replaceConnection((IConnectionInfo)clientDoc.getDatabaseController().getConnectionInfos(null).get(0), info, null, 0);
clientDoc.saveAs("NewTest3.rpt", "C:/Samples", 0);
System.out.println("Done");
} catch (Exception ex) {
ex.printStackTrace();
The exception is being thrown by the line clientDoc.getDatabaseController().replaceConnection(...);
Regards,
Carl -
LiveCache Server Install stuck on step "Create database Schema"
Hi,
I am trying to install LiveCache Server 7.7 using MaxDB as the database on a Windows 2003 Server (64 bit). However, it seems to be stuck on the "Create database schema" step. This is the last step on the installation. We run it for 24 hours without the step completing. We retried several times but the same result. I have seen that this happened to somebody on a different forum but no solution was provided. Any help is appreciated.
WillyHello,
-> Are you using the "@" character in the passwords of the database users?
-> May be the issue is similar to the reported in the SAP Note 848436?
-> Please try to run the installation with default passwords:
control/control
superdba/admin
sap<SID>/sap
-> See the documentation at http://maxdb.sap.com/doc/7_7/default.htm -> Database Administration -> Managing Users
-> Conventions for User Names and Passwords
-> SAP Note 767598 (SAP MaxDB: Available Documentation)
-> As SAP customer you have the option to create the OSS ticket on this issue, we could login to the system to review the problem & discuss the issue in more details.
Thank you and best regards, Natalia Khlopina
Maybe you are looking for
-
Mini-VGA to S-video resolution problems.
I have recently hooked up a Apple Video Adapter that connects from my 17" iMac 1.8 GHz G5 Mini-VGA port to the S-video port on my RCA TV. My problem is that while it is plugged in I cannot put my iMac resolution at the proper 1440 x 900 because the o
-
Can I install Mac OS X Tiger 10.4 on a dell Optiplex Gx280?
Hi! I have a couple of questions which I can't seem to find the answers too. 1) Can I install Mac OS X Tiger 10.4 on a Dell Optiplex GX280? 2) Can I take the HDD from the aforementioned Dell and place it in my Power Mac G4 Digital Audio? If so, will
-
some how i have 2 versions of firefox. i am always getting a prompt that i cannot have 2 versions open at the same time.
-
To find out total number of sessions connected to database from DMZ node
Hi Experts, We are in the process of auditing and i need detail data on this.Kindly help me to know ,how many sessions are connected to oracle database from DMZ node.Also let me know how can i get all the users connected from different node on daily
-
Mail keeps asking for password despite a healthy keychain
So I've run across the problem where Mail constantly asks for the password even though I have it stored in a keychain. I have searched the board and tried every solution proposed. I have repaired the keychain and deleted and reset the password ... ev