Re: Where are server connections stored in project?



To get around, You can use the period (.) as DataSource. This will work with
SQL Instant on your PC at work, your laptop, and remote server. You also
need to reference the same database (catalog) on all 3 machines (have to). I
use SQL authentication, it seems working fine across machines.

Example:

Data Source=.;
Initial Catalog=Northwind;
User ID=sqlLogonID;
Password=xxxx;
Packet Size=4096;

The above connection string will work with all three machines: My PC in my
office, my Laptop on my laps, and my remote server in St. Paul. Just make
sure SQL/ ID & PW are the same on all 3 places. Once development is
completed, you can change the connection from SQL to Windows Integrated.and
or encrypt the connection string via Web.Config while still enjoying the
design time feature.

John



.



Relevant Pages

  • Dazed & Confused
    ... database on a remote server. ... The connection string to the remote server is ... applications on the IIS servers retrieve the connection string before ... The error message on the Remote SQL ...
    (microsoft.public.sqlserver.connect)
  • Re: Is RAPI the only way for sync data in my situation?
    ... SQL Server 2005. ... PDA, maybe it was long time ago and I can not remember. ... from laptop to invoke pda to export data and load into SQL. ... I was using read/write tolaptop SQL database directly but some ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Domain or Local User Account for Laptop SQL 2008 Services
    ... My Domain User Account is in the local Administrators group, ... I'm using SQL Server 2008 Management Studio to connect to both my SQL 2005 and SQL 2008 servers. ... These servers are both installed on my laptop. ...
    (microsoft.public.sqlserver.setup)
  • Re: Pass Through Query Question
    ... "Joe Williams" wrote in message ... > when you mentioned setting the connection string in the properties of the ... It runs with no problem using SQL query anlayzer. ...
    (microsoft.public.access.queries)
  • Re: Is RAPI the only way for sync data in my situation?
    ... Also this whole application is running perfect on my another PDA. ... I need to make the decision between connecting to SQL or using RAPI ... from laptop to invoke pda to export data and load into SQL. ... I was using read/write tolaptop SQL database directly but some PDA ...
    (microsoft.public.dotnet.framework.compactframework)