Deployment + Vista



We use strongly typed datasets, and thus our connection string is bound to
an application setting.

Currently we can deploy and alter the app.exe.config file at installation
time to successfully install, and use some basic XML editing to allow the
target database to be changed.

Writing to the application directory in vista will throw compatibility
errors, and not persist the changes at all.

What do we do? Is there a better way of getting the connection string in
your application, or a way of telling the designer where to get your
connection setting from??


.



Relevant Pages

  • Re: Is it possible to read/write to an ini file using a tcp/ip protocal file address?
    ... In my installation routine's instructions I tell the users/network ... save the ini file holding the licence/registartion data to the same ... write my app so that it reads the ini file for the mapped drive and then ... to create a connection string like serverName:myDatabase. ...
    (comp.lang.pascal.delphi.misc)
  • Re: Is it possible to read/write to an ini file using a tcp/ip protocal file address?
    ... In my installation routine's instructions I tell the users/network ... save the ini file holding the licence/registartion data to the same ... write my app so that it reads the ini file for the mapped drive and then ... to create a connection string like serverName:myDatabase. ...
    (alt.comp.lang.borland-delphi)
  • Re: Connection String Machine Independent.
    ... You can add an Application Configuration file to your project and then store ... As part of your installation you ... > This is sample connection string to connect to my server: ... > Now, when I distribute this application, the Server will have to be ...
    (microsoft.public.dotnet.distributed_apps)
  • Re: Does 2.0 still require ODP.NET to connect to Oracle?
    ... installation>> asks for all kinds of things in order to install. ... the oracle CLI installed, ... need that installed for the MS oracle provider. ... specify in the connection string. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Cannot load databases; version may not be valid
    ... > Then I've wondered if maybe there is a problem in Remote Repository ... > As you might know it is encrypted and at installation of SP4 there could be ... The remote repository connection string only ... > production server and is needed 24/7. ...
    (microsoft.public.sqlserver.olap)