Not able to access database from a remote machine using SQL Server Management Studio

Hi,
I have a DB_BOX with SQL Server 2008 R2 installed. I can access the databases on the local machine using SQL Server Management Studio but it is not accessible from other machines, though the machines are in same domain.
I have remote enabled on SQL Server box, TCP enabled, firewall off. I checked with IP Address too, all SQL Server services are running.
The SQL Server log shows the message
The requested service has been stopped or disabled and is unavailable at this time. The connection has been closed.
I get the below message in SSMS from remote machine.
Details of error message are
===================================
Cannot connect to DB_BOX.
===================================
A connection was successfully established with the server, but then an error occurred during the login process. (provider: TCP Provider, error: 0 - The specified network name is no longer available.) (.Net SqlClient Data Provider)
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=64&LinkId=20476
Server Name: DB_BOX
Error Number: 64
Severity: 20
State: 0
Program Location:
   at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
   at System.Data.SqlClient.TdsParserStateObject.ReadSniError(TdsParserStateObject stateObj, UInt32 error)
   at System.Data.SqlClient.TdsParserStateObject.ReadSni(DbAsyncResult asyncResult, TdsParserStateObject stateObj)
   at System.Data.SqlClient.TdsParserStateObject.ReadNetworkPacket()
   at System.Data.SqlClient.TdsParserStateObject.ReadBuffer()
   at System.Data.SqlClient.TdsParserStateObject.ReadByte()
   at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
   at System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK)
   at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject)
   at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart)
   at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance)
   at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance)
   at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection)
   at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup)
   at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
   at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
   at System.Data.SqlClient.SqlConnection.Open()
   at Microsoft.SqlServer.Management.SqlStudio.Explorer.ObjectExplorerService.ValidateConnection(UIConnectionInfo ci, IServerType server)
   at Microsoft.SqlServer.Management.UI.ConnectionDlg.Connector.ConnectionThreadUser()

Sorry, missed the message from the errorlog in the original post. You shouldn't have included that big .Net dump that hid the important facts. :-)
My first Google attempt on that message (which I have never seen before) suggests that the TCP Enpoint is stopped, so try this:
ALTER ENDPOINT [TSQL Default TCP]
STATE=STARTED;
Erland Sommarskog, SQL Server MVP, [email protected]
This solves the problem. Thanks...

Similar Messages

  • Not able to connect database from another os user using externally?

    Hi,
    I want to connect database from another os user. i am able to connect database from oracle externally. but not able to connect different OS user.
    As ORACLE User:
    [oracle@test1 admin]$ sqlplus /
    SQL*Plus: Release 11.2.0.2.0 Production on Mon Jan 16 19:41:57 2012
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL>
    Non ORACLE user:
    [sample@test1 ~]$ export ORACLE_HOME=/u01/app/oracle/product/11.2.0.2/
    [sample@test1 ~]$ export ORACLE_SID=rman
    [sample@test1 ~]$ export PATH=$ORACLE_HOME/bin:$PATH
    [sample@test1 ~]$ sqlplus /
    SQL*Plus: Release 11.2.0.2.0 Production on Mon Jan 16 19:37:42 2012
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux Error: 2: No such file or directory
    Process ID: 0
    Session ID: 0 Serial number: 0
    Enter user-name:
    Thanks

    You didn't install Oracle correctly, especially you didn't run the root.sh and rootpre.sh scripts.
    If you would have read the error message at all, and researched it, you would have known this.
    Regrettably however you decided to ignore Forums Etiquette and to abuse this forum with Yet Another Doc Question.
    Sybrand Bakker
    Senior Oracle DBA

  • HT1338 not able to access my external hd which i used on my windows pc ntfs3g and mac fuse aren't helping what to do?

    not able to access my external hd which i used on my windows pc ntfs3g and mac fuse aren't helping what to do?

    Bump-I still really need help with this! The connection keeps cutting in and out and I really don't know how to fix it!

  • Can not connect the database via query string (C#). The SQL Server Management Studio is showing the full path of a location instead of database name.

    I can not connect to the database via C#. The database is showing full path of the database file instead of the database name. See the pic: a database showing only name 'emart' and the other database showing the full path.
    : Robby

    Hi,
    According to your post, I know that the database name is showing file path of the database rather than the database name in SQL Server Management Studio. You were not able to
    establish a connection to the database using C#.
    As Olaf said, was any error message thrown out when the connection failed? How did you create these databases?
    You can use the following T-SQL to attach the database and see if the issue persists.
    CREATE DATABASE
    databasename
        ON (FILENAME = 'filepath _Data.mdf'),
        (FILENAME = 'filepath_Log.ldf')
    FOR ATTACH;
    Thanks.
    Tracy Cai
    TechNet Community Support

  • Cannot connect to any database either in Azure or Sql Server Management Studio

    I'm unable to connect, this page just hangs on azure and from sql server management studio I get the following error - A Network-related or instance-specific error occurred while establishing a connection to SQL Server,

    Hello,
    Before you can connect to your SQL Database server, you must use the
    Windows Azure Platform Management Portal to configure the SQL Database firewall: on the Firewall Rules tab of the SQL database server, add the IP address of your computer into the IP address range.
    What's more,Windows Azure SQL Database does not support Windows Authentication. Please use SQL Server authentication in your connection string.
    Reference:How to: Configure the Server-Level Firewall Settings (Windows Azure SQL Database)
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • How to recover deleted attached mdf file from sql server management studio

    Hi everyone
    I've faced very bad problem
    I had a mdf file that created in visual studio, and then I had attached this file to sql server management studio and after that, when I wanted to deattach
    this file I had a big mistake; and deleted the mdf file; then now this file was deleted from my computer
    I test several recovery tools but they can't find deleted mdf file; the volume of the mdf file was more than 2 GB.
    Please help me if you can

    Hello,
    If you don't have a backup of the database, then it's not really possible to get it back. There are some "Undelete" Tools available for Windows, but when even only one page was overwritten on disk, then it's not possible to recover it.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • Can I use Microsoft SQL Server Management Studio version 11.0 to write SQL queries for "SQL Server Compact 4.0 Local Database"

    Hi, Can I use Microsoft SQL Server Management Studio version 11.0 to write SQL queries for "SQL Server Compact 4.0 Local Database" ?
    When I use Connect Object Explorer, the "Connect to Server" dialog box which pops up has only 4 selections in the Server Type Drop Down List. They are Database Engine, Analysis Services, Reporting Services & Integration Services. I have read
    somewhere that there should be a compact database option. but I do not see it.
    What I would like to do is use free form SQL Queries against the tables in "SQL Server Compact 4.0 Local Database" .
    Once I have validated these queries, then I will use them in my Visual Studio 2012 C#, ASP.NET application. I created the Local Database using Visual Studio 2012 for use by my application.
    Thank you for your help..
    diana4

    Hello,
    With SSMS 2005 we have had the Option to work with SQL CE database files, but not with higher Version of SSMS.
    You can use the free SQL CE Toolbax instead; see
    http://sqlcetoolbox.codeplex.com/
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • Problem to create "New Database Diagram" in Microsoft SQL Server Management Studio for SQL Server 2012 SQL Express

    Hi,
    I have installed SQL Server 2012 Express edition (name of installation media: en_sql_server_2012_express_edition_with_advanced_services_x64.exe) from MSDN and I have installed the application on my pc with Windows 7 Exterprise.
    Everything is working fine except when I am trying to create "New Database Diagram", where I recieve following error message:
    TITLE: Microsoft SQL Server Management Studio
    Attempted to read or write protected memory. This is often an indication that other memory is corrupt. (Microsoft.VisualStudio.OLE.Interop)
    BUTTONS:
    OK
    I have tried two times to reinstall SQL Server 2012 Express and I have installed Cumulative Update #3 for SQL Server 2012 and restarted the machine, but I have still the same problem with the same error message.
    Installed the following fixes:
    1) 2012_RTM_DAC_CU3_2723749_11_0_2332_x64
    2) SQLServer2012_RTM_CU3_2723749_11_0_2332_x64
    These files was installed successful.
    How can I solve the problem?
    BR
    Jan Nilsson

    Hi Jan,
    Have you installed Visual Studio in your machine?
    The problem seems to be related to installing and uninstalling the VS 2011 RC0 program.
    The workaround involves copying the files from another PC with SQL 2008 or 2012 from one machine to another. Just replace this folder:
    C:\Program Files (x86)\Common Files\microsoft shared\MSDesigners8
    See also the following for further details:
    http://social.msdn.microsoft.com/Forums/en-GB/vstsdb/thread/d65c71f5-3887-4f2a-bbd3-e799a4ac6fdc
    Best Regards,
    Iric
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • Error Message from Microsoft SQL Server Management Studio

    I have problem editing the views that I created.  I never have this problem before and I don't know if
    I have touched something on the pane that alters my viewing on Microsoft SQL Server Management Studio.  For example, if I want to edit the top 200 rows of my view called dbo.sl_admission_reg9, it will give me this error:
    Invalid prefix of suffix characters (MS Viual Database Tools).
    Please help.
    Thank you very much.
    Sally

    Are you trying to edit the top 200 rows of a SQL Server 2012 database using the 2008 R2 SQL Server Management
    Stud? If so you just need to upgrade SQL Server Management Studio to 2012 or edit the rows using a SQL query.
    [Personal Site] [Blog] [Facebook]

  • Using LV 8.6 to access database created in MS SQL Server Management Studio

    I am using Labview 8.6 to access a database created in MS SQL Server Mgmt Studio, using LabSQL ADO utilities. I don't have LV's add-on DB connectivity toolkit, but just the ADO utilities. Can i do it? If yes, how? I have no experience whatsoever in connecting and accessing data from a DB. An example would help.
    Thanks,

    Szi wrote:
    As for my opinion you cant access without DB connectivity toolkit.
    Nonsense.
    With LabSQL, you should first find an on-line SQL tutorial and refer to the Microsoft help files. I would recomend creating a UDL file. This is the connection string you use for the ADO Connection Open function. You might want to to get a little help from the db administrator. You'll certainly need help in getting a login and password.
    There are examples that come with LabSQL

  • Remove Deteled Databases from SQL Server Management Studio List

    Hi,
        I am using SQL Server Express 2008 Management Studio & in the databases list are some databases that are non existent (have been deleted in Windows Explorer). How do I remove them as trying to delete when logging in using Windows authentication
    fails?
    Thanks
    Paul.
    Paul Wainwright

    Hi pr_wainwright,
    I’m writing to follow up with you on this post. Was the problem resolved after performing our action plan steps? According to your description and error message, we need to verify if your windows login account has sysadmin permission. The error 3701 occurs
    when you use an account to execute the script who has not grant the permission about modifying database properties and creating database. I do a test, when the SQL Server Service is stop, I delete the data and log file of database from Windows Explorer, then
    restart the service again, and connect to the SQL Server instance via windows login account which is sysadmin role. In SSMS list, you can right click the database and choose “ delete” option. Or you also use the drop statement by using master database first.
    and two ways can all run well.
    Regards,
    Sofiya Li
    If you have any feedback on our support, please click here.
    Sofiya Li
    TechNet Community Support

  • How to create a database in Sql server management studio

    how to create a database in Sql server management studio

    One method is to run the SQL statement below from a SSMS query window:
    CREATE DATABASE MyDatabase;
    You can also right-click on the Databases node in SSMS Object explorer and select New Database.
    Dan Guzman, SQL Server MVP, http://www.dbdelta.com

  • Running .exe file on remote computer using SQL server Agent JOb

    I am trying to run exec file on a remote server by using sql server Agent job, 
    what is the best way to do this
    k

    Configure it as an operating system job step:
    http://technet.microsoft.com/en-us/library/ms190264.aspx
    Alternate: build an SSIS package and schedule it as a job.
    Kalman Toth Database & OLAP Architect
    SELECT Video Tutorials 4 Hours
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

  • I am not able to access Itunes from I movie

    I cant see or access I tunes from I movie. Nor I photo. I am not able to add music or photos to my movie. What can be happening?

    Temporarily disable any security software on the computer and try again.
    If it works, contact whomever supports the security software for assistance on configuring it to not interfere with iTunes.

  • Not able to access files from Workspace Images and Static files

    Hi,
    We have just migrated our APEX Application from one server to another.
    All the functionality is working fine except the images or files which we are uploading
    in
    Shared Components -> Static Files
    Shared Components -> Images
    We are uloading Images in Shared Components -> Images but those are not getting displayed there.
    Similarly the files which we are uploaded in Shared Components -> Static Files are not accessible. If we
    try to download using download icon its showing blank screen.
    I am using some javascript files which i have uploaded into static files, but not able to refer them in page.
    Please someone guide us how to resolve the above problem.
    Thanks in advance.
    Thanks & Regards
    Sanjay
    Edited by: user11204334 on May 25, 2010 1:35 AM
    Edited by: user11204334 on May 25, 2010 3:45 AM

    Hello Sanjay,
    If you upload any static files such as IMAGES, FILES, or CSS you have to use the tags: #WORKSPACE_IMAGES# or #IMAGE_PREFIX# depending on your files location..
    then try something like htp.p ('<img src="#IMAGE_PREFIX#fileName.gif" />');
    And it should show the fileName.gif on your browser...
    I am not sure if i remember correctly, you can reference files to a specific application or to the whole application, if I am not mistaken..Correct me..
    Regards,
    Noel Alex Makumuli,
    Tanzania

Maybe you are looking for

  • Checkbox as itemrenderer in flex 3

    Hi, I have used checkbox as itemrenderer in a list control.. were i need to select only one checkbox.. On selection of other checkbox the previous selection should get deselected.. I tried with this code but its working fine when i use list.executebi

  • Lets get Apple to increase the audio levels again

    Hi everyone! Well, I sold my 2.16 C2D on eBay and I just bought the new 2.2 model. I broke even selling the old and buying this one. So I think its a great deal. Anyway, I'm happy with the new machine. Speed and everything else is the same to me but

  • Can someone help with finding Abode Australia phone number?

    This is my first experience at trying to purchase from Abode.  I placed an order for my son, educational discount, and went back 2 days later to send his photo ID as required.  I thought I did thi when I hit 'review and submit' but nothing happened. 

  • SPOOL file path

    How/Where to check the path for SPOOL File in SQL. I am getting the following error while spooling: SP2-0606: Cannot create SPOOL file "A.LST" Pls suggest.

  • Opening a km folder using WebDav url

    Hi all I am trying to open a folder in km using the webdav url via explorer. I get a message : The folder you are looking for has no displayable content. You can try one of the following: Access the folder using the Navigation user interface. Access