Quantcast
Channel: SQL Server Security forum
Viewing all 3042 articles
Browse latest View live

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.

$
0
0

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)

How Can i solve this?


Which Cipher suite will be used for SQL 2005?

$
0
0

Hi,

I am currently using TLS 1.2 for secure authentication but few of the servers running SQL 2005 is facing an issue. I came to know that TLS 1.2 is only applicable for SQL 2008 and above. I want to know which protocol (TLS 1.1 or 1.0) and Ciphers will be used for SQL 2005?

Regards,

Nilabh


Nilabh Verma

강남오피 ▶uuzoa2.com ◀ ☞유유닷컴☜ 강남1인샵

sql server 2000 database missing caused by sql injection attack?

$
0
0

 

Is this even possible? one of our databases gone missing, actually has been completely removed, database name missing when opening enterprise manager, and MDF file is gone too, we had to restore from a backup file, and we suspect it could be caused by sql injection, but can't confirm it, and still trying to figure out what actually happened.

 

We've been getting sql injection attacks since July, our server got picked up by a bot, and they did succeed once, inserted malware codes into our database tables, quite a few got infected, but we have cleaned them up and added more codes to block the attack, and those codes have successfully block the injection attempts, never seen the malware codes again. But even if they did broke in again, they will just inject the malware codes which does some malicious act to the end user, but doesn't really do much harm to the database, so I doubt it's the injection attack that wiped out our database.

 

One other possibility could be due to our server's disk space had run out, in the event viewer, there were hundreds of error messages saying Backup fail, not enough space, "Primary group is full" etc, and we have backup jobs running to backup these databases, and they had been failing for weeks, is it possible that the out of disk space could cause a series of chain reaction that cause the database to corrupt and eventually got removed? ever heard of that happened?

 

thank you

Ed

How to retrieve sql server password?

$
0
0
What are some ways to retrieve a specific SQL Server database user password?

sql server connection problem

$
0
0
TITLE: Connect to Server
------------------------------

Cannot connect to DESKTOP-JMJ11OU\SYSTEM.

------------------------------
ADDITIONAL INFORMATION:

Login failed for user 'system'. (Microsoft SQL Server, Error: 18456)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&EvtSrc=MSSQLServer&EvtID=18456&LinkId=20476

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

OK
------------------------------

sql server problem

$
0
0

Cannot connect to DESKTOP-JMJ11OU\SYSTEM.

===================================

Login failed for user 'system'. (.Net SqlClient Data Provider)

------------------------------
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&EvtSrc=MSSQLServer&EvtID=18456&LinkId=20476

------------------------------
Server Name: DESKTOP-JMJ11OU\SYSTEM
Error Number: 18456
Severity: 14
State: 1
Line Number: 65536


------------------------------
Program Location:

   at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling, SqlAuthenticationProviderManager sqlAuthProviderManager)
   at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
   at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup, DbConnectionOptions userOptions)
   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.ProviderBase.DbConnectionClosed.TryOpenConnection(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 Microsoft.SqlServer.Management.UI.ConnectionDlg.Connector.ConnectorThread()

Steps to remove TDE on Alwayson

$
0
0

Hello All,

i am trying to remove TDE on Alwayson however, i am getting below error on primary replica.

Use dbname

DROP DATABASE ENCRYPTION KEY

Msg 33123, Level 16, State 1, Line 214

Cannot drop or alter the database encryption key since it is currently in use on a mirror or secondary availability replica. Retry the command after all the previous reencryption scans have propagated to the mirror or secondary availability replicas or after availability relationship  has been disabled.

is there any specific way to disable TDE on alwayson.



대구오피 [uuzoa2.com] (유유닷컴) 유흥후기

전주오피 {uuzoa2.com } [유유닷컴] 백마오피

광주오피 (Www.uuzoa2.com ) 《유유닷컴》 쓰리노

Steps to remove TDE on Alwayson

$
0
0

Hello All,

i am trying to remove TDE on Alwayson however, i am getting below error on primary replica.

Use dbname

DROP DATABASE ENCRYPTION KEY

Msg 33123, Level 16, State 1, Line 214

Cannot drop or alter the database encryption key since it is currently in use on a mirror or secondary availability replica. Retry the command after all the previous reencryption scans have propagated to the mirror or secondary availability replicas or after availability relationship  has been disabled.

is there any specific way to disable TDE on alwayson.


Error trying to update SP4 SQL Server 2012.

SSIS and Windows Authentication Passthrough

$
0
0

I have four SQL Servers running SQL Server Integration Services:

  • SSIS 1 - SQL Server Standard Edition.
  • SSIS 2 - SQL Server Standard Edition.
  • SSIS 3 - SQL Server Enterprise Edition.
  • SSIS 4 - SQL Server Developer Edition.

I have two SQL Servers operating as data warehouses:

  • SQL_Prod
  • SQL_Dev

SSIS packages running on SSIS 1, SSIS 2, and SSIS 3 can all connect to SQL_Prod and SQL_Dev using Windows Authentication. However, SSIS 4 cannot connect to any other server using Win Auth. Packages on SSIS 4 must use SQL Server Authentication to connect to another server.

Packages on SSIS 1, SSIS 2, and SSIS 3 can also reach file shares housed on other servers, while packages on SSIS 4 cannot.

All other factors such as Windows OS, domain, and security are identical for all of these servers.

I am suspecting my SSIS Package connectivity issues with SSIS 4 have to do with the SQL Developer Edition as opposed to Standard or Enterprise.

Can I have an expert confirm or dispute this observation and explain why his or her assertion is valid?

Confounded in California.

Reconfigure service accounts

$
0
0

Hi guys,

Guy who was responsible for SQL servers left and I took over. I have notice that he configured many services accounts for all sql servers and I would like to replace them with group managed service account. My question is can I use one group managed services account for all sql servers (6 servers) and is this best practice or shall I create 1 for each sql. Next what is the impact of replacing existing service account with group managed? What to think about before doing this step?

Please help



SPN setup for in production sql server

$
0
0

Hello,

I need to create SPN records for an account currently used as the sql server service account on three sql servers, to get delegation going for sql file stream.  I wondered if adding the SPN record will have any affect on sql connections or server sessions currently in progress, until I reboot the server?

I will reboot the server some time after.

Thx


Robert


Registering SPN

$
0
0

Hello,

Standalone instance of SQL2k12/14 enterprise version. I think, we need to use the following to register the SPN:

setspn -s MSSQLSvc/sqlserver1.mydomain.com mydomain\sqlserver1SvcAccount  (this is the service account from the AD)

setspn -s MSSQLSvc/sqlserver1.mydomain.com mydomain\sqlserver1SvcAccount:1433 

My question is, for the port 1433 binding, do I need to use the AD service account shown above or use the server's FQDN similar to what is shown below:

setspn -s MSSQLSvc/sqlserver1.mydomain.com mydomain:1433mydomain\sqlserver1SvcAccount

Also, is there a gui tool to accomplish the above tasks?

Appreciate your input.

Thanks in advance,

Victor


Victor

Impact of setting up job owner as "SA" (which is disabled)

$
0
0

Hi All,

I wanted to know the impact (in terms of security) of setting up a job owner as SA which is currently disabled and will remain disabled.


Regards, Ashif Shaikh

Need to add new SQL admin

$
0
0

Hello,

I need to add new account as SQL admin. That user need to have full control on the sql server. We are implementing new solution and now we have management server and no user will login direct to the servers. Now I installed management studio on the management server. What I need to do to let people manage SQL servers from management server. Do I need to add his account in local admin group on all sql servers or it is enough to add him as sysadmin on all server instances? Is there a way to auto add him on all servers?


Setting up SQL Server Audit for Specific DB users

$
0
0

Hello,

I have a SQL Server 2016(sp1) Standard instance with several users, all who are assigned to dbo as default schema. I've tried setting up DML auditing for certain logins without success as logs won't write for any other principal apart from dbo. unfortunately, dbo is default for all logins and therefore logs grow very fast and are unusable due to size.

How can I achieve a working setup without the dbo principal?

Thanks.

Viewing all 3042 articles
Browse latest View live


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