SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


How to copy a Project


How to copy a Project

Author
Message
Randy Doub
Randy Doub
SSCrazy
SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)

Group: General Forum Members
Points: 2426 Visits: 778
I have a completed project that is very similar to a new one I want to create. Copying it would save time. How do I go about that?
File/Save As and File/Save Copy of .. As both want to create an object for deployment. I want a copy of the entire project that I can edit a couple of pieces of.
Dave23
Dave23
SSCommitted
SSCommitted (2K reputation)SSCommitted (2K reputation)SSCommitted (2K reputation)SSCommitted (2K reputation)SSCommitted (2K reputation)SSCommitted (2K reputation)SSCommitted (2K reputation)SSCommitted (2K reputation)

Group: General Forum Members
Points: 1969 Visits: 1806
If you have OS access, you can copy and paste the solution folder in Windows Explorer. If you do so, you may need to update component GUIDs in the copy, and you'll want to make sure that you double-check data destinations so that you don't accidentally update an unexpected table.

Not that the latter happened to me when I first cloned a project this way or anything

Whistling
Randy Doub
Randy Doub
SSCrazy
SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)

Group: General Forum Members
Points: 2426 Visits: 778
I didn't understand what you meant at first with the GUIDs. I started a second instance of BIDS and was able to copy/paste the objects, including Connection Managers, to a new solution.
Then I started editing the objects in the new solution and now I understand. The copied objects contain the GUID of the original property. I just edit and enter the new property by name.
Thanks.
Scott Grant
Scott Grant
SSC-Enthusiastic
SSC-Enthusiastic (174 reputation)SSC-Enthusiastic (174 reputation)SSC-Enthusiastic (174 reputation)SSC-Enthusiastic (174 reputation)SSC-Enthusiastic (174 reputation)SSC-Enthusiastic (174 reputation)SSC-Enthusiastic (174 reputation)SSC-Enthusiastic (174 reputation)

Group: General Forum Members
Points: 174 Visits: 366
I am attempting this same thing and cant seem to follow what you are discussing about the GUIDs. After copying the project my Visual Studio wont open the SSIS package.

Thanks
Scott
chris.stuart
chris.stuart
SSCrazy
SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)

Group: General Forum Members
Points: 2438 Visits: 832
Just to add. I have about 30 project all about the same, all of them reading Falt files into the Warehouse. I go into Windows Explore and copy and paste the complete project.
Then rename the files in Explorer from say File01.Sln to file02.Sln, same for the Dtsx file as well.
Then using a text editor I open all of the new files and search and replace all File01 with File02 and the destination tables.
But, be warned, I've tried this before in 2005 and every now and again I would get errors that the package is corrupt and can be read, but I've never had this problem in 2008 R2.
And I know I should change the GUID's but I still have to do it, just lazy I guess, but all of it works in any caseHehe
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum







































































































































































SQLServerCentral


Search