Good, I work on my application to perform backups and restore of an sql database. In local mode I have no problems.
Using "SqlDataSourceEnumerator"
I get list of lan servers.
Start my application correctly, ready the available servers, I connect correctly.
The problem that I have when I want to create the path of my Savefile.dialog to locate the backups creates the backup in the machine of the SQL server and not in the machine from which I connect. My question is: how could I solve the route?
S = save1.FileName;
Query ("Backup database" + cmbBase.Text + "to disk = '" + s + "' WITH INIT");
(Maybe in the route I should add the ip)
thanks for your help.