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.