Forum

Sql 2008 Bağlanamıy...
 
Bildirimler
Hepsini Temizle

Sql 2008 Bağlanamıyorum

5 Yazılar
3 Üyeler
0 Likes
1,173 Görüntüleme
(@Anonim)
Gönderiler: 0
Konu başlatıcı
 

Sql 2008e Management Studio ile hiç bir şekilde bağlanamıyorum. 


Windows Authentication ile SQL Server Authentication bağlanmaya çalıştığımda Error:18456 hatası alıyorum.


İnternette çözümleri araştırdım kullanıcı tanımı ile alakalı bir sorun olduğu söyleniyor.Security üzerinden kullanıcı tanımlamak gerektiği söyleniyor ancak ben SQL Server Authentication ile kullanıcı adı sa şifre boş bi şekilde bağlanmaya çalıştığımda da aynı hatayı alıyorum.


Ne yapmalıyım ?


 

 
Gönderildi : 04/07/2010 13:59

(@fatihkaraalioglu)
Gönderiler: 3040
Illustrious Member
 

Merhaba;


Almış olduğunuz hata içeriğinde state bilgisi yer almaktadır. Aşağıda State numaraları hakkında bilgiler bulunmaktadır.


Event Detaylarını paylaşırmısınız? 


In continuing with the theme of understanding error messages I'll discuss the "login failed" messages that are surfaced by the client and written to the server's error log (if the auditlevel is set to log failures on login which is the default) in the event of an error during the login process.


If the server encounters an error that prevents a login from succeeding, the client will display the following error mesage.


Msg 18456, Level 14, State 1, Server <server name>, Line 1
Login failed for user '<user name>'



Note that the message is kept fairly nondescript to prevent information disclosure to unauthenticated clients.   In particular, the 'State' will always be shown to be '1' regardless of the nature of the problem.  To determine the true reason for the failure, the administrator can look in the server's error log where a corresponding entry will be written.  An example of an entry is:


2006-02-27 00:02:00.34 Logon     Error: 18456, Severity: 14, State: 8.


2006-02-27 00:02:00.34 Logon     Login failed for user '<user name>'. [CLIENT: <ip address>]


 


 


n

The key to the message is the 'State' which the server will accurately set to reflect the source of the problem.  In the example above, State 8 indicates that the authentication failed because the user provided an incorrect password.  The common error states and their descriptions are provided in the following table:

 































ERROR STATE


ERROR DESCRIPTION


2 and 5


Invalid userid


6


Attempt to use a Windows login name with SQL Authentication


7


Login disabled and password mismatch


8


Password mismatch


9


Invalid password


11 and 12


Valid login but server access failure


13


SQL Server service paused


18


Change password required


 

Other error states indicate an internal error and may require assistance from CSS.

 
Gönderildi : 04/07/2010 17:37

(@Anonim)
Gönderiler: 0
Konu başlatıcı
 

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


Login failed for user 'abc24\abc'. (.Net SqlClient Data Provider)


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


------------------------------
Server Name: abc24
Error Number: 18456
Severity: 14
State: 1
Line Number: 65536

 
Gönderildi : 04/07/2010 20:22

(@fatihkaraalioglu)
Gönderiler: 3040
Illustrious Member
 

Merhaba;


Güncelleştirme veya upg. işleminimi gerçekleştirdiniz.


Kimlik doğrulaması ile ilgili bir problem yaşıyorsunuz.


In versions prior to Microsoft SQL Server 2000 Service Pack 3 (SP3), it was possible to specify that this connection was trusted and did not require a password. If you are upgrading from a previous version, you must now specify a password.

 
Gönderildi : 04/07/2010 20:27

(@FerhatIndi)
Gönderiler: 467
Honorable Member
 

Tam olarak onceden nasil baglaniyordun? SQL 2000-2005 ten 2008`e mi upgrade yaptin?

Asagidaki cozum yontemlerini dene

1-Local makinanin windows authentication dene

2-ODBC ayarlarindan SA accountuyla driverleri dogrula.

3-SQL PASSWORD RECOVERY uygula 

 
Gönderildi : 06/07/2010 12:14

Paylaş: