Last post Feb 02, 2013 06:18 AM by akkemraju
Sep 25, 2012 07:07 AM|chirag.mca87|LINK
I created one web setup project. when i install website it will automatically create database on local machine and server. its work on local machine but i don't know how to create database on server with .bak file. i think its need to .bak file in \backup\
folder on server.
if anyone know than pls reply me
Thanks In Advance.
Sep 25, 2012 07:17 AM|SohailShaikh|LINK
Check this link
Sep 25, 2012 08:15 AM|chirag.mca87|LINK
Thnks Sohail for ur interest.
but i need to use .bak file and restore on remote server i tried like that but its only wotk for local machine not for remote server.
Sep 25, 2012 08:23 AM|RichardY|LINK
The queston is, what does not work? What errors or exceptions do you see? Is the database SqlServer? Are you able to execute scripts on the remote database?
Sep 25, 2012 08:30 AM|chirag.mca87|LINK
thnks Richard For ur interest
i am getting this error "System.Data.SqlClient.SqlError: Cannot open backup device 'D:\\Backup\\EFMVC.bak'. Operating system error 3(The system cannot find the path specified.)." when i restore .bak file on remote server. any idea how to resolve this issue.
Sep 25, 2012 08:58 AM|Bansal Nitin|LINK
Hope this helps .............
Sep 25, 2012 09:58 AM|RichardY|LINK
Is the code you are using runing on the remote server or are you attempting to connect to the remote server from a local machine?
It might help us understand if you post the code you are using.
Sep 25, 2012 03:33 PM|SohailShaikh|LINK
Check these link here the author also perform your task please see this link may be its help ful to you
Sep 26, 2012 01:55 AM|chirag.mca87|LINK
i am attempting to connect remot server from local machine.
once again thnks
Feb 02, 2013 06:18 AM|akkemraju|LINK
Which remote server you are using?