473,320 Members | 1,910 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

How to protect ASPNETDB from Overwritten ?

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
Jul 3 '07 #1
2 1158
You can always ftp or copy the aspx files only.

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net
"luqman" <pe*******@cyber.net.pkwrote in message
news:OJ**************@TK2MSFTNGP04.phx.gbl...
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


Jul 3 '07 #2
On Jul 3, 6:25 pm, "Eliyahu Goldin"
<REMOVEALLCAPITALSeEgGoldD...@mMvVpPsS.orgwrote:
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

"luqman" <pearls...@cyber.net.pkwrote in message

news:OJ**************@TK2MSFTNGP04.phx.gbl...
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/archi...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

Jul 3 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: VB Programmer | last post by:
My web hoster says that I have to rename my ASPNETDB.MDF SqlExpress db for my 2.0 site to work. Is this accurate? If so, how can I rename it without breaking anything on my site? FYI: This is...
2
by: te goody | last post by:
Problem summary: Web Site Admin Tool is not generating the application services database (aspnetdb.mdf); i.e. The DB is not found under the app_data directory. The Question: What configuration...
1
by: Derek | last post by:
I am trying to deploy a web site on a server but I am having problems with the ASPNETDB database. It works fine in development on my PC but as SQL Server 2005 Express Edition only supports local...
0
by: RAM | last post by:
Hello, I have written simple ASP.NET application with logging in. I need to open ASPNETDB database to read some information which is not available using class library (custom table). I have...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.