Click here to Skip to main content
Rate this: bad
good
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" ?>
<configuration>
    <configSections>
    </configSections>
    <connectionStrings>
        <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" />
    </connectionStrings>
  <appSettings>
    <add key="SqlFileLocations" value="C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA" />
  </appSettings>
</configuration>

 
but restore part why not working yet?
 

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

1 solution

Rate this: bad
good
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.
  Permalink  
Comments
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.
—SA

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

  Print Answers RSS
0 OriginalGriff 319
1 _Amy 310
2 Nirav Prabtani 263
3 Sergey Alexandrovich Kryukov 210
4 Richard MacCutchan 125
0 OriginalGriff 7,889
1 Sergey Alexandrovich Kryukov 7,006
2 Maciej Los 4,014
3 Peter Leow 3,708
4 CHill60 2,762


Advertise | Privacy | Mobile
Web02 | 2.8.140721.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