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

Want to change the SQL Server Agent Job History Text Files Location

$
0
0

We have SQL Server 2014 installed on a couple servers, but they were not consistent on directory paths during the installs. I am trying to get the servers to all match.

On one server, SQL Server the Agent Log and Job History files were being written to [H:\Data Root Directory\MSSQL12.MSSQLSERVER\MSSQL\Log].

I want to change that to [H:\Microsoft SQL Server\MSSQL12.MSSQLSERVER\MSSQL\Log] to match the other server.

I have ALREADY gone into SSMS - [SQL Server Agent] - [Properties] and changed the "Error Log " "Fle Name" to [H:\Microsoft SQL Server\MSSQL12.MSSQLSERVER\MSSQL\Log\SQLAGENT.OUT].  And that is working great.

In [SQL Server Configuration Manager] - [SQL Server (MSSQLSERVER)] - [Properties] - Startup Parameters entries have been changed to the new path (-d, -e, and -l), and under [Advanced] both Data Path and Dump Directory are pointing to the new path. 

In [SQL Server Configuration Manager] - [SQL Server Agent (MSSQLSERVER)] - [Properties] - [Advanced] Dump Directory is pointing to the new path. 

However, the job's History text files are still being written to the old path.

There is no setting in the Jobs or the Maintenance Plans that controls the history file location.

I have searched the registry and changed three settings from the old path to the new path.  The registry does NOT contain any more references to the old path.

I rebooted the server, but when the jobs run their history text files are still be written to the old path.

Does anybody have any ideas??   Thanks


RPC Server is unavailable / account is not valid during setup

$
0
0

Hey all,

Working with a brand new environment. During install (both SQL 2012 and 2014) on any one of four servers, they all fail on the service accounts page with a "RPC server is unavailable" error and "The SQL Server service account login or password is not valid."

I've verified that RPC server is unavailable is related to only the agent, and the account invalid is only for the engine. Verified this by trying each one separately and putting the other back to default. For the latter (account login or password is not valid), that's definitely not accurate being that I can use that account & password successfully elsewhere.

The best article I've found so far is here - http://sqlwithmanoj.com/tag/the-rpc-server-is-unavailable/.

I've verified all 5 are in place and changed the group policy. Still errors out every time. Even if I can fix the RPC issue, not sure what's wrong with the engine account? I think both issues still stem back to the RPC, even though the engine doesn't report it in the setup. In the detail log, I'm assuming "Slp: Sco.User.OpenRoot - root DirectoryEntry object already opened for this computer for this object" is the core of my problem.

Here's a full output of a failed run:

(08) 2015-04-27 18:28:19 Slp: Sco: Attempting to determine if the password is required for account 'MyDomain\svcSQLEngine'
(08) 2015-04-27 18:28:19 Slp: Sco: Attempting to determine if the account 'MyDomain\svcSQLEngine' is Virtual Account
(08) 2015-04-27 18:28:19 Slp: Sco: Attempting to get account sid for user account MyDomain\svcSQLEngine
(08) 2015-04-27 18:28:19 Slp: Sco: Attempting to get sid for user account MyDomain\svcSQLEngine
(08) 2015-04-27 18:28:19 Slp: Sco: GetSidForAccount normalized accountName MyDomain\svcSQLEngine parameter to MyDomain\svcSQLEngine
(08) 2015-04-27 18:28:19 Slp: Sco: Attempting to determine if the account 'MyDomain\svcSQLEngine' is Managed Service Account
(08) 2015-04-27 18:28:25 Slp: Sco: Attempting to determine if the password is required for account 'MyDomain\svcSQLAgent'
(08) 2015-04-27 18:28:25 Slp: Sco: Attempting to determine if the account 'MyDomain\svcSQLAgent' is Virtual Account
(08) 2015-04-27 18:28:25 Slp: Sco: Attempting to get account sid for user account MyDomain\svcSQLAgent
(08) 2015-04-27 18:28:25 Slp: Sco: Attempting to get sid for user account MyDomain\svcSQLAgent
(08) 2015-04-27 18:28:25 Slp: Sco: GetSidForAccount normalized accountName MyDomain\svcSQLAgent parameter to MyDomain\svcSQLAgent
(08) 2015-04-27 18:28:25 Slp: Sco: Failed when querying buffer size
(08) 2015-04-27 18:28:25 Slp: Sco: Attempting to determine if the account 'MyDomain\svcSQLAgent' is Managed Service Account
(03) 2015-04-27 18:28:27 ACE: Normalizing user input on public configuration object.
(03) 2015-04-27 18:28:27 ACE: Formatting user name 'MyDomain\svcSQLAgent'
(03) 2015-04-27 18:28:27 Slp: Sco: Attempting to get account sid for user account MyDomain\svcSQLAgent
(03) 2015-04-27 18:28:27 Slp: Sco: Attempting to get sid for user account MyDomain\svcSQLAgent
(03) 2015-04-27 18:28:27 Slp: Sco: GetSidForAccount normalized accountName MyDomain\svcSQLAgent parameter to MyDomain\svcSQLAgent
(03) 2015-04-27 18:28:27 Slp: Sco: Failed when querying buffer size
(03) 2015-04-27 18:28:27 Slp: Sco: Attempting to get account sid for user account MyDomain
(03) 2015-04-27 18:28:27 Slp: Sco: Attempting to get sid for user account MyDomain
(03) 2015-04-27 18:28:27 Slp: Sco: GetSidForAccount normalized accountName MyDomain parameter to MyDomain
(03) 2015-04-27 18:28:27 ACE: Formatted user name is 'MyDomain\svcSQLAgent'
(03) 2015-04-27 18:28:27 ACE: Can't get InstanceName, fall back to INSTANCENAME input setting value
(03) 2015-04-27 18:28:27 ACE: Got instanceName=MSSQLSERVER
(03) 2015-04-27 18:28:27 ACE: ValidateUserNameAndPassword started with userName = 'MyDomain\svcSQLAgent', userNameRequired = 'True', isCluster = 'False'
(03) 2015-04-27 18:28:27 ACE: Validating username 'MyDomain\svcSQLAgent' and password '***'
(03) 2015-04-27 18:28:27 Slp: Sco: Attempting to validate credentials for user account 'MyDomain\svcSQLAgent' and service name 'SQLSERVERAGENT'
(03) 2015-04-27 18:28:27 Slp: Sco: Attempting to determine if the account 'MyDomain\svcSQLAgent' is Virtual Account
(03) 2015-04-27 18:28:27 Slp: Sco: Attempting to get account sid for user account MyDomain\svcSQLAgent
(03) 2015-04-27 18:28:27 Slp: Sco: Attempting to get sid for user account MyDomain\svcSQLAgent
(03) 2015-04-27 18:28:27 Slp: Sco: GetSidForAccount normalized accountName MyDomain\svcSQLAgent parameter to MyDomain\svcSQLAgent
(03) 2015-04-27 18:28:27 Slp: Sco: Failed when querying buffer size
(03) 2015-04-27 18:28:27 Slp: Sco: Attempting to see if user MyDomain\svcSQLAgent exists
(03) 2015-04-27 18:28:27 Slp: Sco.User.OpenRoot - root DirectoryEntry object already opened for this computer for this object
(03) 2015-04-27 18:28:27 Slp: Sco: Attempting to check if user account MyDomain\svcSQLAgent exists
(03) 2015-04-27 18:28:27 Slp: Sco: Attempting to look up AD entry for user MyDomain\svcSQLAgent
(03) 2015-04-27 18:28:27 Slp: Sco.User.OpenRoot - root DirectoryEntry object already opened for this computer for this object
(03) 2015-04-27 18:28:27 Slp: Sco.User.LookupADEntry - Attempting to find user account MyDomain\svcSQLAgent
(03) 2015-04-27 18:28:27 Slp: Sco: Attempting to check if container 'WinNT://MyDomain' of user account exists
(03) 2015-04-27 18:28:29 ACE: The credentials you provided for the SQL Server Agent service are invalid. To continue, provide a valid account and password for the SQL Server Agent service.
(03) 2015-04-27 18:28:29 SQLBrowser: StartMethod Type='SqlBrowserPublicConfig' Method='ValidateSettings'.
(03) 2015-04-27 18:28:29 SQLBrowser: Validating intended SQL Server Browser service properties.  The current intended values are: service account = 'NT AUTHORITY\LOCAL SERVICE', start type = 'Disabled' (source: 'Default').
(03) 2015-04-27 18:28:29 SQLBrowser: StartMethod Type='SqlBrowserPublicConfig' Method='ValidateUserNamePassword'.
(03) 2015-04-27 18:28:29 SQLBrowser: ValidateUserNamePassword: UserName contains its default value of 'NT AUTHORITY\LOCAL SERVICE'.  Setting internal property ApplyAccount to 'True'.
(03) 2015-04-27 18:28:29 Slp: Sco: Attempting to get local service account name
(03) 2015-04-27 18:28:29 Slp: Sco: Attempting to get NT account from sid S-1-5-19
(03) 2015-04-27 18:28:29 Slp: Sco: Attempting to get account from sid S-1-5-19
(03) 2015-04-27 18:28:29 Slp: Sco: Attempting to get local service account name
(03) 2015-04-27 18:28:29 Slp: Sco: Attempting to get NT account from sid S-1-5-19
(03) 2015-04-27 18:28:29 Slp: Sco: Attempting to get account from sid S-1-5-19
(03) 2015-04-27 18:28:29 Slp: Sco: Attempting to get account sid for user account NT AUTHORITY\LOCAL SERVICE
(03) 2015-04-27 18:28:29 Slp: Sco: Attempting to get sid for user account NT AUTHORITY\LOCAL SERVICE
(03) 2015-04-27 18:28:29 Slp: Sco: GetSidForAccount normalized accountName NT AUTHORITY\LOCAL SERVICE parameter to NT AUTHORITY\LOCAL SERVICE
(03) 2015-04-27 18:28:29 SQLBrowser: EndMethod Type='SqlBrowserPublicConfig' Method='ValidateUserNamePassword'.
(03) 2015-04-27 18:28:29 SQLBrowser: StartMethod Type='SqlBrowserPublicConfig' Method='ValidateStartMode'.
(03) 2015-04-27 18:28:29 SQLBrowser: EndMethod Type='SqlBrowserPublicConfig' Method='ValidateStartMode'.
(03) 2015-04-27 18:28:29 SQLBrowser: EndMethod Type='SqlBrowserPublicConfig' Method='ValidateSettings'.
(03) 2015-04-27 18:28:29 SQLEngine: : Action Scenario: Install, Feature Scenario: Install, Resolved Scenario Install 
(03) 2015-04-27 18:28:29 Slp: Sco: Attempting to get account sid for user account MyDomain\svcSQLEngine
(03) 2015-04-27 18:28:29 Slp: Sco: Attempting to get sid for user account MyDomain\svcSQLEngine
(03) 2015-04-27 18:28:29 Slp: Sco: GetSidForAccount normalized accountName MyDomain\svcSQLEngine parameter to MyDomain\svcSQLEngine
(03) 2015-04-27 18:28:29 Slp: Sco: Attempting to get account sid for user account MyDomain
(03) 2015-04-27 18:28:29 Slp: Sco: Attempting to get sid for user account MyDomain
(03) 2015-04-27 18:28:29 Slp: Sco: GetSidForAccount normalized accountName MyDomain parameter to MyDomain
(03) 2015-04-27 18:28:29 SQLEngine: --EffectiveProperties: Dumping Effective Properties for new instance.
(03) 2015-04-27 18:28:29 SQLEngine: --EffectiveProperties: InstanceId = MSSQL11.MSSQLSERVER
(03) 2015-04-27 18:28:29 SQLEngine: --EffectiveProperties: InstanceName = MSSQLSERVER
(03) 2015-04-27 18:28:29 SQLEngine: --EffectiveProperties: IsDefaultInstance = True
(03) 2015-04-27 18:28:29 SQLEngine: --EffectiveProperties: SqlServerServiceName = MSSQLSERVER
(03) 2015-04-27 18:28:29 SQLEngine: --EffectiveProperties: IsExpressSku = False
(03) 2015-04-27 18:28:29 SQLEngine: --InstallProperties: Dumping Install Properties
(03) 2015-04-27 18:28:29 SQLEngine: --InstallProperties: EnableRanu = False
(03) 2015-04-27 18:28:29 SQLEngine: --InstallProperties: SecurityMode = 
(03) 2015-04-27 18:28:29 SQLEngine: --InstallProperties: LoginMode = 1
(03) 2015-04-27 18:28:29 SQLEngine: --InstallProperties: SqlCollation = SQL_Latin1_General_CP1_CI_AS
(03) 2015-04-27 18:28:29 SQLEngine: --InstallProperties: SqlAdminAcounts = 
(03) 2015-04-27 18:28:29 SQLEngine: --InstallProperties: SqlServiceStartupType = Automatic
(03) 2015-04-27 18:28:29 SQLEngine: --InstallProperties: SqlAccount = MyDomain\svcSQLEngine
(03) 2015-04-27 18:28:29 SQLEngine: --InstallProperties: AddCurrentUserAsSQLAdmin = False
(03) 2015-04-27 18:28:29 SQLEngine: --PublicBasedDirectoryProperties: Dumping Directory Propreties
(03) 2015-04-27 18:28:29 SQLEngine: --PublicBasedDirectoryProperties: DataRootDirectory = C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL
(03) 2015-04-27 18:28:29 SQLEngine: --PublicBasedDirectoryProperties: SystemDataDirectory = C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA
(03) 2015-04-27 18:28:29 SQLEngine: --PublicBasedDirectoryProperties: InstallSqlInstanceDir = C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL
(03) 2015-04-27 18:28:29 SQLEngine: --PublicBasedDirectoryProperties: DefaultDataDirectory = C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA
(03) 2015-04-27 18:28:29 SQLEngine: --PublicBasedDirectoryProperties: DefaultLogDirectory = C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA
(03) 2015-04-27 18:28:29 SQLEngine: --PublicBasedDirectoryProperties: BackupDirectory = C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup
(03) 2015-04-27 18:28:29 SQLEngine: --PublicBasedDirectoryProperties: TempDbDirectory = C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA
(03) 2015-04-27 18:28:29 SQLEngine: --PublicBasedDirectoryProperties: TempDbLogDirectory = C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA
(03) 2015-04-27 18:28:29 SQLEngine: --PublicBasedDirectoryProperties: ErrorLogDirectory = C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Log
(03) 2015-04-27 18:28:29 SQLEngine: --PublicBasedDirectoryProperties: TemplateDataDirectory = C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Template Data
(03) 2015-04-27 18:28:29 SQLEngine: --PublicBasedDirectoryProperties: SqlInstanceBinnDir = C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Binn
(03) 2015-04-27 18:28:29 SQLEngine: --PublicBasedDirectoryProperties: SqlInstanceTemplatesDir = C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Binn\Templates
(03) 2015-04-27 18:28:29 SQLEngine: --PublicBasedDirectoryProperties: MasterDbPath = 
(03) 2015-04-27 18:28:29 SQLEngine: --PublicBasedDirectoryProperties: MasterLogPath = 
(03) 2015-04-27 18:28:29 SQLEngine: --InputValidator: --- Validating Engine Settings ---
(03) 2015-04-27 18:28:29 SQLEngine: --InputValidator: Engine: Validating StartMode
(03) 2015-04-27 18:28:29 SQLEngine: --InputValidator: Engine: Validating FileStreamLevel : FILESTREAMLEVEL is 0
(03) 2015-04-27 18:28:29 SQLEngine: --InputValidator: Engine: Validating FileStreamSharename : No sharename specified
(03) 2015-04-27 18:28:29 SQLEngine: --InputValidator: Engine: Validating EnableRanu
(03) 2015-04-27 18:28:29 SQLEngine: --InputValidator: Validating SqlCollation
(03) 2015-04-27 18:28:29 SQLEngine: --InputValidator: SqlCollation = SQL_Latin1_General_CP1_CI_AS
(03) 2015-04-27 18:28:29 SQLEngine: --InputValidator: SqlCollation 'SQL_Latin1_General_CP1_CI_AS' is valid.
(03) 2015-04-27 18:28:29 SQLEngine: --InputValidator: Engine : Validating Service Account
(03) 2015-04-27 18:28:29 SQLEngine: --InputValidator: SQLEngine : Validating Engine Service Account 
(03) 2015-04-27 18:28:29 Slp: Sco: Attempting to determine if the account 'MyDomain\svcSQLEngine' is Virtual Account
(03) 2015-04-27 18:28:29 Slp: Sco: Attempting to determine if the account 'MyDomain\svcSQLEngine' is Managed Service Account
(03) 2015-04-27 18:28:29 SQLEngine: --InputValidator: Engine : Attempting to get account sid for account MyDomain\svcSQLEngine
(03) 2015-04-27 18:28:29 Slp: Sco: Attempting to get account sid for user account MyDomain\svcSQLEngine
(03) 2015-04-27 18:28:29 Slp: Sco: Attempting to get sid for user account MyDomain\svcSQLEngine
(03) 2015-04-27 18:28:29 Slp: Sco: GetSidForAccount normalized accountName MyDomain\svcSQLEngine parameter to MyDomain\svcSQLEngine
(03) 2015-04-27 18:28:29 Slp: Sco: Attempting to get account from sid S-1-5-21-2005767751-3441520766-2436301181-2505
(03) 2015-04-27 18:28:29 Slp: Sco: Attempting to initialize user group MyDomain\svcSQLEngine
(03) 2015-04-27 18:28:29 Slp: Sco: Attempting to get account sid for user account MyDomain
(03) 2015-04-27 18:28:29 Slp: Sco: Attempting to get sid for user account MyDomain
(03) 2015-04-27 18:28:29 Slp: Sco: GetSidForAccount normalized accountName MyDomain parameter to MyDomain
(03) 2015-04-27 18:28:29 Slp: Sco: Attempting to check if user group svcSQLEngine exists
(03) 2015-04-27 18:28:29 Slp: Sco: Attempting to open root DirectoryEntry object for domain/computer 'MyDomain'
(03) 2015-04-27 18:28:29 Slp: Sco: Attempting to check if container 'WinNT://MyDomain' of group exists
(03) 2015-04-27 18:28:29 Slp: Sco: User group svcSQLEngine doesn't exist
(03) 2015-04-27 18:28:29 Slp: Sco: Attempting to get account sid for user account MyDomain\svcSQLEngine
(03) 2015-04-27 18:28:29 Slp: Sco: Attempting to get sid for user account MyDomain\svcSQLEngine
(03) 2015-04-27 18:28:29 Slp: Sco: GetSidForAccount normalized accountName MyDomain\svcSQLEngine parameter to MyDomain\svcSQLEngine
(03) 2015-04-27 18:28:29 Slp: Sco: Attempting to get account sid for user account MyDomain\svcSQLEngine
(03) 2015-04-27 18:28:29 Slp: Sco: Attempting to get sid for user account MyDomain\svcSQLEngine
(03) 2015-04-27 18:28:29 Slp: Sco: GetSidForAccount normalized accountName MyDomain\svcSQLEngine parameter to MyDomain\svcSQLEngine
(03) 2015-04-27 18:28:29 Slp: Sco: Attempting to get account sid for user account MyDomain
(03) 2015-04-27 18:28:29 Slp: Sco: Attempting to get sid for user account MyDomain
(03) 2015-04-27 18:28:29 Slp: Sco: GetSidForAccount normalized accountName MyDomain parameter to MyDomain
(03) 2015-04-27 18:28:29 SQLEngine: --InputValidator: Engine : Service Acccount Specified, Validating Password
(03) 2015-04-27 18:28:29 Slp: Sco: Attempting to validate credentials for user account 'MyDomain\svcSQLEngine' and service name 'MSSQLSERVER'
(03) 2015-04-27 18:28:29 Slp: Sco: Attempting to determine if the account 'MyDomain\svcSQLEngine' is Virtual Account
(03) 2015-04-27 18:28:29 Slp: Sco: Attempting to get account sid for user account MyDomain\svcSQLEngine
(03) 2015-04-27 18:28:29 Slp: Sco: Attempting to get sid for user account MyDomain\svcSQLEngine
(03) 2015-04-27 18:28:29 Slp: Sco: GetSidForAccount normalized accountName MyDomain\svcSQLEngine parameter to MyDomain\svcSQLEngine
(03) 2015-04-27 18:28:29 Slp: Sco: Attempting to see if user MyDomain\svcSQLEngine exists
(03) 2015-04-27 18:28:29 Slp: Sco.User.OpenRoot - root DirectoryEntry object already opened for this computer for this object
(03) 2015-04-27 18:28:29 Slp: Sco: Attempting to check if user account MyDomain\svcSQLEngine exists
(03) 2015-04-27 18:28:29 Slp: Sco: Attempting to look up AD entry for user MyDomain\svcSQLEngine
(03) 2015-04-27 18:28:29 Slp: Sco.User.OpenRoot - root DirectoryEntry object already opened for this computer for this object
(03) 2015-04-27 18:28:29 Slp: Sco.User.LookupADEntry - Attempting to find user account MyDomain\svcSQLEngine
(03) 2015-04-27 18:28:29 Slp: Sco: Attempting to check if container 'WinNT://MyDomain' of user account exists
(03) 2015-04-27 18:28:29 SQLEngine: --InputValidator: Engine: Validation for account MyDomain\svcSQLEngine failed. The RPC server is unavailable.

Never seen this before, any suggestions?

Thanks

Steps to move application DB( MSSql) from windows 2003 server to windows 2008 server.

$
0
0

Hi All,

I am new to DB. We need to move application's MSSQL DB(Currently used DB version is Microsoft SQL server 2008 R2)from windows server 2003 to windows 2008. 

Please advice steps to accomplish this task. How to make sure DB moved without any errors?

Thanks in Advance.

SQLEXPRESS not accepting "IIS AppPool/DefaultAppPool" as valid LogIn

$
0
0

Im trying to create a new login on my local instance of Sql Server 2008 Express(SQLEXPRESS) for IIS 7.5 worker process to use for database access to a custom database.

I type in "IIS AppPool\DefaultAppPool" in the "SELECT USER OR GROUP" dialog then click on "Check name" and it transforms the name to an underlined "DefaultAppPool". Then I click "Ok" and it says "User or Group was not found".  Am I using the right name for an IIS 7.5 worker process account? Please help. Thanks.


System configuration: Winndows 7 RTM, Gigabyte GA-EP45-UD3L motherboard, Intel Pentium Dual-Core E6300 Wolfdale @ 2.8GHz, 4GB PC-1066 DDR2 Patriot Viper Memory, 500 GB Western Digital Hard Disk, GeForce 8800GT Videocard

upgrade sql server 2008 to 2014

$
0
0

Hello,

1- is it possible to install 2014 while 2008 is installed. And then restore the 2008 database into the 2014 version?
2- is 2014 version out and can it be fully used now?

Thanks

Trying to install Support for DTS packages in SQL server 2008

$
0
0

Hi all

I am trying to follow the instructions in the following link...

technet.microsoft.com/en-us/library/ms143755(v=sql.105).aspx

...to install support for DTS packages - when it says on the Feature Selection page, select Integration Services - none of the installs I have tried show this as an option - what should I be installing in order to see this and get this feature installed?

I just need to be able to view some DTS packages - help!

Thank you! James

SQL Server 2008 R2 installation.

$
0
0

Hi all,

I try to install sql server 2008 r2 in my laptop which has windows 8.1 OS running on it. But while I'm on the process of installing it there is a window that pops up saying that there is a compatibility issue. Can you please give me some advice.

Thanks and God Bless All.

Creating Service Accounts For Components of SQL Server

$
0
0
Hello , am trying to install SQL Server 2014 on a windows  8 but dont know how to create the service accounts for the various components . 

help needed in installing sql server 2014

$
0
0

i am trying to install sql server 2014 ,but error keeps coming .Any websites from which i can download.

Thank you

How do I manually apply SQL Server 2000 SP4?

$
0
0

Hi All,

I am using Windows 8.1 (64-bit) and is aware that it is not supported.

I have managed to install SQL Server 2000 (Client Tools only), and I wanted to patch with SP4 which does not seems to work.

Please advise.

Thank you.

Difference between SQL Server Enterprise Edition - Per Core and SQL Server Enterprise Edition - Server/CAL

$
0
0

Hello

Can anyone help me understand the difference between SQL Server Enterprise Edition - Per Core and SQL Server Enterprise Edition - Server/CAL?

I am trying to install SQL Server 2012 enterprise.

Thanks

sql server 2014 enterprise download from msdn

$
0
0

Hello,
Using the msdn subscription, we have downloaded the enterprise edition of sql server 2014.
Is this download the production or the development licenced server? I mean are we now allowed to install it onto our production sql server machine?

Thanks

Unable to map TID's to SPID's

$
0
0

Hi

I am having issues with a SQL server with a high running CPU.  To track the problematic SPID's I use process explorer to show the threads that are using a large amount of CPU within the sqlservr.exe process, and then map the Thread ID to the SPID using the following code

USE
MASTER
GO
Select
SPID from sysprocesses where kpid=7557
GO

This morning there were TID's with noticeably high numbers and when I tried to map them to a SPID no results were returned.

Does anyone know why these high running threads weren't mapped to a SPID?

Cheers

Alex

Windows Authentication not working after password change

$
0
0

This morning I attempted to connect to my local copy of SQL Server (2012) (Win 7) using Windows Authentication. I was unable to do so and per the error log it was due to error 18456 (invalid credentials).

Yesterday I changed my windows password. Is it possible for this to be the cause?

FYI, following is from the error logs:

2015-04-27 10:10:32.98 Backup      BACKUP DATABASE successfully processed 0 pages in 0.451 seconds (0.000 MB/sec).

2015-04-28 00:00:41.90 spid18s     This instance of SQL Server has been using a process ID of 2096 since 4/21/2015 9:08:05 AM (local) 4/21/2015 1:08:05 PM (UTC). This is an informational message only; no user action is required.

2015-04-28 09:58:51.16 Logon       Error: 18456, Severity: 14, State: 38.

2015-04-28 09:58:51.16 Logon       Login failed for user 'NT AUTHORITY\SYSTEM'. Reason: Failed to open the explicitly specified database 'model'. [CLIENT: xx.xx.xxx.xxx]

2015-04-28 17:09:59.87 Server      SQL Server is terminating because of a system shutdown. This is an informational message only. No user action is required.


The logs showed the error occurred yesterday (4/28) which is about when I changed my password. The 17:09 log (last one) is when I shut down my computer.  Note that I was logged into SQL Server when I changed my Windows password and worked with it several times through out the day.

Also, per the configuration manager SQL Server (MSSQLSERVER) (and all other services) is stopped and I was unable to start it ("The request failed or the service did not respond in a timely fashion).

Thanks for any help.


- Bruce


Strange Behaviour in a stored Procedure

$
0
0

Hello forum

I am attempting to build an execute script as a part of a wider process.  essentially data is imported into a temporary table and then exported via bcp; so in order to capture the column headings I am using a cursor to build a string and then execute it.  However, if I "PRINT" the script the script is correct, but if I "EXECUTE" either with EXECUTE or sp_executesql, the script is incorrect.

Here is the Code: -

Set

@ColNameScript =(Select'Select ')


Set

@TotalCol =(Selectcount(*)from syscolumnswhere idin(select idfrom sysobjectswherename='voltemp'))


Set

@CurrentCol=1


Declare

Column_Curs Cursorforselectnamefrom syscolumnswhere idin(select idfrom sysobjectswherename='voltemp')


Open

Column_Curs


Fetch

NextFrom Column_CursInto @ColumnName


While

@@Fetch_Status=0



Begin


IF @CurrentCol<> @TotalCol

BEGIN


Set @ColNameScript=(Select @ColNameScript+ '^'+ @ColumnName+'^'+' AS ['+ @ColumnName+'],')


END


IF @CurrentCol= @TotalCol

BEGIN


Set @ColNameScript=(Select @ColNameScript+ '^'+ @ColumnName+'^'+ ' AS ['+ @ColumnName+'] INTO COLNAMETEMP')


END


FetchNextFrom Column_CursInto @ColumnName

Set @CurrentCol=@CurrentCol+1


End

Close

Column_Curs


Deallocate

Column_Curs


SELECT

REPLACE(@ColNameScript,'^','''')


PRINT

@ColNameScript


EXECUTE

@ColNameScript;

If I comment out the EXECUTE command the script is printed as thus: -

Select

'territoryName'AS [territoryName],'organisation'AS [organisation],'displayname'AS [displayname],'URN'AS [URN],'vacancyid'AS [vacancyid],'jobtitle'AS [jobtitle],'Displayfrom'AS [Displayfrom],'displayto'AS [displayto],'date'AS [date],'Advert/vacancytype'AS [Advert/vacancytype],'Type(s) of Work'AS [Type(s) of Work],'status'AS [status],'PageViews'AS [PageViews],'Total Interaction'AS [Total Interaction],'Advert Run'AS [Advert Run],'Job Live Days'AS [Job Live Days],'Click through rate'AS [Click through rate],'Days to go'AS [Days to go],'Clicks per day'AS [Clicks per day]INTO COLNAMETEMP

If I include the EXECUTE command the script is printed as thus: -

Select

^territoryName^AS [territoryName],^organisation^AS [organisation],^displayname^AS [displayname],^URN^AS [URN],^vacancyid^AS [vacancyid],^jobtitle^AS [jobtitle],^Displayfrom^AS [Displayfrom],^displayto^AS [displayto],^date^AS [date],^Advert/vacancytype^AS [Advert/vacancytype],^Type(s)of Work^AS [Type(s) of Work],^status^AS [status],^PageViews^AS [PageViews],^Total Interaction^AS [Total Interaction],^Advert Run^AS [Advert Run],^Job Live Days^AS [Job Live Days],^Click through rate^AS [Click through rate],^Daysto go^AS [Days to go],^Clicks per day^AS [Clicks per day]INTO COLNAMETEMP

SQL Server version is 2005 Standard Edition SP4.


Please click "Mark As Answer" if my post helped. Tony C.


Move db from sql 2005 to 2012 with minimum downtime

$
0
0

Hi!

We need to move a 300gb sql db from a 2005 server to a 2012 server.

The database is in simple rec mode.

It exist only in Prod env.. :/

Downtime is allowed, but I would like to get some thought about the method to do this with minimum downtime.

I tried with a backup/restore, and I guess you understand already, it took about 8 hours until the db was restored .. :P

Thanks in advance.

SQL Server 2014 Core Licensing in VM Environment

$
0
0

Over the next several months we will be deploying a new virtual PROD/DRS/Test system for one of our customers. Each DB Server has 6 cores. Our procurement department purchased EMBD SQL SVR ENT 2014 EMB ESD OEI 4 CORE ENT for each DB Server. They also purchased EMBD SQL SVR ENT 2014 EMB ESD OEI 2 CORE ADDTNL LIC ENT to cover the 6 cores for each server.

We activated the 4 core, but we are not sure how the 2 core additional works. Does the 2 core have to be activated on the servers as well and if so how do you activate the 2 core as it is just a set of numbers.

Thank You,

Margaret


how to license our SQL server

$
0
0

Hi,

We are developing an application for a customer and we were wondering if our licensing approach is correct.

As you can see on the topology image below, we have several nodes who connect using a self developed application, to the self developpedapplication server or communication server.

1 application server can have multiple nodes connected at the same time off course.

This application server, uses only 1 connection to the SQL server.

Our question now is:

a) do we need to provide every node a CAL, even if they are not communicating directly to the SQL server?

OR

b) do we need to provide only the application servers a CAL, since he is the only one that has contact with the SQL server directly?

SQL Server 2008 R2 SP3 install error - caspol.exe Fatal error

$
0
0

When I attempt to install sql server 2008 r2 sp3 I get caspol.exe - Fatal error.  Unable to load Jit Compiler:(mscorjit.dll): file may be missing or corrupt.  Please check or rerun setup.  Then after I click ok I get the Microsoft Windows popup that says Microsoft .NET Framework CAS Policy Manager has stopped working.  This is on a Windows 2008 Enterprise Server, service pack 2.  I am wondering if my .NET Framework had become corrupt on the server.  Any ideas?  This has been on a stable production sql server that has been running fine for many years.

Thanks for reading my post.

Joe Sitver



help in sql express install needed

$
0
0
TITLE: SQL Server 2008 R2 Setup
------------------------------

The following error has occurred:

An error occurred during the installation of assembly 'Microsoft.VC80.CRT,version="8.0.50727.42",type="win32",processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b"'. Please refer to Help and Support for more information.

For help, click: http://go.microsoft.com/fwlink?LinkID=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=10.50.4000.0&EvtType=0xF45F6601%25401201%25401

------------------------------
BUTTONS:

OK
------------------------------
Viewing all 8133 articles
Browse latest View live


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