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. Mobile Development
  3. Mobile
  4. Connecting to SQL Server

Connecting to SQL Server

Scheduled Pinned Locked Moved Mobile
sysadmindatabasesql-serversecurityhelp
2 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.
  • T Offline
    T Offline
    three leaf
    wrote on last edited by
    #1

    Hi, i'm developing a Pocket PC Application. I am working on security issues, so i was wondering if there is any way to modify the connection string: adding the ip of the server instead of the server name. The application is working with this string:

    String RDAOleBDConnectionString = "Provider=SQLOLEDB;Data Source=" + NombreServidor + "," + Puerto + ";Integrated Security=SSPI;Initial Catalog =" + NombreBD + ";";

    to something like this:

    Data Source=190.190.200.100,1433;Network Library=DBMSSOCN;Initial Catalog=myDataBase;User ID=myUsername;Password=myPassword;

    i tried to use the last one but i got errors about the provider. thanks for any help

    F 1 Reply Last reply
    0
    • T three leaf

      Hi, i'm developing a Pocket PC Application. I am working on security issues, so i was wondering if there is any way to modify the connection string: adding the ip of the server instead of the server name. The application is working with this string:

      String RDAOleBDConnectionString = "Provider=SQLOLEDB;Data Source=" + NombreServidor + "," + Puerto + ";Integrated Security=SSPI;Initial Catalog =" + NombreBD + ";";

      to something like this:

      Data Source=190.190.200.100,1433;Network Library=DBMSSOCN;Initial Catalog=myDataBase;User ID=myUsername;Password=myPassword;

      i tried to use the last one but i got errors about the provider. thanks for any help

      F Offline
      F Offline
      funklet
      wrote on last edited by
      #2

      I am using:

      Data Source=190.190.200.100,1433;Initial Catalog=myDatabase;User ID=myUsername;Password=myPassword;

      Kind Regards.

      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