List Info

Thread: C-Sharp (C#) Group: <<< I couldnt backup my SQL Databases >>> !!!!!!!!!!!!!!!!




C-Sharp (C#) Group: <<< I couldnt backup my SQL Databases >>> !!!!!!!!!!!!!!!!
user name
2006-04-06 09:01:17
here is Codes

////////////////// textBox1.Text = ADEMTEKEREK       
(server
computer's name)

FileInfo SourceFile1=new FileInfo("\\\\" +
textBox1.Text +
"\\c\\Program  Files\\Microsoft SQL
Server\\MSSQL\\Data\\MYDATABASE_Data.Mdf");

FileInfo SourceFile2=new FileInfo("\\\\" +
textBox1.Text +
"\\c\\Program Files\\Microsoft SQL
Server\\MSSQL\\Data\\MYDATABASE_Log.Ldf");

SourceFile1.CopyTo("D:\\",true);
SourceFile2.CopyTo("D:\\",true);

....and when i start my form, there is this Error Message

Could not find file"\\ADEMTEKEREK\c\Program 
Files\Microsoft SQL
Server\MSSQL\Data\MYDATABASE_Data.Mdf"


WHAT CAN I DO...???????

thnks for now.....


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "C-Sharp (C#)" group.
To post to this group, send email to C_Sharpgooglegroups.com
To unsubscribe from this group, send email to
C_Sharp-unsubscribegooglegroups.com
For more options, visit this group at http://groups.
google.com/group/C_Sharp
-~----------~----~----~----~------~----~------~--~---

C-Sharp (C#) Group: Re: <<< I couldnt backup my SQL Databases >>> !!!!!!!!!!!!!!!!
user name
2006-04-06 09:24:25
.net wont let you use DriveLetter$ UNC paths. Setup a share on the target machine(s) and use that instead.

On 4/6/06, gmail.com">gndzkdrgmail.com <gmail.com">gndzkdrgmail.com> wrote:

here is Codes

////////////////// textBox1.Text = ADEMTEKEREK &nbsp; &nbsp; &nbsp; &nbsp;(server
computer's name)

FileInfo SourceFile1=new FileInfo(&quot;\\\\&quot; + textBox1.Text +
"\\c\\Program&nbsp; Files\\Microsoft SQL
Server\\MSSQL\\Data\\MYDATABASE_Data.Mdf");

FileInfo SourceFile2=new FileInfo(&quot;\\\\&quot; + textBox1.Text +
"\\c\\Program Files\\Microsoft SQL
Server\\MSSQL\\Data\\MYDATABASE_Log.Ldf");

SourceFile1.CopyTo(&quot;D:\\";,true);
SourceFile2.CopyTo(&quot;D:\\";,true);

....and when i start my form, there is this Error Message

Could not find file"\\ADEMTEKEREK\c\Program &nbsp;Files\Microsoft SQL
Server\MSSQL\Data\MYDATABASE_Data.Mdf&quot;


WHAT CAN I DO...???????

thnks for now.....




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "C-Sharp (C#)" group.
To post to this group, send email to C_Sharpgooglegroups.com
To unsubscribe from this group, send email to C_Sharp-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/C_Sharp
-~----------~----~----~----~------~----~------~--~---

C-Sharp (C#) Group: Re: <<< I couldnt backup my SQL Databases >>> !!!!!!!!!!!!!!!!
user name
2006-04-06 09:58:26
 
share is on condition&nbsp;on target machine's C: drive, but still cant... what must i use for DriveLetter$ (or i understand wrong ?)
 ;
 

 
On 4/6/06, Liam Leane <gmail.com">greapygmail.com> wrote:
.net wont let you use DriveLetter$ UNC paths. Setup a share on the target machine(s) and use that instead.

On 4/6/06, gmail.com" target="_blank">gndzkdrgmail.com <gmail.com" target="_blank"> gndzkdrgmail.com> wrote:

here is Codes

////////////////// textBox1.Text = ADEMTEKEREK &nbsp; &nbsp; &nbsp; &nbsp;(server
computer's name)

FileInfo SourceFile1=new FileInfo(&quot;\\\\&quot; + textBox1.Text +
"\\c\\Program&nbsp; Files\\Microsoft SQL
Server\\MSSQL\\Data\\MYDATABASE_Data.Mdf");

FileInfo SourceFile2=new FileInfo(&quot;\\\\&quot; + textBox1.Text +
"\\c\\Program Files\\Microsoft SQL
Server\\MSSQL\\Data\\MYDATABASE_Log.Ldf");

SourceFile1.CopyTo(&quot;D:\\";,true);
SourceFile2.CopyTo(";D:\\",true);

....and when i start my form, there is this Error Message

Could not find file"\\ADEMTEKEREK\c\Program &nbsp;Files\Microsoft SQL
Server\MSSQL\Data\MYDATABASE_Data.Mdf&quot;


WHAT CAN I DO...???????

thnks for now.....








--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "C-Sharp (C#)" group.
To post to this group, send email to C_Sharpgooglegroups.com
To unsubscribe from this group, send email to C_Sharp-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/C_Sharp
-~----------~----~----~----~------~----~------~--~---

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )