Having Problems Loading SQL Server 2012 Express Database Engine
Hi All,
I keep getting a Database Engine failed when I download SQL 2012 Express. I have loaded it 5 times. My PC meets all the HW requirements listed. All the other sections load. Any idea why it is doing this?
Raju,
Here is the log file, it shows some error codes, but I am unfamiliar with them.
2014-06-06 07:51:58.60 Server Microsoft SQL Server 2014 - 12.0.2000.8 (X64)
Feb 20 2014 20:04:26
Copyright (c) Microsoft Corporation
Express Edition (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service Pack 1)
2014-06-06 07:51:58.60 Server UTC adjustment: -6:00
2014-06-06 07:51:58.60 Server (c) Microsoft Corporation.
2014-06-06 07:51:58.60 Server All rights reserved.
2014-06-06 07:51:58.60 Server Server process ID is 1840.
2014-06-06 07:51:58.60 Server System Manufacturer: 'Hewlett-Packard', System Model: 'HP EliteBook 8540p'.
2014-06-06 07:51:58.60 Server Authentication mode is WINDOWS-ONLY.
2014-06-06 07:51:58.60 Server Logging SQL Server messages in file 'C:\Program Files\Microsoft SQL Server\MSSQL12.TSQLLAB6\MSSQL\Log\ERRORLOG'.
2014-06-06 07:51:58.60 Server The service account is 'NT Service\MSSQL$TSQLLAB6'. This is an informational message; no user action is required.
2014-06-06 07:51:58.60 Server Registry startup parameters:
-d C:\Program Files\Microsoft SQL Server\MSSQL12.TSQLLAB6\MSSQL\DATA\master.mdf
-e C:\Program Files\Microsoft SQL Server\MSSQL12.TSQLLAB6\MSSQL\Log\ERRORLOG
-l C:\Program Files\Microsoft SQL Server\MSSQL12.TSQLLAB6\MSSQL\DATA\mastlog.ldf
2014-06-06 07:51:58.60 Server Command Line Startup Parameters:
-s "TSQLLAB6"
-m "SqlSetup"
-Q
-q "SQL_Latin1_General_CP1_CI_AS"
-T 4022
-T 4010
-T 3659
-T 3610
-T 8015
-d "C:\Program Files\Microsoft SQL Server\MSSQL12.TSQLLAB6\MSSQL\Template Data\master.mdf"
-l "C:\Program Files\Microsoft SQL Server\MSSQL12.TSQLLAB6\MSSQL\Template Data\mastlog.ldf"
2014-06-06 07:51:59.70 Server SQL Server detected 1 sockets with 2 cores per socket and 4 logical processors per socket, 4 total logical processors; using 4 logical processors based on SQL Server licensing. This is an informational message;
no user action is required.
2014-06-06 07:51:59.70 Server SQL Server is starting at normal priority base (=7). This is an informational message only. No user action is required.
2014-06-06 07:51:59.70 Server Detected 3957 MB of RAM. This is an informational message; no user action is required.
2014-06-06 07:51:59.71 Server Using conventional memory in the memory manager.
2014-06-06 07:51:59.72 Server Default collation: SQL_Latin1_General_CP1_CI_AS (us_english 1033)
2014-06-06 07:51:59.73 Server Perfmon counters for resource governor pools and groups failed to initialize and are disabled.
2014-06-06 07:51:59.75 Server Query Store settings initialized with enabled = 1,
2014-06-06 07:51:59.75 Server The maximum number of dedicated administrator connections for this instance is '1'
2014-06-06 07:51:59.75 Server This instance of SQL Server last reported using a process ID of 7256 at 6/6/2014 7:51:52 AM (local) 6/6/2014 1:51:52 PM (UTC). This is an informational message only; no user action is required.
2014-06-06 07:51:59.75 Server Node configuration: node 0: CPU mask: 0x000000000000000f:0 Active CPU mask: 0x000000000000000f:0. This message provides a description of the NUMA configuration for this computer. This is an informational message
only. No user action is required.
2014-06-06 07:51:59.76 Server Using dynamic lock allocation. Initial allocation of 2500 Lock blocks and 5000 Lock Owner blocks per node. This is an informational message only. No user action is required.
2014-06-06 07:51:59.76 Server Database Mirroring Transport is disabled in the endpoint configuration.
2014-06-06 07:51:59.76 Server Software Usage Metrics is disabled.
2014-06-06 07:51:59.76 spid8s Warning ******************
2014-06-06 07:51:59.76 spid8s SQL Server started in single-user mode. This an informational message only. No user action is required.
2014-06-06 07:51:59.76 spid8s Starting up database 'master'.
2014-06-06 07:51:59.82 spid8s 1 transactions rolled forward in database 'master' (1:0). This is an informational message only. No user action is required.
2014-06-06 07:51:59.82 spid8s 0 transactions rolled back in database 'master' (1:0). This is an informational message only. No user action is required.
2014-06-06 07:51:59.86 Server CLR version v4.0.30319 loaded.
2014-06-06 07:52:00.04 Server Common language runtime (CLR) functionality initialized using CLR version v4.0.30319 from C:\Windows\Microsoft.NET\Framework64\v4.0.30319\.
2014-06-06 07:52:00.07 spid8s Service Master Key could not be decrypted using one of its encryptions. See sys.key_encryptions for details.
2014-06-06 07:52:00.10 spid8s SQL Server Audit is starting the audits. This is an informational message. No user action is required.
2014-06-06 07:52:00.10 spid8s SQL Server Audit has started the audits. This is an informational message. No user action is required.
2014-06-06 07:52:00.14 spid8s SQL Trace ID 1 was started by login "sa".
2014-06-06 07:52:00.14 spid8s Server name is 'SEDTS-L0E8-0PUM\TSQLLAB6'. This is an informational message only. No user action is required.
2014-06-06 07:52:00.15 spid14s Error: 17190, Severity: 16, State: 1.
2014-06-06 07:52:00.15 spid14s Initializing the FallBack certificate failed with error code: 1, state: 20, error number: 0.
2014-06-06 07:52:00.16 spid14s Unable to initialize SSL encryption because a valid certificate could not be found, and it is not possible to create a self-signed certificate.
2014-06-06 07:52:00.16 spid14s Error: 17182, Severity: 16, State: 1.
2014-06-06 07:52:00.16 spid14s TDSSNIClient initialization failed with error 0x80092004, status code 0x80. Reason: Unable to initialize SSL support. Cannot find object or property.
2014-06-06 07:52:00.16 spid14s Error: 17182, Severity: 16, State: 1.
2014-06-06 07:52:00.16 spid14s TDSSNIClient initialization failed with error 0x80092004, status code 0x1. Reason: Initialization failed with an infrastructure error. Check for previous errors. Cannot find object or property.
2014-06-06 07:52:00.16 spid14s Error: 17826, Severity: 18, State: 3.
2014-06-06 07:52:00.16 spid14s Could not start the network library because of an internal error in the network library. To determine the cause, review the errors immediately preceding this one in the error log.
2014-06-06 07:52:00.16 spid14s Error: 17120, Severity: 16, State: 1.
2014-06-06 07:52:00.16 spid14s SQL Server could not spawn FRunCommunicationsManager thread. Check the SQL Server error log and the Windows event logs for information about possible related problems.
Similar Messages
-
Problem Installing SQL Server 2012 Express
Hello
I'm in the process of installing SQL Server 2012 and the install is continually failing. It reports to possibly be a problem with the package; I've tried downloading three times now and setup has failed each time. There is a link below to the install log
file which I believe will likely be more help than my attempting to describe the symptoms but please let me know if there is any additional information which would help in finding the problem.
https://skydrive.live.com/redir?resid=9ACB131B26E0E088!514&authkey=!ABuTadbr92UTFpo
Thanks in advance.Hello,
“Error Code: 29559
The installer has encountered an unexpected error installing this package. This may indicate a problem with the package. The error code is 29559”
Let’s try to work around the issue on a different way. Please try to download the following Evaluation Copy of SQL Server 2012, run setup, and on the “Product Key” page select
Express Edition (on the “Specify a free edition” combo box).
http://www.microsoft.com/en-us/download/details.aspx?id=29066
Do you have another instance of SQL Server installed?
Hope this helps.
Regards,
Alberto Morillo
SQLCoffee.com -
Windows 7 Home Premium, SP1
64-bit
I just installed SQL Server 2012 express - Express with Advanced Services (contains the database engine, Express Tools, Reporting Services, and Full Text Search),
file name - SQLEXPRADV_x64_ENU.
Opening SQL Server Management Studio causes the error -
"Could not load the file or assembly 'Microsoft.VisualStudio.OLE.Interop,
Version=7.1.40304.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The
system cannot find the file specified."
Do I need to install another file? Did I download the wrong version?
Any suggestions? Thanks for any help.Hello,
The issue may occure when the installation of your SQL Server is not a complete or a successful one. Did you try to repair or reinstall the SQL Server Express? You can also try to install
Service Pack 1 for SQL Server 2012
to check if the issue presists.
Regards,
Fanny Liu
Fanny Liu
TechNet Community Support -
I ran SQL Server 2012 express setup as user with administrator privileges and still it's failing to install "Database Engine Service" and "SQL Server Replication".
Any and every ideas on how to resolve this issue is greatly appreciated.Three weeks passed and I am yet to find a fix for the the failed installation of the database engine on sql server 2012 express installation. I have tried various work-around including uninstalling, deleting all the directory paths, and reinstallation. Still
not able to successfully install sql server 2012 express.
I will greatly appreciate any and every contribution towards resolving this issue. Thanks in advance.
Here is the content of log file after the latest failed installation:
Overall summary:
Final result: Failed: see details below
Exit code (Decimal): -2061893607
Start time: 2013-12-23 14:42:45
End time: 2013-12-23 15:07:51
Requested action: Install
Setup completed with required actions for features.
Troubleshooting information for those features:
Next step for SQLEngine: Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
Next step for Replication: Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
Machine Properties:
Machine name: mymachine1
Machine processor count: 4
OS version: Windows 7
OS service pack: Service Pack 1
OS region: United States
OS language: English (United States)
OS architecture: x86
Process architecture: 32 Bit
OS clustered: No
Product features discovered:
Product Instance Instance ID
Feature Language
Edition Version Clustered
SQL Server 2012 SQLEXPRESS_GT MSSQL11.SQLEXPRESS_GT Database Engine Services
1033 Express Edition 11.0.2100.60 No
SQL Server 2012 SQLEXPRESS_GT MSSQL11.SQLEXPRESS_GT SQL Server Replication
1033 Express Edition 11.0.2100.60 No
SQL Server 2012
Management Tools - Basic 1033 Express Edition
11.0.2100.60 No
Package properties:
Description: Microsoft SQL Server 2012 Service Pack 1
ProductName: SQL Server 2012
Type: RTM
Version: 11
Installation location: C:\9b6607e524727c7fe1defd80\x86\setup\
Installation edition: Express
Slipstream: True
SP Level 1
Product Update Status:
Success: KB 2674319
Product Updates Selected for Installation:
Title: Service Pack 1
Knowledge Based Article: KB 2674319
Version: 11.1.3000.0
Architecture: x86
Language: 1033
Update Source: MU
User Input Settings:
ACTION: Install
ADDCURRENTUSERASSQLADMIN: true
AGTSVCACCOUNT: NT AUTHORITY\NETWORK SERVICE
AGTSVCPASSWORD: *****
AGTSVCSTARTUPTYPE: Disabled
ASBACKUPDIR: Backup
ASCOLLATION: Latin1_General_CI_AS
ASCONFIGDIR: Config
ASDATADIR: Data
ASLOGDIR: Log
ASPROVIDERMSOLAP: 1
ASSERVERMODE: MULTIDIMENSIONAL
ASSVCACCOUNT: <empty>
ASSVCPASSWORD: <empty>
ASSVCSTARTUPTYPE: Automatic
ASSYSADMINACCOUNTS: <empty>
ASTEMPDIR: Temp
BROWSERSVCSTARTUPTYPE: Disabled
CLTCTLRNAME: <empty>
CLTRESULTDIR: <empty>
CLTSTARTUPTYPE: 0
CLTSVCACCOUNT: <empty>
CLTSVCPASSWORD: <empty>
CLTWORKINGDIR: <empty>
COMMFABRICENCRYPTION: 0
COMMFABRICNETWORKLEVEL: 0
COMMFABRICPORT: 0
CONFIGURATIONFILE:
CTLRSTARTUPTYPE: 0
CTLRSVCACCOUNT: <empty>
CTLRSVCPASSWORD: <empty>
CTLRUSERS: <empty>
ENABLERANU: true
ENU: true
ERRORREPORTING: false
FEATURES: SQLENGINE, REPLICATION, CONN, BC, SDK, ADV_SSMS, SNAC_SDK
FILESTREAMLEVEL: 0
FILESTREAMSHARENAME: <empty>
FTSVCACCOUNT: <empty>
FTSVCPASSWORD: <empty>
HELP: false
IACCEPTSQLSERVERLICENSETERMS: true
INDICATEPROGRESS: false
INSTALLSHAREDDIR: c:\Program Files\Microsoft SQL Server\
INSTALLSHAREDWOWDIR: <empty>
INSTALLSQLDATADIR: <empty>
INSTANCEDIR: C:\Program Files\Microsoft SQL Server\
INSTANCEID: SQLEXPRESS
INSTANCENAME: SQLEXPRESS
ISSVCACCOUNT: NT AUTHORITY\Network Service
ISSVCPASSWORD: <empty>
ISSVCSTARTUPTYPE: Automatic
MATRIXCMBRICKCOMMPORT: 0
MATRIXCMSERVERNAME: <empty>
MATRIXNAME: <empty>
NPENABLED: 0
PID: *****
QUIET: false
QUIETSIMPLE: false
ROLE: <empty>
RSINSTALLMODE: DefaultNativeMode
RSSHPINSTALLMODE: DefaultSharePointMode
RSSVCACCOUNT: <empty>
RSSVCPASSWORD: <empty>
RSSVCSTARTUPTYPE: Automatic
SAPWD: <empty>
SECURITYMODE: <empty>
SQLBACKUPDIR: <empty>
SQLCOLLATION: SQL_Latin1_General_CP1_CI_AS
SQLSVCACCOUNT: NT Service\MSSQL$SQLEXPRESS
SQLSVCPASSWORD: <empty>
SQLSVCSTARTUPTYPE: Manual
SQLSYSADMINACCOUNTS: MH\gt038676t
SQLTEMPDBDIR: <empty>
SQLTEMPDBLOGDIR: <empty>
SQLUSERDBDIR: <empty>
SQLUSERDBLOGDIR: <empty>
SQMREPORTING: false
TCPENABLED: 0
UIMODE: AutoAdvance
UpdateEnabled: true
UpdateSource: MU
X86: false
Configuration file: C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20131223_144132\ConfigurationFile.ini
Detailed results:
Feature: Management Tools - Complete
Status: Passed
Feature: Client Tools Connectivity
Status: Passed
Feature: Client Tools SDK
Status: Passed
Feature: Client Tools Backwards Compatibility
Status: Passed
Feature: Management Tools - Basic
Status: Passed
Feature: Database Engine Services
Status: Failed: see logs for details
Reason for failure: An error occurred during the setup process of the feature.
Next Step: Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
Component name: SQL Server Database Engine Services Instance Features
Component error code: 0x851A0019
Error description: Could not find the Database Engine startup handle.
Error help link: http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=11.0.3000.0&EvtType=0xE53883A0%400xBE03358B%401306%4025&EvtType=0xE53883A0%400xBE03358B%401306%4025
Feature: SQL Server Replication
Status: Failed: see logs for details
Reason for failure: An error occurred for a dependency of the feature causing the setup process for the feature to fail.
Next Step: Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
Component name: SQL Server Database Engine Services Instance Features
Component error code: 0x851A0019
Error description: Could not find the Database Engine startup handle.
Error help link: http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=11.0.3000.0&EvtType=0xE53883A0%400xBE03358B%401306%4025&EvtType=0xE53883A0%400xBE03358B%401306%4025
Feature: SQL Browser
Status: Passed
Feature: SQL Writer
Status: Passed
Feature: SQL Client Connectivity
Status: Passed
Feature: SQL Client Connectivity SDK
Status: Passed
Rules with failures:
Global rules:
Scenario specific rules:
Rules report file: C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20131223_144132\SystemConfigurationCheck_Report.htm -
Errro while installing sql server 2012 express edition on Windows 8 -64 version
Hi,
Im trying to install sql server 2012 express edition on windows 8 machine(64 bit),however im getting same error every time.
The following error has occurred:
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2337
i've googled and checked all prerequisite which is already installed.so not finding the reason behind this error.
it would be great if any one can help on resolving this error.
Thanks in advance
Regards
RiteshHi ,
Thanks for help. here is the log summary text
Overall summary:
Final result: Failed: see details below
Exit code (Decimal): -2068051679
Start time: 2014-02-05 12:30:44
End time: 2014-02-05 12:36:21
Requested action: Install
Setup completed with required actions for features.
Troubleshooting information for those features:
Next step for SQLEngine: Use the following information to resolve the error, and then try the setup process again.
Next step for Replication: Use the following information to resolve the error, and then try the setup process again.
Machine Properties:
Machine name: IDEA-PC
Machine processor count: 4
OS version: Future Windows Version
OS service pack:
OS region: United States
OS language: English (United States)
OS architecture: x64
Process architecture: 64 Bit
OS clustered: No
Product features discovered:
Product Instance Instance ID
Feature Language
Edition Version Clustered
SQL Server 2008 R2 MSSQLSERVER MSSQL10_50.MSSQLSERVER Database Engine Services
1033 Developer Edition 10.50.1600.1 No
SQL Server 2008 R2 MSSQLSERVER MSSQL10_50.MSSQLSERVER SQL Server Replication
1033 Developer Edition 10.50.1600.1 No
SQL Server 2008 R2 MSSQLSERVER MSSQL10_50.MSSQLSERVER Full-Text and Semantic Extractions for Search 1033
Developer Edition 10.50.1600.1 No
SQL Server 2008 R2
Management Tools - Basic 1033 Developer Edition
10.50.1600.1 No
SQL Server 2008 R2
Management Tools - Complete 1033 Developer Edition 10.50.1600.1
No
SQL Server 2008 R2
Client Tools Connectivity 1033 Developer Edition 10.50.1600.1
No
SQL Server 2008 R2
Client Tools Backwards Compatibility 1033 Developer Edition 10.50.1600.1 No
SQL Server 2008 R2
Client Tools SDK 1033
Developer Edition 10.50.1600.1 No
SQL Server 2008 R2
Integration Services 1033 Developer Edition
10.50.1600.1 No
Package properties:
Description: Microsoft SQL Server 2012 Service Pack 1
ProductName: SQL Server 2012
Type: RTM
Version: 11
SPLevel: 0
Installation location: c:\b33170cf028067db5b8335d2\x64\setup\
Installation edition: Express
Product Update Status:
None discovered.
User Input Settings:
ACTION: Install
ADDCURRENTUSERASSQLADMIN: true
AGTSVCACCOUNT: NT AUTHORITY\NETWORK SERVICE
AGTSVCPASSWORD: *****
AGTSVCSTARTUPTYPE: Disabled
ASBACKUPDIR: Backup
ASCOLLATION: Latin1_General_CI_AS
ASCONFIGDIR: Config
ASDATADIR: Data
ASLOGDIR: Log
ASPROVIDERMSOLAP: 1
ASSERVERMODE: MULTIDIMENSIONAL
ASSVCACCOUNT: <empty>
ASSVCPASSWORD: <empty>
ASSVCSTARTUPTYPE: Automatic
ASSYSADMINACCOUNTS: <empty>
ASTEMPDIR: Temp
BROWSERSVCSTARTUPTYPE: Disabled
CLTCTLRNAME: <empty>
CLTRESULTDIR: <empty>
CLTSTARTUPTYPE: 0
CLTSVCACCOUNT: <empty>
CLTSVCPASSWORD: <empty>
CLTWORKINGDIR: <empty>
COMMFABRICENCRYPTION: 0
COMMFABRICNETWORKLEVEL: 0
COMMFABRICPORT: 0
CONFIGURATIONFILE:
CTLRSTARTUPTYPE: 0
CTLRSVCACCOUNT: <empty>
CTLRSVCPASSWORD: <empty>
CTLRUSERS: <empty>
ENABLERANU: true
ENU: true
ERRORREPORTING: false
FEATURES: SQLENGINE, REPLICATION, SNAC_SDK
FILESTREAMLEVEL: 0
FILESTREAMSHARENAME: <empty>
FTSVCACCOUNT: <empty>
FTSVCPASSWORD: <empty>
HELP: false
IACCEPTSQLSERVERLICENSETERMS: true
INDICATEPROGRESS: false
INSTALLSHAREDDIR: C:\Program Files\Microsoft SQL Server\
INSTALLSHAREDWOWDIR: C:\Program Files (x86)\Microsoft SQL Server\
INSTALLSQLDATADIR: <empty>
INSTANCEDIR: C:\Program Files\Microsoft SQL Server\
INSTANCEID: SQLFASHION
INSTANCENAME: SQLFASHION
ISSVCACCOUNT: NT AUTHORITY\Network Service
ISSVCPASSWORD: <empty>
ISSVCSTARTUPTYPE: Automatic
MATRIXCMBRICKCOMMPORT: 0
MATRIXCMSERVERNAME: <empty>
MATRIXNAME: <empty>
NPENABLED: 0
PID: *****
QUIET: false
QUIETSIMPLE: false
ROLE: AllFeatures_WithDefaults
RSINSTALLMODE: DefaultNativeMode
RSSHPINSTALLMODE: DefaultSharePointMode
RSSVCACCOUNT: <empty>
RSSVCPASSWORD: <empty>
RSSVCSTARTUPTYPE: Automatic
SAPWD: *****
SECURITYMODE: SQL
SQLBACKUPDIR: <empty>
SQLCOLLATION: Latin1_General_CI_AI
SQLSVCACCOUNT: NT Service\MSSQL$SQLFASHION
SQLSVCPASSWORD: <empty>
SQLSVCSTARTUPTYPE: Automatic
SQLSYSADMINACCOUNTS: idea-pc\lenovo
SQLTEMPDBDIR: <empty>
SQLTEMPDBLOGDIR: <empty>
SQLUSERDBDIR: <empty>
SQLUSERDBLOGDIR: <empty>
SQMREPORTING: false
TCPENABLED: 0
UIMODE: AutoAdvance
UpdateEnabled: true
UpdateSource: MU
X86: false
Configuration file: C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20140205_122837\ConfigurationFile.ini
Detailed results:
Feature: Database Engine Services
Status: Failed: see logs for details
Reason for failure: An error occurred for a dependency of the feature causing the setup process for the feature to fail.
Next Step: Use the following information to resolve the error, and then try the setup process again.
Component name: SQL Server Common Files
Component error code: 2337
Component log file: C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20140205_122837\sql_common_core_Cpu64_1.log
Error description: The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2337.
Error help link:
Feature: SQL Server Replication
Status: Failed: see logs for details
Reason for failure: An error occurred for a dependency of the feature causing the setup process for the feature to fail.
Next Step: Use the following information to resolve the error, and then try the setup process again.
Component name: SQL Server Common Files
Component error code: 2337
Component log file: C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20140205_122837\sql_common_core_Cpu64_1.log
Error description: The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2337.
Error help link:
Feature: SQL Client Connectivity
Status: Passed
Feature: SQL Client Connectivity SDK
Status: Passed
Rules with failures:
Global rules:
Scenario specific rules:
Rules report file: C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20140205_122837\SystemConfigurationCheck_Report.htm -
SQL Server 2012 Express Instance is Not Discovered
I have a single SQL Server 2012 Express instance that is the backend database for a small door security application. I just noticed after having deployed the OpsMgr agent months ago that it never discovered the SQL instance. The SQL instance
is, as stated, Express, and it's the only Express instance I have. Is that why it is not discovered? All the documentation I found seems to indicate the opposite -- that Express is discovered and there are steps you can take to exclude Express
instances. I have no overrides set to exclude any instance or any database.
- System Center Operations Manager 2012 RTM (no SP1, no R2)
- SQL Server 2012 MP version 6.3.173.1
- SQL Server is Windows Server 2012
- SQL Server 2012 Express running on a Hyper-V VM. Instance is named DOORSERVER\Eclipse
- Agent is installed and other discoveries seem to be working fine
- No discovery errors in the event log related to SQL, although there is one about the Windows Server 2008 discovery not being able to start, but I'm on Windows Server 2012, so I am guessing that's okay?
- No overrides are set on the discovery
- Discovery has found every other SQL Server 2012 instance (standard and enterprise editions)Well, just realized I didn't have the latest MP. Upgrading to 6.4.1.0 version of the SQL MP fixed the discovery issue.
-
SQL Server 2012 Express bulk Insert flat file 1million rows with "" as delimeter
Hi,
I wanted to see if anyone can help me out. I am on SQL server 2012 express. I cannot use OPENROWSET because my system is x64 and my Microsoft office suit is x32 (Microsoft.Jet.OLEDB.4.0).
So I used Import wizard and is not working either.
The only thing that let me import this large file, is:
CREATE TABLE #LOADLARGEFLATFILE
Column1
varchar(100), Column2 varchar(100), Column3 varchar(100),
Column4 nvarchar(max)
BULK INSERT
#LOADLARGEFLATFILE
FROM 'C:\FolderBigFile\LARGEFLATFILE.txt'
WITH
FIRSTROW = 2,
FIELDTERMINATOR ='\t',
ROWTERMINATOR ='\n'
The problem with CREATE TABLE and BULK INSERT is that my flat file comes with text qualifiers - "". Is there a way to prevent the quotes "" from loading in the bulk insert? Below is the data.
Column1
Column2
Column3
Column4
"Socket Adapter"
8456AB
$4.25
"Item - Square Drive Socket Adapter | For "
"Butt Splice"
9586CB
$14.51
"Item - Butt Splice"
"Bleach"
6589TE
$27.30
"Item - Bleach | Size - 96 oz. | Container Type"
Ed,
Edwin LoperaHi lgnusLumen,
According to your description, you use BULK INSERT to import data from a data file to the SQL table. However, to be usable as a data file for bulk import, a CSV file must comply with the following restrictions:
1. Data fields never contain the field terminator.
2. Either none or all of the values in a data field are enclosed in quotation marks ("").
In your data file, the quotes aren't consistent, if you want to prevent the quotes "" from loading in the bulk insert, I recommend you use SQL Server Import and Export Wizard tools in SQL Server Express version. area, it will allow to strip the
double quote from columns, you can review the following screenshot.
In other SQL Server version, we can use SQL Server Integration Services (SSIS) to import data from a flat file (.csv) with removing the double quotes. For more information, you can review the following article.
http://www.mssqltips.com/sqlservertip/1316/strip-double-quotes-from-an-import-file-in-integration-services-ssis/
In addition, you can create a function to convert a CSV to a usable format for Bulk Insert. It will replace all field-delimiting commas with a new delimiter. You can then use the new field delimiter instead of a comma. For more information, see:
http://stackoverflow.com/questions/782353/sql-server-bulk-insert-of-csv-file-with-inconsistent-quotes
Regards,
Sofiya Li
Sofiya Li
TechNet Community Support -
SQL Server 2012 Express error 9002 while restoring a backup from 2008
Hi all,
I have installed SQL Server 2012 Express on my laptop operating with win 8. Then I took the backup in my old laptop with SQL Server 2008R Express / Windows 7 and tried to restore it to the new one.
After it restored it produced an error messaging saying that restore failed. The error code was 9002 and it says due to NOTHING. I checked the log file it is a file of 1024 kb size, not big. When I installed the SQL 2012 I disabled the autogrowth of the
log file (exactly same setting as I had with 2008) The log is not big. I tried to further shrink, no change.
Moreover the db is already there with full records, I can manipulate it. Even take a back w/o problems. What is this issue? Is it resolved?
thanksan error messaging saying that restore failed. The error code was 9002
and it says due to NOTHING. I
select *
from sys.messages
where message_id = 9002
=> "The transaction log for database '%ls' is full due to '%ls'. "
Is your disk may low on free space?
Olaf Helper
[ Blog] [ Xing] [ MVP] -
Reports & Microsoft SQL Server 2012 Express LocalDB support policy
Hello,
Willing to move some databases into Microsoft SQL Server 2012 (2014) Express LocalDB, I have tryed to map some reports on that database.
Using OLE DB SQL Native Client (v11) and SAP CR RunTime SP10 (>SP9), I still have trouble when using this data source:
After drawing some simple reports (standard ones with 2-3 fields from the database):
- VS designer:
+ when "checking database" or "getting a preview" of the report, it always complains about missing tables.
+ when trying to "re-map" tables from one SQL Server 2012 Express LocalDB to another one it fails, complaining about not findind resources.
- Running application (.NET 4.0, 32 or 64-bits):
+ without any change to the report configuration: CR Viewer complains with multiple error codes (17, ...) that it cannot find the tables
+ trying to change the configured database from the report: CR VIewer complains with some more error codes
=> Is Microsoft SQL Server 2012 Express LocalDB now officially supported by CR ?
=> Is changing datasource/database configuraton during execution now officially supported by CR ?
Feel free to provide an any links / howto's / white paper about how managing Microsoft SQL Server 2012 Express LocalDB with SAP CR !
Many thanks in advance.
Regards.Don,
I did not want you to think that I am not willing to change anything...
The issue is that LocalDB specs (http://msdn.microsoft.com/en-us/library/ms130822(v=sql.110).aspx) are not (seems not) fulfiled by what SAP APIs provide.
Following specs, I need to provide ADO DB/SQL Native Client v11 an "AttachDBFileName" property which, for LocalDB instance, is equal to the DatabaseName property (check below screenshot from MS Mgmt Studio connected to a SQL Server 2012 LocalDB instance).
Moreover, OLEDB discovery provide in CR 2013 UI this same list of "DatabaseName":
When connected, this same CR 2013 UI got the right "view" of connected "MDF-labelled" names:
Moreover, CR connected datasource properties also provide an "initial catalog" (databasename) value with that "MDF-labelled" name:
That is what I saw previously in API dumped objects and what I tryed to reproduce in my code:
As previously explained, after adding tables, I am also beeing able to add fields from those tables in my fresh-new report document:
It fikrst shows results in preview but as soon as I try to refresh / add some more fields / ask CR to "check database" / "change database source", the interface always complain about having "lost" objects:
Site note for Ludek Uher: CR 2013 StandaAlone fresh-new builded reports are not working neither using CR runtime SP10 when opening/updating that report..
So YES, I am OK to change whatever is required but please explain me what to use/put into the "crConnectioninfo.DatabaseName" property for a SQL Express 2012 LocalDB case.
Or leave it as is, LocalDB not being supported by CR ...
(all my reports & c# code are working well while using SQL Express 2012 "classic" (not localdb)).
Thanks again for your time.
Regards. -
SQL Server 2012 Express LocalDB parm for keeping unicode char
in developer's windows 8.1 pc, the SQL Server 2012 Express LocalDB does not seem to keep Unicode like \U2221. it get translated to the plain - instead of keeping as
−.
what parameter od I need to setup to make sure it keep such character as isHi fs - ab,
You know that this forum is to discuss the VS IDE, to make this issue clearly, could you share us a screen shot for this issue? Where did you change your localDB with Unicode?
I did some research about it.
LocalDB supports two kinds of instances: Automatic instances and named instances.
•Automatic instances of LocalDB are public. They are created and managed automatically for the user and can be used by any application. One automatic instance of LocalDB exists for every version of LocalDB installed
on the user’s computer. Automatic instances of LocalDB provide seamless instance management. There is no need to create the instance; it just works. This allows for easy application installation and migration to a different computer. If the target machine
has the specified version of LocalDB installed, the automatic instance of LocalDB for that version is available on the target machine as well. Automatic instances of LocalDB have a special pattern for the instance name that belongs to a reserved namespace.
This prevents name conflicts with named instances of LocalDB. The name for the automatic instance is a single v character followed by the LocalDB release version number in the format xx.x. For example, v11.0 represents SQL Server 2012.
•Named instances of LocalDB are private. They are owned by a single application that is responsible for creating and managing the instance. Named instances provide isolation from other instances and can improve performance
by reducing resource contention with other database users. Named instances must be created explicitly by the user through the LocalDB management API or implicitly via the app.config file for a managed application (although managed application may also use
the API, if desired). Each named instance of LocalDB has an associated LocalDB version that points to the respective set of LocalDB binaries. The instance name of a LocalDB is sysname data type and can have up to 128 characters. (This differs from regular
named instances of SQL Server, which limits names to regular NetBIOS names of 16 ASCII chars.) The name of an instance of LocalDB can contain any Unicode characters that are legal within a filename.
A named instance that uses an automatic instance name becomes an automatic instance.
Reference:
http://technet.microsoft.com/en-us/library/hh510202(v=sql.110).aspx
It seems that it is related to the SQL Server, am I right? If so, maybe the SQL Server forum would be better for this issue.
If I have misunderstood this issue, please feel free to let me know.
Best Regards,
Jack
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
SQL Server 2012 Express LocalDB parm for keeping unicode char from TextBox
Platform: developer's windows 8.1 pc with visual studio 2012 pro, .net 4.5, sql express 2012 express and localDB
in a textbox, say textTbx on a windows form, if there is Unicode like \U2221, I can have to save to file and read back without change using textTbx.Text value.
however for the content in the textTbx.Text value, upon saving to
SQL Server 2012 Express LocalDB, and then retrieved, the content gets changed for some Unicode like
U2221. it get translated to the plain - instead of keeping as
−.
what parameter do I need to setup to make sure it keep such character as is?
Btw: I had posted to visual studio general forum but was asked to post herePlatform: developer's windows 8.1 pc with visual studio 2012 pro, .net 4.5, sql express 2012 express and localDB
in a textbox, say textTbx on a windows form, if there is Unicode like \U2221, I can have to save to file and read back without change using textTbx.Text value.
however for the content in the textTbx.Text value, upon saving to
SQL Server 2012 Express LocalDB, and then retrieved, the content gets changed for some Unicode like
U2221. it get translated to the plain - instead of keeping as
−.
what parameter do I need to setup to make sure it keep such character as is?
Btw: I had posted to visual studio general forum but was asked to post here
Hello,
In this case, we could convert the text value to varbinary type before storing them to sql, and we could convert it back to the encoded one, you could change UTF-8 to the one you are dealing with.
You could refer to the suggestions shared by Filip Ekberg in the following thread.
http://stackoverflow.com/questions/11859926/load-or-convert-varbinary-from-sql-to-textbox-text
Here's an example on how you convert a text to bytes and then back again:
var bytes = Encoding.UTF8.GetBytes("test");
This will give you a byte array that looks like this:
{ 116, 101, 115, 116 }
Now to get the text again, you can use Encoding.UTF8.GetString() like this:
Encoding.UTF8.GetString(bytes);
This means that you could simple do this when saving the value:
cmdb.Parameters.AddWithValue("@text", Encoding.UTF8.GetBytes(textreview.Text));
And then when loading it back you simply do this:
textreview.Text = Encoding.GetString((byte[])dr["text"]);
Regards.
Carl
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
SQL Server 2012 Express Install on Windows 7 SP1 Embedded not using virtual account?
Hi there,
I did a default installation of SQL Server 2012 Express on Windows 7 embedded Standard SP1.
When I look at the SQLSERVER service credential it is configured to run under "NETWORK SERVICE" instead of the virtual account "NT SERVICE\MSSQL$SQLEXPRESS".
This is different from SQL 2012 Express installation on a non-embedded Windows 7.
Why is this difference?
Secondly, because of this, I am unable to take a backup of databases to any folder other than the default SQL folder.Hi Chandrasekaran,
As Local Service account, the Network Service account and high privileged Local System account could be used by many services.
It becomes harder to track which service is actually accessing resources and performing actions, because all the services are using the one Network Service account or other account.
In Windows7 and Windows Server 2008R2, it introduces a new type of account called a virtual account, which emulates creating many unique instances of the Network Service account, so each service runs with its own instance of the Network Service account.
For example, when you install SQL 2012 on Windows Server 2008 R2 or Windows 7 and later you’ll see the services run with virtual service accounts named like:
in the format NT SERVICE\<SERVICENAME>.
According to your description, when the SQLSERVER service was run under “NETWORK SERVICE”, you only back up database to the default SQL folder. It may be caused by the NETWORK SERVICE account has limited local privileges, just accesses network
resource with the computer credential. I recommend you change the account to Local System account, by default, which has full permissions on your computer.
For more information about SQL Server service account and virtual account, you can review the following articles.
http://www.travisgan.com/2013/06/sql-server-service-account-and-per.html
http://www.sqlservercentral.com/blogs/sqldbauk/2014/01/13/sql-server-2012-and-virtual-service-accounts/
http://msdn.microsoft.com/en-us/library/ms143504(v=sql.110).aspx
Regards,
Sofiya Li
Sofiya Li
TechNet Community Support -
VB 2012 Express and SQL server 2012 Express
My Windows 7 computer just crashed and I am trying to resurrect my VB 2012 Express code. I have been using Access 2007 but lost my license info and installation media, so I am considering a change to SQL server 2012. I have downloaded it, but
I haven't a cue as to how to use it. I need to convert my old Access 2007 data and then connect the result to my VB 2012 code.
Please help.
RONATMOODYLAKEI know how to use a database engine, but what I downloaded as SQL server 2012 Express seems to be something else. I am in <st1:place w:st="on">Africa</st1:place> and things don't work well here. I
have an app that says SQL error and usage reporting, and when I answer the questions nothing happens. This must not be the SQL 2012 Server Express (or is it?). Maybe you can point me to a useful download link. What I have is totally obscure.
Here is my goal: I have a completed VB 2012 project that uses Access 2007. My Windows 7 computer crashed and I am desperately trying to move the application to a Windows 8 machine. I do not
have my installation disks for Access, so I thought I would give SQL server a try. I obviously downloaded the wrong thing. The Microsoft web site gives me the following download choices - none of these make sense and they are not explained - please
help - I downloaded the first one and it seems useless:
Version:
Date Published:
11.0.2100.60
2012-05-14
File name:
File size:
ENU\x64\SQLEXPR_x64_ENU.exe
132.3 MB
ENU\x64\SQLEXPRADV_x64_ENU.exe
1.3 GB
ENU\x64\SQLEXPRWT_x64_ENU.exe
669.9 MB
ENU\x64\SqlLocalDB.MSI
33.0 MB
ENU\x64\SQLManagementStudio_x64_ENU.exe
600.2 MB
ENU\x86\SQLEXPR_x86_ENU.exe
116.7 MB
ENU\x86\SQLEXPR32_x86_ENU.exe
101.5 MB
ENU\x86\SQLEXPRADV_x86_ENU.exe
1.3 GB
ENU\x86\SQLEXPRWT_x86_ENU.exe
706.1 MB
ENU\x86\SqlLocaLDB.MSI
27.8 MB
ENU\x86\SQLManagementStudio_x86_ENU.exe
614.9 MB
RONATMOODYLAKE -
Can't find ConfigurationFile.ini for SQL Server 2012 Express
Hello,
I installed SQL Server 2012 Express on my Windows 8.1 Pro laptop with an instance name of SqlExpress. However, when I try to find the ConfigurationFile.ini, I can't find it. I searched all the sub-folders under C:\Program Files\Microsoft SQL Server\110\Setup
Bootstrap\Log\, but there is no such file. I need this file for future silent installation on many other computers. Can anybody help with this issue?
Thanks,
JayFor SQL Server Express edition you need to try with below parameters at the time of installation:
UIMODE=Normal
ACTION=Install
For more information look at below link
http://nickstips.wordpress.com/2010/08/16/sql-sql-server-2008-express-missing-configurationfile-ini/
Please click "Propose As Answer"
if a post solves your problem, or "Vote As Helpful" if a post has been useful to you -
I have been having a very frustrating time trying to connect to a localDB instance of SQL Server 2012. So I started again from scratch on another computer (Windows 7). I first installed sql server 2012 Express with tools (via ENU\x64\SQLEXPRWT_x64_ENU.exe)
and then installed the LocalDB Edition via sqlLocalDB.msi. The first installation seems to have gone OK. The second installation proceeded normally and finally advised that "Setup has installed SQL Server 2012 Express LocalDB successfully."
A whole lot of files were installed in C:\Program Files\Microsoft SQL Server\110\LocalDB\Binn, including sqlservr.exe. But the SqlLocalDB.exe utility was
not amongst them.
Does anyone have any idea what is happening here? From where can I download a copy of sqlLocalDB.exeA whole lot of files were installed in C:\Program Files\Microsoft SQL Server\110\LocalDB\Binn, including sqlservr.exe. But the SqlLocalDB.exe utility was
not amongst them.
The tool is located in
C:\Program Files\Microsoft SQL Server\110\Tools\Binn
Olaf Helper
[ Blog] [ Xing] [ MVP]
Maybe you are looking for
-
Freecraft - Installation problem
Hello, I am trying to install freecraft (a game available on debian). Therefore, I downloaded the source (from the debian site, freecraft and fcmp packages) and make a "./setup", answer some questions and compilation starts. The problem is that it ge
-
MISSING IN OR OUT PARAMETER AT INDEX::3
Hi Sir, I am getting the below error in the below PL/SQL Procedure create or replace type stri_table is table of varchar2(4000); CREATE OR REPLACE PROCEDURE PR_STATUS_UPDATE(IN_OPE IN MAIN_EVENT_DATA.EVENT_STATUS%TYPE,
-
LeaveRequestApprover : "Page cannot be displayed" in universal worklist
Hi, I really need some help on the leave request approver application. When the approver clicks on a request in his universal worklist, the LeaveRequestApprover should be called. In our case, we have a "Page cannot be displayed" error message. We hav
-
Date without single quotes in SQL Where clause turns to 00000000. Why?
The below program works in 4.6c but does not in ECC 6.0, the issue is the date actually turns to 00000000, debug shows the internal table as having the correct value that was inserted but st05 trace shows that the variable is holding the value 000000
-
I've had my T420 (4177-CTO) for around 2 months, and the fan has already stopped working. Yesterday, the fan was continuosly running all day even when it was sitting idly. Today, the fan won't run at all, and my CPU temperature is going up to ~80C (