ekheir
asked on
connecting client to server sql2008
am receiving the down error while testing a link from my client computer while every thing is ok on the server,both computers are on a domain and i have a domain admin rights
========================== =========
Failed to retrieve data for this request. (Microsoft.SqlServer.Manag ement.Sdk. Sfc)
-------------------------- ----
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&LinkId=20476
-------------------------- ----
Program Location:
at Microsoft.SqlServer.Manage ment.Sdk.S fc.Enumera tor.Proces s(Object connectionInfo, Request request)
at Microsoft.SqlServer.Manage ment.UI.VS Integratio n.ObjectEx plorer.Nav igableItem Builder.Bu ildDynamic ItemWithQu ery(IList nodes, INodeInformation source, INavigableItem sourceItem, String urnQuery, Boolean registerBuilder, Boolean registerBuiltItems)
at Microsoft.SqlServer.Manage ment.UI.VS Integratio n.ObjectEx plorer.Nav igableItem Builder.Bu ildDynamic Item(IList nodes, INodeInformation source, INavigableItem sourceItem, IFilterProvider filter)
at Microsoft.SqlServer.Manage ment.UI.VS Integratio n.ObjectEx plorer.Nav igableItem Builder.Bu ild(INodeI nformation source, INavigableItem sourceItem, IFilterProvider filter)
at Microsoft.SqlServer.Manage ment.UI.VS Integratio n.ObjectEx plorer.Nav igableItem .GetChildr en()
at Microsoft.SqlServer.Manage ment.UI.VS Integratio n.ObjectEx plorer.Exp lorerHiera rchyNode.B uildChildr en()
========================== =========
An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.Conne ctionInfo)
-------------------------- ----
Program Location:
at Microsoft.SqlServer.Manage ment.Commo n.ServerCo nnection.E xecuteRead er(String sqlCommand)
at Microsoft.SqlServer.Manage ment.Smo.E xecuteSql. GetDataRea der(String query)
at Microsoft.SqlServer.Manage ment.Smo.D ataProvide r.SetConne ctionAndQu ery(Execut eSql execSql, String query)
at Microsoft.SqlServer.Manage ment.Smo.E xecuteSql. GetDataPro vider(Stri ngCollecti on query, Object con, StatementBuilder sb, RetriveMode rm)
at Microsoft.SqlServer.Manage ment.Smo.S qlObjectBa se.FillDat a(ResultTy pe resultType, StringCollection sql, Object connectionInfo, StatementBuilder sb)
at Microsoft.SqlServer.Manage ment.Smo.S qlObjectBa se.FillDat aWithUseFa ilure(SqlE numResult sqlresult, ResultType resultType)
at Microsoft.SqlServer.Manage ment.Smo.S qlObjectBa se.BuildRe sult(EnumR esult result)
at Microsoft.SqlServer.Manage ment.Smo.S qlObjectBa se.GetData (EnumResul t erParent)
at Microsoft.SqlServer.Manage ment.Sdk.S fc.Environ ment.GetDa ta()
at Microsoft.SqlServer.Manage ment.Sdk.S fc.Environ ment.GetDa ta(Request req, Object ci)
at Microsoft.SqlServer.Manage ment.Sdk.S fc.Enumera tor.GetDat a(Object connectionInfo, Request request)
at Microsoft.SqlServer.Manage ment.Sdk.S fc.Enumera tor.Proces s(Object connectionInfo, Request request)
========================== =========
Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.
OLE DB provider "SQLNCLI10" for linked server "XXX" returned message "Invalid connection string attribute". (.Net SqlClient Data Provider)
-------------------------- ----
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.00.1300&EvtSrc=MSSQLServer&EvtID=18456&LinkId=20476
-------------------------- ----
Server Name: emad-01
Error Number: 18456
Severity: 14
State: 1
-------------------------- ----
Program Location:
at System.Data.SqlClient.SqlC onnection. OnError(Sq lException exception, Boolean breakConnection)
at System.Data.SqlClient.SqlI nternalCon nection.On Error(SqlE xception exception, Boolean breakConnection)
at System.Data.SqlClient.TdsP arser.Thro wException AndWarning (TdsParser StateObjec t stateObj)
at System.Data.SqlClient.TdsP arser.Run( RunBehavio r runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlD ataReader. ConsumeMet aData()
at System.Data.SqlClient.SqlD ataReader. get_MetaDa ta()
at System.Data.SqlClient.SqlC ommand.Fin ishExecute Reader(Sql DataReader ds, RunBehavior runBehavior, String resetOptionsString)
at System.Data.SqlClient.SqlC ommand.Run ExecuteRea derTds(Com mandBehavi or cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
at System.Data.SqlClient.SqlC ommand.Run ExecuteRea der(Comman dBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
at System.Data.SqlClient.SqlC ommand.Run ExecuteRea der(Comman dBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
at System.Data.SqlClient.SqlC ommand.Exe cuteReader (CommandBe havior behavior, String method)
at System.Data.SqlClient.SqlC ommand.Exe cuteReader ()
at Microsoft.SqlServer.Manage ment.Commo n.ServerCo nnection.E xecuteRead er(String sqlCommand)
==========================
Failed to retrieve data for this request. (Microsoft.SqlServer.Manag
--------------------------
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&LinkId=20476
--------------------------
Program Location:
at Microsoft.SqlServer.Manage
at Microsoft.SqlServer.Manage
at Microsoft.SqlServer.Manage
at Microsoft.SqlServer.Manage
at Microsoft.SqlServer.Manage
at Microsoft.SqlServer.Manage
==========================
An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.Conne
--------------------------
Program Location:
at Microsoft.SqlServer.Manage
at Microsoft.SqlServer.Manage
at Microsoft.SqlServer.Manage
at Microsoft.SqlServer.Manage
at Microsoft.SqlServer.Manage
at Microsoft.SqlServer.Manage
at Microsoft.SqlServer.Manage
at Microsoft.SqlServer.Manage
at Microsoft.SqlServer.Manage
at Microsoft.SqlServer.Manage
at Microsoft.SqlServer.Manage
at Microsoft.SqlServer.Manage
==========================
Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.
OLE DB provider "SQLNCLI10" for linked server "XXX" returned message "Invalid connection string attribute". (.Net SqlClient Data Provider)
--------------------------
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.00.1300&EvtSrc=MSSQLServer&EvtID=18456&LinkId=20476
--------------------------
Server Name: emad-01
Error Number: 18456
Severity: 14
State: 1
--------------------------
Program Location:
at System.Data.SqlClient.SqlC
at System.Data.SqlClient.SqlI
at System.Data.SqlClient.TdsP
at System.Data.SqlClient.TdsP
at System.Data.SqlClient.SqlD
at System.Data.SqlClient.SqlD
at System.Data.SqlClient.SqlC
at System.Data.SqlClient.SqlC
at System.Data.SqlClient.SqlC
at System.Data.SqlClient.SqlC
at System.Data.SqlClient.SqlC
at System.Data.SqlClient.SqlC
at Microsoft.SqlServer.Manage
Ensure that you have specified a password for this account
How are you testing the connection to SQL Server?
have credential problems... if you really want anonymous logins, password is normally an e-mail address.
are you actually connecting in the first place ?
ASKER
iam not connecting throught the ANONYMOUS LOGON ,am using a domain admin user but while making test for the connection iam receiving the above msg ,yesterday while iam trying to fix this problem i changed the config in CLICONFG.EXE and iam receiving the account that iam connecting on the server but even its not working, i attached a pic for the new error,
when iam using the client i can connect to the server and every thing is ok ,i can modifiy users,link,creating database ,................ else when iam using the linked server links iam facing this problem,
sql2008-error1.JPG
when iam using the client i can connect to the server and every thing is ok ,i can modifiy users,link,creating database ,................ else when iam using the linked server links iam facing this problem,
sql2008-error1.JPG
have you added a login to the linked server ? as in sp_addserverlogin ? Otherwise it is trying to pass the current SQL Server credentials as the login credentials to the other server...
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Also, goto SQL Server Configuration Manager , and enable Named Pipe - normally brings up a different error, but might be worth a go...
ASKER
named pipe is already enabled plus the tcp and the shared memory on the server and the client,
i done the remote login but still the same
i done the remote login but still the same
ASKER
is there any other solution ?
Would now suggest a network security / credentials issue...
ASKER
can u tell me how can i check for the network security?
Have a look at http://support.microsoft.com/kb/925744/en-us and follow the links - should give you more help...
you might want to create a specific user who is also part of windows authentication and use that person to login - make sure there is no special characters such as ; in the password - it causes problems...
also make sure you can connect to the linked server via the sql server you are logging into... it sounds like it is trying to pass an unknown user and failing immediately - hence the addlinkedsrvlogin tip...
also have a quick look at http://msdn.microsoft.com/en-us/library/ms366351.aspx and follow some of those links.
you might want to create a specific user who is also part of windows authentication and use that person to login - make sure there is no special characters such as ; in the password - it causes problems...
also make sure you can connect to the linked server via the sql server you are logging into... it sounds like it is trying to pass an unknown user and failing immediately - hence the addlinkedsrvlogin tip...
also have a quick look at http://msdn.microsoft.com/en-us/library/ms366351.aspx and follow some of those links.
with regard that last link, need to ascertain the correct error message... the 'public' message is kept fairly nondescript to prevent information disclosure to unauthenticated clients. To determine the true reason for the failure, look in the server's error log where a corresponding entry will be written. that is where you will get the "real" state as given in : http://msdn.microsoft.com/en-us/library/ms366351.aspx