Click here to Skip to main content
Sign Up to vote bad
good
See more: C#XMLSQL-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:56
rflower272
Edited 18 Jan '13 - 3:03


1 solution

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 - 18 Jan '13 - 9:04
i edit my question .thanks to forward me
Richard MacCutchan - 18 Jan '13 - 10:15
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 - 18 Jan '13 - 10:18
i change everything in this code ... but not working yet ..and i don't know more than it ... please kindly forward me
Richard MacCutchan - 18 Jan '13 - 10:21
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 - 18 Jan '13 - 19:52
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
Your Filters
Interested
Ignored
     
0 Sergey Alexandrovich Kryukov 8,376
1 OriginalGriff 6,571
2 CPallini 3,533
3 Rohan Leuva 2,703
4 Maciej Los 2,234


Advertise | Privacy | Mobile
Web03 | 2.6.130516.1 | Last Updated 18 Jan 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid