How to protect ASPNETDB from Overwritten ?

L

luqman

Whenever I publish and update my web site through Visual Studio 2005, the
ASPNETDB.MDF (Sql Server Security DB) overwrites, I just want to update the
aspx files and not the ASPNETDB.MDF file in App_Data folder, how can I ?

Best Regards,

Luqman
 
N

nahid

You can always ftp or copy the aspx files only.

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]http://msmvps.com/blogs/egoldinhttp://usableasp.net




Whenever I publish and update my web site through Visual Studio 2005, the
ASPNETDB.MDF (Sql Server Security DB) overwrites, I just want to update
the
aspx files and not the ASPNETDB.MDF file in App_Data folder, how can I ?
Best Regards,
Luqman- Hide quoted text -

- Show quoted text -

hi,
try this way

xcopy %sourcePath% %destinationPath% /i /s /k /d /
exclude:FilesToExclude.txt
//copy css file i don't know for some reason css files not copy useing
previous command
xcopy %sourcePath%\Styles\*.css %destinationPath%\Styles /s

Check following links hope helps you
http://weblogs.asp.net/scottgu/archive/2005/11/06/429723.aspx
http://msdn2.microsoft.com/en-us/library/f735abw9.aspx

nahid
KAZ Software
http://www.kaz.com.bd
blog: http://nahidulkibria.blogspot.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top