Cannot create database on my local machine
Hi.
Thanks in advance.
I currently have SQL 2008 Server R2 installed on my machine and its' working as expected. With this via Mgmt Studio, I was unable to create a database on my local machine. I kept getting permissions errors. No matter what I did I could
not do anything locally.
To alleviate this I installed SQL Server 2012 Express Mgmt. Studio on my local machine, for the sole purpose of being able to create a local database for testing and learning purposes. During the install I was not prompted to configure the admin account
or any other similar task so I could not set the sa password. After the install was complete, when I launched 2012 express mgmt studio and selected my local machine as my server name (using Win authentication) and pressed the Connect button, I got:
"Login failure for user [domain\user]. (Microsoft SQL Server, Error: 18456]. This is the same error I was getting with my 2008 R2 install, under the same circumstances.
Also, the sample databases did not get installed and I'm not sure why.
When I ran the install (.exe), I ran it as Administrator.
I am an Admin on my machine.
I'm only trying to create a local database for testing and learning purposes, but I am unable to find a way to do this. Can someone let me know what I'm doing wrong?
Thanks.
Logan
Is that means you are not able to login to SSMS at all?
You tried connecting ssms with this name right .\SQLExpress
If are not able to login to SSMS with any account then reset SA password using below link:
https://technet.microsoft.com/en-us/magazine/jj853293.aspx
Similar Messages
-
Team,
I am trying to Install Exchange on my Lab, getting below error
message.
The Schema Role is installed on Root Domain and trying to install
exchange on Child domain.
1 Root Domain - 1 Child domain. both are located on single site.
“Setup encountered a problem while validating
the state of Active Directory: Exchange organization-level objects have not been created, and setup cannot create them because the local computer is not in the same domain and site as the schema master. Run setup with the /prepareAD parameter and wait for
replication to complete.”
Followed below articles:
http://support.risualblogs.com/blog/2012/02/21/exchange-2010-sp2-upgrade-issue-exchange-organization-level-objects-have-not-been-created-and-setup-cannot-create-them-because-the-local-computer-is-not-in-the-same-domain-and-site-as-the-sche/
http://www.petenetlive.com/KB/Article/0000793.htm
transferred the schema roles to different server on root domain, still no luck.
can someone please help me.
regards
Srinivasa k
Srinivasa KHi Srinivasa,
I guess, you didn't completed the initial setup schemaprep and adprep before starting the installation. You can do it as follows:
1. Open command Prompt as administrator and browse to the root of installation cd and run Setup.exe /PrepareSchema /IAcceptExchangeServerLicenseTerms
After finishing this,
2. Setup.exe /PrepareAD /OrganizationName:"<organization name>" /IAcceptExchangeServerLicenseTerms
3. To prepare all domains within the forest run Setup.exe /PrepareAllDomains /IAcceptExchangeServerLicenseTerms. If you want to prepare a specific domain run Setup.exe /PrepareDomain:<FQDN of the domain you want to prepare> /IAcceptExchangeServerLicenseTerms
4. Once you complete all of the 3 steps, install the pre-requisities for Exchange 2013
5. Finally, run the setup program
Hope this will help you
Regards from Visit ExchangeOnline |
Visit WindowsAdmin -
Creating database on multi cpu machines
Hello:
I want to issue the create database statements on a machine that has multiple cpu.
Would like to to know what are the parameters if any need to specify in the ora file and anything specific needs to be done in the create database statement and if there are other considerations.
Thanks,You can utilize there parameters if you have multiple cpu servers.
parallel_max_servers integer 5
parallel_min_percent integer 0
parallel_min_servers integer 0
parallel_server boolean FALSE
parallel_server_instances integer 1
parallel_threads_per_cpu integer 2
Regards,
http://askyogesh.com -
CAQuietExec: Error: Cannot create database.
Could not upgrade from Azure .NET SDK 2.2 to 2.3 (VS 2013) on Windows 8.1 x64. The Storage Emulator 3.0 setup is failing, even if launched manually. Do you have any tips?
The logs of the WindowsAzureStorageEmulator install has the following lines just before initiating a rollback.
MSI (s) (F4:D8) [08:18:27:340]: Source for file 'StartStorageEmulator.cmd' is compressed
InstallFiles: File: StartStorageEmulator.cmd, Directory: C:\Program Files (x86)\Microsoft SDKs\Windows Azure\Storage Emulator\, Size: 64
MSI (s) (F4:D8) [08:18:27:340]: Executing op: CacheSizeFlush(,)
MSI (s) (F4:D8) [08:18:27:340]: Executing op: ActionStart(Name=RunInitialize,Description=Initializing the Storage Emulator,)
Action 8:18:27: RunInitialize. Initializing the Storage Emulator
MSI (s) (F4:D8) [08:18:27:340]: Executing op: CustomActionSchedule(Action=RunInitialize,ActionType=1025,Source=BinaryData,Target=CAQuietExec,CustomActionData="C:\Program Files (x86)\Microsoft SDKs\Windows Azure\Storage Emulator\WAStorageEmulator.exe"
init -forcecreate -autodetect)
MSI (s) (F4:F8) [08:18:27:371]: Invoking remote custom action. DLL: C:\Windows\Installer\MSIEAC9.tmp, Entrypoint: CAQuietExec
MSI (s) (F4:C8) [08:18:27:371]: Generating random cookie.
MSI (s) (F4:C8) [08:18:27:371]: Created Custom Action Server with PID 3640 (0xE38).
MSI (s) (F4:48) [08:18:27:387]: Running as a service.
MSI (s) (F4:48) [08:18:27:387]: Hello, I'm your 32bit Impersonated custom action server.
CAQuietExec: Windows Azure Storage Emulator 3.0.0.0 command line tool
CAQuietExec: Error: Cannot create database.
CAQuietExec: Error 0xfffffff3: Command line returned an error.
CAQuietExec: Error 0xfffffff3: CAQuietExec Failed
CustomAction RunInitialize returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Action ended 8:18:32: InstallFinalize. Return value 3.
MSI (s) (F4:D8) [08:18:32:276]: Note: 1: 2265 2: 3: -2147287035
MSI (s) (F4:D8) [08:18:32:276]: User policy value 'DisableRollback' is 0I agree. This (finally) took care of it! Thanks to DixQuinze and Trent Swanson...
sqllocaldb stop v11.0
sqllocaldb delete v11.0
delete C:\Users\MyAccount\WAStorageEmulatorDb30*.*
sqllocaldb create v11.0
Then try the install again!
-Dave
DixQuinze
0 -
Creating flat file in local machine
Gurus,
My database is OLAP database, i need to extract the data into flat file (.csv/.txt/.xls) in to client machine (Local machine, or End user PC) not in to Oracle DB Server.
Is it possible to achieve the same without using UTL_FILE?
If so please help me in this regard.
Thanks in advance.
Karthik.KWhat client are you running on the PC to connect to the database
If sqlplus you can spool the output
Re: Create a file in a local PC.
Other options some of which write to the client.
http://tkyte.blogspot.com/2009/10/httpasktomoraclecomtkyteflat.html -
Cannot create database in oracle 9i
i want to create a database manually in oracle 9i.I have sysdba privileges but when i use create databse command ------>>>>
CREATE DATABASE mynewdb
USER SYS IDENTIFIED BY pz6r58
USER SYSTEM IDENTIFIED BY y1tz5p
LOGFILE GROUP 1 ('c:/oracle/oradata/mynewdb/redo01.log') SIZE 100M,
GROUP 2 ('c:/oracle/oradata/mynewdb/redo02.log') SIZE 100M,
GROUP 3 ('c:/oracle/oradata/mynewdb/redo03.log') SIZE 100M
MAXLOGFILES 5
MAXLOGMEMBERS 5
MAXLOGHISTORY 1
MAXDATAFILES 100
MAXINSTANCES 1
CHARACTER SET US7ASCII
NATIONAL CHARACTER SET AL16UTF16
DATAFILE 'c:/oracle/oradata/mynewdb/system01.dbf' SIZE 325M REUSE
EXTENT MANAGEMENT LOCAL
DEFAULT TEMPORARY TABLESPACE tempts1
DATAFILE 'c:/oracle/oradata/mynewdb/temp01.dbf'
SIZE 20M REUSE
UNDO TABLESPACE undotbs
DATAFILE 'c:/oracle/oradata/mynewdb/undotbs01.dbf'
SIZE 200M REUSE AUTOEXTEND ON NEXT 5120K MAXSIZE UNLIMITED
i am getting a error message ::--->>>
SQL> /
DATAFILE 'c:/oracle/oradata/mynewdb/temp01.dbf'
ERROR at line 17:
ORA-25139: invalid option for CREATE TEMPORARY TABLESPACE
please tell me how can i remove this error.so your sql would be...
CREATE DATABASE mynewdb
USER SYS IDENTIFIED BY pz6r58
USER SYSTEM IDENTIFIED BY y1tz5p
LOGFILE GROUP 1 ('c:/oracle/oradata/mynewdb/redo01.log') SIZE 100M,
GROUP 2 ('c:/oracle/oradata/mynewdb/redo02.log') SIZE 100M,
GROUP 3 ('c:/oracle/oradata/mynewdb/redo03.log') SIZE 100M
MAXLOGFILES 5
MAXLOGMEMBERS 5
MAXLOGHISTORY 1
MAXDATAFILES 100
MAXINSTANCES 1
CHARACTER SET US7ASCII
NATIONAL CHARACTER SET AL16UTF16
DATAFILE 'c:/oracle/oradata/mynewdb/system01.dbf' SIZE 325M REUSE
EXTENT MANAGEMENT LOCAL
DEFAULT TEMPORARY TABLESPACE tempts1
TEMPFILE 'c:/oracle/oradata/mynewdb/temp01.dbf'
SIZE 20M REUSE
UNDO TABLESPACE undotbs
DATAFILE 'c:/oracle/oradata/mynewdb/undotbs01.dbf'
SIZE 200M REUSE AUTOEXTEND ON NEXT 5120K MAXSIZE UNLIMITED -
Hi,
I get this error when I try to create the database on 10g
Total System Global Area 239075328 bytes
Fixed Size 2005472 bytes
Variable Size 184550944 bytes
Database Buffers 50331648 bytes
Redo Buffers 2187264 bytes
CREATE DATABASE V10
ERROR at line 1:
ORA-25146: EXTENT MANAGEMENT option already specified
CREATE TABLESPACE ind
ERROR at line 1:
ORA-01109: database not open
CREATE TABLESPACE tools
ERROR at line 1:This is the script used to create the database.
CREATE DATABASE $ORACLE_SID
MAXLOGFILES 10
MAXDATAFILES 30
MAXINSTANCES 2
DATAFILE '$ORACLE_DATA/$ORACLE_SID/SYSTEM01.DBF' SIZE 200 M REUSE AUTOEXTEND ON
EXTENT MANAGEMENT LOCAL
SYSAUX DATAFILE '$ORACLE_DATA/$ORACLE_SID/SYSAUX01.DBF' SIZE 200M REUSE AUTOEXTEND ON
EXTENT MANAGEMENT LOCAL
LOGFILE
GROUP 1 ('$ORACLE_DATA/$ORACLE_SID/$ORACLE_SID_01A.LOG','$ORACLE_DATA/$ORACLE_SID/$ORACLE_SID_01B
.LOG')
SIZE 50 M REUSE ,
GROUP 2 ('$ORACLE_DATA/$ORACLE_SID/$ORACLE_SID_02A.LOG','$ORACLE_DATA/$ORACLE_SID/$ORACLE_SID_02B
.LOG')
SIZE 50 M REUSE ,
GROUP 3 ('$ORACLE_DATA/$ORACLE_SID/$ORACLE_SID_03A.LOG', '$ORACLE_DATA/$ORACLE_SID/$ORACLE_SID_03
B.LOG')
SIZE 50 M REUSE
DEFAULT TEMPORARY TABLESPACE TEMP
TEMPFILE '$ORACLE_DATA/$ORACLE_SID/TEMP01.DBF' SIZE 300 M REUSE
EXTENT MANAGEMENT LOCAL UNIFORM SIZE 256K
UNDO TABLESPACE UNDOTBS
DATAFILE '$ORACLE_DATA/$ORACLE_SID/UNDOTBS01.DBF' SIZE 750 M REUSE,
'$ORACLE_DATA/$ORACLE_SID/UNDOTBS02.DBF' SIZE 750 M REUSE,
'$ORACLE_DATA/$ORACLE_SID/UNDOTBS03.DBF' SIZE 750 M REUSE,
'$ORACLE_DATA/$ORACLE_SID/UNDOTBS04.DBF' SIZE 750 M REUSE
;Any idea where the error is?
thankshi,
We're using this script to create database on 9i, but without the SYSAUX tablespace. ( It's working fine on 9i )
I added the following 2 lines for 10g database creation( SYSAUX )
SYSAUX DATAFILE '$ORACLE_DATA/$ORACLE_SID/SYSAUX01.DBF' SIZE 200M REUSE AUTOEXTEND ON
EXTENT MANAGEMENT LOCALIf I remove EXTENT MANAGEMENT LOCAL from the above 2 lines, I then get this error
CREATE DATABASE MV10
ERROR at line 1:
ORA-30014: operation only supported in Automatic Undo Management modeThanks -
Hello ALL
I cannot create a database
on my 8.1.6 SE
After software installation
database creation failed
I looked through the problem
and when I tried to run
createseed.sh manualy I
get ORA-27121: unable to determine size
of shared memory segment
Linux Error: 13: Permission denied
My OS (Debian/GNU/Linux 2.2) Is ok
as I run 8.0.5 smoothly
nullAre you able to connect through svrmgrl?
If so, you should let dbassist save the craetion scripts and run them from a xterm-window. This worked for me -
Cannot create database in RHEL5(beta 2)
Hi,
I am trying to install the database 10.2.0.1 in the RHEL5 (beta 2), all step was well, but at created database, choiced all parameter, after click the "OK" button on the parameter confirmation window, following error was displayed. If I run dbca manually, the error is same.
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0x4A802D35
Function=XFreeFontSet+0x15
Library=/usr/lib/libX11.so.6
Current Java thread:
at sun.awt.motif.X11InputMethod.disposeXIC(Native Method)
at sun.awt.motif.X11InputMethod.disposeImpl(X11InputMethod.java:662)
- locked <0xa88b9d58> (a sun.awt.motif.X11InputMethod)
at sun.awt.motif.X11InputMethod.dispose(X11InputMethod.java:689)
Elapsed Time = 326
# The exception above was detected in native code outside the VM
# Java VM: Java HotSpot(TM) Client VM (1.4.2_08-b03 mixed mode)
# An error report file has been saved as hs_err_pid2961.log.
# Please refer to the file for further information.
bin/dbca: line 158: 2961 Aborted $JRE_DIR/bin/java -Dsun.java2d.font.DisableAlgorithmicStyles=true -DORACLE_HOME=$OH -DDISPLAY=$DISPLAY -DJDBC_PROTOCOL=thin -mx128m -classpath $CLASSPATH oracle.sysman.assistants.dbca.Dbca $ARGUMENTS
How resolve the problem?
Thanks!I have not tried it yet myself. However, Tim Hall has a step-by-step at
http://www.oracle-base.com/articles/10g/OracleDB10gR2InstallationOnRHEL5.php
The challenge: when crashes occur, you will need to dewtermine whether they are due to Oracle, due to the untested RedHat, due to the Oracle-RedHat mix. And you will be on your own for a while. <g>
Message was edited by:
Hans Forbrich
Amazing what one can find with Google. Even more amazing that one doesn't even have to learn how to Google ... just ask others who will do it for you. <g> -
Hi!
I tried to create database by Database Configuration Assistant. The result is "ORA-12560:TMS:protocol adapter error" on level "Creating database files".
Please help me!!
Oracle 8.1.7
Windows 2000
P-IIIoracle@spirit:~/dumps> lsnrctl
LSNRCTL for Linux: Version 8.1.7.0.0 - Production on 20-OCT-2003 01:26:01
(c) Copyright 1998 Oracle Corporation. All rights reserved.
Welcome to LSNRCTL, type "help" for information.
LSNRCTL> set
The following operations are available after set
An asterisk (*) denotes a modifier or extended command:
password rawmode displaymode
trc_file trc_directory trc_level
log_file log_directory log_status
current_listener connect_timeout startup_waittime
use_plugandplay save_config_on_stop
LSNRCTL>
you can turn on the tracing for listener so :
set trc_level=true
Joel P�rez -
Cannot run the code from local machine - works after deployment!!!
Hi,
I am totally new to application server. My problem is that the application code after it is 'deployed' from JDeveloper to Oracle Application Server - it works fine. I can go to the web application from the url and do a 'Submit' of forms and it works fine. The problem comes when I try to connect to dev. environment from local machine and try to do a 'Submit' (done for debugging purposes), I get a 500 Internal Server Error. Is there a configuration file or property I file I have to change? I am clueless.
Basically addRequest can be considered as the 'Submit'.
Javax.faces.FacesException: #{newRequestItem.addRequest}: javax.faces.el.EvaluationException: java.lang.IllegalAccessError: tried to access class javax.xml.rpc.FactoryFinder from class javax.xml.rpc.ServiceFactory
At com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:98)
My application is built on ADF and JSF and connects to BPEL workflow and DRM. So it is using WebServices.
Thanks.Hi,
Top further pinpoint the issue, I can make the SSRS report work with the stored procedure by running
SP_recompile 'myStoredProcedure'
So, SQL Server has somehow messed up the execution plan for the sproc. But to repeat, executing the Sproc in Management Studio works just fine, I just look the exact sproc and parameters with SQL Profiler when it is not working in SSRS report, then run that
same sproc manually and it works.
After extensive debugging, it seems to raise from one specific SELECT row:
SELECT
cte.TIMEYEAR + 1 AS TIMEYEAR,
where cte.TIMEYEAR is varchar. After changing that to
SELECT
CAST(cte.TIMEYEAR + 1 AS VARCHAR) AS TIMEYEAR,
it started to work.
What will probably remain forever unclear is that WHY the original select always breaks every now and then, and always starts to work with a simple sp_recompile. I could reproduce the error easily by running
exec sp_msforeachtable @command1="EXEC sp_recompile '?'";
after which the sproc raised error: "Conversion failed when converting nvarchar value 'Q1/2000' to data type int".
..aaaand then just by running SP_recompile 'myStoredProcedure' it again started working fine. I could reproduce this break & fix pair coherently.
Still it makes no sense from SSRS report perspective, when sproc was broken in Management Studio query, it was always broken from SSRS report end as well, but sometimes when sproc was working from SSMS, it wasn't working from SSRS. -
Cannot create database ORA-03113 error
Hi all,
I ve just installed oracle 9i on win2k server , after installation i went to create a
database using DBCA. After filling up the necessary, when i click on create database it gives me the following error.
ORA-03113: end-of-file on communication channel
Though i am getting a ignore option i preferred aborting it.
Someone please helphi 477985,
Is it some thing tat you want to create the db using wizard. you can actually save it as a script and run tat.
Anyway, just check for disk & physical memory. Stop if any other server or service is running and give a try
Cheers,
kamaslesh jk -
Problems creating 9i db on local machine
Hi guys
I am trying to create a 9i database on my laptop (running Windows2000 Pro) which currently has Oracle Designer 6i on it too. I want to be able to use Designer against 9i databases that I create on the same machine. I cannot get the createdb scripts that are generated by the Database Configuration Assistant to run on my laptop. Can anyone help me please, this is quite urgent. I am also unable to connect through SQL*Plus since it is a new database and I do not have username/password set up for the database. Is there a default username/password that be use in these instances?
Many thanks
CiaranHi,
No it does work.
perhaps you don't have permissions on the local directory?
by default all directories are owned by sys and 'normal' users to not have permissions.
Try:
grant all on directory xxx to user;
where xxx is your local oracle directory and user is the user you are running expdp as.
Cheers,
Harry -
Outlook 2013 Contact manager cannot create database
Hi,
I have installed my Office 2013 Home & Business on a Windows Server 2012 R2. My outlook 2013 is working. Thereafter I downloaded the 2013 Contact manager and tried to create a database.
An error message from Business Contact Manager for Outlook 2013 Database Tool says
'Cannot retrieve the list of SQL Server instances. Please make sure that SQL Server 2005 or greater is installed and that the service is running.'
I have also installed an older versions of SQL Server 2008 - I have the same error message. It seems that the BCM software cannot detect the older SQL server 2008 also.
Any pointers for me to resolve this?
I dont find any thread that deals with my problem. Since then, I have installed the SQL Server 2008 and it still does not read the application. The error is as below.Hi,
Please refer to this kb below:
https://support.microsoft.com/en-us/kb/942496
Althought the kb is for Outlook 2007, it can still be a reference in your scenario:
This problem may occur if the SQL Server (MSSMLBIZ) service is not running. The SQL Server service is required by Business Contact Manager. This problem occurs because the Windows Welcome screen may prevent the SQL Server service from starting when you first
restart the computer after you install Office Outlook with Business Contact Manager.
Please try if this helps:
Exit Outlook.
On Desktop, right-click This PC, and then click Manage.
Click Services and Applications.
Double-click Services.
In the services pane, click SQL Server (MSSMLBIZ).
Click Restart the service.
Exit Computer Management, and then start Outlook.
If the issue persists, what does the event log messages say? If there's not much private, please post the logs in the forum.
Regards,
Melon Chen
TechNet Community Support
It's recommended to download and install
Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
programs. Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
Try to connect oracle in portal 4.0 and cannot create database connection for the realm
hello,
i have try to use the method in configuring Weblogic Portal for Oracle Database.
I have made all with no problems
but when i stop and i start the weblogic portal i have this error
java.lang.IllegalAccessError: Exception[com.bea.p13n.security.realm.RDBMSException
: An error occured creating a database connection for the realm.]
Any one have a solution? Thx!Jean-Philippe,
This usually is due to a DB configuration issue. Check your RDBMS realm
username, password and driver properties. Check your database is running and
have enough Connection free.
Sincererly,
Daniel Selman
"jpmeert" <[email protected]> wrote in message
news:3c88e867$[email protected]..
>
hello,
i have try to use the method in configuring Weblogic Portal for OracleDatabase.
>
I have made all with no problems
but when i stop and i start the weblogic portal i have this error
java.lang.IllegalAccessError:Exception[com.bea.p13n.security.realm.RDBMSException
: An error occured creating a database connection for the realm.]
Any one have a solution? Thx!
Maybe you are looking for
-
Application error while generating PDF form
Hello there, I am getting the message "Application error while generating PDF form" and when you hover it has additional information Message Class HREIC_APPL - Message number 258. I get this upon doing the following steps: 1. Enter SAP R3, enter HREI
-
HT4061 how can i open my phone when it is disabled
how can i open my phone.it is disabled ,i forgot the passcode
-
hello experts, i have a question regarding XI to XI communication using HTTPs. in general the URL that needs to be accessed i.e. the entry URL for other integration engine pipeline, is the same that we see in SXMB_ADM as Integration engine URL / IS_U
-
Material for deletion at different level
Hi, Below is our requirement. As the Mill 3007 is no longer into existence following changes are required. 1)All the materials for Mill 3007 should be marked for deletion on Plant level (MARC). 2)All the materials which are connected to Mill 3007 onl
-
VALUE column in v$sesstat
Hi, I'm trying to understant v$sesstat view. In Oracle documentaion http://www.lc.leidenuniv.nl/awcourse/oracle/server.920/a96536/ch3177.htm#1100139 it is said for this column: description : Statistic value But what does it mean : Statistic value ? I