Sql server express for window 8
i am going to develop web application (.net 3.5) and want to use sql server as database, but i am using window 8, it seems many version not compatible for it.
anyone recommend me which version i should download so that i can estable database on my pc platform.
any link reference?
You can use SQL Server 2014 without any compatibility issues! It's available to download from this link:
Microsoft® SQL Server® 2014 Express
Please consider reading this article:
How to use SQL Server in Windows 8, Windows 8.1, Windows Server 2012, and Windows Server 2012 R2
Also take a look at these URLs:
Installing the .NET Framework 3.5 on Windows 8 or 8.1
How to enable .NET Framework 3.5 on Windows 8 in Offline Mode
Cheers,
Saeid Hasani
Database Consultant
Please feel free to contact me at [email protected] as well as on Twitter and Facebook.
[My Writings on TechNet Wiki] [T-SQL Blog] [Curah!]
[Twitter] [Facebook] [Email]
Similar Messages
-
Version of SQL Server Express for a Secondary Site in Configuration Manager 2012 R2
Hi,
I want to install a secondary site in my Configuration Manager 2012 R2. I want to install the SQL Server Express in a diferente drive. To do so, I want to previous install the SQL Server Express.
Can I use the SQL Server 2014 Express?
Thanks in advance...
DmsousaSorry, going to be blunt here, but this is why "best practices" are useless. If you don't know the "why" of the best practice and when to apply it, it will cause you to do things that simply aren't necessary (or even harmful) by
blindly trying to apply them. It is simply is not necessary for secondary sites for perf or any other reason. Also, if this is a VM, then your virtual disks will most likely be on the same physical disks which means you do *not* in any way gain any perf benefits
anyway (perf benefits come from have additional physical spindles -- logical separation is just that *logical*).
You have far bigger challenges ahead of you, push the easy button on this one, let ConfigMgr deploy SQL Express for you and move on.
Jason | http://blog.configmgrftw.com | @jasonsandys -
Install SQL Server Express on Windows 8.1
I've tried every version I can get my hands on (2008, 2012, 2014), and get errors of various kinds every time: Just a few:
- the service won't start with error 2146885628.
- "An error occurred for a dependency of the feature causing the setup process for the feature to fail."
- "Wait on the Database Engine recovery handle failed."
I especially like this one during/after an install:
What version should I use? I just need some version, any version, to do some testing with.
Second, where should I get it? It seems every program on the web site has similar names, and the links all lead back onto each other. An exact link would be very helpful.
If I have to, I'll install with VirtualBox in Windows 7, even.
Thanks,
--Al--I even made sure there were no services left running, in addition to uninstalling anything that even smelled of SQL in Control panel; captured another screenshot:
As for that folder, how would one post it? At the chance summary.txt would help:
Overall summary:
Final result: Failed: see details below
Exit code (Decimal): -2061893607
Start time: 2015-04-12 20:49:35
End time: 2015-04-12 21:14:24
Requested action: Install
Setup completed with required actions for features.
Troubleshooting information for those features:
Next step for RS: Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
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 FullText: 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: ASUS-LAPTOP
Machine processor count: 8
OS version: Windows 8
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 Configured
Package properties:
Description: Microsoft SQL Server 2014
ProductName: SQL Server 2014
Type: RTM
Version: 12
SPLevel: 0
Installation location: Z:\SQL Servers\SQLEXPRADV_x64_ENU-2014\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, FULLTEXT, RS, CONN, BC, SDK, BOL, SSMS, ADV_SSMS, SNAC_SDK
FILESTREAMLEVEL: 0
FILESTREAMSHARENAME: <empty>
FTSVCACCOUNT: NT Service\MSSQLFDLauncher$SQLEXPRESS
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: 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: <empty>
SECURITYMODE: <empty>
SQLBACKUPDIR: <empty>
SQLCOLLATION: SQL_Latin1_General_CP1_CI_AS
SQLSVCACCOUNT: NT Service\MSSQL$SQLEXPRESS
SQLSVCPASSWORD: <empty>
SQLSVCSTARTUPTYPE: Automatic
SQLSYSADMINACCOUNTS: ASUS-LAPTOP\User
SQLTEMPDBDIR: <empty>
SQLTEMPDBLOGDIR: <empty>
SQLUSERDBDIR: <empty>
SQLUSERDBLOGDIR: <empty>
SQMREPORTING: false
TCPENABLED: 0
UIMODE: AutoAdvance
UpdateEnabled: true
UpdateSource: MU
USEMICROSOFTUPDATE: false
X86: false
Configuration file: C:\Program Files\Microsoft SQL Server\120\Setup Bootstrap\Log\20150412_204925\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: Reporting Services - Native
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=12.0.2000.8&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4025&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4025
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=12.0.2000.8&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4025&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4025
Feature: Full-Text and Semantic Extractions for Search
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=12.0.2000.8&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4025&EvtType=0xD15B4EB2%400x4BDAF9BA%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=12.0.2000.8&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4025&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4025
Feature: SQL Browser
Status: Passed
Feature: Documentation Components
Status: Passed
Feature: SQL Writer
Status: Passed
Feature: SQL Client Connectivity
Status: Passed
Feature: SQL Client Connectivity SDK
Status: Passed
Feature: Setup Support Files
Status: Passed
Rules with failures:
Global rules:
Scenario specific rules:
Rules report file: C:\Program Files\Microsoft SQL Server\120\Setup Bootstrap\Log\20150412_204925\SystemConfigurationCheck_Report.htm -
I'm trying to install Windows Azure PowerShell on my Windows 7 SP1 Enterprise laptop. As a prerequisite, it needs to install Microsoft SQL Server 2012 Express LocalDB, I but keep receiving an error:
Service 'SQL Server VSS Writer' (SQLWriter) failed to start. Verify that you have
sufficient privileges to start system services.
The service that it tries to use by default is the Local Service. I verified that it has log on as a service privileges and even did a restart. Same error.
any ideas?
Cross posted in Windows
AzureHi ,
According to your description, when you install SQL Server 2012 Local DB , it encounter the error about SQLWriter. We need to verify if you invoke SQLLOcalDB.msi directly, and check
MSSQL service is running and other service’s status.In addition, you can go to event viewer and check the error logs for analysis.
There is a similar issue about Service SQL Server VSS Writer and troubleshooting SQL Server 2012 Express LocalDB, you can review the following article.
http://blog.andreloker.de/post/2008/07/17/SQL-Server-hotfix-KB948109-fails-with-error-1920.aspx#!
http://social.technet.microsoft.com/wiki/contents/articles/4609.troubleshoot-sql-server-2012-express-localdb.aspx
Thanks,
Sofiya Li
Your Name
TechNet Community Support -
How to install SQL Server Express in Windows 10
Windows 10 x64.
Windows 10 running on VirtualBox 4.3.18.
Setup in not started without any messages.
There is no Setup.exe in Task Manager.
There is no errors in Windows Logs (Event Viewer).
There is no any SQL Server folders in Program Files or Program Files (x86).
Compatibility with Windows 7, 8 doesn't help.
Was tested english versions:
SQL Express 2008 R2 SP1 x64, SQL Express 2008 R2 SP1 with Tools x64,
SQL Express 2014 x64, SQL Express 2014 with Tools x64.
How to install any version of SQL Express?
Thanks in advance.
So, I can reproduce this problem.
By default windows have not .Net 3.5 installed, but SQL Server tools need it.
When I run sql setup on fresh windows it started normally.
If run .net setup when sql setup already running it's OK.
But if you exist from sql setup (or not run it) and install .net in Windows Components it's impossible to run SQL setup.Do
you read me?
I can reproduce this problem.
By default windows have not .Net 3.5 installed, but SQL Server tools need it.
When I run sql setup on fresh windows it started normally.
If run .net setup when sql setup already running it's OK.
But if you exist from sql setup (or not run it) and install .net in Windows Components it's impossible to run SQL setup.
to install .net framework 3.5,
just go to control panel -> programs and features -> turn windows features on and off -> check .net framework 3.5 -
We have purchased a new computer that has Win 8.1 Pro. We are migrating an application from a Win 7 Pro machine we are currently successfully using (the vendor migrates it for us) and they have said that the application will require the installation of SQL
Server 2008 Express (which we do have on our Win 7 machine).
In looking at the requirements for SQL Server 2008 Express (on the download page for it), it does not mention it being compatible with Win 8.1
In addition, Installation Instructions says that it requires:
Microsoft .Net Framework 3.5 SP1
Windows Installer 4.5.
Windows PowerShell 1.0
I see that 3.5 is already listed as a program feature of Win8.1 and I've enabled it. Do I need to install SP1? I downloaded it, and launched it, and nothing happened.
I also looked at the Windows Installer 4.5 download page, and it's not clear if that is compatible with 8.1. Do I need to download and install it?
Power Shell 2.0 is already installed. I assume that will be backwards compatible with PowerShell 1.0; is that correct?
I saw another question about SQL Server Express Compatibility with Win 8.1 (http://social.technet.microsoft.com/Forums/windows/en-US/038ec00e-4fc1-41ba-9fdc-21c022aad67e/action?threadDisplayName=sql-server-express-compatibility-with-windows-81) and the response
said that SQL Server Express 2012 will work, but the link contained in the answer led to a page for SQL Server Express 2014.
My vendor has told me that SQL SERver Express 2012 will be backwards compatible with their product. But they said that I would first have to install 2008 first. Is that correct for Win 8.1?
So, the ultimate questions are:
1. What is the link for Sql Server 2012 Express for Win 8.1?
2. Will the SQL Server 2012 Express download require prior install of the 2008 version
3. What other component requirements are required for SQL Server 2012 Express, and how can I determine if they have already been installed. (This is a brand new computer with a clean Win8.1 Install).
4. Finally, can we use the 2014 version of SQL Server Express for Win 8.1? If so, questions 1, 2 and 3 apply, too.
Thanks for your help on this!! HIGH ANXIETY.Hello,
The following article provides which updates are required to make SQL Server versions compatible with Windows 8 or 8.1:
http://support.microsoft.com/kb/2681562/en-us
1. You can use the product updates feature on SQL Server 2012 to make it compatible with Window 8.1. Apply SP1 as described on the following
article:
http://www.sqlcoffee.com/SQLServer2012_0008.htm
2. No.
3. Download and install .NET Framework 4.0 and enable .NET Framework 3.5. For more information:
http://www.sqlcoffee.com/SQLServer2012_0017.htm
4. Yes, you can use SQL Server 2014 with Windows 8.1. Please refer to the Support article provided above.
Hope this helps.
Regards,
Alberto Morillo
SQLCoffee.com -
Can i use sql server express 2008, 2012, and 2014 for commercial purpose?
Good day,
I saw that the sql server express 2005 can be used for commercial purpose without buying additional license
https://social.msdn.microsoft.com/Forums/sqlserver/en-US/8df18025-fc2b-43c2-8476-532336ff09e3/sql-server-express-for-commercial-use?forum=sqlexpress
the question is can I do the same for sql server express 2008,2012, and 2014?
can I install and use sql server express 2008, 2012 and 2014 on an azure vm? specifically
http://azure.microsoft.com/en-us/pricing/details/virtual-machines/
A0 instance
just an off topic question, is it required to pay to use sql server on virtual machines?
why is there a different pricing here
http://azure.microsoft.com/en-us/pricing/details/virtual-machines/#SqlHello,
Yes, you can use all versions SQL Server Express for commercial use. Please read more resources about it.
https://social.msdn.microsoft.com/Forums/sqlserver/en-US/01dbc5c3-b5fe-42d4-9eb9-91683cf8285b/can-any-commercial-application-that-uses-sql-server-express-freely-redistribute-the-sql-server?forum=sqlexpress
https://social.technet.microsoft.com/Forums/en-US/661ebf2e-ff2f-4dae-a8ae-e2179a764c09/sql-server-2012-express-in-commercial-product?forum=sqlexpress
Hope this helps.
Regards,
Alberto Morillo
SQLCoffee.com -
SQL Server Express hosting and EULA
Hi, I have a (possibly stupid) question. I want to use SQL Server Express for hosting. It is for a small project and on a dedicated server, so I don't think there would be any problems with the limitation of express edition.
However, I have run into one formal problem:
If I look at the the SQL 2014 Express_Hosting_Redistribution_EULA (found at http://www.microsoft.com/en-us/download/details.aspx?id=29693), it has section 2b. which permits hosting. But in the license terms that are in the installation, this section i missing,
so the "You may not use the software for commercial software hosting services" rule would apply.
Why is that? Is there another version of SQL Server Express that allows hosting? If so, where can I find it?
ThanksHi,
You can use Express edition for Hosting, its allowed and EULA is correct. Just because it is missing in License terms "does not means it is not allowed".
Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
My Technet Wiki Article
MVP -
SQL Server Express 2008 R2 and Windows 8.1 (Standard)
I recently re-engineered the backend of a legacy Access 2003 application because we knew that going forward we were going to loose the replication capability in Access. This is a small, departmental app, so the new SQL Server Express 2008 R2 backend is
hosted on a robust Windows 7 system. I tested the implementation with both Windows XP and Windows 7 clients running the updated Access 2003 frontend and everything worked great.
We are now in the midst of a company-wide upgrade to Windows 8.1 and I'm having issues. The legacy frontend works fine with Access 2013 (full version) when run locally on the Win7 machine, but I can't get any of the new Win 8.1 clients to connect to the
SQL database using the Access 2013 Runtime module. I CAN create ODBC connections to SQL Server from the clients and they test successfully, so I think I have a valid SQL connection to the Win 7 box.
To recap: old clients were WinXP Pro with Office 2003 Pro, new clients are Win 8.1 (non-Pro) with Access 2013 Runtime module.
Any ideas?Hi ,
Glad to hear that you have found the solution. Thank you for coming back and let us know the result:)
Best Regards,
Tracy
Tracy Cai
TechNet Community Support -
Connecting BI Web Server with SQL Server Express / Visual Studio Express for Report Development
Hi,
My company is using the Report Builder 3.0 to build the BI Reports ( I guess based on SQL Server 2008 R2). Our software vendor has provided us the web URL to access the BI Server. I want to generate the BI Reports with SQL Server Express or Visual
Studio Express instead of Report Builder 3.0. Need some guidance in this regard.
regards, BI.Developer.Hi,
Based on my research, if we want to open the report from report server to Business Intelligence Development Studio, we should download the report from report manager, then add this item in Business Intelligence Development Studio. For more details, please
see the following steps:
Type the URL in IE browser to access the repot manager.
Browse to the RDL file folder or location.
Hover over the report, and click the drop-down arrow near the RDL file.
Click on download button, the download window will pop up now. Then save the rdl file.
Click Manage option in the drop-down list, make a note of its Data Source Connection string.
Create a Report Server Project in Business Intelligence Development Studio.
Right-click the Reports folder to open the Add Existing Item dialog box, navigate to the location where you saved the .rdl file for the report, and then click Add.
Right-click the Data Source to verify the connection string is correct.
Besides, please make sure that software vendor had assigned ‘View reports’, ’Manage reports’, ‘Manage folder’ and ‘Manage data sources’ tasks for your account, so that you can download the report and view the data source.
If there are any other questions, please feel free to ask.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
Connection problem in Crystal Reports for Eclipse(SQL Server Express 2008)
I tried to connect into a local SQL Server Express 2008 database in Crystal Reports for Eclipse (CR4E), but always got the Ping failed message(TCP/IP connection failed) even I tests completed successfully using my Window XP Adminstrators Tools (SQL Server ODBC Data Source Test). I can connect successfully to a remote network Oracle database in CR4E. I would like to know
that is there any one who connect SQL Server Express 2008 local database successfully in CR4E?Don,
Thanks for your suggestions. I will follow your instruction to connect to SQL Server Express 2008 database latelly. I can connect successfully with different Oracle databases (10g) in CR4E. I will try to connect MySQL database and Postgres database in CR4E to see if they can be successful or not. My project involves international entities with emphsizing in using OPEN SOURCE softwares (which means FREE - no license fees) in .NET platform for Oracle, SQL Server Express, MySQL and Postgres database servers. I am responsible for reports generation. I hope that CR4E can be connected successfully to SQL Server Express 2008 database server, otherwise I have to use JFreeReport/JFreeChart tools to do reports generation . -
Hi. Can anyone comment on their experience using RH Server on Windows 7 and using SQL Server Express? That is, is it stable and fast enough for delivering Web Help Pro documentation to support occasional viewer browses. (We would have approx 250 customers who would occasionally access the HTML docs that support our software.)
Our company is not keen on spending $s on Windows Server and an MS or Oracle database.
Thanks in advance.
-KurtHi Kurt. You should have no problems with that configuration and user numbers. See Recommended OS/database combinations for RoboHelp Server « Technical Communication Suite
-
Adding SQL Server Express to Visual Studio 2013 Pro on Windows 10 Preview
I have installed VS 2013 Pro on Windows 10. I need to delevop unsing SQL Server Express. Do I download the full SQL Server 2012 Express Advanced (with full text search), or do I need only part of it? I was going to download the SQLEXPRADV_X64_ENU.exe.
Is this a good way to go?
Do I also need to download any other .net frameworks?
kciNDevHello,
Please read the following resources:
http://msdn.microsoft.com/en-us/library/ms233763.aspx
http://stackoverflow.com/questions/20333518/how-to-create-a-database-in-ms-visual-studio-2013
http://msdn.microsoft.com/en-us/vstudio/bb643825.aspx
Hope this helps.
Regards,
Alberto Morillo
SQLCoffee.com -
Problem with Datasource for SQL Server Express
I have set up a development environment to develop some processes for the HCSO client and have a question. I have a turnkey install on my laptop with MYSQL. The liveCycle databases are in MYSQL. I have also installed SQL Server Express on this machine and created a table to query that will control workflow. I added a datasource configuration in the adobe-ds.xml configuration file. That configuration is:
<local-tx-datasource>
<jndi-name>HCSO</jndi-name>
<connection-url>jdbc:sqlserver://localhost:1433;DatabaseName=DBName</connection-url>
<driver-class>com.microsoft.sqlserver.jdbc.SQLServerDriver</driver-class>
<user-name>username</user-name>
<password>password</password>
<min-pool-size>1</min-pool-size>
<max-pool-size>30</max-pool-size>
<blocking-timeout-millis>60000</blocking-timeout-millis>
<autoReconnect>true</autoReconnect>
<idle-timeout-minutes>15</idle-timeout-minutes>
<prepared-statement-cache-size>100</prepared-statement-cache-size>
<transaction-isolation>TRANSACTION_READ_COMMITTED</transaction-isolation>
<new-connection-sql>Select id from HCSOUser.eric</new-connection-sql>
<check-valid-connection-sql>Select id from HCSOUser.eric</check-valid-connection-sql>
<metadata>
<type-mapping>MS SQLSERVER2000</type-mapping>
</metadata>
</local-tx-datasource>
In SQL Server, I created a user and a schema with the same name in a database. I created a simple table called "eric" with one column called "id". The user was given the appropriate default schema and given full permissions on the database and table.
In workbench, I added a JDBC query single row activity. I have configured the datasource as java:/HCSO and also tried java:HCSO. I then entered the query as "Select id from HCSOUser.eric" and hit test. Nothing appears in the results area. I see the following in the server.log:
2009-09-24 14:44:26,437 ERROR [org.jboss.ejb.plugins.LogInterceptor] RuntimeException in method: public abstract java.lang.Object com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionBMTAdapterLocal.doBMT(com.ad obe.idp.dsc.transaction.TransactionCallback) throws com.adobe.idp.dsc.DSCException:
java.lang.RuntimeException: A result set was generated for update.
at com.adobe.idp.dsc.jdbc.JDBCService.testExecute(JDBCService.java:616)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:118)
at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:140)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)
at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionBMTAdapterBean.doBMT(EjbTran sactionBMTAdapterBean.java:197)
at sun.reflect.GeneratedMethodAccessor573.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
at org.jboss.invocation.Invocation.performCall(Invocation.java:345)
at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionConta iner.java:214)
at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:149)
at org.jboss.webservice.server.ServiceEndpointInterceptor.invoke(ServiceEndpointInterceptor. java:54)
at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:48)
at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:106)
at org.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeNext(AbstractTxInterceptorBMT.java:1 58)
at org.jboss.ejb.plugins.TxInterceptorBMT.invoke(TxInterceptorBMT.java:62)
at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstance Interceptor.java:154)
at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:153)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:122)
at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:624)
at org.jboss.ejb.Container.invoke(Container.java:873)
at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:415)
at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:88)
at $Proxy270.doBMT(Unknown Source)
at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:95)
at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInt erceptor.java:72)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStra tegyInterceptor.java:55)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercep tor.java:37)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:132)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:115)
at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:118)
at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.invoke(AbstractMessageReceiv er.java:315)
at com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapSdkEndpoint.invokeCall(SoapSdkEndpoint. java:138)
at com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapSdkEndpoint.invoke(SoapSdkEndpoint.java :81)
at sun.reflect.GeneratedMethodAccessor710.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)
at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)
at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.adobe.idp.dsc.provider.impl.soap.axis.InvocationFilter.doFilter(InvocationFilter.java :43)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.ja va:159)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11P rotocol.java:744)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:595)
Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: A result set was generated for update.
at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriverError(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerStatement.doExecuteStatement(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerStatement$StatementExecutionRequest.executeStatemen t(Unknown Source)
at com.microsoft.sqlserver.jdbc.CancelableRequest.execute(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeRequest(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeUpdate(Unknown Source)
at org.jboss.resource.adapter.jdbc.WrappedStatement.executeUpdate(WrappedStatement.java:161)
at com.adobe.idp.dsc.jdbc.helper.SqlHelper.executeTestUpdate(SqlHelper.java:117)
at com.adobe.idp.dsc.jdbc.JDBCService.testExecute(JDBCService.java:610)
... 82 moreThanks fot the tip, but now I got a different message in the "Test" results of "Query Single Row":
Exception: Could not create connection; - nested throwable: (com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host has failed. java.net.ConnectException: Connection refused: connect); - nested throwable: (org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host has failed. java.net.ConnectException: Connection refused: connect))
My datasource xml is like this:
<?xml version="1.0" encoding="UTF-8"?>
<datasources>
<local-tx-datasource>
<jndi-name>MSSQL</jndi-name>
<connection-url>jdbc:sqlserver://localhost:1433;DatabaseName=ADOBE</connection-url>
<use-java-context>false</use-java-context>
<driver-class>com.microsoft.sqlserver.jdbc.SQLServerDriver</driver-class>
<user-name>sa</user-name>
<password>adobe</password>
<min-pool-size>10</min-pool-size>
<max-pool-size>50</max-pool-size>
<blocking-timeout-millis>60000</blocking-timeout-millis>
<idle-timeout-minutes>15</idle-timeout-minutes>
<prepared-statement-cache-size>100</prepared-statement-cache-size>
<transaction-isolation>TRANSACTION_READ_COMMITTED</transaction-isolation>
<check-valid-connection-sql>SELECT 1 FROM sysobjects</check-valid-connection-sql>
<metadata>
<type-mapping>MS SQLSERVER2005</type-mapping>
</metadata>
</local-tx-datasource>
</datasources>
Where is the problem and how to fix it?
Thank you. -
Issues using BitLocker in Windows 8 Emedded with 2012 SQL Server Express
I was told that this forum may be able to help me with my issues (see original thread here:
https://social.msdn.microsoft.com/Forums/sqlserver/en-US/8c81fde1-e91b-46eb-8d2f-b79426805ddd/using-sql-server-2012-express-with-bitocker?forum=sqlexpress).
Background:
To summarize, I have an OS that is partitioned into two volumes: C and D.
C drive contains the running software, SQL Server install, and the OS.
D drive is the encrypted partition via BitLocker. The SQL Server files are stored here (logs, backup, and mdf).
Problem:
The software cannot connect to the database stored on the encrypted D volume when BitLocker is turned on. The user account that I use to enable BitLocker is the same SQL Server Service account and has is also part of the Local Admin Group. As soon as I disable
BitLocker, the software works fine and the database connection succeeds. I am currently using the SQL System Admin account to login (SA) and BitLocker is being used with a TPM.
The error I am experiencing when connecting through the software is 'login
failed for user sa'.
Thank you for the suggestions/help.Hi HMLunger,
Did you install the SQL Server instance successfully? If not, please help to post the summary and detail logs for analysis. By default, the logs can be found in: C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log.
However, if you fail to start SQL Server Express service after successfully installing SQL Server,
you might have to change the paths of the files by running the following scripts from the command prompt. For more details, please review this similar
thread.
NET START MSSQL$SQLEXPRESS /f /T3608
SQLCMD -S .\SQLEXPRESS
ALTER DATABASE model MODIFY FILE (NAME = logical_name , FILENAME = 'new_path\os_file_name');
ALTER DATABASE model MODIFY FILE (NAME = logical_name , FILENAME = 'new_path\os_file_name');
go
exit;
ALTER DATABASE msdb MODIFY FILE (NAME = logical_name , FILENAME = 'new_path\os_file_name');
ALTER DATABASE msdb MODIFY FILE (NAME = logical_name , FILENAME = 'new_path\os_file_name');
NET STOP MSSQL$SQLEXPRESS
In addition, you can follow the steps in this KB article to uninstall SQL Server.
Thanks,
Lydia Zhang
Lydia Zhang
TechNet Community Support
Maybe you are looking for
-
My new iPod touch 5g can't charge.
i tried turning on but it only shows the battery bar with a tiny bit of red. what should i do?
-
[Solved] calibre ebook-viewer not working correctly
In the last few days the ebook-viewer packaged along with calibre has started behaving strangely by inserting gaps or spaces randomly all over books. Calibre itself and the other tools seem to be OK. EDIT: Screenshots Calibre's ebook-viewer: http://i
-
After upgrading my iPhone 5 to iOS 6.1 my battery has been draining very quick. The only thing that helps is to remove my Gmail exchange account shut my phone off then re-add it. But then it happens again. Does anyone else have this problem or know w
-
Transaction for mass material master change history
Hi, Is there a transaction where I can see all materials that have had changes to their material master within a date range? Example: I want to see all materials that had changes to their master between Sept 7th and Sept 10th Thanks in advance!
-
I am using Microsoft Outlook for work email and Safari won't display a drop down menu when I click on the paper clip for attachments. The IT person at work says the browser isn't working or Safari isn't updated and I should try a different browser.