Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Though here is C++ but I have a database problem?

Though here is C++ but I have a database problem?

Scheduled Pinned Locked Moved C / C++ / MFC
databasehelpc++sql-serversysadmin
6 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    DengJW
    wrote on last edited by
    #1

    I have an SQL Server 2k (personal edition) running on Windows 2000 Pro for testing. I tried to connect from other PC running SQL server to this databse. However, from SQL Query Analyzer on the local PC, I could not find the database once I clicked on the ... which is right to the SQL Sever: text box. The connection between the PC and the Database machine is modem dialup. From either side, I can ping to each other without any problem. Moreover, once I connected my PC to the intranet, I can access/login to any SQl server database which is within the intranet environment. ANy help are greatly appreciated. JW DJ

    P D 2 Replies Last reply
    0
    • D DengJW

      I have an SQL Server 2k (personal edition) running on Windows 2000 Pro for testing. I tried to connect from other PC running SQL server to this databse. However, from SQL Query Analyzer on the local PC, I could not find the database once I clicked on the ... which is right to the SQL Sever: text box. The connection between the PC and the Database machine is modem dialup. From either side, I can ping to each other without any problem. Moreover, once I connected my PC to the intranet, I can access/login to any SQl server database which is within the intranet environment. ANy help are greatly appreciated. JW DJ

      P Offline
      P Offline
      Prakash Nadar
      wrote on last edited by
      #2

      What exactly isthe question??? :confused:

      D 1 Reply Last reply
      0
      • P Prakash Nadar

        What exactly isthe question??? :confused:

        D Offline
        D Offline
        DengJW
        wrote on last edited by
        #3

        Sorry I forgot the problem description itself. The problem is that after the PC client and DB Server (currently SQL 2000 sever running on WIndows 2k Pro) were connected via a dialin service, from the PC site I can not see the DB on the DB Server, nor could I login to the SQL residing on DB Server of course. ANy idea, again? JW DJ

        P 1 Reply Last reply
        0
        • D DengJW

          Sorry I forgot the problem description itself. The problem is that after the PC client and DB Server (currently SQL 2000 sever running on WIndows 2k Pro) were connected via a dialin service, from the PC site I can not see the DB on the DB Server, nor could I login to the SQL residing on DB Server of course. ANy idea, again? JW DJ

          P Offline
          P Offline
          Prakash Nadar
          wrote on last edited by
          #4

          Ok, I think i know the problem now, You can access the DB when you are connected to the intranet but now able to access it via dial in. That is because the firewall of the intarnet is not allowing to make connection from outside the intranet. This is to prevent hackers/viruses to connect to the network. You need to talk to the network administrator of your organization and how he can allow access to the DB only from outside the intranet.

          D 1 Reply Last reply
          0
          • P Prakash Nadar

            Ok, I think i know the problem now, You can access the DB when you are connected to the intranet but now able to access it via dial in. That is because the firewall of the intarnet is not allowing to make connection from outside the intranet. This is to prevent hackers/viruses to connect to the network. You need to talk to the network administrator of your organization and how he can allow access to the DB only from outside the intranet.

            D Offline
            D Offline
            DengJW
            wrote on last edited by
            #5

            But what I had done was to dial up directly into the DB Server from the PC client. and from either side, I can ping successfully to each other. SO there is no firewall between the PC client and The DB Server. Any suggestion? JW DJ

            1 Reply Last reply
            0
            • D DengJW

              I have an SQL Server 2k (personal edition) running on Windows 2000 Pro for testing. I tried to connect from other PC running SQL server to this databse. However, from SQL Query Analyzer on the local PC, I could not find the database once I clicked on the ... which is right to the SQL Sever: text box. The connection between the PC and the Database machine is modem dialup. From either side, I can ping to each other without any problem. Moreover, once I connected my PC to the intranet, I can access/login to any SQl server database which is within the intranet environment. ANy help are greatly appreciated. JW DJ

              D Offline
              D Offline
              DengJW
              wrote on last edited by
              #6

              Thanks a lots. The problem was caused by some OS modules corrupted in Win 2k. I changed to another SQL server on a third machine, now I can access via SQL Query Analyzer and my program. JW DJ

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups