dbTalk Databases Forums  

Problem transfering objects and data

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Problem transfering objects and data in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Setya Nugraha Djajadinata
 
Posts: n/a

Default Problem transfering objects and data - 09-09-2003 , 11:45 PM






Hi all,

I'm trying to transfer objects and data between SQL Server 7.0
databases, but it always fails with message stating that it can not find
certain user or group while I've checked transfer database users and
database roles option.

Any help would be greatly appreciated.

Thanks in advance


Setya



*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Problem transfering objects and data - 09-10-2003 , 01:15 AM






I personally never use this task but is the error when trying to apply the
logins on the destination ?
Is this a 2 server transfer ? If no then you do not need to move logins.
Is it failing on a given user i.e. a local user that simply cannot be there
at the destination (2 server)?

--

----------------------------
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



"Setya Nugraha Djajadinata" <jsetya (AT) yahoo (DOT) com> wrote

Quote:
Hi all,

I'm trying to transfer objects and data between SQL Server 7.0
databases, but it always fails with message stating that it can not find
certain user or group while I've checked transfer database users and
database roles option.

Any help would be greatly appreciated.

Thanks in advance


Setya



*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!



Reply With Quote
  #3  
Old   
Setya Nugraha Djajadinata
 
Posts: n/a

Default Re: Problem transfering objects and data - 09-10-2003 , 01:55 AM



Thanks for the response,

I moved object and data within the same server and I successfully
performed the task after I deleted users from the source DB. Those users
belongs to public standard role but strangely I can not find them in the
Users node. Any ideas?

Setya


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Reply With Quote
  #4  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Problem transfering objects and data - 09-10-2003 , 02:24 AM



Not sure I understand.

You have removed users from the Source DB ?
When you specify "Copy database users and roles" it doesn't work ?
The error is "Cannot find user" ?

--

----------------------------
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



"Setya Nugraha Djajadinata" <jsetya (AT) yahoo (DOT) com> wrote

Quote:
Thanks for the response,

I moved object and data within the same server and I successfully
performed the task after I deleted users from the source DB. Those users
belongs to public standard role but strangely I can not find them in the
Users node. Any ideas?

Setya


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!



Reply With Quote
  #5  
Old   
Setya Nugraha Djajadinata
 
Posts: n/a

Default Re: Problem transfering objects and data - 09-10-2003 , 05:56 AM



I mean, there are some users in the source DB that belongs to public
role, but I can not find those users in the users node. I have to remove
these users first (except dbo) to successfully copy data and objects to
other DB.

Setya



*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Reply With Quote
  #6  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Problem transfering objects and data - 09-10-2003 , 06:15 AM



What happens if you do

SELECT * from sysusers in your Source database. Do they appear in there

--

----------------------------
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



"Setya Nugraha Djajadinata" <jsetya (AT) yahoo (DOT) com> wrote

Quote:
I mean, there are some users in the source DB that belongs to public
role, but I can not find those users in the users node. I have to remove
these users first (except dbo) to successfully copy data and objects to
other DB.

Setya



*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!



Reply With Quote
  #7  
Old   
Setya Nugraha Djajadinata
 
Posts: n/a

Default Re: Problem transfering objects and data - 09-10-2003 , 10:46 PM



I've tried your query and it does not show those users but when I double
click the public role those users are listed under standard role and you
have to remove them first using sp_dropuser before you can transfer the
data and objects.

Setya



*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Reply With Quote
  #8  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Problem transfering objects and data - 09-11-2003 , 02:23 AM



All users in a DB should be located (Except sysadmin) in the sysusers table
in the DB in Question.

--

----------------------------
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



"Setya Nugraha Djajadinata" <jsetya (AT) yahoo (DOT) com> wrote

Quote:
I've tried your query and it does not show those users but when I double
click the public role those users are listed under standard role and you
have to remove them first using sp_dropuser before you can transfer the
data and objects.

Setya



*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!



Reply With Quote
  #9  
Old   
Setya Nugraha Djajadinata
 
Posts: n/a

Default Re: Problem transfering objects and data - 09-11-2003 , 07:14 AM



I see, thank you very much for your response so far.

Setya



*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.