Re: Help needed for connecting SQl server from PPC Emulator

From: Lloyd Dupont (net.galador_at_ld)
Date: 05/13/04


Date: Thu, 13 May 2004 10:06:52 +1000

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


Relevant Pages

  • Re: Connecting to a sql server database
    ... You are trying to use integrated security in your app (as is shown in the ... line numbered code where the connection string is shown). ... sql server, hence integrated security fails. ... > causing the error message and what the correction for this. ...
    (microsoft.public.dotnet.general)
  • Re: Connecting to a sql server database
    ... > line numbered code where the connection string is shown). ... > sql server, hence integrated security fails. ... >> causing the error message and what the correction for this. ...
    (microsoft.public.dotnet.general)
  • Re: OWC10 PivotTable: how to create connection string that specifies UN+PW for OLAP
    ... the client machine display error message inside the ... but continue with the same error message. ... > The one thing I have found is that SQL Server and Analysis server, ... > that login in your connection string. ...
    (microsoft.public.office.developer.web.components)
  • Re: Help needed for connecting SQl server from PPC Emulator
    ... The error message is "SQL server does not exist or access denied". ... the sql server instance does exist coz I am able to connect it through ... >> Connection string but still no difference. ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: One Connection String for Multiple Users (SQL)
    ... Hitchhiker’s Guide to Visual Studio and SQL Server ... "William Vaughn" wrote: ... This uses the> same connection string for all instances of the application. ...
    (microsoft.public.sqlserver.connect)

Loading