SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    Born to Code rainadaman's Avatar
    Join Date
    Feb 2005
    Location
    india
    Posts
    793
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question SQL anywhere (Sybase) Connection problem?

    Hi,
    I am not able to connect my c# code with remote sql anywhere database..
    it is connecting to my local sql anywhere database but not to remote server..
    Connection string used is..

    OleDbConnection myConnection = new OleDbConnection
    ("Data Source=xx.xx.xx.xx;Provider=ASAProv.80;uid=username;pwd=password;Database=dbName");
    error shown is: Couldnot connect to database: database not found
    PLs help...
    thanx
    I was born intelligent,
    But Google ruined me.

  2. #2
    reads the ********* Crier silver trophybronze trophy longneck's Avatar
    Join Date
    Feb 2004
    Location
    Tampa, FL (US)
    Posts
    9,854
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    if this were a mysql server, i would say that the username and password you are using is not allowed to connect to that database from your host. check with the server admin.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •