Oracle 8i - Remote connection

Hi All
I have installed Oracle 8i in two different networks(both are LAN). I need to remotely connect to Oracle in other network from my home network via VPN.
(I have already setup VPN connection between these to nework)
Is this possible. If so how can i connect. Please reply me.
Many Thanks

Prince0606 wrote:
Hi All
I have installed Oracle 8i in two different networks(both are LAN). I need to remotely connect to Oracle in other network from my home network via VPN.
(I have already setup VPN connection between these to nework)
Is this possible. If so how can i connect. Please reply me.
Many Thanks
8i is obsoleted & unsupported this whole Century.
Both problem & solution are external to Oracle and are basic OS/Networking configuration issues.
You decided we did not need to know OS name or version for either system & solution specifics are OS depenedent.
How do I ask a question on the forums?
https://forums.oracle.com/message/9362002#9362002

Similar Messages

  • Oracle 11g Remote Connection issue

    When I try to connect to Oracle database remotely using SQLPlus or SQLDeveloper I get the following error.
    ORA-01017: INVALID USERNAME/PASSWORD; logon denied.
    Server details:
    Oracle 11g on Enterprise Linux 4
    I can connect using SQLPlus on the server.
    SHOW SQLCASE is MIXED
    Client details:
    Windows Server 2003 enterprise Edition
    Oracle 11g Client.
    From remote computer my TNSPING to that server works perfectly.
    For the same connection string I can’t connect from client. I am sure I am not typing bad password.
    Any thought on this will be helpful.
    Thank you,
    Smith

    Did the following steps and still not able to connect.
    1. Cross checked that the REMOTE_LOGIN_PASSWORDFILE is set to EXCLUSIVE.
    2. Created the PASSWORD file at the server using the tool ORAPWD
    3. Restarted the server and started the Oracle listener and database.
    4. Connected to the database using PLSQL in server to make sure it works fine there.
    5. Checking at the client box to connect to the database. It fails and I am looking for help again at forum.
    Now it is connecting using remote connection(sqlplus and sqlDeveloper) to the server. Interestingly the password are not the same when I connect remotely and from the server.
    I am sure it is connecting to the same database both the occasion. I shut down the server and try to connect or v$version results indicates that I connecting to the same database.
    Any jestification on this? I am getting lost here.
    Thank you,
    Smith
    Edited by: user517525 on Feb 16, 2010 1:44 PM
    Edited by: user517525 on Feb 16, 2010 2:22 PM

  • Oracle XE- Remote client Connect ?

    Is XE like the old personal oracle where it is installed on a developers local machine and user access is only through a local SQLPLUS connection (or some development tool local to the XE database), or can it be accessed by a remote client OCI, JDBC , etc.

    Yes remote connections are allowed. If they are enabled and allowed by the host.
    If the client has the correct configuration to get to the database, the database listener is running, and the host does not have the listener port blocked in the firewall.
    If you don't want remote connections, stop the listener. Or leave the listener port blocked in the firewall that will have the same effect as stopping the listener.
    Or shutdown the database. That will also have the same effect.

  • Problem in Running the Oracle Installer Remotely

    Hi,
    I installed the Oracle 10g on Enterprise Linux 4.5. The installer runs fine on the linux host successfully. And install the oracle software. Now I want to run Oracle installer remotely from my windows xp workstation but It is failing. Also I want to run DBCA remotely. But it also failed. Can anyone help me with this problem. On local linux machine every things works fine. I can run xclock as well locallay.
    I need step by step instructions please. I am totally new in this.
    I am using SSH connection to access my Linux box. ( I am using PuTTY ssh/telnet client).
    Do I need to set any environment variable as linux user in my .bashrc file (Profile file). If so what is that.
    Do I need to modify any file at Linux server for X forwarding. ( I am not at all familiar about X forwarding, how or when to configure it and why). If so what all things I need to do.
    Any setting at my windows xp work station.
    Any other recommended ssh/telnet client to use instead of PuTTY.
    Many Thanks in Advance.
    Asif
    Message was edited by:
    user575045

    Hi Madrid,
    According to your instructions I started vncserver at Linux box. Now from my windows workstation I want to connect to linux. Can you recommend a good vnc client. I google and saw mostly vnc software is for windows. I tried TightVNC Viewer but I dont not connecting to the linux server. Once I provide the IP for Linux server It is giving me the errors that it could not find any vncserver. On linux I am running the vncserver. From my windows box I can ping the Linux server.
    Any help or recomendation in this regard will be highly appreciated.
    Thanks
    __Asif

  • Need helps for remote connection issue

    Dear guys,
    Today, I got a problem regarding remote connections. My Oracle stopped responding to remote connections. (tried to connect by sqlplus with service name, and sqlplus hung) Tnsping works. Local connection works (tried to connect by sqlplus without service name).
    Have to stutdown by sqlplus and oracle did not respond. Shutdown the server (windows server 2003 standard edition), system stop responding (guess it was caused by oracle service). Had to shutdown by pushing the power button. After it restarts, everything come back to normal. No error is logged in alert log.
    Any ideas regarding this issue? Many thanks.
    G.B.
    Still studying this issue. Found an SQLNET.log in the %ORACLE_HOM%/NETWORK/LOG fould. It reads:
    Fatal NI connect error 12638, connecting to:
    (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
    VERSION INFORMATION:
         TNS for 32-bit Windows: Version 10.1.0.2.0 - Production
         Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 10.1.0.2.0 - Production
    Time: 06-APR-2006 10:43:52
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12638
    TNS-12638: Credential retrieval failed
    ns secondary err code: 0
    nt main err code: 0
    nt secondary err code: 0
    nt OS err code: 0
    Seems it's related to authentication service issue. So, I just commented out SQLNET.AUTHENTICATION_SERVICES= (NTS) from sqlnet.ora even my database functions well after restart. But I'm not sure if this is the solution and still wondering what's the root cause of this error.
    Message was edited by:
    G.B.Q.

    Hi there!
    Modify the following entry in sqlnet.ora
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    to
    SQLNET.AUTHENTICATION_SERVICES= (beq,none)
    and you will be fine,
    Regards,
    Jay Munshi
    http://jaydba.tripod.com

  • Remote connection with best performance?

    I tried vnc and it was awfully slow, now I am trying nx, it is way better than vnc but still I am not really satisfied...do you know anything else that can be faster than nx remote connection right now? Or should I just hope splashtop releases  a linux streamer?

    I am using Oracle 11g as an Oracle database server. My client have to install[b] "ORACLE CLIENT" before using the product.
    How we can use oracle database in the web? It is not possible or feasible to install oracle client in each and every workstation.
    Please Help....

  • Exposing MBeans to JRocket mission control(Remotely connected)

    HI,
    We could see the MBeans of following types in JRockit Mission Control which is connected to external wls.
    JMImplementation
    bea.jrockit.management
    com.sun.management
    java.lang
    java.util.logging
    oracle.javatools.cache
    jrockit.synthetic.
    But we would like to get the alert when the wls server Health status is in Warning status.
    This information is available in com.bea.* MBeans which we could not see in remotely connected JRockit Mission Control.
    HOw can we expose com.bea.* MBeans to the externally connected JRockit Mission Control?
    Thanks,
    Surender.

    You need to connect to the relevant WLS MBeanServer tree -- not just the platform JDK MBeanServer as you are doing.
    I'd suggest a quick scan through this to get a picture of how JMX is exposed with WLS:
    http://download.oracle.com/docs/cd/E12839_01/web.1111/e13728/toc.htm
    -steve-

  • Remote connect to 10G database

    Dear,
    Hwo can i remote connect 10g database use sqlplus? for example I have a server Ip address is 123.123.0.1 with database name fin. What should i type on host string on remote sqlplus client?
    Rg

    Assuming you're using TCP/IP protocol and your Client is 10g, you could try using easy connect naming method :
    sqlplus <username>/<password>@<host name or IP address>:<port number>/<SID>
    for example
    sqlplus scott/[email protected]:1521/fin
    See http://download-uk.oracle.com/docs/cd/B19306_01/network.102/b14212/naming.htm#ABC524382SRI12

  • Error while creating a report that uses Oracle OCI JDBC connectivity

    Please let me know why my CR and LF characters are removed from my forum posting *****
    Hi,
    I was trying to create a report that uses Oracle OCI JDBC connectivity. I am using Eclipse3.4 download from "cr4e-all-in-one-win_2.0.2.zip".  I have successfully created a JDBC OCI connection.
    The connection parameters are given below:
    URL: jdbc:oracle:oci8:@xe
    Database: xe
    username: <userName>
    password: <password>
    I have tested the above connection in Data source Explorer and it works fine!!!
    But I am getting the following error when I drag-and-drop a table from the list of tables. Not sure what I am missing here?  Any help is highly appreciated.
    com.businessobjects.reports.jdbinterface.common.DBException: InvalidURLOrClassName
         at com.crystaldecisions.reports.queryengine.driverImpl.jdbc.JDBCConnection.Open(Unknown Source)
         at com.crystaldecisions.reports.queryengine.JDBConnectionWrapper.Open(SourceFile:123)
         at com.crystaldecisions.reports.queryengine.Connection.br(SourceFile:1771)
         at com.crystaldecisions.reports.queryengine.Connection.bs(SourceFile:491)
         at com.crystaldecisions.reports.queryengine.Connection.t1(SourceFile:2979)
         at com.crystaldecisions.reports.queryengine.Table.u7(SourceFile:2408)
         at com.crystaldecisions.reports.dataengine.datafoundation.AddDatabaseTableCommand.new(SourceFile:529)
         at com.crystaldecisions.reports.common.CommandManager.a(SourceFile:71)
         at com.crystaldecisions.reports.common.Document.a(SourceFile:203)
         at com.businessobjects.reports.sdk.requesthandler.f.a(SourceFile:175)
         at com.businessobjects.reports.sdk.requesthandler.DatabaseRequestHandler.byte(SourceFile:1079)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1163)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:657)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:163)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:525)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:523)
         at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
         at java.util.concurrent.FutureTask.run(Unknown Source)
         at com.businessobjects.crystalreports.designer.core.util.thread.ExecutorWithIdleProcessing$3.doWork(ExecutorWithIdleProcessing.java:182)
         at com.businessobjects.crystalreports.designer.core.util.thread.AbstractCancellableRunnable.run(AbstractCancellableRunnable.java:69)
         at com.businessobjects.crystalreports.designer.core.util.thread.PriorityTask.run(PriorityTask.java:75)
         at com.businessobjects.crystalreports.designer.core.util.thread.PriorityCompoundCancellableRunnable.runSubtask(PriorityCompoundCancellableRunnable.java:187)
         at com.businessobjects.crystalreports.designer.core.util.thread.PriorityProgressAwareRunnable.runSubtask(PriorityProgressAwareRunnable.java:90)
         at com.businessobjects.crystalreports.designer.core.util.thread.PriorityCompoundCancellableRunnable.doWork(PriorityCompoundCancellableRunnable.java:144)
         at com.businessobjects.crystalreports.designer.core.util.thread.AbstractCancellableRunnable.run(AbstractCancellableRunnable.java:69)
         at com.businessobjects.crystalreports.designer.core.util.thread.ExecutorWithIdleProcessing$IdleTask.run(ExecutorWithIdleProcessing.java:320)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Thanks
    Karthik
    Edited by: KARTHIK1 on Oct 14, 2009 9:38 PM

    Hi Ted,
    Thanks for the feedback. I was able to create a report in Creystal Reports Designer 2008 using OCI.  It is not allowing only in the Eclipse plugin. In our environment we are not allowed to user Oracle thin connections and ONLY OCI is allowed.
    1) Can you please let me know if there is a way to do this? 
    2) Will it allow data sources using native database driver?
    3) If so, can I use JRC to create these reports from a desktop java program?
    Thanks & Regards
    Karthik
    Edited by: KARTHIK1 on Oct 15, 2009 4:38 PM

  • 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. (p

    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: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)(Microsoft SQL Server, Error: 2)
    The system cannot find the file specified
    Cannot connect to COWBOYS.
    Here are the technical details===================================
    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:
    Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (.Net SqlClient Data Provider)
    For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&EvtSrc=MSSQLServer&EvtID=2&LinkId=20476
    Error Number: 2
    Severity: 20
    State: 0
    Program Location:
       at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
       at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
       at System.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean withFailover)
       at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
       at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer
    timeout)
       at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
       at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance,
    SqlConnectionString userConnectionOptions, SessionData reconnectSessionData)
       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.SqlStudio.Explorer.ObjectExplorerService.ValidateConnection(UIConnectionInfo ci, IServerType server)
       at Microsoft.SqlServer.Management.UI.ConnectionDlg.Connector.ConnectionThreadUser()
    ===================================
    The system cannot find the file specified
    I have tried from so many forms. This is so frustrating. Thank for everyone/anyone who wants to help. So this is what happened: I had to uninstall my previous sqlserver 2012(which worked great) for some reason, and I uninstalled everything from that download.
    Then I installed the trial edition of sql server 2012 (64 Bit) and It wouldn't connect to the database. (Error mentioned above.) My local DB is COWBOYS. (COWBOYS is also my computer name.) After this, I have tried downloading sqlexpress and sqlserver 64bit
    many times and cannot connect to my local DB. 
    How do I connect to my Local DB? 
    Also, I think this might help: (When I run sqlserve.exe, which I was able to find in C:\Program Files\Microsoft SQL Server\110\LocalDB\Binn, I get an error: Your SQL server installation is either corrupt or has been tampered with(Error getting
    instance ID from name). Please uninstall then re-run setup to correct this problem.
    I would happily re install it, if it wasn't my 20th time.
    I don't have any remote connections, I don't use username/password, only window authentication. I work mostly on visual studio, but without able to store /retrieve data, I don't know how to survive.
    May be the solution is very simple, but I am too frustrated. 
    Some of the things I have tried:
    From a command prompt, enter one of the following commands:
    net start "SQL Server Agent (MSSQLSERVER)" OR 
    net start "SQL Server Agent(instancename)"(for instance)
    on my sql configuration, I cannot start anything because there is nothing there to start. I can post more details, if that would help. Also, some more details about the error:
    Details
    Product:
    SQL Server
    ID:
    2
    Source:
    MSSQLServer
    Version:
    10.0
    Component:
    SQLEngine
    Message:
    An error has occurred while establishing a connection to the server. When connecting to SQL Server, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error:
    40 - Could not open a connection to SQL Server) (.Net SqlClient Data Provider)
    Explanation
    SQL Server did not respond to the client request because the server is probably not started.
    User Action
    Make sure that the server is started.
    Version:
    9.0
    Component:
    SQLEngine
    Message:
    An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error:
    40 - Could not open a connection to SQL Server) (.Net SqlClient Data Provider)
    Explanation
    SQL Server did not respond to the client request because the server is probably not started.
    User Action
    Make sure that the server is started.
    Any one that can help me, I will be greatful. Thank you so much. p.s. please ask me anything if you have any questions.

    It sounds like there are a couple things going on here.  First check if you have a successful install of SQL Server, then we'll figure out the connection issues.
    Can you launch SQL Server Configuration Manager and check for SQL Server (MSSQLSERVER) if default instance or SQL Server (other name) if you've configured your instance as a named instance.  Once you find this, make sure the service is started. 
    If not started, try to start it and see if it throws an error.  If you get an error, post the error message your hitting.  If the service starts, you can then launch SSMS and try to connect.  If you have a default instance, you can use the machine
    name in the connection dialog.  Ex:  "COWBOYS" where Cowboys is the machine name.  However, if you named the SQL Server instance during install, you'll need to connect using the machine\instance format.  Ex:  COWBOYS\Romo (where Romo
    is the instance name you set during install).
    You can also look at the summary.txt file in the SQL Server setup error logs to see what happened on the most recent install.  Past install history is archived in the log folder if you need to dig those up to help troubleshoot, but the most
    recent one may help get to the bottom of it if there is an issue with setup detecting a prior instance that needs to be repaired.
    Thanks,
    Sam Lester (MSFT)
    http://blogs.msdn.com/b/samlester
    This posting is provided "AS IS" with no warranties, and confers no rights. Please remember to click
    "Mark as Answer" and
    "Vote as Helpful" on posts that help you. This can be beneficial to other community members reading the thread.

  • Thinking of making the switch--Will I be able to remotely connect?

    I'm yearning to return to the Apple fold having left years ago after owning mutliple Apple ][ +'s, e's, c's and GS's. I've been in the PC environment for years but want to come back. I currently use PC's in three locations: at work, at my primary home and my secondary home. I work at a university and do a lot of work from home--my primary home during the academic year and my secondary home during the summer. I currently use Windows XP Pro and the Windows Remote Desktop allows me to connect directly to my work computer for everything, email, file manipulations, creation of Word, PowerPoint, etc., so to others it appears I'm in the office for everything--if only I could get it to answer my phone!
    It's time for me to replace my computer at the office and I have the opportunity to get a very capable Mac Pro and I really want to do this, but I can't without figuring out the work from home connection. I've read a little about the Apple Remote Desktop but it seems to be way more than I need--it's an IT systems administrator tool.
    I can probably upgrade at my primary home later this year but the opportunity to make the change at work will be near term as we approach the end of our fiscal year (30 June). And I probably cannot personally afford Macs at both my primary and secondary homes this year. So my question is two fold:
    1-for the long term, if I did have Macs at all three locations, could I remotely connect to my work desktop and work from home?
    2-for the short term, if I had a Mac Pro at work but Windows XP Pro machines at home, is there any technology that would allow me to connect from my Windows PCs at home to my Mac desktop at work?
    Sorry for the long post, but I'm trying to figure out how to come back...

    ARD is nothing more than VNC.
    1) Yes, but it will be PAINFULLY slow since you'll need to use VNC. ARD uses uncompressed (and with no encryption) VNC, but you can get 3rd party VNC servers and clients (Chicken of the VNC, Vine, etc.).
    2) Yes, you will need to use VNC. Again. Painful. Slow. Now, if you wanted to connect from a Mac to an XP Pro box, you could use Remote Desktop Connection (RDP) from Microsoft (http://www.microsoft.com/mac). That is fairly quick.

  • How many users for remote connection can I  create, from support SAP

    Dear all
    I have a doubt with how many users can be created in my system ERP 6.0 for the remote connection, for the error product  messages on the marketplace SAP,without this counts as user license.
    I have not found any notes or documents from SAP to explain this.
    I appreciate your help.
    Best Regards,
    Erika

    Ok...I will reply to myself. I can use more than 10 simultaneous connection, using vnc.

  • How to Configure Remote Connections To SQL Server 2008 R2 Express

    Post written June 10, 2010 and pertains to:
    SQL Server 2008 R2 Express on both my server and local machines: SQLX_SRV,
    SQLX_LOC
    SQL Server 2008 R2 Management Studio on both my server and local machines:
    MS_SRV, MS_LOC
    Windows Server 2008 R2 Enterprise installed on a Hyper-V VPS: WS
    SQL Server Configuration Manager on both my server and local machines:
    CMGR_SRV, CMGR_LOC
    Server Manager: SMGR
    I am connecting to my hosting server via Remote Desktop Connection: RDC
    I installed SQLX_SRV and MS_SRV on my hosting server and SQLX_LOC and MS_LOC on my local development machine.  I am able to use MS_LOC to connect to SQLX_LOC and to use MS_SRV to connect to SQLX_SRV.  However I am not able to use MS_LOC to connect
    with SQLX_SRV.  Here's what I have done so far:
    SMGR -> Configuration -> Windows Firewall to turn off the Windows Firewall for Domain, Private and Public profiles.  Obviously I'll change this later, but until I can connect I want to remove as many variables as possible.
    CMGR_SRV -> SQL Server Services to confirm that both SQL Server (SQLEXPRESS) and SQL Server Browser services were running.
    CMGR_SRV -> SQL Server Network Configuration -> Protocols for SQLEXPRESS to ENABLE the Shared Memory, Named Pipes, and TCP/IP protocols and DISABLE the deprecated VIA protocol.
    CMGR_SRV -> SQL Server Network Configuration -> Protocols for SQLEXPRESS -> double click TCP/IP to open the TCP/IP properties dialogue.  On the Protocol tab Enabled: Yes, Keep Alive: 30000, changed Listen All to No.  I've tried it both
    ways, but I've got six IP addresses on my server and I wanted to configure SQLEXPRESS to listen to only the first and primary IP.  On the IP Addresses tab went to IPALL and cleared the TCP Dynamic Ports field and entered 1433 in the TCP Port field. 
    For my first and primary IP Address I made sure that Enabled was Yes, I cleared the TCP Dynamic Ports field, and entered 1433 in the TCP Port field.  For all other IP Addresses Enabled was set to No and I cleared both the TCP Dynamic Ports and TCP Port
    fields.
    CMGR_SRV -> SQL Server Services -> SQL Server (SQLEXPRESS) right click and Restart.  This of course stopped and restarted my instance of SQLX_SRV enabling the TCP/IP configuration in the previous step to take effect.
    On my server, SQLX_SRV is the only instance of SQL Server running and so it's easy to hard wire it to the default port 1433.
    The instance name for both SQLX_SRV and SQLX_LOC is the default "SQLEXPRESS".  My server machine name is "SERVER1" on the EnglishBrains.com domain.  So the proper local name (local within the context of my remote server as connected via RDC) for
    my instance of SQLX_SRV would be:
    SERVER1\SQLEXPRESS 
    Note the use of a backslash NOT a forward slash. 
    Of course to connect remotely from my development machine, which is not on the same domain as my hosting server, I would need to specify the domain as well, so the SQL Server name becomes:
    SERVER1.EnglishBrains.com\SQLEXPRESS
    I must also use SQL Server Authentication.  Before I can use such a remote connection, however, there are still several configuration steps required.  So on my server (connected via RDC) I used MS_SRV to connect to SQLX_SRV using SERVER1\SQLEXPRESS
    for the server name and Windows Authentication.  Once connected I performed the following steps:
    MS_SRV -> right click the connected parent SERVER1\SQLEXPRESS instance node at the top -> Properties -> Security -> Server authentication: select "SQL Server and Windows Authentication mode".  This will enable connections using either type
    of authentication.
    Next, leaving the Server Properties dialogue open, Connections -> check "Allow remote connections to this server" box.
    Click OK to save these changes and close the Server Properties dialogue.
    MS_SRV -> Security -> right click Logins and select "New Login...", the Login - New dialogue opens.
    On the General page Enter a name for your new login
    Select SQL Server Authorization
    Enter and confirm a password
    Uncheck Enforce password expiration
    Select the default Database and Language
    On the ServerRoles page Public will be checked, also check SysAdmin.  This is probably not a good idea and I'll uncheck this as soon as I can connect to the SQLX_SRV.
    On the User Mapping page select the databases you want your new Login to access and enter the Default Schema of "dbo".
    At the bottom of the User Mapping page you'll see the Database Roles table.  Public will be selected by default.  Also select db_Owner.  Again this is probably not a good idea, and I'll refine this once I can connect.
    On the Status page confirm that "Grant" is checked under "Permission to connect to database engine" and "Enable" is checked under "Login".
    Click OK to save all changes and close the Login - New dialogue.
    With these steps completed you should now be able to use MS_SRV to connect to SQLX_SRV using SQL Server Authentication by supplying the name and password for your new Login.  I tried this and it worked fine.  Next I tried to use this same login
    remotely, that is I went to my local development machine and used MS_LOC to try and connect to SQLX_SRV by using
    SERVER1.EnglishBrains.com\SQLEXPRESS
    and opting for SQL Server Authentication and supplying the name and password of my new login.
    THIS DID NOT WORK??  Instead I get the following error message:
    Cannot connect to SERVER1.EnglishBrains.com\SQLEXPRESS.
    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) (Microsoft SQL Server, Error: -1)
    For help, click:
    http://www.microsoft.com/products/ee/transform.aspx?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=-1
    If you follow the suggested help link, you are told:
    The SQL Server client cannot connect to the server.  This error could be caused by one of the following reasons:
    A specified SQL Server instance name is not valid.
    The TCP, or named pipes protocols are not enabled.
    The firewall on the server has refused the connection.
    The SQL Server Browser service (sqlbrowser) is not started.
    WRONG on all 4 counts!  The instance name IS valid.  Both TCP/IP and Named Pipes protocols are enabled.  The firewall has been shut down, so it is not relevant.  Finally the SQL Server Browser IS started.
    The next thing I tried was to circumvent discovery by the SQL Browser service by using the following syntax to specify the IP address and port directly when specifying the SQL Server name.
    tcp:68.71.134.186,1433
    Using this in the Server Name field I was able to use MS_SRV to successfully connect to SQLX_SRV (using SQL Server Authentication of course) with or without the SQL Browser service running. 
    However when I tried to connect from MS_LOC to SQLX_SRV using this same login (WITH SQL Browser service running just for good measure) it does not work??  I get the following error message:
    Cannot connect to tcp:68.71.134.186,1433.
    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:
    TCP Provider, error: 0 - A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.) (Microsoft SQL Server, Error: 10060)
    For help, click:
    http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=10060&LinkId=20476
    If you follow the help link you are told:
    "The SQL Server client cannot connect to the server. This error could occur because either the firewall on the server has refused the connection or the server is not configured to accept remote connections."
    However, the firewall has been shut down and the server HAS been configured to accept remote connections! 
    I confirmed that i could indeed Ping to 68.71.134.186  and running NetStat -a |find /i "listening" on the server shows that the server is indeed listening at 68.71.134.186 Port 1433 -- which is why I was able to connect to SQLX_SRV using MS_SRV with
    tcp:68.71.134.186,1433 .
    IN SUMMARY: Even though I can connect to my SQLEXPRESS instance multiple ways from the server itself, I cannot connect remotely from my development machine! 
    If anyone can help me figure out why I would be very, very grateful!

    My two cents to help you out on c# code example to configure the remote sql server express.
    Hope it helps. It works, but you have to be extra carefull to read it all and setup the server configuration and netsh commands; also the port fowarding on the router.
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Data.SqlClient;
    namespace sqlremoteconnection
    class Program
    static void Main(string[] args)
    // this is the local sql server connection
    // 192.168.1.101\SQLEXPRESS
    // now, the configuration for remote access:
    // activate SQL SERVER BROWSER - set it to start "automatic"; then START UP
    // SQL Server Configuration Manager
    // --> SQL SERVER BROWSER -> properties -> Service -> Start Mode -> automatic -> apply
    // --> Log On -> Start -> Ok
                // netsh firewall set portopening protocol = TCP port = 1433 name = SQLPort mode = ENABLE scope = all profile = CURRENT
                // netsh firewall set portopening protocol = UDP port = 1434 name = SQLPort mode = ENABLE scope = all profile = CURRENT
                // netsh advfirewall firewall add rule name = SQLPort dir = in protocol = tcp action = allow localport = 1433 remoteip = any profile = PUBLIC
                // netsh advfirewall firewall add rule name = SQLPort dir = in protocol = udp action = allow localport = 1434 remoteip = any profile = PUBLIC
    // VERY IMPORTANT FOR REMOTE ACCESS: you have to add the rules on port fowarding
    // on the router!!!
    // TCP: 1433
    // UDP: 1434
    // or just a personal port like TCP 31433/UDP 31434
    // read carefully the netsh commands above
    // server name: 123.132.24.177\SQLEXPRESS
    // server name: anyurl.myftp.org\SQLEXPRESS,1433 <<-- regular port
    // server name: anyurl.myftp.org\SQLEXPRESS
    // server name: anyurl.myftp.org\SQLEXPRESS,31433 <<-- WOW different PORT here!!!
    SqlConnection myConnection = new SqlConnection(
    "user id=sa;" +
    "password=password_goes_here!;" +
    "server=anyurl.myftp.org\\SQLEXPRESS,31433;" +
    //"Trusted_Connection=no;" +
    "database=database_name_here; " +
    "connection timeout=30");
    try
    myConnection.Open();
    catch (Exception e)
    Console.WriteLine(e.ToString());
    try
    SqlDataReader myReader = null;
    SqlCommand myCommand = new SqlCommand("select * from mytable", myConnection);
    myReader = myCommand.ExecuteReader();
    while (myReader.Read())
    Console.WriteLine(myReader["tab01_name"].ToString());
    Console.WriteLine(myReader["tab01_age"].ToString());
    catch (Exception e)
    Console.WriteLine(e.ToString());
    try
    myConnection.Close();
    catch (Exception e)
    Console.WriteLine(e.ToString());
    Adelino Araujo

  • After restoring SharePoint farm backup ( 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 connection)

    Hi,
    I have taken farm back and restore it in new UAT environment, while access to the main site getting the below error: 
    Error  
    An unexpected error has occurred. 
    Troubleshoot issues with Microsoft SharePoint Foundation. 
    Correlation ID: 866476f3-23dd-4e1e-97af-bffc62cc2d57 
    Date and Time: 7/15/2014 11:26:35 AM 
    When i checked in log i got below error
    System.Data.SqlClient.SqlException: 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: Named Pipes Provider, error: 40
    - Could not open a connection to SQL Server)    at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)     at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject
    stateObj)     at System.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecu... 
    Thanks in advance
    Said Al Balushi

    Hi Wendy,
    i have checked all below points, every thing is fine but still i am getting the same error.
    Check SQL services are runing
    Check remote conenctions are enabled
    Check SQL Browser service is runing
    Check TCP/IP protocal enabled at SQL server
    Check out windows firewall setting
    Thanks,
    Said
     

  • Network-related or Instance-specfic error when attempting remote connection from SSMS

    Hello,
    I have installed SQL Server express on a Win7 desktop and want to connect to it via SSMS on a laptop. I have set up a SQL login on the desktop so I can login, but when I try to connect to the instance from the laptop via SSMS I get the error 26 with saying
    there is a network related or instance specific issue and that there is an error locating the Server/Instance specified.
    I am trying to connect to a named instance on the SQL Server on the win desktop. Remote connections are enabled and TCP 1433 and UPD 1434 ports are open in Windows Firewall. Antything else I should watch for?
    Thanks

    Hi MrDAndersen,
    According to your description, you come across the errors of pre-login handshake and wait operation timing out. Please help to post the full error log for further analysis.
    Based on my research, this issue could occur when .NET Framework 4.5 and non-IFS BSP/LSP are installed on the machine, and non-IFS BSP/LSP interferes with the call to Winsock.
    To work around the issue, you could use one of the two methods below.
    1. Determine whether a non-IFS BSP or LSP is installed. You could use the "netsh WinSock Show Catalog" command and examine every Winsock Catalog Provider Entry item that is returned. If the 0x20000 bit is clear (not set), it is a non-IFS BSP or
    LSP and remove the installed non-IFS Winsock LSPs. For more information about the process, please refer to the article:
    http://support.microsoft.com/kb/2568167
    2. Download and apply .NET Framework 4.5.2:
    http://www.microsoft.com/en-us/download/details.aspx?id=42643
    There are two connect items for your reference.
    https://connect.microsoft.com/VisualStudio/feedback/details/745004/ 
    https://connect.microsoft.com/VisualStudio/feedback/details/729323
    Best regards,
    Michelle Li

Maybe you are looking for

  • ABAP list report wont print on Z device type with Z format

    Our developer have created a report which outputs data in ABAP list format and the standard format would not fit. We have since created a custom format and copied a device type in to custom device type. So we now have a custom format and custom devic

  • Can I transfer my old apple ID details into my new apple ID and delete the old ID forever please.

    Hi . . . prior to purchasing my iPhone two years ago, I did you an old apple ID, the iPhone wouldn't let me use this and I created a new apple ID. Is there a way to transfer my previous purchases to my new apple ID account – delete my old ID and de-a

  • Contacts not showing up in iCloud

    contacts on iPhone and on MacBook Pro not showing up in iCloud

  • Computer-to-computer via PATCH-STP cable

    I am struggling with a few kinds of, computer-to-computer network issues. I am trying to do some sharing between a Mac Pro Intel (late 2007 2 x 2.66 GHz Dual-Core) and a white MacBook (early 2010 2.26 GHz Intel Core 2 duo), both OSX 10.6.5 via a cabl

  • Customzing Expose on dualmonitor setup

    Hello, is it possible to customize Expose on 10.5 like that: I would like to have all application-windows on only 1 of my 2 screen while using Expose. Background: One of those screens (lets call it no. 2) is sometimes used by another device at the sa