Click here to Skip to main content
15,892,298 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi

Hi how to copy and replace mdb file in asp.net inside root folder,i mean deploy in server machine,i have empty db ,when user click i need to copy empty db and repalce in exisiting mdb.


Note: i am not ask copy and paste in new place,i need to replace with existing mdb file in asp.net using vb language.



Regards
Aravind
Posted

1 solution

Try these links -
http://www.dreamincode.net/forums/topic/172576-copy-a-file-and-overwrite/[^]
http://www.dotnetheaven.com/article/how-to-replace-a-file-using-vb.net[^]
http://www.rondebruin.nl/win/s3/win026.htm[^]


When you host your site in IIS, the user that site is running against should have access to these folders for reading and writing files.
 
Share this answer
 
Comments
Aravindba 7-Aug-14 2:16am    
yes thank u for ur reply,i an going to replace file inside root folder(from one folder to another inside root folder),so i give all permission for root folder

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900