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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. Visual Basic
  4. Typed dataset giving problem...

Typed dataset giving problem...

Scheduled Pinned Locked Moved Visual Basic
databasehelpcsharpsql-server
3 Posts 3 Posters 1 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.
  • P Offline
    P Offline
    praveenkumar palla
    wrote on last edited by
    #1

    I done one vb.net application which includes typed dataset (using SQL Server) Dragged one required database table on to the xsd(typed dataset) and right click select query then sqlstatement and then insert method and modified the populated query as required . And in the code i am using the method(insert) created in the xsd(typed dataset) The application is working fine in my local machine but when i moved the application to client machine (which uses another database but table and columns names and keys all are similar) there i am getting an exception "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." I also changed the database name in configuaration file (connection string-autogenerated when drag a table) Please help on this and Thanks in advance.

    R D 2 Replies Last reply
    0
    • P praveenkumar palla

      I done one vb.net application which includes typed dataset (using SQL Server) Dragged one required database table on to the xsd(typed dataset) and right click select query then sqlstatement and then insert method and modified the populated query as required . And in the code i am using the method(insert) created in the xsd(typed dataset) The application is working fine in my local machine but when i moved the application to client machine (which uses another database but table and columns names and keys all are similar) there i am getting an exception "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." I also changed the database name in configuaration file (connection string-autogenerated when drag a table) Please help on this and Thanks in advance.

      R Offline
      R Offline
      Rajesh Anuhya
      wrote on last edited by
      #2

      i think this is not a dataset problem., first check the database connection in your client pc

      Rajesh B --> A Poor Workman Blames His Tools <--

      1 Reply Last reply
      0
      • P praveenkumar palla

        I done one vb.net application which includes typed dataset (using SQL Server) Dragged one required database table on to the xsd(typed dataset) and right click select query then sqlstatement and then insert method and modified the populated query as required . And in the code i am using the method(insert) created in the xsd(typed dataset) The application is working fine in my local machine but when i moved the application to client machine (which uses another database but table and columns names and keys all are similar) there i am getting an exception "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." I also changed the database name in configuaration file (connection string-autogenerated when drag a table) Please help on this and Thanks in advance.

        D Offline
        D Offline
        Dave Kreskowiak
        wrote on last edited by
        #3

        I think you asked this already. The problem is in the setup of the SQL Server. By default, it does not allow connections from remote PC's on TCP/IP. Go into the Configuration Manager and enable remote connections.

        A guide to posting questions on CodeProject[^]
        Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
             2006, 2007, 2008

        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