Microsoft Sql Server 2014 Express and AdventureWorks 2014 Script
Cannot Generate SSPI Context
Hi guys,
I have a weird error I cannot resolve.
Setup:
Windows 2008 SBS server running SQL express 2014, Services are using a Domain Account with privileges.
Problem:
Client computer on the same domain as the SQL. Using the ODBC to create a user DSN sometimes works and sometime just disconnects and when I try to configure it again I get Cannot Generate SSPI Context.
If I restart the server it most likely will work again but then at some point will just disconnects and return this error again when I try to reconfigure.
I can't seem to pinpoint this error to anything specific.
Any ideas please???
SQL Server Express - Installation Sequence
Hi All, Could any fellow tell me what are the mandatory versions among the bellow listed I may downloading and installing for SQL Server Express 2014? Is there any dependence? Is there a certain order I might take care, meaning, never installing (2) ahead (1)? Tks in advanced for any help.
Available versions
1. SQL Server Express with Tools
2. SQL Server Management Studio
3. SQL Server Express LocalDB (MSI installer)
4. SQL Server Express with Advanced Services
5. SQL Server Express
Dumb question - SQL Server Express 2014 - where is my "SQL" interface?
Date time in Open Query
Hi Guys,
How can I use convert date time in Open Query format.
My desired format should have to be like dd-mm-yyyy
Where as oracle server publish in yyyy-mm-dd. I tried to use convert but id didnt work.
CONVERT(CHAR(2), Col, 103) + CHAR(47) + CONVERT(CHAR(2), Col, 101) + CHAR(47) + DATENAME(YEAR,Col)
I think I am missing format in Openquery
Jibran Ishtiaq
SQL Express usage
Hi,
Can we use SQL Express edition for commercial purpose? We have one ERP solution and approx. 50 users accessing the SQL express DB connected with ERP. Do we require SQL CALs and SQL Server?
regards
Faisal
Cannot Export from Sql Server Express 2014 to Access 2016
Hello, I have a Database called My Travel Project which I am trying to export to an Access Database calledTravel Project Imported.
I right clicked on the My Travel Project Database in Sql and chose Export.
When the wizard opened I chose Microsoft OLE DB Provider for Sql Server as a Data sourcebut I am not sure if this is the correct option to choose and chose Windows Authentication.
I was then asked to choose a Destination. I tried Microsoft Access(Microsoft Jet Database Engine)and put in Travel Project Imported as the file name of the Access database.
When I clicked next I got an error message
Can anyone help with how to Export this Database correctly?
Thank you
frustrationmultiplied
Managing SQL 2014 Standard
SQL 2014 Express and WSUS on Windows 2012 R2
Hello all
We are planning to implement WSUS with SQL 2014 Express database on a dedicated Windows Server 2012 R2.
What is the best practice?
What are the limitations of a SQL 2014 Express for using with WSUS?
Thanks in advance,
Rafael
Suddenly lost ability for client connections to SQL Server Express
We have been working on a SQL Server database with a .NET framework application. A couple weeks ago, we suddenly lost the ability for client workstations to connect to the server. If I turn off Windows Firewall, the connection works fine. Tried adding SQL Server as exception, tried adding TCP port 1434 and UDP port 1433 .... nothing seems to work. This is not a set up issue. The connectivity was working fine for months; this was a sudden issue when nothing had changed.
Any ideas?
MS SQL Server 2014 fails creating a backup
I installed SQL Server 2014 Express SP1-CU3: 12.0.4427.0 on Windows 10 (1511):
Creating a backup with the SQL Server Management Studion fails with error 3264.
The DB seems to be OK: DBCC CHECKDB finishes without error.
In the ERRORLOG follwing lines were traced at the time span, when the error occured:
===== ERRORLOG =====
2015-12-16 12:54:14.85 spid61 Attempting to load library 'xpstar.dll' into memory. This is an informational message only. No user action is required.2015-12-16 12:54:14.95 spid61 Using 'xpstar.dll' version '2014.120.4100' to execute extended stored procedure 'xp_instance_regread'. This is an informational message only; no user action is required.
2015-12-16 12:56:52.43 spid61 **Dump thread - spid = 61, EC = 0x0000000011E38160
2015-12-16 12:56:52.43 spid61 ***Stack Dump being sent to C:\Program Files\Microsoft SQL Server\MSSQL12.AMOFFICE\MSSQL\LOG\SQLDump0030.txt
2015-12-16 12:56:52.43 spid61 * *******************************************************************************
2015-12-16 12:56:52.43 spid61 *
2015-12-16 12:56:52.43 spid61 * BEGIN STACK DUMP:
2015-12-16 12:56:52.43 spid61 * 12/16/15 12:56:52 spid 6572
2015-12-16 12:56:52.43 spid61 *
2015-12-16 12:56:52.43 spid61 * Location: fileprod.cpp:916
2015-12-16 12:56:52.43 spid61 * Expression: fInfo.nNumberOfLinks == 1
2015-12-16 12:56:52.43 spid61 * SPID: 61
2015-12-16 12:56:52.43 spid61 * Process ID: 5860
2015-12-16 12:56:52.43 spid61 *
2015-12-16 12:56:52.43 spid61 * Input Buffer 362 bytes -
2015-12-16 12:56:52.43 spid61 * BACKUP DATABASE [AMO] TO DISK = N'C:\temp\backup-16122015.ba
2015-12-16 12:56:52.43 spid61 * k' WITH NOFORMAT, NOINIT, NAME = N'AMO-Vollständig Datenbank Sichern',
2015-12-16 12:56:52.43 spid61 * SKIP, NOREWIND, NOUNLOAD, STATS = 10
2015-12-16 12:56:52.43 spid61 *
==== ERRORLOG =====
Does anyone has an idea how to fix this issue, are newer Bugfixes than CU3 available?
Connection pool exceeded error
Hi!
My Windows Form application today threw the error
System.InvalidOperationException: Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached.
The form opens a connection to SQL Server in FORM.Load
Subsequently, while validating individual fields, a library of functions is used. Each function calls openconn() below
Public Function openconn() libconn = New SqlConnection libconn.ConnectionString = "Data source xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx;integrated security=false;MultipleActiveResultSets=True" If libconn.State <> ConnectionState.Open Then libconn.Open() End If End FunctionAs I see it, the form opens one connection on Load, and the library functions open one connection thru openconn()
Is there a chance that this causes the connection leak?
Mohan
MohanSQL
Not able to install/Uninstall SQL Server Express 2014
I already have SQL Server 2008 pre-installed on my machine then recently installed Visual Studio 2015 which is working fine.
Trying to install express edition of SQL 2014 using following exe:
SQLManagementStudio_x86_ENU
After failed installation attempt, not able to uninstall or reinstall it and receiving
TITLE: Microsoft SQL Server 2014 Setup===
An error occurred while attempting to create the directory: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Microsoft SQL Server 2014\Configuration Tools
Click 'Retry' to retry the failed action, or click 'Cancel' to cancel this action and continue setup.
For help, click: http://go.microsoft.com/fwlink?LinkID=20476&ProdName=Microsoft%20SQL%20Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=12.0.2000.8&EvtType=0xF45F6601%25401201%25401
I am stuck as I am not able to install or uninstall it.
Thanks in Advance!!
Best Regards
Raj Gupta
Raj
Creating Databse
After creating database in visual studio 2015 for making website, I am able to create new table and after saving the table is not shown in Server Explorer Table folder. So can any one help me to solve this problem.
Can't connect via a linked server while SSMS can?
I am facing a problem with SQL Server Express 2008R2 (on windows XP). Sorry, the configuration can't be upgraded/modified because of contractual reasons.
I can connect to the SQL2008 instance from a server using SSMS 2014 and a specific login. Good.
Since we have 180 SQL2008 servers, we created linked servers on the SQL2014 server for SSIS processings.
Every linked server usually works, but they randomly fail with a 10054 error. At that time, it seems that the connection is refused with to event check the login/password (no trace of failed login in the SQL error log). Meanwhile, I am still able to connect from the SQL2014 server using SSMS. A linked server configured using ODBC can also connect. But it fails launching our SQL scripts because it does not support all the required features.
The problem is usually fixed by a reboot, but sometimes it takes mutliple reboots.
I don't know where to start to diagnose this problem. It seems that the linked server uses a different way to connect.
Microsoft SQL Server 2014 Express installation support on Fail Over cluster ?
Hi ,
Microsoft SQL Server 2014 Express installation support on Fail Over cluster
Thanks,
venkat
Connection pool
Hello!
I run an SQL Database application, that involves data entry from multiple physical locations.
Every location has an identical copy of the executable generated with a Windows Forms Front end.
The application has been running for a year, and specifically, for remote (out of the city) instances (over wan vpn) for three months.
Three days ago, for the first time, one user (VPN remote) reported :
System.InvalidOperationException: Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached.
I read that SQL Express has a limit of 100 connections.
I am not clear to what this limitation applies:
1) to one instance of the exe on one client machine
2) to a physical IP
3) to a connection string at the client. (The connection string is embedded in the exe at many places) at one instance of the exe
4) to a connection string at the server.
In the exe, my coding in some cases opens a connection through a library function. The library is in the exe
Public Function openconn() libconn = New SqlConnection libconn.ConnectionString = "Data source = ZZZZZZZZZZZZZZ;initial catalog=ZZZZZZZZ;user id=ZZ;Password=ZZZZZZZZZZZ;integrated security=false;MultipleActiveResultSets=True" If libconn.State <> ConnectionState.Open Then libconn.Open() End If End Function
This function is called multiple times in one data entry form when validation of the entry at a control is to be done.
Dows this open multiple connections?
In all other cases, the connection is opened at the form.load event.
Forms are exited by closing the form, or through code (me.dispose())
If I am not mistaken, there are no (or not many) explicit closing of the connections in the exe: I expected that closing the form will kill the connection.
There are two other exe applications running at all the locations, in which the same connection string is embedded.
Request advice,
Thanks
Mohan
MohanSQL
Unable to Conect Instance
Hy I am new one, and trying to connect SQL Instance
SqlConnection Con = new SqlConnection("Data Source=HD-PC; initial Catalog=MagicBeans; Integrated Security=True;");
Con.Open();
MessageBox.Show(Con.State.ToString());
Con.Close();
Trying to connect to db but fail
I change datasource to HD-PC\NEWSQLEXPRESS and NEWSQLEXPRESS which is installed Instance name but unable to connect, also tried local, Please help
DB Name is MagicBeans
also tried with sa account but failed.
unable to login in into the sql server management studio
TITLE: Connect to Server
------------------------------
Cannot connect to IMRAN\samivulla-khursheed.
------------------------------
ADDITIONAL INFORMATION:
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider:
SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) (Microsoft SQL Server, Error: -1)
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&EvtSrc=MSSQLServer&EvtID=-1&LinkId=20476
------------------------------
BUTTONS:
OK
------------------------------
help me out friends
installaltion if sql server 2014( SQLEXPRWT_x86_ENU) not working on windows 7 enterprise SP1 32 bit machine
I have downloaded and installed SQLEXPRWT_x86_ENU .exe of sql 2014 on a windows 10 machine and it has got installed,but the same when i try to install on windows 7 enterprise SP1 32 bit machine,the installation is not working and giving me the message"The sql server setup media is not supported on a x86 system.To continue ,run the sql server setup media taht matches your system".
The exe is also _x86 and i am also trying to install on windows 7 32 bit machine.then why is the installation failing.Please suggest me how to solve this problem.
regards,
jaya