Re: Help needed for connecting SQl server from PPC Emulator
From: Lloyd Dupont (net.galador_at_ld)
Date: 05/14/04
- Next message: Ramesh Singhvi: "Re: Help needed for connecting SQl server from PPC Emulator"
- Previous message: angka: "Re: Enable SIP without having a mainmenu or taskbar"
- In reply to: Ramesh Singhvi: "Re: Help needed for connecting SQl server from PPC Emulator"
- Next in thread: Liam Westley: "RE: Help needed for connecting SQl server from PPC Emulator"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 14 May 2004 15:01:20 +1000
mmhh....
just for fun, try this:
"server=RAMESH\\RAMESHSQL, 1433;Database=Pubs;User ID=sa"
I put 2 '\', because \r is a special character
-- ihookdb Get your data mobile http://www.ihookdb.com "Ramesh Singhvi" <ramesh_singhvi@hotmail.com> wrote in message news:5f3bbde0.0405132042.70d9ad7a@posting.google.com... > The error message is "SQL server does not exist or access denied". But > the sql server instance does exist coz I am able to connect it through > my desktop App. > Is there any limitation on Sql server instances which have "\" in > their name?? I have another instance of SQL server(7.0 ) which is > named as "Ramesh" and it is able to connect to it successfully. Please > guide me if I am missing something. > > > "Lloyd Dupont" <net.galador@ld> wrote in message news:<uGZmD4HOEHA.3016@tk2msftngp13.phx.gbl>... > > watch for the error message in the debuger. > > SqlException.ToString() always return "SqlException" because Message was not > > properly marked 'override', however in the debugger you could see the > > Message string which often have an informative value > > > > -- > > ihookdb > > Get your data mobile > > http://www.ihookdb.com > > > > > > "Ramesh Singhvi" <ramesh_singhvi@hotmail.com> wrote in message > > news:5f3bbde0.0405121025.9aa78a2@posting.google.com... > > > I wanted some help with connecting to sql server from Pocket PC 2002 > > > emulator. > > > I recently upgraded to VS.NET 2003 professional and I am working on a > > > stand alone(windows form) pocket pc app. > > > I have SQL server 2000 on my desktop PC and SQL instance is registered > > > as 'RAMESH\RAMESHSQL'. > > > When I am trying to connect this sql server from a smartdevice app > > > thro the emulator I am getting a "SqlException" error. I also tried > > > putting the port number 1433 in the > > > Connection string but still no difference. My connection string looks > > > like "server=RAMESH\RAMESHSQL, 1433;Databse=Pubs;User ID=sa". I was > > > able to connect to connect to the server from my desktop. Any help > > > would be really appreciated
- Next message: Ramesh Singhvi: "Re: Help needed for connecting SQl server from PPC Emulator"
- Previous message: angka: "Re: Enable SIP without having a mainmenu or taskbar"
- In reply to: Ramesh Singhvi: "Re: Help needed for connecting SQl server from PPC Emulator"
- Next in thread: Liam Westley: "RE: Help needed for connecting SQl server from PPC Emulator"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|