Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: C# XML SQL-Server
i have download a project for backup/restore sql server db in c# ... even though i have changed its connection string according to my sql server name but i don't know why it still doesn't work right... please kindly help me to run this program.
SqlServer Backup/Restore Utility[^]
Before running an application, edit connection Strings section in BackupRestore.exe.config file to connect my database like
<?xml version="1.0" encoding="utf-8" ?>
        <add name="Alioglu.Util.SqlSrv.BackupRestore.Properties.Settings.masterConnectionString"
            connectionString="Data Source=PERSIAN-PC\SQLEXPRESS;Initial catalog=master;Integrated Security=True;User Instance=True"
            providerName="System.Data.SqlClient" />
    <add key="SqlFileLocations" value="C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA" />

but restore part why not working yet?

many thanks
Posted 18-Jan-13 2:56am
Edited 18-Jan-13 3:03am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

You should post your query (including full details of the problem) in the forum at the end of the article. Alternatively add some proper detail to your question and people will try to help you.
rflower at 18-Jan-13 9:04am
i edit my question .thanks to forward me
Richard MacCutchan at 18-Jan-13 10:15am
Have you checked that you can access the database with those parameters? You may need to use your debugger to step through the code to discover what is happening.
rflower at 18-Jan-13 10:18am
i change everything in this code ... but not working yet ..and i don't know more than it ... please kindly forward me
Richard MacCutchan at 18-Jan-13 10:21am
Sorry but this code is provided "as is", if it does not work then you need to contact the author using the article forum, or try and debug it yourself.
Sergey Alexandrovich Kryukov at 18-Jan-13 19:52pm
Agree, a 5.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Dnyaneshwar@Pune 604
1 OriginalGriff 394
2 thatraja 370
3 Sergey Alexandrovich Kryukov 334
4 CPallini 219
0 OriginalGriff 697
1 Dnyaneshwar@Pune 604
2 Kornfeld Eliyahu Peter 495
3 thatraja 370
4 Sergey Alexandrovich Kryukov 344

Advertise | Privacy | Mobile
Web02 | 2.8.140827.1 | Last Updated 18 Jan 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100