CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > visual_studio.visual_studio_2005 Tags:
Item Type: NewsGroup Date Entered: 11/15/2007 6:40:40 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 11 Views: 18 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
12 Items, 1 Pages 1 |< << Go >> >|
merk
Asp.Net User
best method to copy a remote site and make a local development copy11/15/2007 6:40:40 PM

0/0

Hi All,

I have a website which is live. I need to do some work on it and I'd rather not work on the live site. At home I am running vista ultimate x64, 2gb ram and vs2005. Can someone tell me what would be the best method for copying the site and making a local copy to work on? The site uses a sql2000 database. I would not be opposed to switching it to a sql2005 express db if there's a reason for it as long as i dont have to change all the code. I'm guessing i would just need to update the connection string.

I think i could probably do this on my own, but I'd just like to make sure I'm doing it correctly before i get into it and discovered i botched something somewhere.

thanks
 

david wendelken
Asp.Net User
Re: best method to copy a remote site and make a local development copy11/15/2007 6:55:21 PM

0/0

Most providers will let you ftp the files to and from their machines.

I suppose some would let you zip them up, but I haven't seen it. :(

 


If this answered your question, be sure to mark it as the answer. That way, everybody after you will know it's the answer also!
merk
Asp.Net User
Re: best method to copy a remote site and make a local development copy11/15/2007 7:10:07 PM

0/0

 i think you misunderstood my question. I have no problems accessing the files. I run the machine the site is on :) I just want to know what's the best method for ensuring that i can have a local copy that will behave the same as the remote copy. Do i just copy all the files into a folder and then open that folder in VS2005? what about the sql database? i dont have a copy of sql2000 running on my desktop.

thanks 

dglienna
Asp.Net User
Re: best method to copy a remote site and make a local development copy11/16/2007 6:07:59 AM

0/0

 You can download SQL 2005 Express for free, and install it.  Then, just change the connection strings.   Change them back before uploading, though.                                                                                                                                                  


- David MVP 2006 & 2007
merk
Asp.Net User
Re: best method to copy a remote site and make a local development copy11/16/2007 7:09:00 AM

0/0

how is that going to work if sql2000 is what the live site is using? it seems like a bad idea to use sql2000 on the live site and use sql2005 to develop with. 

dglienna
Asp.Net User
Re: best method to copy a remote site and make a local development copy11/16/2007 6:33:17 PM

0/0

 You just change the connection string, and SQL 2005 Express will open locally.  Providing you have a copy of the database  

 

You can then view the page using IIS to test it out. 

     


- David MVP 2006 & 2007
david wendelken
Asp.Net User
Re: best method to copy a remote site and make a local development copy11/16/2007 6:53:56 PM

0/0

merk:

how is that going to work if sql2000 is what the live site is using? it seems like a bad idea to use sql2000 on the live site and use sql2005 to develop with. 

Well, yes, it is a bad idea, if by "bad idea" you mean "increases the risk that it will work fine in development but not in production".

But spending wads of money to buy the 2000 version may be a worse idea given their budget.

The other alternative, developing on the production machine, invites its own set of risks which could be far more severe in their effects.

With care, and assuming the database is being used for simple, straight-forward inserts, updates, deletes and selects, the risk is manageable - particularly if a test script on a dummy database on the 2000 machine is run as a proof-of-concept when trying "new" techniques in the database.

 


If this answered your question, be sure to mark it as the answer. That way, everybody after you will know it's the answer also!
Benson Yu - MSF
Asp.Net User
Re: best method to copy a remote site and make a local development copy11/20/2007 2:53:01 AM

0/0

merk:
I just want to know what's the best method for ensuring that i can have a local copy that will behave the same as the remote copy. Do i just copy all the files into a folder and then open that folder in VS2005? what about the sql database? i dont have a copy of sql2000 running on my desktop.
 

Hi merk,

If you have permission detach/attach database on the remote server. You can simply copy the SQL 2000 database to your local machine and attach it to the local SQL Server 2005 instance. SQL 2005 instance is compatible with SQL 2000 database (Compatibility level: SQL Server 2000 (80)).

If you cannot copy the database file from the server, I think you have to create a local database with same schema (the database on the server also come from your development environment. You can create your local database schema with the same steps).

Now the concern is how to synchronize the data between local and remote databases. In my opinion, you can develop a web page to select data from each table and export them into some files, such as excel file (the first link below), and then you can copy the excel files on local machine and import them in your local tables (the second link below). Following links include the related articles about this scenario. I hope they are helpful to you.

How To Use ADO.NET to Retrieve and Modify Records in an Excel Workbook With Visual Basic .NET
http://support.microsoft.com/kb/316934/en-us

How to import data from Excel to SQL Server
http://support.microsoft.com/kb/321686/en-us

At last, please don't forget to change your connection sting in web.config to point to the correct SQL Server instance. For example:

    Data Source=myServerAddress;Initial Catalog=myDataBase;Integrated Security=SSPI;


Sincerely,
Benson Yu
Microsoft Online Community Support

Please remember to click ?Mark as Answer? on the post that helps you, and to click ?Unmark as Answer? if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
merk
Asp.Net User
Re: best method to copy a remote site and make a local development copy11/20/2007 3:26:24 AM

0/0

thanks for the reply. I do have admin access to the sql server. however, i do not have a copy of sql server (2000 or 2005) to install on my desktop.  Can i instead convert the sql2000 database into a sql express database?

I'm not worried about keeping the data in sync between them. I'll just be copying the database once to have a development copy and after that it doesn't matter about the data.

thanks for the help


 

dglienna
Asp.Net User
Re: best method to copy a remote site and make a local development copy11/20/2007 3:38:45 AM

0/0

 SQL Express will work fine locally.  


- David MVP 2006 & 2007
Benson Yu - MSF
Asp.Net User
Re: best method to copy a remote site and make a local development copy11/21/2007 1:47:43 AM

0/0

merk:
i do not have a copy of sql server (2000 or 2005) to install on my desktop.  Can i instead convert the sql2000 database into a sql express database?

Hi merk,

You needn?t convert the database. SQL Server 2005 Express edition is one of the SQL Server 2005 editions.

You can simply copy the SQL 2000 database to your local machine and then attach it to the local SQL Server 2005 instance (works for all SQL 2005 editions). SQL 2005 instance is compatible with SQL 2000 database (Compatibility level: SQL Server 2000 (80)). At last, change the connection string in web.config.


Sincerely,
Benson Yu
Microsoft Online Community Support

Please remember to click ?Mark as Answer? on the post that helps you, and to click ?Unmark as Answer? if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
merk
Asp.Net User
Re: best method to copy a remote site and make a local development copy11/21/2007 2:52:15 AM

0/0

 ah very cool. i just assumed i would have to do some sort of conversion process. Do you happen to know if the same is true with sql express 2008? i just downloaded that but havent installed it yet. If it'll work with that, i might as well just try using that.

thanks
 

12 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Beginning DotNetNuke Skinning and Design: Skinning and Desing Authors: Andrew Hay, Nina Meiers, Shaun Walker, Pages: 432, Published: 2007
Mastering Web Development with Microsoft Visual Studio 2005 Authors: John Paul Mueller, Pages: 822, Published: 2005
FrontPage 2003: The Missing Manual Authors: Jessica Mantaro, Pages: 411, Published: 2005
Beginning ASP.NET 3.5: In C# and VB Authors: Imar Spaanjaars, Pages: 734, Published: 2008
How to Do Everything with Dreamweaver 8 Authors: Michael Meadhra, Pages: 448, Published: 2005
Dreamweaver MX 2004: The Missing Manual Authors: David Sawyer McFarland, David Pogue, Pages: 836, Published: 2004
Dreamweaver CS3: The Missing Manual Authors: David Sawyer McFarland, Pages: 995, Published: 2007
Dreamweaver 8: The Missing Manual Authors: David Sawyer McFarland, David Pogue, Pages: 936, Published: 2006
Dreamweaver 8: The Missing Manual Authors: David Sawyer McFarland, David Pogue, Pages: 936, Published: 2006
Professional C# 2005 Authors: Christian Nagel, Bill Evjen, Jay Glynn, Karli Watson, Morgan Skinner, Allen Jones, Pages: 1540, Published: 2006

Web:
Best way to install a database at a remote site - MS SQL Best way to install a database at a remote site. ... with other methods you'd need a copy of the database for every possible data ...
MODx Content Management System | Moving Sites to New Servers Then make a copy of manager/includes/config.inc.php to config.local.inc.php, and edit config.inc.php with the remote database connection settings for the ...
ASP.NET Deployment Overview You can use the Copy Web Site tool to copy the files to the local computer, edit them, and then copy them back to the remote site. ...
Wion: Moving a Live Textpattern Site to a Local Server Move a copy of the remote Textpattern files of the target site to a directory ( serving as a virtual development domain) on your local computer. ...
CodeProject: Deploying Web Sites Using Visual Studio 2005. Free ... Oct 19, 2008 ... In copy web tool , There are two window, one is current location, which is our local solution file and another id remote site that is our ...
Make a Backup Copy of your Production Wordpress Blog on Ubuntu ... Sep 27, 2006 ... 6) Make our local webserver point to the copy of Wordpress we got off the production ... You've now got a development copy of your blog! ...
IFLA/CLM Licensing Principles Of particular interest to IFLA in the development of licenses is the following: ... The license should provide access for geographically remote sites if ...
subversion: Subversion FAQ What is the best method of doing a network trace of the conversation between ...... The basic idea is to make the "live site" just an ordinary working copy, ...
Git - SVN Crash Course The best way to avoid that is to push only to remote repositories with no working copy at all - so called bare repositories which are commonly used for ...
H4313-EMC Celerra Replicator: Advanced IP Storage Protection Data ... sent to one or more remote sites. For data recovery, the secondary copy can be made ... extensive storage deployment best practices, and proven method- ...

Videos:
Developing JavaScript with Chickenfoot Google TechTalks July 25, 2006 Rob Miller Michael Bolin ABSTRACT Chickenfoot is a Firefox extension that embeds a JavaScript programming environmen...
Distributed continuous quality assurance Google London Test Automation Conference (LTAC) Google Tech Talks September 8th, 2006 Presenter: Adam Porter
Santa Monica Council Meeting Santa Monica Council Meeting




Search This Site:










a definitely weird error!

passwordregularexpression ???

do i need ssl for windows authentication?

events in c#

is that possible make a new module using c# inside dnn ?

web site administration tool deployment

tableprofileprovider on sandbox

new to dnn - how to install it?

intellisense for frameworks like jquery (plus failing behavior)

how to get user name in dnn ?

how to avoid the space between the div .

documentation for membership schema?

admin module

java to c# translation

extending the authorization filter for web parts

treeview

merge aspnetdb database with another database

runtime error

a question about decryption

login page error

how can we watch session variable

running tools from the command window

how to prevent auto password change?

setting property values to a user control

.net 2.0 and 1.1 code

migration assistant doesn't copy/migrate some files

how do i extend the aspnetdb?

looking for some testers for a free e-commerce solution: storenuke.net

database handling architecture for ibuyspy store

treeview not working with ie 6.0.3790.0

 
All Times Are GMT