Quantcast
Channel: SQL Server Setup & Upgrade forum
Viewing all 7696 articles
Browse latest View live

Which edition of SQL server is suitable..??

$
0
0
I have large database with , and  very high performance is required  to search the databases.
Can anyone guide me which type of the SQL server I should install ??
I was using SQL 2008 Express , but that is not efficient and search queries are taking long time to return results. My emphasis is on making the search stored procedures very fast ..



SQL High availability WITHOUT domain???

$
0
0

Hi

Our single SQL server enterprise 2012 is on a workgroup.  There is no domain.

I would like to make the databases highly available.  (Database Mirroring, AlwaysOn, Clustering..)

What can I do considering the fact that I am on a workgroup and not a domain?  Do ALL of these options require active directory?

Have Solution Explorer list past Solutions when first opening SSMS

$
0
0

I created some scripts under a solution with a project and it works fine. But, when I first open up SSMS, the only listing in the Solution Window is the default new one. Is there a way, so that it will list my past solutions and projects to save me a couple of steps?

Thanks,

Paul

Add clustering to an existing SQL 2012 server

$
0
0

Hi

I have a standalone SQL 2012 running on Windows 2012 OS.  It is running on VMware.

I would like to do cluster it.  New virtual partner.  

1. Is it possible without breaking the environment? After all the existing disks are not shared.  

2. Does it require down time?

Your help is appreciated.

Thanks

same shared storage used between multiple MS SQL FCIs

$
0
0

Hello,

I wonder if I can install multiple SQL 2012 FCIs on Windows Server 2012R2 using the same shared storage for all the FCIs? 

Is there a workaround or solution to overcome this

thanks in advance and regards, Thomas


kind regards, Thomas G. Apostolou

Need to modify telephone number in SQL database

$
0
0

I have several (1300+) phone numbers that I would like to modify.

They are currently in the system as (123) 456-7890 1, which is not a valid number.  What I need to do is drop the 1 in (123) and have everything move left one space resulting in (234) 567-8901 to have a valid phone number.

Thank you

SQL Server 2014 service wont start start after updating sp1 (KB3058865, KB3075950, KB3094221)

$
0
0

Hi, my SQL Server 2014 is working fine in my server with WIndows 2012 until I installed new updates & service pack that was required for server hardening. 

I installed successfully SP1 KB 3058865 first then found out that the services wont start. After so many research for fix, i came with the 2 cu updates KB3075950, KB3094221 knowing that this could solve my problem but unfortunately its not.

I also tried changing the account of the services that many would suggest but its not working.

I tried replacing the master & maslog file but also failed.

I tried running it in single usermode and restore master db and etc.. also failed.

heres the log file:

016-02-01 15:21:21.83 Server      Microsoft SQL Server 2014 (SP1-CU3) (KB3094221) - 12.0.4427.24 (X64) 
Oct 10 2015 17:18:26 
Copyright (c) Microsoft Corporation
Standard Edition (64-bit) on Windows NT 6.2 <X64> (Build 9200: ) (Hypervisor)

2016-02-01 15:21:21.84 Server      UTC adjustment: 8:00
2016-02-01 15:21:21.84 Server      (c) Microsoft Corporation.
2016-02-01 15:21:21.84 Server      All rights reserved.
2016-02-01 15:21:21.84 Server      Server process ID is 5128.
2016-02-01 15:21:21.86 Server      System Manufacturer: 'Microsoft Corporation', System Model: 'Virtual Machine'.
2016-02-01 15:21:21.86 Server      Authentication mode is MIXED.
2016-02-01 15:21:21.86 Server      Logging SQL Server messages in file 'C:\Program Files\Microsoft SQL Server\MSSQL12.MSSQLSERVER\MSSQL\Log\ERRORLOG'.
2016-02-01 15:21:21.86 Server      The service account is 'NT Service\MSSQLSERVER'. This is an informational message; no user action is required.
2016-02-01 15:21:21.86 Server      Registry startup parameters: 
-d C:\Program Files\Microsoft SQL Server\MSSQL12.MSSQLSERVER\MSSQL\DATA\master.mdf
-e C:\Program Files\Microsoft SQL Server\MSSQL12.MSSQLSERVER\MSSQL\Log\ERRORLOG
-l C:\Program Files\Microsoft SQL Server\MSSQL12.MSSQLSERVER\MSSQL\DATA\mastlog.ldf
2016-02-01 15:21:21.86 Server      Command Line Startup Parameters:
-s "MSSQLSERVER"
2016-02-01 15:21:22.27 Server      SQL Server detected 1 sockets with 1 cores per socket and 1 logical processors per socket, 1 total logical processors; using 1 logical processors based on SQL Server licensing. This is an informational message; no user action is required.
2016-02-01 15:21:22.27 Server      SQL Server is starting at normal priority base (=7). This is an informational message only. No user action is required.
2016-02-01 15:21:22.28 Server      Detected 7999 MB of RAM. This is an informational message; no user action is required.
2016-02-01 15:21:22.28 Server      Using conventional memory in the memory manager.
2016-02-01 15:21:22.33 Server      Default collation: SQL_Latin1_General_CP1_CI_AS (us_english 1033)
2016-02-01 15:21:22.37 Server      This instance of SQL Server last reported using a process ID of 1600 at 2/1/2016 3:13:12 PM (local) 2/1/2016 7:13:12 AM (UTC). This is an informational message only; no user action is required.
2016-02-01 15:21:22.38 Server      The maximum number of dedicated administrator connections for this instance is '1'
2016-02-01 15:21:22.38 Server      Node configuration: node 0: CPU mask: 0x0000000000000001:0 Active CPU mask: 0x0000000000000001:0. This message provides a description of the NUMA configuration for this computer. This is an informational message only. No user action is required.
2016-02-01 15:21:22.40 Server      Using dynamic lock allocation.  Initial allocation of 2500 Lock blocks and 5000 Lock Owner blocks per node.  This is an informational message only.  No user action is required.
2016-02-01 15:21:22.43 spid8s      Starting up database 'master'.
2016-02-01 15:21:22.49 Server      CLR version v4.0.30319 loaded.
2016-02-01 15:21:22.51 spid8s      8 transactions rolled forward in database 'master' (1:0). This is an informational message only. No user action is required.
2016-02-01 15:21:22.61 Server      Common language runtime (CLR) functionality initialized using CLR version v4.0.30319 from C:\Windows\Microsoft.NET\Framework64\v4.0.30319\.
2016-02-01 15:21:22.62 spid8s      0 transactions rolled back in database 'master' (1:0). This is an informational message only. No user action is required.
2016-02-01 15:21:22.62 spid8s      Recovery is writing a checkpoint in database 'master' (1). This is an informational message only. No user action is required.
2016-02-01 15:21:22.79 spid8s      SQL Server Audit is starting the audits. This is an informational message. No user action is required.
2016-02-01 15:21:22.80 spid8s      SQL Server Audit has started the audits. This is an informational message. No user action is required.
2016-02-01 15:21:22.88 spid8s      SQL Trace ID 1 was started by login "sa".
2016-02-01 15:21:23.28 spid8s      Server name is 'UATCASADB'. This is an informational message only. No user action is required.
2016-02-01 15:21:23.28 spid13s     A self-generated certificate was successfully loaded for encryption.
2016-02-01 15:21:23.33 spid13s     Server is listening on [ 'any' <ipv6> 1433].
2016-02-01 15:21:23.40 spid13s     Server is listening on [ 'any' <ipv4> 1433].
2016-02-01 15:21:23.44 spid13s     Server local connection provider is ready to accept connection on [ \\.\pipe\SQLLocal\MSSQLSERVER ].
2016-02-01 15:21:23.44 spid13s     Server local connection provider is ready to accept connection on [ \\.\pipe\sql\query ].
2016-02-01 15:21:23.48 Server      Server is listening on [ ::1 <ipv6> 1434].
2016-02-01 15:21:23.49 Server      Server is listening on [ 127.0.0.1 <ipv4> 1434].
2016-02-01 15:21:23.49 Server      Dedicated admin connection support was established for listening locally on port 1434.
2016-02-01 15:21:23.49 Server      SQL Server is attempting to register a Service Principal Name (SPN) for the SQL Server service. Kerberos authentication will not be possible until a SPN is registered for the SQL Server service. This is an informational message. No user action is required.
2016-02-01 15:21:23.60 spid14s     A new instance of the full-text filter daemon host process has been successfully started.
2016-02-01 15:21:23.71 Server      The SQL Server Network Interface library successfully registered the Service Principal Name (SPN) [ MSSQLSvc/UATCASADB.onenetworkbank.com.ph ] for the SQL Server service.
2016-02-01 15:21:23.72 Server      The SQL Server Network Interface library successfully registered the Service Principal Name (SPN) [ MSSQLSvc/UATCASADB.onenetworkbank.com.ph:1433 ] for the SQL Server service.
2016-02-01 15:21:23.97 spid17s     Starting up database 'msdb'.
2016-02-01 15:21:23.98 spid18s     Starting up database 'ReportServer'.
2016-02-01 15:21:23.98 spid19s     Starting up database 'ReportServerTempDB'.
2016-02-01 15:21:24.03 spid9s      Starting up database 'mssqlsystemresource'.
2016-02-01 15:21:24.08 spid9s      The resource database build version is 12.00.4427. This is an informational message only. No user action is required.
2016-02-01 15:21:24.11 Logon       Error: 18401, Severity: 14, State: 1.
2016-02-01 15:21:24.11 Logon       Login failed for user 'NT SERVICE\ReportServer'. Reason: Server is in script upgrade mode. Only administrator can connect at this time. [CLIENT: <local machine>]
2016-02-01 15:21:24.18 spid19s     1 transactions rolled forward in database 'ReportServerTempDB' (6:0). This is an informational message only. No user action is required.
2016-02-01 15:21:24.28 spid19s     0 transactions rolled back in database 'ReportServerTempDB' (6:0). This is an informational message only. No user action is required.
2016-02-01 15:21:24.44 spid17s     133 transactions rolled forward in database 'msdb' (4:0). This is an informational message only. No user action is required.
2016-02-01 15:21:24.73 spid17s     0 transactions rolled back in database 'msdb' (4:0). This is an informational message only. No user action is required.
2016-02-01 15:21:24.74 spid17s     Recovery is writing a checkpoint in database 'msdb' (4). This is an informational message only. No user action is required.
2016-02-01 15:21:24.79 spid9s      Starting up database 'model'.
2016-02-01 15:21:25.01 spid9s      Clearing tempdb database.
2016-02-01 15:21:25.94 spid9s      Starting up database 'tempdb'.
2016-02-01 15:21:26.12 spid20s     The Service Broker endpoint is in disabled or stopped state.
2016-02-01 15:21:26.12 spid20s     The Database Mirroring endpoint is in disabled or stopped state.
2016-02-01 15:21:26.15 spid20s     Service Broker manager has started.
2016-02-01 15:21:27.32 spid8s      Database 'master' is upgrading script 'msdb110_upgrade.sql' from level 201328592 to level 201331019.
2016-02-01 15:21:27.32 spid8s      ----------------------------------
2016-02-01 15:21:27.32 spid8s      Starting execution of PRE_MSDB.SQL
2016-02-01 15:21:27.32 spid8s      ----------------------------------
2016-02-01 15:21:28.36 spid8s      Setting database option COMPATIBILITY_LEVEL to 100 for database 'msdb'.
2016-02-01 15:21:28.56 spid8s      -----------------------------------------
2016-02-01 15:21:28.56 spid8s      Starting execution of PRE_SQLAGENT100.SQL
2016-02-01 15:21:28.56 spid8s      -----------------------------------------
2016-02-01 15:21:28.60 spid8s      Setting database option COMPATIBILITY_LEVEL to 120 for database 'msdb'.
2016-02-01 15:21:28.77 spid8s      Configuration option 'allow updates' changed from 1 to 1. Run the RECONFIGURE statement to install.
2016-02-01 15:21:28.77 spid8s      Configuration option 'allow updates' changed from 1 to 1. Run the RECONFIGURE statement to install.
2016-02-01 15:21:29.18 Logon       Error: 18401, Severity: 14, State: 1.
2016-02-01 15:21:29.18 Logon       Login failed for user 'NT SERVICE\ReportServer'. Reason: Server is in script upgrade mode. Only administrator can connect at this time. [CLIENT: <local machine>]
2016-02-01 15:21:31.84 spid8s      Attempting to load library 'xpstar.dll' into memory. This is an informational message only. No user action is required.
2016-02-01 15:21:31.86 spid8s      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.
2016-02-01 15:21:31.89 spid8s      DBCC TRACEOFF 1717, server process ID (SPID) 8. This is an informational message only; no user action is required.
2016-02-01 15:21:31.89 spid8s      DBCC execution completed. If DBCC printed error messages, contact your system administrator.
2016-02-01 15:21:31.90 spid8s       
2016-02-01 15:21:31.90 spid8s      Creating table temp_sysjobschedules
2016-02-01 15:21:32.20 spid8s       
2016-02-01 15:21:32.20 spid8s      Alter table sysdownloadlist...
2016-02-01 15:21:32.22 spid8s       
2016-02-01 15:21:32.22 spid8s      Alter table sysjobhistory...
2016-02-01 15:21:32.24 spid8s       
2016-02-01 15:21:32.24 spid8s      Alter table systargetservers...
2016-02-01 15:21:32.25 spid8s       
2016-02-01 15:21:32.25 spid8s      Alter table sysjobsteps...
2016-02-01 15:21:32.40 spid8s      Configuration option 'allow updates' changed from 1 to 0. Run the RECONFIGURE statement to install.
2016-02-01 15:21:32.40 spid8s      Configuration option 'allow updates' changed from 1 to 0. Run the RECONFIGURE statement to install.
2016-02-01 15:21:32.42 spid8s       
2016-02-01 15:21:32.42 spid8s      -----------------------------------------
2016-02-01 15:21:32.42 spid8s      Execution of PRE_SQLAGENT100.SQL complete
2016-02-01 15:21:32.42 spid8s      -----------------------------------------
2016-02-01 15:21:32.46 spid8s      DMF pre-upgrade steps...
2016-02-01 15:21:32.83 spid8s      DC pre-upgrade steps...
2016-02-01 15:21:32.83 spid8s      Check if Data collector config table exists...
2016-02-01 15:21:32.84 spid8s      Data Collector state before upgrade: 0
2016-02-01 15:21:32.84 spid8s      pre_dc100::Check if syscollector_collection_sets_internal table exists...
2016-02-01 15:21:32.84 spid8s      pre_dc100::Capturing Collection set status in temp table...
2016-02-01 15:21:33.05 spid8s      Deleting cached auto-generated T-SQL Data Collection packages from msdb...
2016-02-01 15:21:33.05 spid8s      End of DC pre-upgrade steps.
2016-02-01 15:21:33.05 spid8s      DAC pre-upgrade steps...
2016-02-01 15:21:33.06 spid8s      Starting DAC pre-upgrade steps ...
2016-02-01 15:21:33.06 spid8s      End of DAC pre-upgrade steps.
2016-02-01 15:21:33.06 spid8s      ----------------------------------
2016-02-01 15:21:33.06 spid8s      Starting execution of MSDB.SQL
2016-02-01 15:21:33.06 spid8s      ----------------------------------
2016-02-01 15:21:33.19 spid8s      Configuration option 'allow updates' changed from 0 to 1. Run the RECONFIGURE statement to install.
2016-02-01 15:21:33.19 spid8s      Configuration option 'allow updates' changed from 0 to 1. Run the RECONFIGURE statement to install.
2016-02-01 15:21:33.37 spid8s      Checking the size of MSDB...
2016-02-01 15:21:33.63 spid8s      Error: 8966, Severity: 16, State: 2.
2016-02-01 15:21:33.63 spid8s      Unable to read and latch page (1:56616) with latch type SH. Invalid page ID. failed.
2016-02-01 15:21:33.63 spid8s      Error: 8946, Severity: 16, State: 12.
2016-02-01 15:21:33.63 spid8s      Table error: Allocation page (1:56616) has invalid PFS_PAGE page header values. Type is 0. Check type, alloc unit ID and page ID on the page.
2016-02-01 15:21:33.63 spid8s      Error: 912, Severity: 21, State: 2.
2016-02-01 15:21:33.63 spid8s      Script level upgrade for database 'master' failed because upgrade step 'msdb110_upgrade.sql' encountered error 3601, state 5, severity 25. This is a serious error condition which might interfere with regular operation and the database will be taken offline. If the error happened during upgrade of the 'master' database, it will prevent the entire SQL Server instance from starting. Examine the previous errorlog entries for errors, take the appropriate corrective actions and re-start the database so that the script upgrade steps run to completion.
2016-02-01 15:21:33.64 spid8s      Error: 3417, Severity: 21, State: 3.
2016-02-01 15:21:33.64 spid8s      Cannot recover the master database. SQL Server is unable to run. Restore master from a full backup, repair it, or rebuild it. For more information about how to rebuild the master database, see SQL Server Books Online.
2016-02-01 15:21:33.64 spid8s      SQL Server shutdown has been initiated
2016-02-01 15:21:33.64 spid8s      SQL Trace was stopped due to server shutdown. Trace ID = '1'. This is an informational message only; no user action is required.
2016-02-01 15:21:34.70 spid8s      Error: 25725, Severity: 16, State: 1.
2016-02-01 15:21:34.70 spid8s      An error occurred while trying to flush all running Extended Event sessions.  Some events may be lost.
2016-02-01 15:21:34.71 spid13s     The SQL Server Network Interface library could not deregister the Service Principal Name (SPN) [ MSSQLSvc/servername.urldomain ] for the SQL Server service. Error: 0x2af9, state: 61. Administrator should deregister this SPN manually to avoid client authentication errors.
2016-02-01 15:21:34.71 spid13s     The SQL Server Network Interface library could not deregister the Service Principal Name (SPN) [ MSSQLSvc/servername.urldomain:1433 ] for the SQL Server service. Error: 0x2af9, state: 61. Administrator should deregister this SPN manually to avoid client authentication errors.

-----------------------------------------------------------------------------------------------

I would appreciate every help i can get. Thanks.



Error installing SQL Server 2014 Database engine services Instance features

$
0
0

Hi.

I have been trying to install SQL Server 2014 with SP 1 under windows server essentials 2012. I have tried 32 and 64 bits versions (standard and express) both give me the same error 0x851A001A (wait on the database engine recovery handle failed) with the Database Engine Services.

I have followed some web recomendations, everyone with the unistall and install process: Change the user account, use administrative priviliges, with and without instance name. So far, same error arises at the end.

Could you please give me a hand on getting this solved.

P.S. In the same server I have already installed SQL Server 2008 R2.

Thanks, Joe.


José


Sqlserver Services is taking almost 99% cpu and RAM.

$
0
0

Hello ,

I have multiple servers. In one of the servers sqlserver services almost taking 99% of CPU and least 6GB of RAM. Even we don't run any queries the situation is same. What might be the reason for this ?

any inputs appreciated.

Thanks in advance.

SQL 2012 Service Pack 3 Error 233

$
0
0

I recently updated SQL 2012 SP2 to SP3 (KB3072779)

After a reboot I am getting an error message when I try to logon locally to SSMS. I do have SA, and am able to login to the database remotely with SSMS. 

"A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - No process is on the other end of the pipe.) (Microsoft SQL Server, Error: 233)"

When I look at the SQL Server Configuration Manager I did notice that the SQL Server Agent was disabled and when I try to enable it I get "The Process terminated unexpectedly. [0x8007042b]" when providing a service account for the process to run. 

I am seeing errors in the application log 
"SQLServerAgent could not be started (reason: Unable to connect to server '(local)'; SQLServerAgent cannot start)."
"The Open Procedure for service "WmiApRpl" in DLL "C:\Windows\system32\wbem\wmiaprpl.dll" failed. Performance data for this service will not be available. The first four bytes (DWORD) of the Data section contains the error code."
"The Open Procedure for service "Lsa" in DLL "C:\Windows\System32\Secur32.dll" failed. Performance data for this service will not be available. The first four bytes (DWORD) of the Data section contains the error code."
"The Open Procedure for service "ESENT" in DLL "C:\Windows\system32\esentprf.dll" failed. Performance data for this service will not be available. The first four bytes (DWORD) of the Data section contains the error code."

If I uninstall SP3 I am able to login with no issues. Is there anything I can do to attempt to get SP3 to allow SSMS and SQL Server Agent to work correctly for me? 

SQL Server 2005 - SQL Server does not exist or access denied

$
0
0
I am attempting to relocate our SQL Server 2005 to a different host. The old host/instance was server\traverse105. The new host/instance is traverse\traverse105.

Local use on the actual server 'traverse' works fine. However, attempting to connect from a Windows 7 client gives me the message, "SQL Server does not exist or access denied." I am attempting the connection with a specific login ID, not a "Trusted Connection" (although that gives me the same error).

I've checked the SQL Server Configuration Manager > Protocols for TRAVERSE105 and the IPAll is set to port 1433; named pipes is enabled and set to \\.\pipe\MSSQL$TRAVERSE105
\sql\query

I can connect from a Linux host to port 1433 and the same user ID I specified in the Windows 7 client and can connect just fine, so I don't think it's a port or firewall issue.

This same Windows 7 client connected to the other server, SERVER, without problem. If I switch back to "SERVER/TRAVERSE105" it connects OK. I can see no Config Mgr difference between the Config Mgr settings on host TRAVERSE and host SERVER.

Need ideas on what's wrong!

removing sql server from pc

$
0
0

I have  the following sql servers:  2008, 2008r, 2012 and 2014 installed unsuccessfully at different status. I was successfully using sql serer 2008r freely for a little less than 6 months. One day it stopped connecting. Since then I tried  itself & other  different editions to get  install & get connected. But none was   successful even in install and setup process. Now I wanted to totally  remove all of them and try it at fresh either free editions or by paying for the edition good for a student to be a DBA. can you help me get out of this problem and give me the best advice?

How to install Adventureworks 2012 database

$
0
0

Dear all ,

  I am using sql server 2012 version ,and recently i downloaded adventuresworks dbs from msdn, but i dont know how to attach it to my existing SQL Server instance,kindly tell me in step by step.

Thanks in Advance

  


Pavan

SQL Server License for setting up a UAT/Test Instance

$
0
0
 

We have a VM with SQL Server Enterprise Evaluation edition installed and it expires in Jul 2016. Post evaluation we plan to buy the Enterprise license and covert this environment into Production environment.

Meanwhile we want to create another instance on the same VM and use it temporarily to deploy some interim changes and test. This instance to eventually function as a UAT/test environment.

Given this requirement, what version should/can I use to install this instance?

I realize it is best to separate out the 2 environments on 2 separate severs/VMs but at least during this evaluation phase is it fine to use the Enterprise evaluation license and create the 2nd instance?


Storage Server Changes To SQL2k5 User Databases

$
0
0

Hello,

We currently have a user database with the combined size of (including filegroups) of about 1.8 tb. SQL2k15 version. We want to first migrate the storage location to a new faster storage hardware before deciding to upgrade the SQL server version to SQL2k14. Here are my questions:

1. Our management wants to simply by consolidating the filegroups (15 total) into one .mdf file thinking that the higher performing new storage will compensate for performance degrading due to combination of filegroups into one .mdf file. Can this be done and if so, steps please. Of course, we will maintain separate drives for tempdb, templog, transaction logs and data (mdf) files. Basically, the goal is to take out the multiple filegroups.

2. Can we reduce the number of filegroups into say 5 instead of 15 (still allocate different drives) and if so, how can we merge some of the filegroups? Again, steps please.

Will greatly appreciate your early response.

Thanks.

Victor



VR3357


How to determine SQL Server version of an .mdf file?

$
0
0

Hi,

 

I'm looking for a way to determine (in .NET code) whether an .mdf file is in SQL Server 2005 or SQL Server 2008 format, *without* modifying the file.

 

The previous version of our application used SQL Server 2005 (Express) .mdf files as its file format. The next version will use SQL Server 2008 (Express) .mdf files. When users attempt to open an .mdf file in our application, we need to be able to tell what version it is, without modifying the file.

 

If I try to attach to an .mdf file from SQL Server 2008, it *upgrades* the database to SQL Server 2008 format, which is not what I'm looking for. And I don't want to have to make a temporary copy of the .mdf file either in order to do this check, as the files can be quite large.

 

Any suggestions?

 

cheers,

 

Marcus

 

 

uninstalling of sql server setup (english)for sql server 2008R2 and sql server 2012

$
0
0
I have managed to uninstall other details of the two servers  The 1st is the sql server  2008R2 and  the 2nd  is the sql server 2012. Both are showing me similar problem: ..< their  support files can not be uninstalled ..> what I was unable to uninstall is the setup to both of them. can anybody help how to?

Analysis database in suspect mode

$
0
0

Hi,

My TFS Analysis database is in suspect mode. i try following steps but fail to execute and getting following error message. pls guide what is issue and how to fix it.

Msg 5011, Level 14, State 5, Line 1
User does not have permission to alter database 'Tfs_Analysis', the database does not exist, or the database is not in a state that allows access checks.

Msg 5069, Level 16, State 1, Line 1
ALTER DATABASE statement failed.

thx


iffi

Does SQL Allow you to patch itself to a version its not ready for?

$
0
0

I'm building a patching system in our environment. In discussion with my team, we were talking about how a CU could be "skipped" and that by adding a later CU you would get the earlier CU. That made sense, until we started thinking through all the circumstances, for instance SQL Server 2012 SP1 CU1 can't be applied on an instance that's on SQL Server 2012 RTM, CU7.  Why?  You'd be skipping SP1.  You would first have to patch the machine from the RTM to SP1, and then apply SP1's CU1.

Assuming what I said is correct, does anyone know if SQL will ALWAYS prevent a QFE/PATCH/SP from being applied out of order?

The reason I'm asking is that we are going to create a database table of patches that are completed on instances, and if something is "skipped" but in reality completed (like going from SP1 CU1 to SP1 CU 5), I need to make hard and fast rules so that I can have a process enter the data in the tables.

SQL Server 2014 on Windows 8.1 - Setup Failure - C:\Windows\Temp folder

$
0
0

Well, the title pretty much says it all.  I'm installing SQL Server 2014 Developer Edition on Windows 8.1 Pro.  The installation uses domain service accounts for all the services.  The installation progress well until the end.  Then, I get the following message:

Updating permission setting for folder C:\Windows\Temp failed.  The folder permission setting were supposed to be set to (and an ACL list followed by what looked like a object sid).

I'm running setup as administrator.

I tried to manually set the permissions, but that's not working (access is denied).  I also turned off user account control and hit retry.  That failed to.

So, before I go in there and take ownership of everything on the C drive, and grant myself full control over every file on the computer, I thought I ask for what I'm "supposed" to do.  I'm not going to tolerate this file control crap for very long.  I have better things to do.

Viewing all 7696 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>