Unable to select localization on a new database
Hello,
When creating a new database the 'Local Setting' field is inactive (grayed).
Any idea what can be the reason?
Thanks,
Maya
Hi Maya,
if you're running version 8.8, your license may be applicable to your localisation only, therefore there is no need to choose a localisation.
Please see the licensing guide in the [DRC|https://service.sap.com/smb/sbo/documentation].
All the best,
Kerstin
Similar Messages
-
Entity Framework - unable to select the oracle data connection
Entity Framework - unable to select the oracle data connection from the wizard that allows you to select the data provider. Even though we successfully added a data connection that points to an oracle database, we still can't select an existing data connection or create a new database provider that points to an oracle instance.
we are using both vs 2008 sp1 and vs 2010. We connect to oracle 11g and we use the latest oracle odp.net driver. the Driver is installed and working in vs studio.I had this exact problem when I started. I think I had downloaded the wrong odbc (the 64x version). When I unloaded that version and downloaded the 32bit version it worked.
Hope that helps. ~ Darla -
I have installed the XE edition and the home page and all works. What I would like to do is create a simple database and have an application talk to it via OLEDB. Two problems with that:
1) If you want to create a new database, the simplest option is to use the Database Configuration Assistance (DBCA). But that doesnt come with XE and you dont appear to be able to download it.
Your next option is to use SQL statements. The manual contains some info but it states that your DBA will typically create the database using SQl scripts. It does give some snippets as to what you might do, but it is not complete and hence fails if you try it (bad docs!). I found a few other web pages that contain some commands, e,g this one:
http://www.adp-gmbh.ch/ora/admin/creatingdbmanually.html
which I am about to try next.
Why is creating a new DB using Oracle so hard? Took me 10 min on MySQL and SQL Server. Surely for test purposes if you just want a simple database with default settings, it should be easy to create?
2) Visual Studio 2003 lets you do a database connection test. So with Oracle XE installed, I did a connection test using "Microsfot OLE DB Provider for SQL Server" and I choose local host and give it my admin user name and password. It says "Test connection failed because of an error initializing provider. SQL Server does not exist or access denied". I also installed ODAC101040 which is supposed to install the Oracle OLEDB driver. So if I try and do a connection test for the "Oracle Provider for OLE DB". Just selecting it gives you "OraOLEDBplus10.dll - The specific module could not be found". So what does ODAC101040 install really then?
Any ideas?I will take the first part of this (BTW - it's often better to have seperate threads for seperate questions - makes it easier to track).
The concept of a database in SQLServer and MySQL is different than the concept of a database in Oracle. In Oracle, we use the concept of a schema to seperate logical objects in a name space, SQLServer and MySQL use a database. We also then use the concept of a tablespace to seperate how physical objects are stored, as opposed to how a database is used in SQLServer and MySQL.
In XE, you can have as many schemas and tablespaces as you want. So instead of looking at CREATE DATABASE (which is really complicated, and not really doing what you think it is doing), you should be instead be considering CREATE USER (creates a schema in which you can then create database objects) and CREATE TABLESPACE (creates a physical storage location). Having said that, XE defaults the physical storage locations to a generic tablespace called USERS, as an aid to simplicity, but you can create your own tablespaces if you wish.
CREATE USER is docced in the 2 DAY DBA guide for XE. CREATE TABLESPACE is in the Oracle Database 10g Release 2 doc - http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_7003.htm#SQLRF01403
So the question really is - what is if that you are wanting to do when you are trying to create a database in Oracle ? What is the problem you are trying to solve ? -
Creating a new company in a new database
I am attempting to create a new company, but want it in a separate database. (Just like creating a Sandbox for development and testing.) However, when I choose to create the new company (specifying company name, accounting periods, etc.), B1 will not let me specify a new database name. It is forcing me to select an existing B1 database.
Is there a Procedure to create a new (clean copy) of a B1 database that I can subsequently use to create the new company in????
Thanks for any help you can give me...Hello,
Do one thing first take a backup of SAP company from SQL.
then make new database using Sufix and prefix Test_ then restore that database which you have taken backup.
Now You can login in your test database in SAP.
Thanks
Manvendra SIngh Niranjan -
Create a new database in foxpro , msaccess dynamically
hello,
i am writing an application in which depending on the users selection a database will be created dynamically .i.e if he selects oracle or foxpro or access it will create a new database using the dsn supplied by the user and then creates the tables in that particular database .
i would like to know how to create a new database from within a class file for foxpro or msacces dynamically.
thanks for the helphi,
thanks for ur response.
i have no problem in creating tables
my application does that, but i wanna know how to create a new database so that the tables that are created for a particular clients data are stored in a database specific for that client only , i.e. when his work is over he can completely discard the database by dropping it and can create new database when he wants to start a new database related to different client.
i would like to know how to create that database file, system or file dsn dynamically. -
SSMS crash when creating new database diagram
For several years I have been unable to create database diagrams from within SSMS. I have tried every combination of VS2005, VS2008, VS2012 and VS2013 with every combination of SQL2005, SQL2008, SQL2012 and SQL2014.
I have installed, uninstalled, and repaired many dozens of times. I am currently using VS2013 ultimate with SQL2014 express.
I have tried every related 'workaround' that I can find on the internet. Still the problem persists.
Any help would be deeply appreciated.
Here are the relevant details with file versions:
In SSMS, I right-click on a database and choose New Database Diagram. A Blank diagram window appears with the SSMS error dialog:
===================================
Attempted to read or write protected memory. This is often an indication that other memory is corrupt. (Microsoft.VisualStudio.OLE.Interop)
Program Location:
at Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.QueryStatus(Guid& pguidCmdGroup, UInt32 cCmds, OLECMD[] prgCmds, IntPtr pCmdText)
at Microsoft.VisualStudio.Platform.WindowManagement.DocumentObjectSite.QueryStatus(Guid& pguidCmdGroup, UInt32 cCmds, OLECMD[] prgCmds, IntPtr pCmdText)
at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.QueryStatus(Guid& pguidCmdGroup, UInt32 cCmds, OLECMD[] prgCmds, IntPtr pCmdText)
at Microsoft.Internal.VisualStudio.Shell.Interop.IVsTrackSelectionExPrivate.Register()
at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ConnectSelectionContext()
at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.Activate()
at Microsoft.VisualStudio.Platform.WindowManagement.WindowManagerService.viewManager_ActiveViewChanged(Object sender, ActiveViewChangedEventArgs e)
at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
at Microsoft.VisualStudio.PlatformUI.ExtensionMethods.RaiseEvent[TEventArgs](EventHandler`1 eventHandler, Object source, TEventArgs args)
at Microsoft.VisualStudio.PlatformUI.Shell.ViewManager.SetActiveView(View view, ActivationType type)
at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ShowInternal(ShowFlags showFlags)
at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.<Show>b__26()
at Microsoft.VisualStudio.ErrorHandler.CallWithCOMConvention(Func`1 method)
at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.Show()
at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.MarshalingWindowFrame.<Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame.Show>b__7a()
at Microsoft.VisualStudio.Shell.ThreadHelper.Invoke[TResult](Func`1 method)
at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.MarshalingWindowFrame.Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame.Show()
at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VirtualProject.CreateDesigner(Urn origUrn, DocumentType editorType, DocumentOptions aeOptions, IManagedConnection con, String fileName)
at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VirtualProject.Microsoft.SqlServer.Management.UI.VSIntegration.Editors.ISqlVirtualProject.CreateDesigner(Urn origUrn, DocumentType editorType, DocumentOptions aeOptions, IManagedConnection
con, String fileName)
at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.ISqlVirtualProject.CreateDesigner(Urn origUrn, DocumentType editorType, DocumentOptions aeOptions, IManagedConnection con, String fileName)
at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VsDocumentMenuItem.CreateDesignerWindow(IManagedConnection mc, DocumentOptions options)
at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VsDocumentMenuItem.InvokeDesigner(IManagedConnection connection)
at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VsDocumentMenuItem.Invoke()
at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.ToolsMenuItemBase.MenuInvokedHandler(Object sender, EventArgs args)
Version info taken from Sql Server Management Studio/Help/About dialog:
Microsoft SQL Server Management Studio 12.0.2000.8
Microsoft Analysis Services Client Tools 12.0.2000.8
Microsoft Data Access Components (MDAC) 6.1.7601.17514
Microsoft MSXML 3.0 4.0 5.0 6.0
Microsoft Internet Explorer 9.11.9600.17358
Microsoft .NET Framework 4.0.30319.18444
Operating System 6.1.7601
DLL versions
c:\Program Files(x86)\Common Files\microsoft shared\Visual Database Tools
dsref80.dll version 12.0.21005.1
c:\Program Files(x86)\Common Files\microsoft shared\MSDesigners8
msdds.dll 12.0.21005.1
msddsf.dll 12.0.21005.1
msddslm.dll 12.0.21005.1
msdds.mp.dll 12.0.21005.1
msddsp.dll 12.0.21005.1
c:\Program Files(x86)\Common Files\microsoft shared\MSDesigners8\Resources\1033
msddsui.dll 12.0.21005.1Hello,
There is a Connect item related to this issue. This is the link of that Connect item:
https://connect.microsoft.com/SQLServer/feedback/details/730985/smss-crashes-when-creating-new-database-diagram
Try the workarounds posted there (Workarounds section).
Hope this helps.
Regards,
Alberto Morillo
SQLCoffee.com -
Error when creating a new database on oracle 9i release 2
hi friend,
i have a question when i create new database manually then i get error.
error like this
create database alauki
error at line 1:
ORA-01092 : ORACLE instance terminated. Disconnection forced
the alert log file is
Dump file e:\ritesh\alauki\bdump\alert_alauki.log
Mon Jan 02 06:42:47 2006
ORACLE V9.2.0.1.0 - Production vsnsta=0
vsnsql=12 vsnxtr=3
Windows 2000 Version 5.1 Service Pack 2, CPU type 586
Mon Jan 02 06:42:47 2006
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
SCN scheme 2
Using log_archive_dest parameter default value
LICENSE_MAX_USERS = 0
SYS auditing is disabled
Starting up ORACLE RDBMS Version: 9.2.0.1.0.
System parameters with non-default values:
processes = 150
timed_statistics = TRUE
shared_pool_size = 50331648
large_pool_size = 8388608
java_pool_size = 33554432
control_files = E:\RITESH\DATA\CONTROL01.CTL, E:\RITESH\MIRROR\CONTROL01.CTL
db_block_size = 8192
db_cache_size = 25165824
compatible = 9.2.0.0.0
db_file_multiblock_read_count= 16
fast_start_mttr_target = 300
undo_management = AUTO
undo_tablespace = UNDOTBS1
undo_retention = 10800
remote_login_passwordfile= EXCLUSIVE
db_domain =
instance_name = ALAUKI
dispatchers = (PROTOCOL=TCP) (SERVICE=ALAUKIXDB)
job_queue_processes = 10
hash_join_enabled = TRUE
background_dump_dest = E:\RITESH\ALAUKI\bdump
user_dump_dest = E:\RITESH\ALAUKI\udump
core_dump_dest = E:\RITESH\ALAUKI\cdump
sort_area_size = 524288
db_name = ALAUKI
open_cursors = 300
star_transformation_enabled= FALSE
query_rewrite_enabled = FALSE
pga_aggregate_target = 25165824
aq_tm_processes = 1
PMON started with pid=2
DBW0 started with pid=3
LGWR started with pid=4
CKPT started with pid=5
SMON started with pid=6
RECO started with pid=7
CJQ0 started with pid=8
QMN0 started with pid=9
Mon Jan 02 06:43:02 2006
starting up 1 shared server(s) ...
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
Mon Jan 02 06:43:07 2006
alter database mount exclusive
Mon Jan 02 06:43:08 2006
ORA-09341: scumnt: unable to mount database
OSD-04400: unable to acquire internal semaphore for process
O/S-Error: (OS 183) Cannot create a file when that file already exists.
Mon Jan 02 06:43:08 2006
ORA-1102 signalled during: alter database mount exclusive...
Shutting down instance: further logons disabled
Shutting down instance (immediate)
License high water mark = 3
Waiting for dispatcher 'D000' to shutdown
Waiting for shared server 'S000' to die
All dispatchers and shared servers shutdown
Mon Jan 02 06:46:03 2006
alter database close normal
ORA-1507 signalled during: alter database close normal...
Dump file e:\ritesh\alauki\bdump\alert_alauki.log
Mon Jan 02 10:50:49 2006
ORACLE V9.2.0.1.0 - Production vsnsta=0
vsnsql=12 vsnxtr=3
Windows 2000 Version 5.1 Service Pack 2, CPU type 586
Mon Jan 02 10:50:49 2006
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
SCN scheme 2
Using log_archive_dest parameter default value
LICENSE_MAX_USERS = 0
SYS auditing is disabled
Mon Jan 02 10:51:24 2006
Starting up ORACLE RDBMS Version: 9.2.0.1.0.
System parameters with non-default values:
processes = 150
timed_statistics = TRUE
shared_pool_size = 50331648
large_pool_size = 8388608
java_pool_size = 33554432
control_files = E:\RITESH\DATA\CONTROL01.CTL, E:\RITESH\MIRROR\CONTROL01.CTL
db_block_size = 8192
db_cache_size = 25165824
compatible = 9.2.0.0.0
db_file_multiblock_read_count= 16
fast_start_mttr_target = 300
undo_management = AUTO
undo_tablespace = UNDOTBS1
undo_retention = 10800
remote_login_passwordfile= EXCLUSIVE
db_domain =
instance_name = ALAUKI
dispatchers = (PROTOCOL=TCP) (SERVICE=ALAUKIXDB)
job_queue_processes = 10
hash_join_enabled = TRUE
background_dump_dest = E:\RITESH\ALAUKI\bdump
user_dump_dest = E:\RITESH\ALAUKI\udump
core_dump_dest = E:\RITESH\ALAUKI\cdump
sort_area_size = 524288
db_name = ALAUKI
open_cursors = 300
star_transformation_enabled= FALSE
query_rewrite_enabled = FALSE
pga_aggregate_target = 25165824
aq_tm_processes = 1
PMON started with pid=2
DBW0 started with pid=3
LGWR started with pid=4
CKPT started with pid=5
SMON started with pid=6
RECO started with pid=7
CJQ0 started with pid=8
QMN0 started with pid=9
Mon Jan 02 10:51:34 2006
starting up 1 shared server(s) ...
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
Mon Jan 02 10:51:45 2006
alter database mount exclusive
Mon Jan 02 10:51:45 2006
ORA-00202: controlfile: 'E:\RITESH\DATA\CONTROL01.CTL'
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.
Mon Jan 02 10:51:48 2006
ORA-205 signalled during: alter database mount exclusive...
Shutting down instance (abort)
License high water mark = 3
Instance terminated by USER, pid = 604
can u pls give me a solution of error
Thanks in advance
Ritesh Patel
Message was edited by:
RITESHthis is my alert log file
starting up 1 shared server(s) ...
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
Mon Jan 02 14:21:01 2006
CREATE DATABASE ALAUKI
USER SYS IDENTIFIED BY * USER SYSTEM IDENTIFIED BY * LOGFILE GROUP 1 ('E:\RITESH\DATA\REDO01.LOG') SIZE 100M,
GROUP 2 ('E:\RITESH\DATA\REDO02.LOG') SIZE 100M,
GROUP 3 ('E:\RITESH\DATA\REDO03.LOG') SIZE 100M
MAXLOGFILES 5
MAXLOGMEMBERS 5
MAXLOGHISTORY 1
MAXINSTANCES 1
CHARACTER SET US7ASCII
NATIONAL CHARACTER SET AL16UTF16
DATAFILE 'E:\RITESH\DATA\SYSTEM01.DBF' SIZE 325M REUSE
EXTENT MANAGEMENT LOCAL
DEFAULT TEMPORARY TABLESPACE TEMPTS1
TEMPFILE 'E:\RITESH\DATA\TEMP01.DBF' SIZE 20M REUSE
UNDO TABLESPACE UNDOTBS1
DATAFILE 'E:\RITESH\DATA\UNDOTBS01.DBF' SIZE 200M REUSE
AUTOEXTEND ON NEXT 5120K MAXSIZE UNLIMITED
Mon Jan 02 14:21:02 2006
Database mounted in Exclusive Mode.
Mon Jan 02 14:21:36 2006
Successful mount of redo thread 1, with mount id 2260372877.
Assigning activation ID 2260372877 (0x86ba8d8d)
Thread 1 opened at log sequence 1
Current log# 1 seq# 1 mem# 0: E:\RITESH\DATA\REDO01.LOG
Successful open of redo thread 1.
Mon Jan 02 14:21:36 2006
SMON: enabling cache recovery
Mon Jan 02 14:21:36 2006
create tablespace SYSTEM datafile 'E:\RITESH\DATA\SYSTEM01.DBF' SIZE 325M REUSE
EXTENT MANAGEMENT LOCAL online
Mon Jan 02 14:22:11 2006
Completed: create tablespace SYSTEM datafile 'E:\RITESH\DATA
Mon Jan 02 14:22:11 2006
create rollback segment SYSTEM tablespace SYSTEM
storage (initial 50K next 50K)
Completed: create rollback segment SYSTEM tablespace SYSTEM
Mon Jan 02 14:22:16 2006
CREATE UNDO TABLESPACE UNDOTBS1 DATAFILE 'E:\RITESH\DATA\UNDOTBS01.DBF' SIZE 200M REUSE
AUTOEXTEND ON NEXT 5120K MAXSIZE UNLIMITED
Mon Jan 02 14:22:38 2006
Created Undo Segment _SYSSMU1$
Created Undo Segment _SYSSMU2$
Created Undo Segment _SYSSMU3$
Created Undo Segment _SYSSMU4$
Created Undo Segment _SYSSMU5$
Created Undo Segment _SYSSMU6$
Created Undo Segment _SYSSMU7$
Created Undo Segment _SYSSMU8$
Created Undo Segment _SYSSMU9$
Created Undo Segment _SYSSMU10$
Undo Segment 1 Onlined
Undo Segment 2 Onlined
Undo Segment 3 Onlined
Undo Segment 4 Onlined
Undo Segment 5 Onlined
Undo Segment 6 Onlined
Undo Segment 7 Onlined
Undo Segment 8 Onlined
Undo Segment 9 Onlined
Undo Segment 10 Onlined
Successfully onlined Undo Tablespace 1.
Completed: CREATE UNDO TABLESPACE UNDOTBS1 DATAFILE 'E:\RITE
Mon Jan 02 14:22:39 2006
CREATE TEMPORARY TABLESPACE TEMPTS1 TEMPFILE 'E:\RITESH\DATA\TEMP01.DBF' SIZE 20M REUSE
Completed: CREATE TEMPORARY TABLESPACE TEMPTS1 TEMPFILE 'E:\
Mon Jan 02 14:22:40 2006
ALTER DATABASE DEFAULT TEMPORARY TABLESPACE TEMPTS1
Completed: ALTER DATABASE DEFAULT TEMPORARY TABLESPACE TEMPTS
Mon Jan 02 14:22:41 2006
SMON: enabling tx recovery
Mon Jan 02 14:22:44 2006
Errors in file e:\ritesh\alauki\udump\rits_ora_804.trc:
ORA-01501: CREATE DATABASE failed
ORA-01991: invalid password file 'D:\oracle\ora90\DATABASE\PWDrits.ORA'
Mon Jan 02 14:22:44 2006
Error 1991 happened during db open, shutting down database
USER: terminating instance due to error 1991
Instance terminated by USER, pid = 804
ORA-1092 signalled during: CREATE DATABASE ALAUKI
USER SYS IDENTIFIED BY * U... -
TNS Protocol error in 11g when creating a new database
Hi,
I have installed 11g R2 64 Bit on Solaris 10 64 Bit. The installation happened successfully. Now when I use DBCA to create a new database it says ORA-12560 TNS:Protocol Adapter Error. I am accessing the server console and performing all operations there itself, I can't understand this issue.
I have also created a listener.ora and tnsnames.ora and its running successfully (but don't really know if it is needed since I have not even created the database). The sqlnet.log shows following
=====================================================
Fatal NI connect error 12560, connecting to:
(DESCRIPTION=(ADDRESS=(PROTOCOL=beq)(PROGRAM=/export/home/oracle/product/11.1.0/db_1/bin/oracle)(ARGV0=oracleTSG11G)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))')(DETACH=NO))(CONNECT_DATA=(CID=(PROGRAM=sqlplus)(HOST=sol11oracle-vm)(USER=oracle))))
VERSION INFORMATION:
TNS for Solaris: Version 11.2.0.1.0 - Production
Oracle Bequeath NT Protocol Adapter for Solaris: Version 11.2.0.1.0 - Production
Time: 17-DEC-2009 10:30:52
Tracing not turned on.
Tns error struct:
ns main err code: 12560
TNS-12560: TNS:protocol adapter error
ns secondary err code: 0
nt main err code: 530
TNS-00530: Protocol adapter error
=====================================================
Some excerpts from the trace is:
=====================================================
2009-12-17 11:14:38.776040 : nsopen:opening transport...
2009-12-17 11:14:38.776097 : ntpcon:entry
2009-12-17 11:14:38.776140 : ntpcon:toc = 1
2009-12-17 11:14:38.776196 : sntpcall:entry
2009-12-17 11:14:38.776221 : sntpcall:not detaching from parent with additional fork
2009-12-17 11:14:38.796184 : sntpcall:hdl[IR]=13, hdl[IW]=12
2009-12-17 11:14:38.796429 : sntpcall:result string is NTP8 0
2009-12-17 11:14:38.796527 : sntpcall:Can't read from pipe; err[1] = 8
2009-12-17 11:14:38.796571 : sntpcall:exit
2009-12-17 11:14:38.796674 : ntpcon:exit
2009-12-17 11:14:38.796755 : nserror:entry
2009-12-17 11:14:38.796776 : nserror:nsres: id=0, op=65, ns=12560, ns2=0; nt[0]=530, nt[1]=8, nt[2]=0; ora[0]=0, ora[1]=0, ora[2]=0
2009-12-17 11:14:38.796861 : nsopen:unable to open transport
2009-12-17 11:14:38.796884 : nstoClearTimeout:entry
=====================================================
In /etc/host i have added server ip with host name.
$ more /etc/host
172.26.171.57 sol11oracle-vm
The .profile of oracle user
export TMP=/tmp
export TMPDIR=$TMP
export ORACLE_BASE=/export/home/oracle
export ORACLE_HOME=$ORACLE_BASE/product/11.1.0/db_1
export ORACLE_SID=TSG11G
export PATH=$PATH:/usr/local/bin:/usr/ccs/bin:/usr/sfw/bin:$ORACLE_HOME/bin
Please suggest.$ more tnsnames.ora
# tnsnames.ora Network Configuration File: /export/home/oracle/product/11.1.0/db_1/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.
TSG11G =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.26.171.57)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = TSG11G)
$ tnsping tsg11g
TNS Ping Utility for Solaris: Version 11.2.0.1.0 - Production on 17-DEC-2009 11:37:10
Copyright (c) 1997, 2009, Oracle. All rights reserved.
Used parameter files:
/export/home/oracle/product/11.1.0/db_1/network/admin/sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 172.26.171.57)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = TSG11G)))
OK (50 msec) -
HELP: Problem creating a new database in Oracle 9i
I am having difficulty in creating a new database in Oracle 9i, on Windows 2000. I would be obliged if somebody can go through the posting below and guide me as to what mistake I am making or what is the source of the problem:
I reproduce the steps taken by me.
I have decide the database to be called Mydb. I have made the following directories:
-- d:\mydb
-- d:\mydb\data
-- d:\mydb\control
-- d:\mydb\log
-- d:\mydb\bdump
-- d:\mydb\cdump
-- d:\mydb\udump
-- d:\mydb\archive
-- d:\mydb\pfile
-- d:\mydb\scripts
-- d:\mydb\exp
I copied the initoracle.ora file to d:\mydb\pfile\initmydb.ora, and made the following changes to it:
-- db_name = mydb
-- instance_name = mydb
-- control_files = ("d:\mydb\control\control01.ctl")
-- background_dump_dest = d:\mydb\bdump
-- core_dump_dest = d:\mydb\cdump
-- user_dump_dest = d:\mydb\udump
-- remote_login_passwordfile = exclusive
Also, I created a text file called d:\Oracle\Ora90\DATABASE\initmydb.ora with the following contents:
ifile=d:\mydb\pfile\initmydb.ora
At DOS prompt, I run the following command:
set oracle_sid=mydb
I run the ORAPWD utility to create internal password file at the command prompt.
d:
cd \oracle\ora90\database
orapwd file=pwdmydb.ora password=panther entries=25
I create a Windows service for the database as follows:
oradim -new -sid mydb -startmode a -pfile d:\mydb\pfile\initmydb.ora
I get connected:
sqlplusw /nolog
connect sys/change_on_install as sysdba
startup nomount # pfile=d:\mydb\pfile\initmydb.ora
create database mydb
MAXINSTANCES 1
MAXLOGHISTORY 1
MAXLOGFILES 5
MAXLOGMEMBERS 5
MAXDATAFILES 100
datafile 'd:\mydb\data\system.dbf' size 325m REUSE
AUTOEXTEND ON NEXT 10240K MAXSIZE UNLIMITED
undo tablespace undotbs datafile 'd:\mydb\data\undo01.dbf' size
200m reuse
AUTOEXTEND ON NEXT 5120K MAXSIZE UNLIMITED
default temporary tablespace temptbs
CHARACTER SET WE8MSWIN1252
NATIONAL CHARACTER SET AL16UTF16
logfile group 1 ('d:\mydb\log\log1.log') size 1m,
group 2 ('d:\mydb\log\log2.log') size 1m,
group 3 ('d:\mydb\log\log3.log') size 1m;
Now I get the following error:
create database mydb
ERROR at line 1:
ORA-01092: ORACLE instance terminated. Disconnection forced
The data files, control file, redo log files are all created. But the above error comes, and I am unable to start the database. What is the reason?
Thanks in anticipation.
PSHi DENIS,
I have executed the following commands (which are in a script file),
1. sqlplus /nolog
2. connect sys/change_on_install as sysdba
3. create database ...
4. ...
When I execute the 3rd command, I get an error message as "ORACLE TERMINATED FORCED" and it will end the session. So when the next set of commands in the script are executed, I got the error saying "DATABASE NOT OPEN".
How to rectify this problem.
Thanks in advance,
Kiran -
Creating Selection Screen version in Logical Database
Hi,
I want to design my own Selection screen while creating a report with Logical Database. My requirement is not to show the Standard Selection screen of LDB.
Can it be achieved by creating Selection Screen Version in SE36 and using that version in Attribute of the Report?
If yes, then how can it be created?You can change the Selection Include to include your selection screen version.
Go to SE36
Select "Selections"
Change
Create a new version like:
SELECTION-SCREEN BEGIN OF VERSION 904 TEXT-904.
SELECTION-SCREEN EXCLUDE PARAMETERS: KD_STIDA.
SELECTION-SCREEN EXCLUDE SELECT-OPTIONS: KD_GJAHR, KD_BUDAT, KD_AUGDT,
KD_ZUONR, KD_UMSKZ.
SELECTION-SCREEN END OF VERSION 904.
Regards,
Naimesh Patel -
SharePoint 2010 Slide Library Unable To Select Managed Metadata When Publishing.
Hello,
I'm running into some problems with Managed Metadata when uploading (publishing) slides in a SharePoint 2010 Slide Library. If I have Managed Metadata Site Columns that are set to be required in my slide library, and I publish my slide(s) into the
SharePoint 2010 Slide Library I'm not prompted to enter in my required Metadata before the slide is published. The slide will upload, but then I would need to edit the slide and then enter in the required Metadata.
If I create a new column with a type set to Choice for example, and set it to be required and I upload (publish) a slide I'm now prompted to enter in the required Metadata, but all the Managed Metadata choices are grayed out and I'm unable to select anything.
I'm able to select a Choice for the new column.
Is this a bug within SharePoint 2010 that does not allow me to enter in Required Managed Metadata Tags on uploading (publishing) slides?
Regular document libraries work just fine with required Managed Metadata.
Thanks for any assistance.
v/r
JShidell
v/r JShidellHi,
According to your post, my understanding is that the Managed Metadata not prompted to enter value in the required metadata.
I had tested with this issue, and I found the same issue.
We will help to submit the issue to proper pipeline for you.
Again, thank you for your report which will definitely make SharePoint a better products. There might be some time delay.
Appreciate your time and patience.
Thank you for your understanding and support.
Thanks & Regards,
Jason
Jason Guo
TechNet Community Support -
Hi all,
In the Notepad, I created an xml file (ZenQroducts.xml) :
<Qroducts>
<Qroduct>
<SKU>1</SKU>
<Desc>Book</Desc>
</Qroduct>
<Qroduct>
<SKU>2</SKU>
<Desc>DVD</Desc>
</Qroduct>
<Qroduct>
<SKU>3</SKU>
<Desc>Video</Desc>
</Qroduct>
In my SQL Server 2012 Management Studio, I executed the following code:
--to create a new object Qroducts in a new database OPENXMLtesting
CREATE DATABASE OPENXMLtesting
GO
CREATE TABLE Qroducts(
sku INT Primary KEY,
qroduct_desc VARCHAR(30));
INSERT INTO Qroducts (sku, qroduct_desc)
SELECT X.qroduct.query('SKU').value('.', 'INT'),
X.qroduct.query('Desc').value('.', 'VARCHAR(30)')
FROM (
SELECT CAST(x AS XML)
FROM OPENROWSET(
BULK 'H:\ZenQroducts.xml',
SINGLE_BLOB) AS T(x)
) AS T(x)
CROSS APPLY x.nodes('Qroducts/Qroduct') AS X(qroduct);
SELECT sku, qroduct_desc
FROM Qroducts;
I got the following message:
Msg 9400, Level 16, State 1, Line 6
XML parsing: line 13, character 12, unexpected end of input
I have no ideas why I got this "XML parsing:line 13, character12, unexpected end of input" message. Please kindly help, advise me on where I made mistake and how I can resolve this problem, and respond in this Forum.
Thanks in advance,
Scott Chang
Hi Manish, Thanks for your response.
Yes, it is a duplicate with Qroducts/Qroduct instead of Products/Product. I did it, because I don't know how to remove the existing "Products" database.
Again, I got the existing "Qroducts" database in this second trial!!?? I am comletely lost in doing "Importing XML file to SQL Table" now!! I think that I have not touched T-SQL and XML programming, since 2008. I
did not catch the new features of T-SQL 2008, XML, SQL/XML, XQuery, etc. for long time. Recently, I did not know what DECLARE, @x, SET,...were, and dived into the SQL/XML and XQuery programming. I knew the SQL Basics (SELECT, FROM, WHERE,..), creating
the names of databases and tables in SQL Server 2008/2012 Management Studio (Express) before. This morning, I found an old T-SQL 2008 Prgrammer's Guide that has the new features of SQL Server 2008 for T-SQL, XML, XQuery, etc. I just starting reading
it to know what DECLARE, @x, SET,... are. But, I still don't know where the existing databases "Products" and "Qroducts" (created by me) are - they are not in the Databases of SQL Server 2012 Management Studio I am using!!?? Could
you please kindly point out where the "Products" and "Qroducts" databases are?
Prashanth responded to my posted question too and he asked to to try his code: DECLARE @xml XML, SELECT @xml =' <Qroducts>.....SELECT product.value.....FROM @XML.nodes.....AS.... I just learned that his code is doing the thing we
want to do and print the results below the SQL Query. This is not what I need in doing my SQL/XML programming. I am reading/studying the new (2008) features of T-SQL, XQuery 1.0: An XML Query Language (Second Edition), and Microsoft XQuery Language Reference
(SQL Server 2012 Books Online) closely now. I hope that I can resume the T-SQL, XML Query, SQL/XML, XQuery in my SQL Server 2012 Management Studio soon.
Please tell me where the existing databases "Products" and "Qroducts" I created in my previous trials in my SQL Server 2012 Management Studio. This is what I need to know and to delete them, before I do this kind of "Importing
XML file to Table of SQL Server 2012 Management Studio" programming again.
Please kindly help, advise and respond again.
Many Thanks,
Scott Chang -
Unable to select IS from the drop down list in message mapping
Hi,
i know that we can monitor 'Integration server' in message monitoring rather than choosing integration engine or adapter engine.
But in our existing land scapes i am unable to select IS from the drop down list in message mapping.
using PI 7.1 SP 08.
please let me know that we need to set up additional configurations settings to select IS form drop down list.
Regards,
Pradeep A.Hi Pradeep,
please let me know that we need to set up additional configurations settings to select IS form drop down list.
There are no extra settings that needs to be done for this. I don't know whether you have noticed this, but IS option will only come up when you want to monitor the messages from the "Database" and not from the "Database overview" or "Archive".
Regards,
Neetesh -
How to create a new DataBase using Oracle 10g Express Edition???
Hello, I am new to Oracle, I am used to Microsoft SQL Server (Enterprise Manager).
Here in Oracle I do not get how do I create a DataBase, and then create tables on it.
could anyone please explain to me how to do it?A SQL Server database is roughly equivalent to an Oracle schema.
You should rarely need to create a new database. If you do need to create a database, get a 'for fee' edition of Oracle and use the dbca tool (Database Configuration Assistant) to do that. In fact, you are only allowed to have one XE database on the machine.
However, you can create as many schemas in an existing Oracle database as you need. (One schema, owned by userid SYS, is roughly equal to your 'master catalog'.)
You can create other schemas simply by
1) creating a userid that will own the schema (one designated for maintenance of the schema);
2) grant that userid appropriate privileges, such as 'CREATE TABLE', 'CREATE VIEW' as shown in the SQL Reference manual under the GRANT section;
3) provide that userid with a quota in one or more tablespaces (see the CREATE USER command in the SQL Reference manual);
4) create the objects, such as tabels, views, sequences, stored procs and functions, etc. (as in the SQL Reference manual);
5) create the users who will access the objects, and grant them the CREATE SESSION capability (as in the SQL Reference manual);
6) grant access (select, update, execute, etc.) on the schema objects to these users (as in the SQL Reference manual);
7) if desired, create synonyms on the schema objects so the users do not need to use fully qualified syntax such as "SELECT col FROM schema.table;" (as in the SQL Reference manual).
In case you are interested in looking at the SQL Reference manual, it can be found at http://www.oracle.com/pls/db102/portal.portal_db?selected=1 ;-) -
Hi Team,
I can not select logical and physical relations in DataModeler version 4.1.0.866 Build 866 on Mac Yosemite 10.10.1 (Java SDK 1.8). DataModeler does not allow me to select them. I mean the next scenario: I create two entities (or tables) and add a logical (or physical) relation between them. After this I can not select the relation in diagram window. Meantime I still can select the relation in browser window.
Could you please suggest me is it a bug (maybe a platform specific problem) or did I miss something in software options?
I found a topic about the same issue. It describes the same problem, though the topic is without an answer and was archived.
New bug - Unable to select logical relations in version 4.0.2.15 Build 15.21 on Mac
At the end, if this is a bug (even a platform specific one), where may I publish details about it to ask for a fix from Oracle team someday in future?
WIth best regards,
KostyantynHi Philip,
Thank you for the good hint about "default line width and colour".
Meantime the option does not resolve the problem in my case.
According to your suggestion I set maximal width for relation lines and I still can not pick (select) it in diagram window.
I checked behaviour of DataModeler with next display resolutions on MacBook Pro (Retina, 15-inch, Mid 2014) in System preferences Displays: "Best for display"; Scaled "More Space", "Larger Text", and "Best (Retina)"... And the problem takes place in all these cases.
Please see attached image - this is how I see the relation line. And I still can hit it!
If I use the DataModler on a casual external monitor, the problem is absent (no matter what a width is). Also I believe the problem takes place only on mac retina displays. Therefore I think this is a platform specific bug.
I do understand a root cause of the problem may have no direct relation with Oracle DataModeler source code.
With best regards,
Kostyantyn
Maybe you are looking for
-
Where is the JMS jar file for CEP?
I cannot find in any jar finder the JMS jar file for CEP. I mean the jar file which includes com.bea.wlevs.adapters.jms.api.InboundMessageConverter, com.bea.wlevs.adapters.jms.api.OutboundMessageConverter, etc. Does anybody know the link? Thanks!
-
Hi All, Below code should be returning 2 values. but i get only one. when i just execute the sql query alone i am getting 2 values. but when i execute the funciton i get only one vlaue. can you please advise? i have given sample table data and result
-
Hello Experts, I have been given a link for SAP Web Access. I am able to access transactions and post data and write programs. However, none of the GUI functionality is working and is giving shorts dumps when i click on the layout tab for Adobe, Inte
-
Have more space between images used as buttons
Hi again, Would like to see if there's some html properties to have more space beetwen buttons based on image: i've used: save.gif and del.gif instead of the standard template buttons. Would be nice to have the 2 images not so near. thanx a lot
-
I never done storage networking before and while configuring and testing our zone/zoneset config I ended up adding targets and all members to the same zone. I'm positive this is not best practice and hoping someone will point me in the right directi