W. W. Whiteside
Installation Error Missing sqlconf.dll file
Cannot Install SQL Server 2012 Will Not Create a Local Instance / Localhost / "."
I've been having a lot of trouble installing SQL Server 2012. This was a new install, no other versions of SQL Server were on the machine.
After several restarts, install attempts, and running the installer in Repair mode, Management Studio finally installed but there is no localhost. But it can connect and query to remote instances.
The installer will not create a local instance. When I try to connect to localhost or "." in SQL Management Studio, it fails and I get this error:
""
TITLE: Connect to Server
------------------------------
Cannot connect to ..
------------------------------
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:
Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 2)
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&EvtSrc=MSSQLServer&EvtID=2&LinkId=20476
------------------------------
The system cannot find the file specified
""
In Manage->services when I try to start the MSSQLSERVER service it fails and I get this error:
""---------------------------
Services
---------------------------
Windows could not start the SQL Server (MSSQLSERVER) service on Local Computer.
Error 2: The system cannot find the file specified.
"" the service log on tab is set to: NT Service\MSSQLSERVER
Same thing happens when I try to start SQL Agent
""
---------------------------
Services
---------------------------
Windows could not start the SQL Server Agent (MSSQLSERVER) service on Local Computer.
Error 1068: The dependency service or group failed to start.
"" the service log on tab is set to: Network Service
I've spent a day just trying to install SQL 2012, any suggestions welcome!
much appreciated,
Error applying SP4 on SQL Server 2005 32 bit
SQL Server Setup has encountered the following problem:
[Microsoft][SQL Native Client][SQL Server]Cannot update user instances.
Reason: Cannot start user instance 'FF9C0784-9B79-48' for update.
Error code: 0x3c0c..
To continue, correct the problem, and then run SQL Server Setup again.
Any idea what this means and how to fix it?
I ran below commands
SQLEXPR.exe /qb UPGRADE=SQL_Engine,SQL_Data_Files,Client_Components,Connectivity INSTANCENAME=MSSQLSERVER
and
SQLEXPR.exe /qb UPGRADE=SQL_Engine INSTANCENAME=MSSQLSERVER
Thanks.
Can't Uninstall SQL Server 2005 Express Tools
I am attempting to install SQL Server 2008 Enterprise Trial and receive the follow error during installation.
"The SQL Server 2005 Express Tools are installed. To continue, remove the SQL Server 2005 Express Tools."
I have used Add or Remove programs to remove all components of SQL Server 2005 Express. I have even reinstalled the Workstation Tools of SQL Server 2005 just so I could indiviually remove those tools, and then completly removed the SQL 2005 installation.
I have used regedit to search for any instance of SQL Server 2005, there is none.
There is still an entry for SQL Server Mangement Express in my all programs listing. However trying to launch that program fails with errors, so it is partial still installed.
Can anyone tell me how to wipe out these last bits of SQL Server 2005 Express Tools? I have tried everything I have found searching this forum to no avail.
Bill
SQL Server 2008R2 instance upgrade problem
Hello,
Here is the thing
I have 2 sql servers. each has ent instance with AG configured(servers in a cluster) and several non clustered sql2008r2 instances.
I need to patch those 2008r2 instances. If I use the wizard I have an error rule:Cluster_IsOnlineIfClustered
To workaround this I extracted sql2008r2sp2 in a folder and ran
Setup /SkipRules=Cluster_IsOnlineIfClustered /action=patch
But it failed. I can't patch any instance. I would like to place log file here but it's to big.
How to find main error in this huge log ? Thanks
SQL Server with storage via FibreChannel
Hello
Currently we are evaluating a PureStorage solution.
This storage unit is connected using FC adapter.
Our SQL Server 2012 instance is set to use default network packets size 4K.
I read the FC packet size is 2048.
Would it change something to change the SQL packet size to a value lower than 2048 or is it useless?
Florent
SQL Server 2012 SP3 installation fails due to Object Reference Errors
Running SQL Server 2012 SP2 CU6 on Windows Server 2012 R2, and trying to apply service pack 3 for SQL Server 2012. Ran into an issue where SP3 fails due to Object Reference not set to an instance of an object. We are using the default instance name MSSQLSERVER.
I tried repairs and uninstalling SP3, all failed due to object reference errors.
At this time, I am unable to post the detail.txt file.
What are some things I can look for in the detail.txt file that could point to the real problem?
Any Assistance would be appreciated.
DJ
SQL Server SP3 - DB Connection Timeouts
Since installing SQL Server SP3 in production, we are seeing a lot of DB Connection timeouts. Found several articles pointing to enabling IPV6 on the database server.
Does SP3 require IPV6 to be enabled? Due to Security, we were told we must disable IPV6, and use only IPV4.
Below is an example of the errors we are seeing.
An exception was handled, but could not be added to the error log in the database. The following values are associated with the error.
ScopeID=8ae2fa6a-4e85-4bd8-9679-c1ce8ad8cd38
UserID=984a9529-d747-40ec-9a72-ea03067f3fa9
SessionID=ommsk02gwxzytbh40r5snhj4
Process= ()
Error Date=2/19/2016 3:56:02 PM
Error Text=Connection Timeout Expired. The timeout period elapsed while attempting to consume the pre-login handshake acknowledgement. This could be because the pre-login handshake failed or the server was unable to respond back in time. The
duration spent while attempting to connect to this server was - [Pre-Login] initialization=14742; handshake=12312;
Error Inner Text=System.ComponentModel.Win32Exception (0x80004005): The wait operation timed out
Error Stack Trace= at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal&
connection); at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection); at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection
owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection); at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection
outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions); at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry); at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1
retry); at System.Data.SqlClient.SqlConnection.Open(); at App.Web.AppForms.MainMenu.OpenConnection(); at App.Web.AppWebForms.MainMenu.Page_Load(Object sender, EventArgs e); at System.Web.UI.Control.OnLoad(EventArgs
e); at System.Web.UI.Control.LoadRecursive(); at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
TransactionInfo=
Error Type=EXCEPTION
Error Source=.Net SqlClient Data Provider
Any ideas?
DJ
Unable to uninstall SQL Server 2016 CTP 2.1 because OS requirements changed
On my work laptop, I am running Windows 7 Enterprise (SP1). Several months ago, I installed SQL Server 2016 CTP 2.1, and it was installed successfully. As it happens, I do not need 2016 and I believe it being installed is causing some undesired consequences, so I am attempting to uninstall it. However, as the OS requirements have changed to require Windows 8 or higher to install, I am unable to uninstall.
So how can I run an uninstall when it thinks my OS is not high enough, despite the program already being installed?
SQL Server 2014/2012 - Upgrade and Downgrade
Hi
I have few doubt regarding downgrade and upgrade
Suppose I have 2 Instances of different Version
First Scenario
SQL Server 2014 Standard Edition with database named 'xyz' having compatibility level of SQL 2012 i.e. 110 (these 'xyz' database upgraded from SQL server 2008 compatibility level 110 to instance to SQL Server 2014 with compatibility level of SQL 2012 i.e
110)
I have another instance of SQL Server 2012 Standard Edition. Is it possible to restore 'xyz' database from instance of SQL Server 2014 to instance of SQL Server 2012.
Second Scenario
SQL Server 2014 Standard Edition with database named 'xyz' having compatibility level of SQL 2014 i.e. 120 (these 'xyz' database upgraded from SQL server 2008 compatibility level 110 to instance to SQL Server 2014 with compatibility level of SQL 2014 i.e
120)
I have another instance of SQL Server 2012 Standard Edition. Is it possible to restore 'xyz' database from instance of SQL Server 2014 to instance of SQL Server 2012.
Regards,
Nikhil P Desai
Linked Server is not working for me for physically separated machine
I have two separate machine installed with SQL server 2008R2.
Now I want to execute query from Server1 and write to Server2.
I have two physically separated machine installed with the same SQL server 2008 R2 version instance
Server -A
Machine Name: Server1
Machine Local IP Address: 10.5.20.5
Machine Login Username:User1
Machine Login password:Password1
Database Instance Name: Instance1
It is configured for mixed authentication Mode
SQL Login User=SQLUser1
SQL Login Password=SQLUser1
Installed SQL version: SQL Server 2008 R2 ( Version :10.50.1600.1)
Installed operating system: windows server 2008 R2
Server -B
Machine Name: Server2
Machine Local IP Address: 10.5.20.6
Machine Login Username:User2
Machine Login password:Password2
Database Instance Name: Instance2
It is configured for mixed authentication Mode
SQL Login User=SQLUser2
SQL Login Password=SQLUser2
Installed SQL version: SQL Server 2008 R2 ( Version :10.50.1600.1)
Installed operating system: windows server 2008 R2
Now the problem is I am not able to create linked server at Server1…
What I did was, At Server2, enabled TCP/IP,TCP Port 1433, add this to firewall for both TCU andUDP and then use management studio at Server1 to create the linked server and follow the procedure,But I am not able to create the linked Server. Actually I am new for Linked server
Can you help me what are the requirements and steps to create the linked server atServer1 to write data to server2 database considering the above scenario?
change location unconventionally way
Could someone give the advice of how to fix this ?
I did unconventionally way the location change from C: \Program Files\Microsoft SQL Server\MSSQL12.MSSQLSERVER\MSSQL to D: \Program Files\Microsoft SQL Server\MSSQL12.MSSQLSERVER\MSSQL
By first stopping all the services from " sql server configuration manager and then move the location.
now I don't see how to fix it.
Feb 20 ,2016 @ 2pm utc ---update:
How can I rebuild this ?
===================================
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: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (.Net SqlClient Data Provider)
------------------------------
For help, click:
http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&EvtSrc=MSSQLServer&EvtID=53&LinkId=20476
------------------------------
Error Number: 53
Severity: 20
State: 0
------------------------------
Thanks for you help
CRISTINA MICROSOFT Forum
Upgrade SQL Server 2008 R2 to SQL Server 2014
Hi,
I want to migrate/upgrade databases of SQL Server 2008R2 Enterprise Edition to SQL Server 2014 Standard Edition.
Is it possible to migrate/upgrade databases of SQL 2008R2 Enterprise to SQL 2014 Standard or
database of SQL 2008R2 Standard can only be migrated to SQL 2014 Standard.
Regards
Nikhil P Desai
WSUS and SQL cumulative updates
Hi,
Does not WSUS (running on windows server 2012 r2) support SQL Server 2014 cumulative updates out of the box? Do we have to creae something called "local publishing" ? Any documentation regarding WSUS and SQL cumulative updates ?
/Regards Andreas
Upgrade from current Windows Server 2008 Standard License to 2008 Enterprise
I work for a reseller, SHI, could you please help me answer my customer's questions below?
We have a server currently running Windows Server 2008 Standard, it has 32 GB of memory in it (max supported by OS). We want to add another 64 GB to it which requires us upgrade to 2008 enterprise. We can’t do a full install, only upgrade due to applications, etc. We need to stay within the 2008 family for compatibility purposes. What I really need to know is what license I need to buy to allow us to upgrade to 2008 enterprise and what the process will be to perform the upgrade considering the license, etc.
We do not have the license under SA, but I’m fully prepared to purchase a new license outright. However, I have 2 primary concerns. One being which license do I need to buy to allow me to upgrade the operating system to 2008 enterprise? Second, what is physical process of doing this upgrade? Remember, I don’t want to do a full install, just an in place upgrade of 2008 std. to 2008 ent. If I’m reading the below chart correctly, it appears we can buy 2012 standard, then run 2008 enterprise, is this correct?
Another question: The server has no special roles, only a member server. The primary application is SQL 2008 enterprise.Help for Learn VS2013 and SQL 2014
I need Help for Learn how to connect Visual Basic.Net 2013 project with SQL Server 2014 Database, My target is connect my project remotely with SQL Server 2014 Online Database, then client can Login through software any ware
I'm Please if anyone can teach me or tell me any place I can get help online
(I'm Sorry about my English typing, I Hope you can understand about what is my problem)
Thanks
SQL Server repair detects non-culstered correctly, but proceeds to do a cluster repair
Trying to repair SQL Server 2012 SP2 installation, following a failed SP3 installation. During the repair the pre-checks correctly detect SQL Server is not clustered, but during the repair of Analysis Services it fails due to Cluster Group cannot be empty.
Is there a way to force the repair into non-clustered mode?
thanks
DJ
Common SQL Server Between Two Networks
The small company I work for has two different divisions that I keep separated at the network level for security purposes.
Division 1 computers are all on network switches with IPs in the 192.168.100.x subnet.
Division 2 computers are all on network switches with IPs in the 192.168.200.x subnet.
Each division has a separate domain controller and SQL Server for the apps we use. This means that I am licensing two SQL Servers.
Is there a way for me to put a single SQL Server on a 192.168.300.x and then allow both division 1 and division 2 computers to use it. It seems like a logical idea but I can't get my head around how it would work. Especially with the connection strings and the fact that a computer on the 192.168.100.x subnet is going to have to be able to see the SQL Server on 192.168.300.x
Thanks for any/all suggestions that you can pass along.
Herb
Herb
Can't connect to report server database when upgrade from SQL Server 2k8 R2 to SQL Server 2012
Hi,
I'm upgrading a SQL Server 2k8 R2 DataCenter Edition stand-alone instance to SQL Server 2012 Enterprise Edition, and failed on Upgrad Rules check step, the ONLY failed rule is RS_ValidDatabaseVersion:
The report server database is not a supported compatibility level or a connection cannot be established. Use Reporting Services Configuration Manager to verify the report server configuration and SQL Server management tools to verify the compatibility level.
I checked the setup log:
(19) 2013-01-06 13:52:06 Slp: Initializing rule : Valid Database compatibility level and successful connection(19) 2013-01-06 13:52:06 Slp: Rule is will be executed : True
(19) 2013-01-06 13:52:06 Slp: Init rule target object: Microsoft.SqlServer.Configuration.RSExtension.DsnUpgradeBlockers
(19) 2013-01-06 13:52:48 RS:Error validating Report Server database version: System.Data.SqlClient.SqlException: 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: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
However, 1) I've configured the SQL Server and Windows Firewall, and I can connect to the database from another computer (both by named pipe and IP address), with both Windows and SQL Server credential. 2) I checked both SQL Server log and Windows Event log, found NO failed login event, so it seems the Upgrader can't even find the instance! My SQL Server instance just use the default instance name (MSSQLSERVER) and didn't do any specific change.
Anybody has any ideas about this? Thanks in advance.
Recommended page file size for SQL Server 2012
Hi,
I want to install SQL Server 2012 Enterprise/Standard on Windows server 2012 Standard Edition (VM machine and Physical machine).
As per best practices please let me know what should be the recommended page file size for SQL Server 2012 on window server 2012 . If there is any Microsoft link then please share
Regards,
Nikhil P Desai