Using SQL Server 2012 Express with Bitocker
Hello,
I'm currently working on getting our SQL Server Express database working with BitLocker but I am coming across a few problems. Here is my scenario:
The OS is partitioned into two volumes (C and D).
The C volume contains the OS and Software, while the D volume is primarily used for the database files (logs, back, and mdf).
The D volume is encrypted using BitLocker
The database connects using the SA account (SQL Server Authentication)
From what I understand, BitLocker must be enabled with the same account that the SQL Server is running on. So what I have done is change the SQL Server service account to the user account (lets say its called User) via SQL Configuration Manager. While staying
logged into User account, I then enable BitLocker via Control Panel -> System and Security -> BitLocker Drive Encryption. I then reboot and then while the software is trying to connect to the database I get the following exception:
'login failed for user sa'.
Is there anything I need to do to get this working? Thanks for the help.
Hi moncadad,
When you turn off BitLocker, does the database also show “Recovery Pending”? If so, the simplest cause for “Recovery Pending” might be that a disk spin-up was slow, or a disk became full. Please read this
blog to fix the issue, then check if you can successfully connect to the database after you turn on BitLocker.
However, if you are not able to view the database contents only after you turn on BitLocker, I suspect that there are some issues about configuring BitLocker. As far as I know, Bitlocker must be performed by a member of Local Admins Group, please make sure
that your account is a member of Local Admins Group on your computer.
Also I would like to recommend you post the question in the
Microsoft Bitlocker Administration and Monitoring (MBAM) forum to get better support. For more details about configuring SQL Server with Bitlocker, please review the following similar articles.
Using SQL Server 2012 Standard with Bitlocker
How can I retrieve my BitLocker recovery key from MBAM in Windows PE
Thanks,
Lydia Zhang
If you have any feedback on our support, please click
here.
Lydia Zhang
TechNet Community Support
Similar Messages
-
Where do I find SQL Server 2012 Express with tools
I have to have this for a class and every web page I have tried and even from the Murach's SQL Server 2012 for developers book is giving me " this page not found".
Does anyone know where I can get it?Why I am unable to open your link Saeid ?
Saeid, BTW, also your signature link is somehow a little bit strange, here in this post the effective link is the URL of the post + sqldevelop.wordpress.com ...
http://social.msdn.microsoft.com/Forums/en-US/96b8dba8-ebd1-420b-b142-6cf25b4a93bb/sqldevelop.wordpress.com
Olaf Helper
[ Blog] [ Xing] [ MVP] -
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] -
SSMS for SQL Server 2012 Express on Windows Embedded 8 Standard
Hello,
I have installed SQL Server 2012 Express with Advanced Tools (SQLEXPRADV_x64_ENU.exe, downloaded from MS website) on Windows Embedded 8 Standard 64-bit. But, when I try to find SQL Server Management Studio, I realized it's not installed (same installation
package works fine on my Windows 8.1 Pro 64-bit laptop, where SSMS gets installed). How do I fix this? And any other ways for trouble-shooting DBs on Windows Embedded 8 Standard?
Thanks,
JayBelow is the content of a summary file for the installation. BTW, I also try to find its ConfigurationFile.ini file for future installation on other computers, but it's not in the folder specified in the summary file either (see below).
Thanks.
Overall summary:
Final result: Passed
Exit code (Decimal): 0
Start time: 2014-04-15 13:57:59
End time: 2014-04-15 14:13:29
Requested action: Install
Machine Properties:
Machine name: AIMB-584
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
Package properties:
Description: Microsoft SQL Server 2012 Service Pack 1
ProductName: SQL Server 2012
Type: RTM
Version: 11
SPLevel: 0
Installation location: c:\e089c9dde791653620\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: Automatic
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, FULLTEXT, RS, BIDS, BOL, SSMS, SNAC_SDK, LOCALDB
FILESTREAMLEVEL: 0
FILESTREAMSHARENAME: <empty>
FTSVCACCOUNT: NT Service\MSSQLFDLauncher$SQLEXPRESS
FTSVCPASSWORD: <empty>
HELP: false
IACCEPTSQLSERVERLICENSETERMS: false
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: 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: AllFeatures_WithDefaults
RSINSTALLMODE: DefaultNativeMode
RSSHPINSTALLMODE: DefaultSharePointMode
RSSVCACCOUNT: NT Service\ReportServer$SQLEXPRESS
RSSVCPASSWORD: <empty>
RSSVCSTARTUPTYPE: Automatic
SAPWD: *****
SECURITYMODE: SQL
SQLBACKUPDIR: <empty>
SQLCOLLATION: SQL_Latin1_General_CP1_CI_AS
SQLSVCACCOUNT: NT Service\MSSQL$SQLEXPRESS
SQLSVCPASSWORD: *****
SQLSVCSTARTUPTYPE: Automatic
SQLSYSADMINACCOUNTS: AIMB-584\User
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\20140415_135512\ConfigurationFile.ini
Detailed results:
Feature: Management Tools - Basic
Status: Passed
Feature: SQL Server Data Tools
Status: Passed
Feature: Reporting Services - Native
Status: Passed
Feature: Database Engine Services
Status: Passed
Feature: Full-Text and Semantic Extractions for Search
Status: Passed
Feature: SQL Server Replication
Status: Passed
Feature: SQL Browser
Status: Passed
Feature: Documentation Components
Status: Passed
Feature: SQL Writer
Status: Passed
Feature: LocalDB
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\20140415_135512\SystemConfigurationCheck_Report.htm -
Sql sever 2012 express with tools
Can someone show me step by step how to download sql server 2012 express with tools. The free versionI tried download but there file missing i cant it to run.
jamesHi James,
You can directly download SQL Server 2012 Express with tools from below link. Please choose SQLEXPRWT_x64_ENU.exe or SQLEXPRWT_x86_ENU.exe package to install.
http://www.microsoft.com/en-us/download/details.aspx?id=29062
However, if you fail to download/install SQL Server 2012 Express with tools, please help to post the full error message for analysis.
Thanks,
Lydia Zhang
Lydia Zhang
TechNet Community Support -
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 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 -
When I use framing in SQL Server 2012 express, error occurred
Hello, everyone,
I met a error when I use framing in the SQL Server 2012 Express. Could you help me, thank you!
the query is:
SELECT custid, orderid, orderdate, val,
SUM(val) OVER(PARTITION BY custid
ORDER BY orderdate, orderid
ROWS BETWEEN UNBOUNDED PRECEDING
AND CURRENT ROW) AS runningtotal
FROM Sales.OrderValues;
And the error information is:
Msg 102, Level 15, State 1, Line 4
Incorrect syntax near 'ROWS'.
Thank you!Hello,
If you run that statement on SQL Server 2012 (or later), you won’t receive any errors.
I receive that error message only when I run that statement on SQL Server 2008.
I didn't try with SQL Server 2012 Express though. I tested with a SQL Server 2012 Standard Edition instance with SP1 CU2, and your statement works.
Hope this helps.
Regards,
Alberto Morillo
SQLCoffee.com -
I am trying to create a silent installation package for SQL Server 2012 Express Management Studio SP1. (both x86 & x64)
Prior to installation I have performed the following :
1. Turned ON the Windows feature 'Microsoft .NET Framework 3.5.1' (I had read somewhere on the internet that this is required prior to installation)
2. Installed Microsoft .NET Framework 4.0
I am using the following command line to perform an unattended install :
<EXENAME> /Q /IACCEPTSQLSERVERLICENSETERMS /ACTION=install /FEATURES=Tools
However, the installation fails abruptly.
The application installs successfully with the following command line :
<EXENAME> /IACCEPTSQLSERVERLICENSETERMS /ACTION=install /FEATURES=Tools
The error occurs only while attempting to install the application with the /Q switch appended.
Please help.Hello Fanny,
Thanks for providing the link to the SQL Server 2012 unattended install guide.
However, I must highlight that I was running the setup.exe with "Run As a Administrator" option and still facing the issue.
Anyways, I found out the root cause and I must say that it was a rather silly one.
As I had stated previously, the following command line was causing the issue :
<EXENAME>
/Q /IACCEPTSQLSERVERLICENSETERMS /ACTION=install /FEATURES=Tools
I simply changed it to the following and it worked....
<EXENAME>
/QUIET /IACCEPTSQLSERVERLICENSETERMS /ACTION=INSTALL /FEATURES=TOOLS
It so seems that everything must be in CAPITALS for this to work.
Regards,
Soumen -
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 edition) network interface error: 26
Hi
Could you please help me to resolve the issue the error :26 while establishing connection with SQL server-2012 ( Express edition) in my local machine. I have installed and configure SQL Server -2012 (Express edition). I have thoroughly checked and
configured TCP/IP to make Enable and insert IP address and port No. 1433 and accordingly set-up new roles in Firewall for both TCP/IP, programme option to recognize to access SQL server/programme to Firewall.
I have also configured SQL management studio Security option i.e New Logins> General > Server Roles> User mapping> as attached screen shoot with this mail.
I have also made enable (Yes) on ICPM through Firewall properties as using windows -8(standard version), but still SQL server isn't enable to connect. I hereby enclosed the error screen shoot. I am testing it ACT ( application compatibility toolkit)
prior configuring this server to SharePoint-2013 or 2010 farm server.
You co-operation in this regard be appreciated.
Regard
Azad
Azadur Sarker 6, Seaford street Stoke-on-Trent, ST4 2EURick,
Great to find your response and excellent reference /article (WIKI publishing, your writing). I have followed your options accordingly to Connect or establish connection with SQL server through client machine ( using IP address and network) but failed and
shows the time out error as bellow screen shoot for your assessment.
SQL SERVER MANAGER OPTION:
-SQL server services:- I got five options as find bellow pic. Except SQL server Agent rest of the options are running well.
As I mentioned i am running SQL server-2012 ( Express edition), so i am not sure, is it a mandatory provision to not run, So please feedback in that option.
IP Config: I have tested IP address ( IPv4) and AZAD-PC, 127.0.0.1 those are responding well ( I have't yet set-up IPv6) including Ping testing.
Using SQL Server Management Studio on the computer running SQL Server, connect to the instance of SQL Server. In Object Explorer, expand Management, expand SQL Server Logs, and then double-click the current log.
In the Log Viewer, click the Filter button on the toolbar. In the Message contains text box, type server is listening on, click Apply filter, and then click OK.
I have configured accordingly on Management Studio.
Enable Protocols:
I have done that and also set-up IP address (IPv4) in all of the IP address options and port no 1433
Testing TCP/IP Connectivity:
Yes, it was success through all the option except ( IPv6)
Testing a Local Connection on Client Machine:
Yes, Working fine.
Testing the Connection:
Failed. I have tried to connect to my machine ( Management studio) using the server name:AZAD-PC\SQLEXPRESS:- failed shows the error no.26, But connected using:AZAD-PC
on ( Management Studio).
Please provide your feedback to resolve the issue.
regard
Azad
Azadur Sarker 6, Seaford street Stoke-on-Trent, ST4 2EU -
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. -
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 -
SQL SERVER 2012 EXPRESS Server Roles
Hi ,
I am trying to check the Server Roles properties in SQL SERVER 2012 EXPRESS.
I log on as the user "sa" who has the sysadmin role.
In Object Explorer, expand Security |Server Roles, right-click
sysadmin, only can see "Start PowerShell","Reports"and "Refresh". there is no "Properties".
I try to log on with different accounts and get the same results.
Thanks a lot!Hi ,
I am trying to check the Server Roles properties in SQL SERVER 2012 EXPRESS.
I log on as the user "sa" who has the sysadmin role.
In Object Explorer, expand Security |Server Roles, right-click
sysadmin, only can see "Start PowerShell","Reports"and "Refresh". there is no "Properties".
I try to log on with different accounts and get the same results.
Thanks a lot!
This is what express 2012 edition is ,this is not an issue. Express edition comes with limited capabilities not every feature is available in it.
Try same on developer,Ent,standard you will see properties,if you login as sysadmin ir SA
Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers
My TechNet Wiki Articles
Maybe you are looking for
-
How can I make a book/podcast listening playlist for a blind person?
How can I make a book/podcast listening playlist for a blind person? How can lots of content be loaded, so that no navigation is required, for hundreds of hours of enjoyment? I wanted to create a single playlist with hundreds of hours of books and po
-
Weird blank space above fixed navigation bar. help!?
Dear all, Im a real no no in building websites, so this is already my fifth post in a week And i have an issue again.... on my website: http://vinddit.nl/ you can see i made a fixed navigationbar. but you will see a blank space above it when you scol
-
Collecting data via SharePoint using LiveCycle form and Adobe Tracker
I created a form in LiveCycle ES 8.2 and have distributed it via Adobe 9.3.4 Pro (I am running Windows 7.) For the first two days, when I opened up track forms, all was working well and I was receiving all responses. However, on the third day, I was
-
Hi, I'm developing a scenario in NetWeaver Developer Studio. What I will deliver to customers is a framework. It includes the definition of an interface. Customers should create their own component in which their classes will implement that interface
-
The blurb says that iLife '06 requires 10 GigaBytes of Hard Disc space. This is truly astonishing if it means that iLife '06 will truly hog that amount. Or does it mean that it takes rather or much less, but that you need that amount of hard disc spa