all groups > sql server dts > november 2003 >
You're in the

sql server dts

group:

DTS Import/Export Wizard fails on databasenames with a dot


DTS Import/Export Wizard fails on databasenames with a dot Jan
11/27/2003 3:32:53 AM
sql server dts:
Hi,

I have a database with a dot (actually 2 dots) in its name,
lets call it [foo.bar]. Selecting this database as source
or destination in the DTS Import/Export Wizard gives me an
error-message when I select "copy tables and views":

Server 'foo' could not be found in sysservers.

Selecting this database as destination seems to work
anyway, but when selecting it as source, the wizard doesnt
show any tables to copy.

Is there a fix or workaround apart from renaming the database?

Thanks,
Jan
Re: DTS Import/Export Wizard fails on databasenames with a dot Darren Green
11/27/2003 2:16:11 PM
I'm afraid that looks fairly terminal. I tried it manually building the
package and you get similar errors. I think this is just a UI issue caused
by the UI validation of objects, which means if you where to build the
package in code I reckon it would work. That is whole lot more work of
course so may not be acceptable.

Sorry.


--
Darren Green
http://www.sqldts.com

[quoted text, click to view]

Re: DTS Import/Export Wizard fails on databasenames with a dot Allan Mitchell
11/27/2003 7:25:52 PM
I tried also with no joy.

I tried using Disco Edit to wrap the Catalog in [] and "" but alas nothing I
did seemed to work.

--
--

Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org

"Darren Green" <darren.green@reply-to-newsgroup-only.uk.com> wrote in
message news:OAhf9tQtDHA.1760@TK2MSFTNGP10.phx.gbl...
[quoted text, click to view]

Re: DTS Import/Export Wizard fails on databasenames with a dot Darren Green
11/27/2003 9:59:55 PM
In article <eQfqVwRtDHA.1876@TK2MSFTNGP09.phx.gbl>, Allan Mitchell
<allan@no-spam.sqldts.com> writes
[quoted text, click to view]

That's what I did too. Since we know the DataPump xxxObjectName uses the
[] DB name format quite happily I reckon it must be something *like* DMO
that is client-side only which causes the problems. I may be wrong and a
profiler trace should reveal more of what really goes on.

--
Darren Green (SQL Server MVP)
DTS - http://www.sqldts.com

PASS - the definitive, global community for SQL Server professionals
http://www.sqlpass.org
Re: DTS Import/Export Wizard fails on databasenames with a dot Allan Mitchell
11/27/2003 10:49:48 PM
SQL Server DTS tries 2 statements (Vanilla Foo.Bar)

exec sp_tables_rowset;5 N'foo', N'bar', NULL, NULL, N'TABLE'

and

exec sp_tables_rowset;5 N'foo', N'bar', NULL, NULL, N'VIEW'


--[Foo.Bar]

Login failed for user 'MyDomain\MyUser'



--
--

Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org

"Darren Green" <darren.green@reply-to-newsgroup-only.uk.com> wrote in
message news:J+a2GYPbPnx$Ewe+@sqldts.com...
[quoted text, click to view]

AddThis Social Bookmark Button