Showing posts with label wizard. Show all posts
Showing posts with label wizard. Show all posts

Monday, March 19, 2012

DTS Package Migration Error

I've been migrating SQL 2000 DTS packages into SQL 2005 using the Migrate DTS 2000 Package wizard in Visual Studio 2005. All packages migrate fine except one which throws out the following error:

exception of type 'Microsoft.SQLServer.DTS.MigrationWizard.HelperUtility.DTSMWException was thrown

No other supporting information is given to help diagnose the problem. Has anyone else come across this error before? Looking at past threads, I've checked the DTS package for leading or trailing spaces which might cause an issue and there are none.

Thanks.

me too in the same position...|||

Hey i found the problem. if you are package is Incompleted take an example "doing the bulk insert from SQL Server Conn to Excel sheet but with out Defining which Table and column" package will thro error. Just check you package.

DTS Package Migration Error

I've been migrating SQL 2000 DTS packages into SQL 2005 using the Migrate DTS 2000 Package wizard in Visual Studio 2005. All packages migrate fine except one which throws out the following error:

exception of type 'Microsoft.SQLServer.DTS.MigrationWizard.HelperUtility.DTSMWException was thrown

No other supporting information is given to help diagnose the problem. Has anyone else come across this error before? Looking at past threads, I've checked the DTS package for leading or trailing spaces which might cause an issue and there are none.

Thanks.

me too in the same position...|||

Hey i found the problem. if you are package is Incompleted take an example "doing the bulk insert from SQL Server Conn to Excel sheet but with out Defining which Table and column" package will thro error. Just check you package.

Friday, March 9, 2012

DTS package

I am tring to back up my remote site's data to my computer here at home.

I use DTS wizard from EM and copy objects and data (is this correct?)

Then I choose to save the package as SQL package, give it a name and times to run etc.

However I can't find where it has saved if indeed it has.
I've looked under SQL server agent jobs and management local packages but it's not there.

I'm sure I'm doing it all wrong!

Thanks for any advice.

JBDid you create the package on Your computers Sql Server or on the Remote Server? I am sure that is the problem. Check both locations.|||Thanks Wes,

But.. how on earth do I create this on the remote Database?

JB

Sunday, February 26, 2012

DTS migration wizard, where does it put migrated version?

From SQL Server Management Studio I right click on Management/Legacy/DTS and select Migration Wizard and enter a SQL Server Source and Destination. A list of DTS packages from the source server is displayed and I select one of the DTS packages and give the destination a unique name. The wizard runs and says it's successful. I can't find the new SSIS version of the DTS package with the new name that I've given it, however. Where does it put the new migrated copy of the DTS package.

Thanks,

John

In Sql Management Studio, under the Object Explorer window in the Connect drop down choose Integration Services, and it will show you all stored packages on that instance.|||Thanks, this helps. Now I'd like to find out how to edit the migrated version. How to I get to it from BI Dev Studio?|||

All of the stored packages will usually be in ~\Program Files\Microsoft SQL Server\90\DTS\Packages

DTS migration wizard, how to edit MSDB packages?

Thanks to Sean for helping me find the migrated packages. I'd like to edit one of the connections on a bunch of packages that I migrated. I see in the Run Package there are configuration options that would allow me to mofify the connection string at that point in time, but I would like to modify the package so it has the new connection string. I was thinking I could access it in BI Dev studio, but I'm not sure how to get to it. I suppose I could migrate to a file and then edit the file prior to importing, but I'm curious if there's a way I can modify the packages that show up under Integration Services/Stored Packages/MSDB.

Thanks,

John

You'll have to export it to a file, and then edit it with BIDS. Afterwards import it back in. :)

DTS Migration Wizard question

Hi,
I've upgraded from 2000 to 2005, 2005 on a new server too.
I have moved a DTS package from the 2000 box to 2005 box & have performed th
DTS Migration Wizard.
Now I want to fiddle with the design of the package in Business Intelligence
Design Studio. Where the heck is it (the migrated package)? How do I open
the package in this wierd GUI?
cheersTry to connect to Integration Services and expand "Storage Packages", just t
o
see where you saved your package.
To edit the package, run Business Intelligence Development Studio, create a
new Project (using Integration Services Template) and in the new Solution ad
d
an existing package; following the dialog boxes you should navigate to the
path where your package is stored.
Gilberto Zampatti
"dc" wrote:

> Hi,
> I've upgraded from 2000 to 2005, 2005 on a new server too.
> I have moved a DTS package from the 2000 box to 2005 box & have performed
th
> DTS Migration Wizard.
> Now I want to fiddle with the design of the package in Business Intelligen
ce
> Design Studio. Where the heck is it (the migrated package)? How do I ope
n
> the package in this wierd GUI?
> cheers
>
>

DTS Migration Wizard question

Hi,
I've upgraded from 2000 to 2005, 2005 on a new server too.
I have moved a DTS package from the 2000 box to 2005 box & have performed th
DTS Migration Wizard.
Now I want to fiddle with the design of the package in Business Intelligence
Design Studio. Where the heck is it (the migrated package)? How do I open
the package in this wierd GUI?
cheersTry to connect to Integration Services and expand "Storage Packages", just to
see where you saved your package.
To edit the package, run Business Intelligence Development Studio, create a
new Project (using Integration Services Template) and in the new Solution add
an existing package; following the dialog boxes you should navigate to the
path where your package is stored.
Gilberto Zampatti
"dc" wrote:
> Hi,
> I've upgraded from 2000 to 2005, 2005 on a new server too.
> I have moved a DTS package from the 2000 box to 2005 box & have performed th
> DTS Migration Wizard.
> Now I want to fiddle with the design of the package in Business Intelligence
> Design Studio. Where the heck is it (the migrated package)? How do I open
> the package in this wierd GUI?
> cheers
>
>

DTS Migration Wizard error

I'm using SQL Server 2005 Enterprise x64 and when attempting to migrate a DTS from our SQL Server 2000 Standard x86 server I received the following error message:

DTS Migration Wizard Error

Could not load file or assembly 'Microsoft.SqlServer.Exec80PackageTask, Version=9.0.242.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of it's dependencies. The system cannot find the file specified.

Click Abort to stop the migration of the current package.

Click Retry to retry the operation.

Click Skip to skip the migration of the current task and continue to the next task.

From the error message, it would appear something did not install or register correctly. Any idea on what is missing and how I can fix it?

Hi there,

Did you do a full SSIS install, or did you install the Migration Wizard by itself? I believe you also need choose "Legacy Components" from the setup if you choose to install the Migration Wizard without the rest of the workbench. That might be the cause of the error you're seeing.

Thanks,

~Matt

|||

I chose to install all (full) components, both server and tools, during my installation of SQL Server 2005 Evaluation Edition. I found it strange that the icon said MS Visual Studio Premier Edition -enu instead of SQL Server Business Intelligence Development Studio. I tried a repair on the MS Visual Studio Premier Edition from Add / Remove Programs but it didn't help. I then removed it using Add / Remove Programs. However, when I fire up the SQL Server 2005 Evaluation Edition setup and attempted to reinstall the tools, it said they were already installed and would not let me go any further. Is a reboot of the production server necessary for Windows 2003 Enterprise to realize I uninstalled MS Visual Studio?

Thanks for your response Matt!

|||

The Visual Studio icon will only be labeled "SQL Server Business Intelligence Development Studio" under the SQL Server folder in the start menu. Your old visual studio icons won't change (they all point to the same thing).

You shouldn't have to reboot after installing SQL Server, but if you've done a repair, I'm not sure what state that puts you in. You might want to uninstall it all and start over again.

The Migration Wizard will be looking for the Microsoft.SqlServer.Exec80PackageTask assembly in the GAC - you might want to make sure it's there. This task gets installed when you select "Legacy Components" or the workbench, so doing a full install should give you all the bits you need.

|||That is the strange part. MS Visual Studio 2005 was not previously installed on this machine; it came across when I chose to install every component of the SQL Server 2005 Eval Edition installation. And the icon in the SQL Server folder didn't say BIDS, instead it was labeled MS Visual Studio 2005. Either way, I have now uninstalled MS Visual Studio 2005 and it looks like I will need to reboot my server before it recognizes the change as it will not allow me to re-install them at this point.|||I ended up uninstalling and reinstalling all of SQL Server 2005 and components. Then to address the missing Business Intellligence projects; I finallly found the answer, In MS Visual Studio (BIDS) click on Tools - Import and Export Settings - Import Selected Environment Settings - Yes, Save my current settings and then highlight "Business Intelligence Settings" and click on finish. This will add the Business Intelligence projects to BIDS.

DTS Migration Wizard error

I'm using SQL Server 2005 Enterprise x64 and when attempting to migrate a DTS from our SQL Server 2000 Standard x86 server I received the following error message:

DTS Migration Wizard Error

Could not load file or assembly 'Microsoft.SqlServer.Exec80PackageTask, Version=9.0.242.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of it's dependencies. The system cannot find the file specified.

Click Abort to stop the migration of the current package.

Click Retry to retry the operation.

Click Skip to skip the migration of the current task and continue to the next task.

From the error message, it would appear something did not install or register correctly. Any idea on what is missing and how I can fix it?

Hi there,

Did you do a full SSIS install, or did you install the Migration Wizard by itself? I believe you also need choose "Legacy Components" from the setup if you choose to install the Migration Wizard without the rest of the workbench. That might be the cause of the error you're seeing.

Thanks,

~Matt

|||

I chose to install all (full) components, both server and tools, during my installation of SQL Server 2005 Evaluation Edition. I found it strange that the icon said MS Visual Studio Premier Edition -enu instead of SQL Server Business Intelligence Development Studio. I tried a repair on the MS Visual Studio Premier Edition from Add / Remove Programs but it didn't help. I then removed it using Add / Remove Programs. However, when I fire up the SQL Server 2005 Evaluation Edition setup and attempted to reinstall the tools, it said they were already installed and would not let me go any further. Is a reboot of the production server necessary for Windows 2003 Enterprise to realize I uninstalled MS Visual Studio?

Thanks for your response Matt!

|||

The Visual Studio icon will only be labeled "SQL Server Business Intelligence Development Studio" under the SQL Server folder in the start menu. Your old visual studio icons won't change (they all point to the same thing).

You shouldn't have to reboot after installing SQL Server, but if you've done a repair, I'm not sure what state that puts you in. You might want to uninstall it all and start over again.

The Migration Wizard will be looking for the Microsoft.SqlServer.Exec80PackageTask assembly in the GAC - you might want to make sure it's there. This task gets installed when you select "Legacy Components" or the workbench, so doing a full install should give you all the bits you need.

|||That is the strange part. MS Visual Studio 2005 was not previously installed on this machine; it came across when I chose to install every component of the SQL Server 2005 Eval Edition installation. And the icon in the SQL Server folder didn't say BIDS, instead it was labeled MS Visual Studio 2005. Either way, I have now uninstalled MS Visual Studio 2005 and it looks like I will need to reboot my server before it recognizes the change as it will not allow me to re-install them at this point.|||I ended up uninstalling and reinstalling all of SQL Server 2005 and components. Then to address the missing Business Intellligence projects; I finallly found the answer, In MS Visual Studio (BIDS) click on Tools - Import and Export Settings - Import Selected Environment Settings - Yes, Save my current settings and then highlight "Business Intelligence Settings" and click on finish. This will add the Business Intelligence projects to BIDS.

DTS Migration wizard - solved

i am trying to use the DTS migration wizard in sql server 2005 to migrate some of the DTS packages that i have on sql server 2000.

After entering the source and destination server i get the following error:

Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index (mscorlib)

Does anyone know the reson behind this?

Thanks for any help.

I've just installed Server 2005 and am getting the same message. The earlier threads refer to special characters and leading or trailing spaces. I've tried the wizard on a few packages that have nothing but letters in the name, and I get the above message. I tried repairing .NET 2.0 as well (didn't work).

What else should I/we try?

Thanks,

K

|||

Found a forum where a user clarified that NONE of the DTS packages can have a leading/trailing space. Well, one out of a hundred or so packages had a space; after I fixed that one, the wizard worked.

Find the spaces (thanks to Joseph Sack's SQL Server blog):

SELECT DISTINCT name
FROM msdb.dbo.sysdtspackages
WHERE name LIKE '% '

and I'd suggest: or name LIKE ' %'

|||

Thanks a lot.

I had one package that had a space. After i deleted the space i was able to get a little further. but when i hit finish, All the packages display "Stopped" and none gets transferred.

Thanks

DTS Migration wizard - same here

i am trying to use the DTS migration wizard in sql server 2005 to migrate some of the DTS packages that i have on sql server 2000.

After entering the source and destination server i get the following error:

Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index (mscorlib)

Does anyone know the reson behind this?

Thanks for any help.

I've just installed Server 2005 and am getting the same message. The earlier threads refer to special characters and leading or trailing spaces. I've tried the wizard on a few packages that have nothing but letters in the name, and I get the above message. I tried repairing .NET 2.0 as well (didn't work).

What else should I/we try?

Thanks,

K

|||

Found a forum where a user clarified that NONE of the DTS packages can have a leading/trailing space. Well, one out of a hundred or so packages had a space; after I fixed that one, the wizard worked.

Find the spaces (thanks to Joseph Sack's SQL Server blog):

SELECT DISTINCT name
FROM msdb.dbo.sysdtspackages
WHERE name LIKE '% '

and I'd suggest: or name LIKE ' %'

|||

Thanks a lot.

I had one package that had a space. After i deleted the space i was able to get a little further. but when i hit finish, All the packages display "Stopped" and none gets transferred.

Thanks

DTS migration from ss2000 --> ss2005

Pablo
Right Click on Data Transformation Services and choose Migration Wizard
"Pablo Cognito" <pcognito@.gmail.com> wrote in message
news:uXs7OOJDHHA.3660@.TK2MSFTNGP02.phx.gbl...
> hi,
> I'm planning to move my existing DTS that I've made in ss2000 to ss2005.
> At this moment I'm not planning to migrate existing DTS to SSIS, I just
> want to use backward compatibility for now.
> What's the "best practice" technique for moving ss2000 DTS --> ss2005?
> Thanks
Sorry, firstly save the DTS as stucture storage file
secondly Right Click on Data Transformation Services and choose Import
Package File option
choose Import option
"Uri Dimant" <urid@.iscar.co.il> wrote in message
news:OMMOegJDHHA.3492@.TK2MSFTNGP06.phx.gbl...
> Pablo
> Right Click on Data Transformation Services and choose Migration Wizard
>
> "Pablo Cognito" <pcognito@.gmail.com> wrote in message
> news:uXs7OOJDHHA.3660@.TK2MSFTNGP02.phx.gbl...
>

Friday, February 24, 2012

DTS is rubbish

I'm gonna say something slightly controversial just to get a bit of debate
going, but I think DTS is just a drag and drop wizard for programmers who
don't know what they're doing. As with any wizard, it can take you so far,
but if you need anything complicated it's an ActiveX script. You do not use
VBScript (or a n other scripting language) to work with large volumes of
data.
Discuss? ; )
I'm personally a big fan of bcp and BULK INSERT; there is nothing faster for
shifting data.
I guess DTS might be ok for small import jobs, and the workflow could be
useful ...
Let me know what you think.
DamienDamien <Damien@.discussions.microsoft.com> wrote:
> I'm gonna say something slightly controversial just to get a bit of
> debate going, but I think DTS is just a drag and drop wizard for
> programmers who don't know what they're doing. As with any wizard,
> it can take you so far, but if you need anything complicated it's an
> ActiveX script. You do not use VBScript (or a n other scripting
> language) to work with large volumes of data.
> Discuss? ; )
> I'm personally a big fan of bcp and BULK INSERT; there is nothing
> faster for shifting data.
> I guess DTS might be ok for small import jobs, and the workflow could
> be useful ...
> Let me know what you think.
Exactly the opposite: DTS is fast and flexible. IMHO it's good that you
don't have to write a program or a bcp control file just to get data from
one db to another. Plus it's cross database - as long as both DB support
ODBC you can even use DTS with non MS databases.
robert|||"Damien" <Damien@.discussions.microsoft.com> wrote in message
news:77DE764E-C242-4448-B1DB-33FBD0E6EC58@.microsoft.com...
> I'm gonna say something slightly controversial just to get a bit of debate
> going, but I think DTS is just a drag and drop wizard for programmers who
> don't know what they're doing. As with any wizard, it can take you so
> far,
> but if you need anything complicated it's an ActiveX script. You do not
> use
> VBScript (or a n other scripting language) to work with large volumes of
> data.
> Discuss? ; )
> I'm personally a big fan of bcp and BULK INSERT; there is nothing faster
> for
> shifting data.
> I guess DTS might be ok for small import jobs, and the workflow could be
> useful ...
> Let me know what you think.
>
> Damien
BULK INSERT is great if you just need to import a single delimited file per
table but isn't a complete integration solution, which is what DTS aspires
to be.
To handle row-level validation and transformations involving multiple tables
or non-relational data sources you need somewhere to put the transformation
and validation logic. Broadly, the two common approaches are: 1) ELT -
Extract and Load to staging tables. Transform and validate in the database.
2) ETL - Extract, Transform and validation process first, then Load to the
database. DTS is usually positioned somewhere between these two approaches.
In my experience, when it comes to true ETL capability DTS falls short on
features and performance compared to rival integration software products.
That's a signifcant issue because the ETL appraoch has important benefits
for many enterprises. That's why DTS probably hasn't taken much market share
from the likes of Informatica and Ab Initio.
SQL Server 2005 Intergration Services is a big improvement on DTS. It
remains to be seen what market that will find now Microsoft is pushing
harder to promote SQL Server's potential as a complete BI tool suite.
David Portas
SQL Server MVP
--|||Damien wrote:
> I'm gonna say something slightly controversial just to get a bit of
> debate going, but I think DTS is just a drag and drop wizard for
> programmers who don't know what they're doing. As with any wizard,
> it can take you so far, but if you need anything complicated it's an
> ActiveX script. You do not use VBScript (or a n other scripting
> language) to work with large volumes of data.
I've only used it for small or one-off migration projects, but it's been
really nice to not have to really think about the programming and to just
drag and drop and set some parameters and go.
One of the most complicated situations I've used it in was for testing some
VB apps and stored procedures for a large data integration project. We were
getting data in Access tables from an outside source, importing them to
staging tables, manipulating them with stored procedures and populating
other tables. There were several steps and combinations of VB apps and
stored procedures because there were several types of data coming in and
going out and they had to be in specific order and with some assumptions of
values set by a previous step.
I was able to create several DTS packages to clear out and re-load the data
and initialize values to simulate a previous step in order to trouble-shoot
various stages of the process. All this without taking time to write an
extra application. I knew what I was doing obviously (I wrote the VB apps
and stored procedures), but it was really quick to use DTS in this case
because I could just point and click and run the process, then get back to
work on the real application for the client. Another benefit of DTS in this
case was that I was working remotely through a secure VNC tunnel and
recompiling the VB apps on my machine, FTPing them over and moving them to
the right directory was a pain (security was very rigid). With DTS, the
packages were stored right there in the server, so I didn't have to looking
anywhere else for them or upload them after changes were made.
There are multiple ways to solve different problems, but this one seemed to
fit the bill quite well.
David Cornelius
http://CorneliusConcepts.com|||The more complex the transformations, then the slower DTS will run. If your
transformation VBScript task is making calls to external COM objects (like
the File System Object or a custom DLL component), then performance will
seriously take a hit. It is true that seperating the load and transformation
steps can improve performance and perhaps make the transformation
programming more maintainable. Here is the method I use for loading 10 GB+
daily into a data warehouse.
#1 Bulk copy / DTS raw source data into staging database / tables.
#2 Run data quality queries against the staging tables to verify
referential integrity, etc. This is especially important if you are
importing data from a 3rd party applications, and it's best to detect and
resolve these issues before it reaches production.
#3 Select rows from staging tables into production database / tables
using T-SQL for the transformations.
#4 Drop or truncate the staging tables.
For performance reasons, the staging database can be placed on a seperate
disk drive from the production database and RAID is optional.
"Damien" <Damien@.discussions.microsoft.com> wrote in message
news:77DE764E-C242-4448-B1DB-33FBD0E6EC58@.microsoft.com...
> I'm gonna say something slightly controversial just to get a bit of debate
> going, but I think DTS is just a drag and drop wizard for programmers who
> don't know what they're doing. As with any wizard, it can take you so
> far,
> but if you need anything complicated it's an ActiveX script. You do not
> use
> VBScript (or a n other scripting language) to work with large volumes of
> data.
> Discuss? ; )
> I'm personally a big fan of bcp and BULK INSERT; there is nothing faster
> for
> shifting data.
> I guess DTS might be ok for small import jobs, and the workflow could be
> useful ...
> Let me know what you think.
>
> Damien|||Thanks for the input guys!
"Damien" wrote:

> I'm gonna say something slightly controversial just to get a bit of debate
> going, but I think DTS is just a drag and drop wizard for programmers who
> don't know what they're doing. As with any wizard, it can take you so far
,
> but if you need anything complicated it's an ActiveX script. You do not u
se
> VBScript (or a n other scripting language) to work with large volumes of
> data.
> Discuss? ; )
> I'm personally a big fan of bcp and BULK INSERT; there is nothing faster f
or
> shifting data.
> I guess DTS might be ok for small import jobs, and the workflow could be
> useful ...
> Let me know what you think.
>
> Damien

Friday, February 17, 2012

DTS Import/Export Wizard Error: GetSourcesRowset

when starting the wizard i get the following error:
DTA Emport/Export Wizard Error: GetSourcesRowset
Class not registered
I have manually registered all the suggested dll's i have updated to the
latest service pack, i have even uninstalled and reistalled.
Anyone have any new ideas that might fix this
Try uninstall and Delete the registry keys and reinstall again.
Thanks
Ravi
"TJ McCord via droptable.com" wrote:

> when starting the wizard i get the following error:
> DTA Emport/Export Wizard Error: GetSourcesRowset
> Class not registered
> I have manually registered all the suggested dll's i have updated to the
> latest service pack, i have even uninstalled and reistalled.
> Anyone have any new ideas that might fix this
>

DTS Import/Export Wizard Error: GetSourcesRowset

when starting the wizard i get the following error:
DTA Emport/Export Wizard Error: GetSourcesRowset
Class not registered
I have manually registered all the suggested dll's i have updated to the
latest service pack, i have even uninstalled and reistalled.
Anyone have any new ideas that might fix thisTry uninstall and Delete the registry keys and reinstall again.
Thanks
Ravi
"TJ McCord via droptable.com" wrote:

> when starting the wizard i get the following error:
> DTA Emport/Export Wizard Error: GetSourcesRowset
> Class not registered
> I have manually registered all the suggested dll's i have updated to the
> latest service pack, i have even uninstalled and reistalled.
> Anyone have any new ideas that might fix this
>

DTS Import/Export Wizard Error: GetSourcesRowset

when starting the wizard i get the following error:
DTA Emport/Export Wizard Error: GetSourcesRowset
Class not registered
I have manually registered all the suggested dll's i have updated to the
latest service pack, i have even uninstalled and reistalled.
Anyone have any new ideas that might fix thisTry uninstall and Delete the registry keys and reinstall again.
--
Thanks
Ravi
"TJ McCord via SQLMonster.com" wrote:
> when starting the wizard i get the following error:
> DTA Emport/Export Wizard Error: GetSourcesRowset
> Class not registered
> I have manually registered all the suggested dll's i have updated to the
> latest service pack, i have even uninstalled and reistalled.
> Anyone have any new ideas that might fix this
>

DTS Import/Export Wizard database copy problem

Hi

I'm experiencing problems copying a SQL 2000 database from my host to a local SQL Server.

I choose the Data Source OK, using SQL Server Authentication and the username and password used to setup my hosted database.

Then I specify the destination, my local server. I'm using my sa account and password and creating a <new> database (doesn't matter if I use the same db name as the source or a different one, I'm still getting an error).

I then choose "Copy objects and data between SQL Server databases", then take all defaults on the "Select Objects to Copy screen", i.e. create destination objects drop objects first and include dependent objects); creat data (replacing existing data); Copy all objects and use default options.

The copy appears to be creating a script OK (runs up to 100%), then looks to start copying objects. It gets to approx 20% and reports that it "Failed to copy objects from Microsoft SQL Server to Microsoft SQL Server". When I click on the Executing Package entry it tells me:

[Microsoft][ODBC SQL Server Driver][SQL Server]The login already has an account under a different user name.

I can't seem to find any reference to this error in my books or on Google (usually a great source of info). Can't help feeling I'm doing something stupid. Would be very, very greatful if someone out there could give me a pointer in the right direction.

Thanks,
Keith.On the "Select Objects to Copy screen" I would uncheck the "Use default options" box at the bottom, click "Options..." and uncheck "Copy database users and database roles". This should take care of the problem.

Terri

DTS Import/Export Wizard

I have a problem here with my DTS Import/Export Wizard, according to MSDN Library stated below,

[When creating a table using the DTS Import/Export Wizard or DTS Designer, the owner of a table created at the destination is the current user (generally the dbo), regardless of who the owner is at the source. ]

My concern here is if i have a source table of owner A, how can I default the owner of a table created at the destination is A. The problem here is i have more that 20 table of owner A to transfer and i don't want the default to be dbo and i have to go and change each and everyone. Please advice.The most logical solution :

Register the server in EM with the login A. All tables will now be created with owner as A|||Originally posted by Enigma
The most logical solution :

Register the server in EM with the login A. All tables will now be created with owner as A

I had tried this logical solution. And it still give me dbo instead of user name A.

I try to import/export within the same server and i register the server using user A.

Please revert. Thank you very much.

DTS import/export Question

When importing a flat-text file, is it possible within the import/export wizard to tie more than one column as a DTSSource?

As an example, in an online store, we have columns from the flat-file like so:

"ID","Name","Description","Rarity","Price","Image","Weight"

And in the destination database, the columns are:

"ProductID","Name","Description","Price","Image","Weight"

I'd like to do the following within the dts wizard:
'********************************************************
Function Main()
DTSDestination("ProductID") = DTSSource("id")
DTSDestination("Name") = DTSSource("name")
DTSDestination("Description") = DTSSource("description") &"<br /><br />"& DTSSource("rarity")
DTSDestination("tImage") = DTSSource("image")
DTSDestination("Price") = DTSSource("Price")
DTSDestination("Weight") = DTSSource("Weight")
Main = DTSTransformStat_OK
End Function
'********************************************************

Obviously the description line errors out. Any suggestion on how to accomplish this for an import?You could import 'rarity' as another column, then combine the two in your SELECT query:

SELECT (description + '<br /><br />' + rarity) AS description ...
Or import the rarity as a column and then run SQL to combine the two
UPDATE mytable SET description = (description + '<br /><br />' + rarity)...
of course you would have to provide logic to not combine previously combined columns. I realize both of these options contain reduntant data, I guess you could add a temp column, import,combine,delete temp column.

DTS Import Wizard fails

I am trying to copy updated tables from a DB on a remote SQL server to
my pc using import wizard. I choose "copy objects and data between SQL
Server databases". On the screen "Select objects to copy", all of the
options are unchecked/blank including the script location. Clicking
"select objects" causes the wizard (and enterprise manager) to crash.
An error message refers to mmc.exe. Any ideas?Hi

This sounds like an error with EM itself, is this a one off or re-creatable?
You may want to check that the client tools are up-to-date. To avoid network
problems, it may be easier to restore a backup to a copy database and then
do the updates.

John

"SkyBlue" <aajjww@.postmaster.co.uk> wrote in message
news:60c756c.0407300546.664df6ba@.posting.google.co m...
> I am trying to copy updated tables from a DB on a remote SQL server to
> my pc using import wizard. I choose "copy objects and data between SQL
> Server databases". On the screen "Select objects to copy", all of the
> options are unchecked/blank including the script location. Clicking
> "select objects" causes the wizard (and enterprise manager) to crash.
> An error message refers to mmc.exe. Any ideas?