Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Administration - SQL Server 2014 » Latest topics
Viewing all 6525 articles
Browse latest View live

SQL Server 2014 Transparent Data Encryption with EKM and nCipher HSM - Database restore

$
0
0
Hi,We have encrypted a SQL Server 2014 database with a Thales nCipher HSM successfully.The asymmetric key has been created with the following statement :[code="sql"]USE masterGOCREATE ASYMMETRIC KEY SQL_EKM_RSA_2048_AsymKey_TDEFROM PROVIDER SQL_EKM_ProviderWITH PROVIDER_KEY_NAME = 'EKM_RSA_2048_Asym_TDE', ALGORITHM = RSA_2048, CREATION_DISPOSITION = CREATE_NEWGO[/code]Below is the statement we ran to create the database encryption key : [code="sql"]CREATE DATABASE ENCRYPTION KEYWITH ALGORITHM = AES_256ENCRYPTION BY SERVER ASYMMETRIC KEY SQL_EKM_RSA_2048_AsymKey_TDE ;GO[/code]On the target instance, we retrieve the asymmetric key from nCipher, using the following instruction : [code="sql"]CREATE ASYMMETRIC KEY SQL_EKM_RSA_2048_AsymKey_TDEFROM PROVIDER SQL_EKM_ProviderWITH PROVIDER_KEY_NAME = 'EKM_RSA_2048_Asym_TDE', CREATION_DISPOSITION = OPEN_EXISTINGGO[/code]Now we are willing to restore that database on a distinct instance; both are SQL Server 2014 with the exact same build number : 12.0.4213.0The RESTORE DATABASE instruction fails with the following message :[i]Msg 33111, Level 16, State 4, Line 2Cannot find server asymmetric key with thumbprint '0xCBC582F206A84C4B78F9A966B6E77F5BEDB26D66'.Msg 3013, Level 16, State 1, Line 2RESTORE DATABASE is terminating abnormally.[/i]And sure enough, when looking into sys.asymmetric_keys, on both instances, the thumbprints are not matching.Have you encountered this issue, and if so, could you share how you solved it ?ElSüket.

Permissions for Merge Replication

$
0
0
SQL 2014 StandardMerge replication problem.I understand and read in msdn.microsoft.com/en-us/library/ms151868(v=sql.120).aspx , in the 'Permissions That Are Required by Agents' section:That the Merge Agent for pull subscriptions must be a user in the distribution database or “The user can be the guest user”But what permissions does the user or guest need in the distribution database?We have had merge replication running for years. Recently Pull subscriptions began failing after some OS maintenance/reboots. The error was "You do not have the required permissions to complete the operation". I isolated the problem to the distribution database.Now, when I explicitly add the subscriber to the distribution database and add to db_owner role, pull replication works again. Seems like too much permissions. db_datareader & db_datawriter only did not work for subscriber and/or guest. I'm sure the subscriber was never added to the distribution database before, so they must have had access via the guest user.What permission does the guest user need in the distribution database?Thanks,Tom

Error Connecting ARCGIS

$
0
0
So I restore a database name "Weather" and while restoring the database I gave new name "Cloud"so Weather.bak is restored as Cloud database.I am trying to create connection via our GIS tool ARCGIS (it connects like odbc where you select db and type username/pwd)When we try to connect it throws error. Please see the attachmentlet me know anyone has idea how to resolve this

Restoring DATABASE AND Overwriting Db (which has different name/files)

$
0
0
I have one database.School_Area which has mdf and ldf file school.mdf and school.mdfon another instance/server i have another database : classes and i took full backup of that database , classes.bak and move to the serverand try to restore that classes database in a way it will over write contents of school_area database and replace mdf/ldf file with classes db.i do not want to change the name school_area but i want that db to be refresh with classes db.how can i do that ?when i tried regular ssms with replace, it give me error message saying it is in use.

BCP Utility - Usage

$
0
0
Hi Folks,Why should we use BCP Utility. Any one can explain the scenarios where this tool is useful.BCP or BULK INSERT? which is quicker and/or resource efficient?Looking for bulk load from OLTP to Azure SQL datawarehouse.Thanks!

Job Execution Failed

$
0
0
Hi Experts,I tried to create a job which will send data from a table and send it as mail. It was throwing error initially and when i changed the service account of agent to local system it worked. But then again i tried to run the agent job in 'Run As ' by creating a SQL login but its failing with error Execute permission was denied on sp_send_dbmail . I have given all permission and the user can run the TSQL in SSMS without any issue.What permission I am missing here?

Strange Log Shipping Error Message

$
0
0
Environment and Server Details:- 12.0.4457- Windows Server 2012 R2 standard- VMWare Virtual Machine- Dell Equal Logic SANSQL Error Log Message:[i][font="Times New Roman"]The log shipping secondary database ServerName.DatabaseName has restore threshold of 45 minutes and is out of sync. No restore was performed for 34089 minutes. Restored latency is 2 minutes. Check agent log and log shipping monitor information.[/font][/i]I've verified that the logs are being restored on the log shipping secondary, matched up the LSNs, also, I have the Log Shipping Monitor from Red Gate that verifies my logs are up to date. Further, the aforementioned error message is for every database in the instance.I've built a similar setup in a lab environment and I get the same error messages.[li]What gives, anyone have any insight?[/li][li]Can I safely ignore these messages since I know the logs are being backed up, copied, and restored?[/li]Having 10s of thousands of error messages per week makes it pretty difficult to peruse and check other possible issues :crazy:

Maybe they also know that normal body temperature

$
0
0
Maybe they also know that normal body temperature is too high for sperm production. (Thick clothes, clamping balls to the body, helping to reduce the number of sperm.) Just before ejaculation, however, the testicles are drawn into the body. Pulling the testicles down away from your body (we will return to this point), it is one of the oldest ways to delay ejaculation. Vas deferens tight tube through which sperm from the testicles to the prostate gland is raised, or the prostate (see para. 2), and before ejaculation is mixed with secretions of the prostate and seminal vesicles. [url=http://www.prohealthguides.com/maxtropin-reviews/]maxtropin[/url]

bellacelle - Reduce Wrinkles And Effects Of Aging!

$
0
0
My Last Viewpoint: I couldn't believe this has helped me appear as much as ten years more youthful. Picking it's affirmed to end up the absolute best decision of my way of life. I owe my class to it. You can likewise experience its helpfulness and stay dazzling until your last breath. [url=http://www.oralhealthplus.com/bellacelle-reviews/]bellacelle[/url]Perspective Results? Exclusively, I didn't touch base all through its unfavorable effect till now. It's thoroughly free from concoction added substances. Be that as it may, 1 should search for social insurance direction preceding using it. http://www.oralhealthplus.com/bellacelle-reviews/

Collation Error 468

$
0
0
Hello All,I am having default Collation as Latin1_CP1_CI_AS on my server and databases but when i am trying to open a new query window it is throwing an errorCannot resolve the collation conflict between "SQL_Latin1_General_CP1_CI_AS" and "Latin1_General_CI_AI" in the equal to operation.Could not use view or function 'dbo.sysdac_instances' because of binding errors. (Microsoft SQL Server, Error: 468)Could anyone help on this please..Thanks,PrimeSQL

Change to Restore with No recovery

$
0
0
HI,Is there any way to change an already restored DB to 'Restore with No Recovery' without re-running a restore?Long story but I need to re-establish an A/G connection from a LUN Snap.

Are unfixable spatial index corruptions considered normal?

$
0
0
I can't find a solution to the following error:The spatial index, XML index or indexed view 'sys.extended_index_xxx_384000' (object ID xxx) does not contain all rows that the view definition produces. This does not necessarily represent an integrity issue with the data in this database.The spatial index, XML index or indexed view 'sys.extended_index_xxx_384000' (object ID xxx) contains rows that were not produced by the view definition. This does not necessarily represent an integrity issue with the data in this database.CHECKDB found 0 allocation errors and 2 consistency errors in table 'sys.extended_index_xxx_384000' (object ID xxx).A spatial index, Index was created two days ago and now I'm getting this error?

Database Corruption - Possible False Positive

$
0
0
I'm getting two errors when a Database Consistency errors which are the except the object is executed:The spatial index, XML index or indexed view 'sys.extended_index_1682469418_384000' (object ID 1239532045) does not contain all rows that the view definition produces.I'm trying to find a solution.Does anyone recognize error an know how to resolve it?What action is needed t resolve the issue?

Rollback plan for SP/CU upgrades for SQL 2014 environment with AG

$
0
0
Hi there,I wanted to know what is the best way to rollback a SQL Server service pack or cumulative update for SQL Server 2014. We have a 2 replica availability group set up using SQL 2014 and are currently on SQL 2014 SP1 CU7. I am planning on upgrading to SQL 2014 SP2 in the next couple of days and wanted to know what the rollback plan should be in case we need to rollback the service pack.I know the standard process for upgrading a 2 replica SQL 2014 availability group is to apply the SP/CU on the secondary, then failover to the secondary and then apply the SP/CU on the other replica. Does this also apply when uninstalling a SP/CU or is it different?Thanks,Avinash

this judgment will be stayed

$
0
0
[url=https://www.linkedin.com/pulse/try-free-quantum-code-review-michael-crawford-full-details-kim]Quantum Code Review[/url]

Clustering SQL Agent

$
0
0
Hi all, I'm a clustering newbie, have a task to set up clustering and part of the requirement is to cluster the jobs as well. So, if server A goes down, we want to jobs to run on server B. I am clear on how to cluster SQL Server, but am not sure how to cluster SQL Agent. Please help, thanks in advance.

it gets the other person

$
0
0
[url=https://www.linkedin.com/pulse/100-free-exposed-quantum-code-review-binary-option-system-kim]Quantum Code Review[/url]

Unmistakably nobody needs these unbelievable

$
0
0
Unmistakably nobody needs these unbelievable making reactions and in this manner attempt in understanding the most fit way to deal with oversee regulate control direct [url=http://luxmuscle.com/alucia-cream-reviews/]Alucia cream[/url] execute them without hurting their skin. The stage asking way you will discover the chance to have a the not quite the same as dumbfounding look toward the day's end is having an attracting undermining to making condition. What is Alucia cream ? Alucia cream is the response to all your skin making material hardships. http://luxmuscle.com/alucia-cream-reviews/

SQL Server 2012 upgrade to 2014

$
0
0
Hi All,I am trying to upgrade SQL Server 2012 evaluation edition to SQL Server 2014 Evaluation edition.On Installation wizard when I click on upgrade option, it is not displaying the option for selecting instance. Where as only shared components are upgrading to 2014.I have downloaded new setup files from MS and tried also but no use.I am attaching a file for reference. In the attached file it should have select instance option, but its not there in the file.Please help me here.

SQL Server 2012 upgrade to 2014

$
0
0
Hi All,I am trying to upgrade SQL Server 2012 evaluation edition to SQL Server 2014 Evaluation edition.On Installation wizard when I click on upgrade option, it is not displaying the option for selecting instance. Where as only shared components are upgrading to 2014.I have downloaded new setup files from MS and tried also but no use.I am attaching a file for reference. In the attached file it should have select instance option, but its not there in the file.Please help me here.
Viewing all 6525 articles
Browse latest View live