Unable to Access SQL Server 2005 Remotedly

Not sure if this is the right forum to post this...
After going through lot of old posts in various forums and changing lot of settings, i'm still not able to access my Server remotely.
This is Windows 2003 Server machine with Sonicwall Firewall, i have allowed Port 1433 in both Firewall and ISA and call is getting through but i'm getting following error msg :-
{"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: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)"}
This machine is also having Sql Server 2000, and the SQL Server 2005 is installed with named instance.
My connection string is :-
"Data Source=192.168.0.1\MYSERVER;Initial Catalog=MyDatabase;Integrated Security=True"
In example above, i'm showing dummy values but actual string is having the actual live IP address and correct named instance and database.
If i use a local address like 192.168.0.1 then i'm able to connect.
My TCP/IP Address in Sql configuration is having my Live IP Address and the port 1433.
Any help will be highly appreciable..

i'm still checking on this. i have changed the port now to 1434 and changed in all places.
my connection string is also changed now, so now i'm using :- MYIP\MYSERVER,1434
now i'm getting a different error msg
{"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: 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.)"}
this can also be due to firewall or something else is blocking it, i will rechk n post back final answer.

Similar Messages

  • Unable to connect SQL server 2005 databse with JSF applications !

    Hello guys!
    Help me out to connect SQL server 2005 Databse with JSF applications using JDBC-ODBC bridge. I'm working with Netbeans 6.1 IDE.
    I tried for the basic applications but instead got this error:
    "unable to deploy jdbc drivers to the <project>domain/lib"
    Please help me out with working sample codes that connects MS SQL server 2005 DB with JSF!!
    Thank you guys!

    1) don't use the bridge driver
    2) don't do database access from JSF
    3) learn how to use your application server
    4) learn how to use your IDE

  • MS SQL Server 2005 Remote Database Connection

    Hello Friends,
    I have a database in SQL Server 2005, i installed SQL server with windows authentication. Now when I tries to connect to the server using Type 3 jdbc. I downloaded jdbc 1.2 driver from,
    http://msdn2.microsoft.com/hi-in/data/aa937724(en-us).aspx
    now i want to connect to the database from remote machine(different network).
    How can i achieve this, and what setting i have to make to the sql server?
    Any suggestion will be greatly appreciated.
    Regards
    Mohneesh

    okey i done with some experiment.
    now i am able to do it from local machine with the following code
    String url="jdbc:sqlserver://LocalIP:1433;integratedSecurity=true;";
    Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");
    Connection conn = DriverManager.getConnection("url");
    now when i move to remote system and change the Local IP to remote IP(server has static IP)
    it comes up with SQLException: Login failed.for user ''.
    com.microsoft.sqlserver.jdbc.SQLServerException: Login failed for user ''. The user is not associated with a trusted SQL Server connection.
    please help me its kinda urgent.
    Regards
    Mohneesh

  • What Drivers should I use to access SQL Server 2005 SP2 from Windows Server 2008 64 bit

    and yes I do know that is an odd scenario so let me explain
    I have just joined a project that is "in flight" where the customer is upgrading a LOT of things at the same time
    (some Microsoft, some other supplier: some at the OS level, others at server or services levels)
    the current step is replacing some services leaving the back end databases as they are
    i.e. SQL Server 2005 SP2
    a later step will upgrade the backend data bases which may make more work
    What we have now runs on Windows Server 2003 32 bit using the OLEDB drivers
    version 2000.86.3959.00
    What we want must run on Windows Server 2008 64 bit still using the OLEDB option
    which version should I download & try to install?

    Here are a known list of issues with this configuration with their corresponding workarounds: https://support.microsoft.com/kb/936302/en-us
    Satish Kartan www.sqlfood.com

  • Unable to reinstall SQL server 2005

    Previously, I have installed SQL 2005 developer edition simplyfied chinese
    successfully. But yesterday, I tried to install mobile client software
    factory. The installation process create a database as following:
    Create DATABASE [AdventureWorksMobileStaging] ON  PRIMARY
    ( NAME = N'AdventureWorksMobileStaging', FILENAME = N'C:\GotDotNet\MCSF_728\ReferenceImplementations\AdventureWorksToGo\DBScripts\AdventureWorksMobileStaging.mdf' , SIZE = 195584KB , MAXSIZE = UNLIMITED, FILEGROWTH = 1024KB )
    ( NAME = N'AdventureWorksMobileStaging_log', FILENAME = N'C:\GotDotNet\MCSF_728\ReferenceImplementations\AdventureWorksToGo\DBScripts\AdventureWorksMobileStaging_log.ldf' , SIZE = 265344KB , MAXSIZE = 2048GB , FILEGROWTH = 10%)
    But today, when I start my notebook, SQL server could not be started.
    Then I uninstalled the SQL instance by start->control panel->uninstall...The uninstall
    process seems OK. Note that I only uninstalled the instance.Then I tried to reinstall
    SQL 2005. However it was reported a Performance Monitor Counter registry key mismatch
    error occures. I tried to fix it but failed. The problem is as following:
    1, The installation process report a warning of low memory.
    My notebook has 512M memory. I have reinstalled SQL 2005 once successfully. At that
    time, the warning also shows, but it seems that this warning does not affect installation.
    2, User type problem.
    The OS of my notebook is XP professional, which is upgraded from XP home edition.
    I login it using a domain user such as: "my company's domain\myaccount". I found it
    curiously that although I assign myaccount as an Administrator, it will automaticly
    changed to "SQL$...." account. I don't know why and when the account property is
    changed. But everytime, when I found, I will assign myaccount as an Administrator
    back.
    3, Performance Monitor Counter registry key  problem.
    To fix the problem, I firstly tried to run lodctr.exe in cmd window but failed.
    When I cd to c:\windows\system32 dir, I can ran lodctr.exe correctly.
    I check HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib,
    the result is:
    "Last Counter"=dword:0000149c (11128)
    "Last Help"=dword:0000149d (11129)
    Then I check HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib\009
    and 004, the result is confusing. I can find counter and help key,but both keys contains
    really a lot of stuff as:
    (1) first page of Counter key:
    1
    1847
    2
    System
    4
    Memory
    6
    % Processor Time
    10
    File Read Operations/sec
    12
    (2) first page of Help key:
    3
    The System performance object consists of counters that apply to more than one instance of a component processors on the computer.
    5
    The Memory performance object  consists of counters that describe the behavior of physical and virtual memory on the computer.  Physical memory is the amount of random access memory on the computer.  Virtual memory consists of the space in physical memory and on disk.  Many of the memory counters monitor paging, which is the movement of pages of code and data between disk and physical memory.  Excessive paging, a symptom of a memory shortage, can cause delays which interfere with all system processes.
    7
    % Processor Time is the percentage of elapsed time that the processor spends to execute a non-Idle thread. It is calculated by measuring the duration of the idle thread is active in the sample interval, and subtracting that time from interval duration.  (Each processor has an idle thread that consumes cycles when no other threads are ready to run). This counter is the primary indicator of processor activity, and displays the average percentage of busy time observed during the sample interval. It is calculated by monitoring the time that the service is inactive, and subtracting that value from 100%.
    9
    % Total DPC Time is the average percentage of time that all processors spend receiving and servicing deferred procedure calls (DPCs).  (DPCs are interrupts that run at a lower priority than the standard interrupts). It is the sum of Processor: % DPC Time for all processors on the computer, divided by the number of processors.  System: % Total DPC Time is a component of System: % Total Privileged Time because DPCs are executed in privileged mode.  DPCs are counted separately and are not a component of the interrupt count.  This counter displays the average busy time as a percentage of the sample time.
    11
    File Read Operations/sec is the combined rate of file system read requests to all devices on the computer, including requests to read from the file system cache.  It is measured in numbers of reads.  This counter displays the difference between the values observed in the last two samples, divided by the duration of the sample interval. 
    I could not find the maximum value of the Counter key and help key, so I could not repair
    Last Counter and Last Help key as discribed at SQL 2005 help. Which item correspond to
    maximum value of the Counter key and help key?
    I tried to correct Last Counter and Help key as:
    "Last Counter"=dword:0000149c (5276)
    "Last Help"=dword:0000149d (5277)
    But it also doesn't work.

    Anybody still want this answered?
    Thanks!
    Ed Price, Power BI & SQL Server Customer Program Manager (Blog,
    Small Basic,
    Wiki Ninjas,
    Wiki)
    Answer an interesting question?
    Create a wiki article about it!

  • 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,

    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)

    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)
    Hello,
    Make sure your SQL Server service is started.
    Make sure TCP\IP and names pipes protocol is enabled
    Make sure you have made an exception in firewall for SQL Server connection
    Make sure SQL Server browser service is enabled
    Make sure you connect with correct name hostname\instance name for named instance,MSSQLSERVER for default instance and Hotname\SQLEXPRESS for express edition.
    Please make sure you use port no when connecting to SQL server listeing on different port (hostname\instance ,portno)
    http://blogs.msdn.com/sql_protocols/archive/2006/09/30/SQL-Server-2005-Remote-Connectivity-Issue-TroubleShooting.aspx
    Hope this helps
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • Open Query issue in SQL server 2005

    I am running following query in SQL Server 2005, remote connection is Oracle. Query runs perfect in oracle.
    Any help would be greatly appreciated.
    Error is:  
    OLE DB provider "MSDAORA" for linked server "ORACLEROSTER" returned message "ORA-00911: invalid character ".
    select 
    EMPLOYEEID,
    TermDate,
    UserName,
    ACTION,
    DEPTID,
    DESCR
      from OPENQUERY(ORACLEROSTER,
    'SELECT DISTINCT substr(A.EMPLID, 1,10) "EMPLOYEEID" 
    , TO_CHAR(A.EFFDT,"yyyy-mm-dd") "Term Date"
    , SUBSTR(A.NAME, 1, 25) "User Name"
    , SUBSTR(A.ACTION, 1, 10) "ACTION"
    , SUBSTR(A.DEPTID, 1, 10) "DEPTID"
    , SUBSTR(B.DESCR, 1, 20) "DESCR" 
      FROM sysadm.PS_PERSONNEL_HIST A, sysadm.PS_EMPLMT_SRCH_QRY A1, sysadm.PS_DEPT_TBL B, sysadm.PS_SET_CNTRL_REC B2 
      WHERE B.DEPTID = A.DEPTID 
     AND B2.SETCNTRLVALUE = A.BUSINESS_UNIT 
    AND B2.RECNAME = "DEPT_TBL" 
     AND B2.SETID = B.SETID 
     AND A.EMPLID = A1.EMPLID 
     AND A.EMPL_RCD = A1.EMPL_RCD 
     AND A1.ROWSECCLASS = "DPPDIFLD" 
     AND ( A.EFFDT = 
          (SELECT MAX(A_ED.EFFDT) FROM sysadm.PS_PERSONNEL_HIST A_ED 
           WHERE A.EMPLID = A_ED.EMPLID 
           AND A.EMPL_RCD = A_ED.EMPL_RCD 
           AND A_ED.EFFDT <= SYSDATE) 
        AND A.EFFSEQ = 
            (SELECT MAX(A_ES.EFFSEQ) FROM sysadm.PS_PERSONNEL_HIST A_ES 
            WHERE A.EMPLID = A_ES.EMPLID 
              AND A.EMPL_RCD = A_ES.EMPL_RCD 
              AND A.EFFDT = A_ES.EFFDT) 
         AND A.ACTION = "TER" 
         AND A.LOCATION IN ("500","600") 
         AND A.JOBCODE IN ("SR5","SR3","ASR","ASRS","IBP5","IBP3","I53610","I53630","053610","053630") 
         AND A.EFFDT BETWEEN SYSDATE - 7 AND SYSDATE 
         AND A.ACTION_REASON <> "ZNS" 
         AND A.EMPL_STATUS = "T" 
         AND B.EFFDT = 
            (SELECT MAX(B_ED.EFFDT) FROM sysadm.PS_DEPT_TBL B_ED 
            WHERE B.SETID = B_ED.SETID 
              AND B.DEPTID = B_ED.DEPTID 
              AND B_ED.EFFDT <= A.EFFDT) )
      order by 2;')
    s

    How about if you make the query into a view on ORACLE and SELECT from the view?
    Kalman Toth SQL SERVER 2012 & BI TRAINING
    New Book: Beginner Database Design & SQL Programming Using Microsoft SQL Server 2012

  • PeopleTools 8.49 PeopleSoft Database Cannot Connect with MS SQL Server 2005

    Folks,
    Hello. I am working on PeopleSoft PIA. My system is Windows Server 2003, MS SQL Server Express 2005 Standard, PeopleTools 8.49. I am setting up PeopleSoft Database \PsMpDbInstall\setup.exe and got the errors as follows:
    Error: Setup fails to connect to SQL Server. The default settings SQL Server does not allow remote connection.
    Then I type in "sqlcmd" in Command Prompt and got the same error as follows:
    Name Pipe Provider: Could not open a connection to SQL Server. MS SQL Native Client: the default settings SQL Server does not allow remote connection.
    In order to fix SQL Server 2005 remote connection problem, I have done the 3 steps as follows:
    Step 1: In SQL Server Surface Area Connection, enable local and remote connection, TCP/IP and Name Pipes, SQL Server browser Startup type "automatic" and status "running".
    Step 2: Create exception for SQL Server 2005 and SQL Server browser Service in Windows Firewall.
    Step 3: Add the default SQL Server Port 1433 into Windows Firewall.
    But the above 3 steps cannot resolve SQL Server Express 2005 remote connection problem. Can any folks help to resolve this problem ?
    Thanks.

    Folks,
    Management Studio can connect with SQL Server 2005 successfully.
    I have turned off Windows Server 2003 firewall completely. But "sqlcmd" in Command Prompt still connect with SQL Server 2005 because its remote connection is not allowed.
    Is the "not allow remote connection" problem caused by Windows Firewall or SQL Server 2005 itself ?
    Thanks.

  • Unable to start SQL Server Browser service in Sql server 2005

    we are unable to start the SQL browser service on one of our machine with below error.
    I believe this to be the reason, why we could not connect to the instance with below error
    I tried troubleshooting as mentioned here, by changing
    value in registry from 1 to 0, but still no luck.
    SQLservices are also running.
    Please help on how to resolve this!

    Hello,
    You say that SQL Server Browser Service belongs to a SQL Server 2005, but based on the name of the instance is a SQL Server
    2012 instance.
    Do you have any issues installing/uninstalling SQL Server 2005 or 2012? One of them 32-bit and the other 64-bit?
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Unable to install SQL server 2000 and 2005 on Satellite A205-s5831

    Hello everyone.
    I Needs some helps from all of you.
    I have Toshiba Laptop Satellite A205-S5831.
    Its Have Windows Vista Home Premium.
    And I am unable to install SQL server 2000 and 2005.
    I also Unable to Install Windows XP SP2.
    Problem is SATA driver.
    Plz Help me ...!
    Response me

    Hi
    The Windows XP needs a SATA driver if you want to install it on the notebook with SATA HDD controller.
    The SATA driver can be found in the Intel Storage Manager.
    I would recommend using the nLite program to include a SATA driver into the new Windows XP CD and then to boot from the new created XP CD.
    Here you will find all details regarding the nLite:
    http://www.nliteos.com/
    Regarding SQL server issue;
    Maybe you will be able to install in on Windows XP. Possibly there is a compatibility issue between the Vista and the SQL server software

  • SQL Server 2005 replaced with SQL Server 2014 trying to connect front end Access as guest (read only ODBC)

    We have replaced a SQL Server 2005 with a SQL Server 2014 (new physical server.)  Have the new server set up to use SQL Server login OR Windows user login. Had old server connecting (for a particular DB) to front end Access (2010 or 2013) as guest for
    anyone logged into the Windows NT Network with a read only ODBC connection. Have the DB in the new server set to include guest as db_datareader (with only SELECT permission for the securables of each table and view being linked) but when any Windows user not
    specifically listed as a SQL DB user tries to use the front end they get an error of:
    Microsoft SQL Server Login
    Connection failed:
    SQL State: '28000'
    SQL Server Error: 18456
    [Microsoft][OCBC SQL Server Driver][SQL Server] Login failed for user {domain\user}.
    After closing that pop-up window a server login window appears. Of course, since the guest user is not specifically listed as a user in the DB that fails also. It seems like there should be a very simple solution to this, but I can't seem to find it. I want
    to allow anyone logged in on the Windows system (locally) to be able to open the MS Access file (on their work station machine) and run their own (read only; select) queries on the SQL Server database. Any suggestions?
    Thanks a billion in advance ----

    Thanks for the response Olaf. I have now spent weeks researching this. I realize that using the guest account in most situations is not advised. As mentioned, I have restricted the guest account to allow the db_datareader role only, and have explicitly denied
    all other roles, as well as allowing select only, and still have no access for the guest account.
    The suggested fix in the second link you provided, of using Windows groups is not plausible for my situation either. We are a scientific field research institution, with a few long term users and lots of users that may have Windows accounts for a few months,
    and then they are gone. It would be a nightmare for the network tech to try to keep a group account up to date, and we need to give access (read only, of course) to anyone logged into the system. Realize that the ONLY access of any kind to this database is
    thru MS Access ACCDB, using a (by default) read only OCDB connection.
    This type of access is used particularly because researchers need to be able to set up their own queries, and the MS Access query interface is particularly convenient for people who are not themselves SQL experts, yet are trying to get some very advanced
    levels of output. Putting the database online is not practical because then we are back to the need for a comprehensive query interface, and just picking up general subsets of the data online (from a basic web page search feature) would be out of the question,
    since the result set would involve hundreds of thousands if not millions of records.
    So - that said - what exactly would you suggest, assuming we don't have the funds to buy a whole new system, and have spent plenty of money with Microsoft's Enterprise level MS Office so that all work stations have MS Access, and Microsoft's SQL Server,
    as well as running our network on Microsoft's network software.

  • "Unable to load URL" - SQL Server 2005 DB Web Service Connection

    Hi ,
    I am using XCelsius version 5.0.0.99 to create dashboards connecting to SQL Server 2005.
    Find below the details of the steps -
    1. Created a web service within SQL Server 2005 database.
    2. Copied the WSDL URL.
    3. In XCelsius 2008 -> Data Manager -> Web Service Connection, pasted the URL in the WSDL URL input box and clicked "Import" to import the methods. At this point I am getting "Unable to load URL" .
    Am I missing any step ?
    Any suggestion would be highly appreciated.
    Note : I have tested the web service by using it in a ASP.Net project and works fine.
    Thanks
    Chitra

    Hi,
    Error :unable to Load URL occurs" because Crystal xcelsius only support single schema web service created from Query as a web service and Flynet tool available in xcelsius 2008.
    The reason:
    All the web service create from Sql 2005 ,PHP script produced multiple scehma web service and crystal xcelsius only support single schema web service which can be created from Query as a web service or Flynet.
    Please revert in case of any queries.
    Regards
    Kekti Fadnavis

  • SQL server 2005 does not allow remote connnections error: 40 w/Synch Manage

    I have a local server for B1 that I need to synch to a hosted Webserver.  When I go to Synch Manager, I can't connect to the webtools on the hosted webserver even when I enter the IP address (which the firewall has been updated to allow).
    When I try to connect is says "an error has occured while establishing 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 connection to SQL server.
    I'm not a firewall or Infrastucture expert so I need assistance.
    any help would be greatly appreciated!
    Heidi

    turned out we just needed to turn on remote connections and named pipes for SQL.

  • How to access Oracle 8g from SQL Server 2005 SP3 EE 64 Bits ?

    Dear All,
    How to access Oralce 8g from SQL Server 2005 SP3 EE 64 Bits (liked server).
    Best regards,
    Miguel Gavinhos

    Hi!
    For the Oracle version is 8.1.6. what should I install, to access Oracle trought a linked server.
    Best regards
    Miguel Gavinhos

  • Accessing v 7 dbase from sql server 2005 enterprise edition

    Hi, i would appreciate any help with this issue i have come across when trying to access a version 7 dbase from within sql server 2005.
    The error message is telling me that "This version of SQL server man studio can only be used to connect to SQL Server 2000 and SQL servers 2005"
    I am new with SQL server so ill explain how im accessing it. I am connecting a server with sql 2005 on it via net support then through this trying to access another server with v 7 on it.
    Thanks for the help in advance.

    I see little purpose in resurrecting or "cleaning out" these threads.  I cannot see that asking the OP if the problem still persists after 6 years has any useful purpose - and someone follows along shortly afterwards (since the thread has now risen
    to the front of the forum) with a post that he then marks as an answer.  It looks like there are over 900 threads in this forum alone that are unanswered - and I'll guess that this forum has significantly less volume than some of the others (9100 in tsql).
     If MS wants to apply manpower to that, so be it.  But immediately following a "is this still a problem" post with  a suggestion/mark as answer does not seem to do much beyond generate volume.  At a minimum it is inappropriate for someone
    to propose one's own post as an answer regardless of their official forum position.  
    And if we follow this cleanup logic, what is accomplished if the OP never responds?  Odds are that there will be none, so why bother? Alternatively, just actually mark the thread as answered with some sort of "cleanup, no response from OP" post.  The
    end result is the same. 
    Well, no one cared enough to answer his question 5 years ago. I want to change that. My time machine is broken right now, but I can still check to see if people still care about their issues. Because I care. Even if it's old. We should all care.
    I understand that not everyone sees the value of asking about a 5-year old question. But what exactly does it hurt? How does showing I care about the person become a problem? We made you read it? Is that the problem?
    Ed Price, Power BI & SQL Server Customer Program Manager (Blog,
    Small Basic,
    Wiki Ninjas,
    Wiki)
    Answer an interesting question?
    Create a wiki article about it!

Maybe you are looking for

  • Why are my current calls being interrupted by new calls?

    Why are my current calls being interrupted by new calls? I'm using iPhone 6 plus and reset my network settings multiple times. The issue is random.

  • Clicking PDF links within a PDF no longer working after upgrade.

    After upgrading Adobe Reader to version 11.0.10, I can no longer click and open links to pdf documents that are within a pdf.  These files are password protected, but I don't even get the prompt to put in my password, I try to click a pdf link, and n

  • Windows 8.1 Tablet applicaiton (installation and license)

    I have developed Windows 8.1 Tablet application. We don't want to upload this to Windows store (our client want it to be private only). We are facing 2 issues 1. It asks windows live ID to run the application which expires after 30 days. Client don't

  • Wrong u2018Last Data Updateu2019 is displayed in the reports

    Hi We have a problem with the u2018Last Data Updateu2019 date that is displayed in some of our reports that are linked to a specific Multiprovider. The date is stuck on 2009-06-29 even thou the data is updated every day. The Multiprovider is linked t

  • Header and Item consolidation delta

    Hi all, If I do a lookup on header DSO while loading into a consolidated DSO from a item level DSO, how do we make sure that deltas are managed if only changes occur in the header DSO? In this case since the driver is the item level DSO, I would imag