PC Review


Reply
Thread Tools Rate Thread

How do I set the login for user dbo in a database

 
 
David Thielen
Guest
Posts: n/a
 
      23rd Oct 2008
Hi;

This is on Sql Server 2005

I am copying a database from work to home. Both computers are
workstations on seperated domains (at home I have a Small Business
Server).

So I do a backup at work where the owner of the database is
WORKDOMAIN\david and restore it on my work system where I am the user
HOMEDOMAIN\david.

I have to do the restore as Overwrite the existing database because
otherwise it fails telling me that the backup file does not match the
system I am restoring to.

So I do the restore and get all the tables, data, etc. But when I go
to the database, Security, Users and then properties on dbo - the
radio button for Login name is checked - but the edit box is empty.
How do I set the user for this user/login?

thanks - dave

david@at-at-(E-Mail Removed)
Windward Reports -- http://www.WindwardReports.com
me -- http://dave.thielen.com

Cubicle Wars - http://www.windwardreports.com/film.htm
 
Reply With Quote
 
 
 
 
Steven Cheng
Guest
Posts: n/a
 
      23rd Oct 2008
Hi Dave,

Based on the scenario you described, you're likely running into a "orphaned
user" issue. Here are some existing kb article mentioned some means to
resolve oraphaned users cases:

#How to move databases between computers that are running SQL Server
http://support.microsoft.com/kb/314546

#PRB: "Troubleshooting Orphaned Users" Topic in Books Online is Incomplete
http://support.microsoft.com/kb/274188

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(E-Mail Removed).

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subs...#notifications.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
>From: David Thielen <(E-Mail Removed)>
>Subject: How do I set the login for user dbo in a database
>Date: Wed, 22 Oct 2008 21:09:27 -0600
>
>Hi;
>
>This is on Sql Server 2005
>
>I am copying a database from work to home. Both computers are
>workstations on seperated domains (at home I have a Small Business
>Server).
>
>So I do a backup at work where the owner of the database is
>WORKDOMAIN\david and restore it on my work system where I am the user
>HOMEDOMAIN\david.
>
>I have to do the restore as Overwrite the existing database because
>otherwise it fails telling me that the backup file does not match the
>system I am restoring to.
>
>So I do the restore and get all the tables, data, etc. But when I go
>to the database, Security, Users and then properties on dbo - the
>radio button for Login name is checked - but the edit box is empty.
>How do I set the user for this user/login?
>
>thanks - dave
>
>david@at-at-(E-Mail Removed)
>Windward Reports -- http://www.WindwardReports.com
>me -- http://dave.thielen.com
>
>Cubicle Wars - http://www.windwardreports.com/film.htm
>


 
Reply With Quote
 
Steven Cheng
Guest
Posts: n/a
 
      27th Oct 2008
Hi Dave,

How are you doing?

Does the "resolve orphaned user" info in my last reply help you on this
issue?

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we

can improve the support we provide to you. Please feel free to let my
manager know what you think of

the level of service provided. You can send feedback directly to my manager
at: (E-Mail Removed).

--------------------

>Date: Thu, 23 Oct 2008 09:22:50 GMT
>Subject: RE: How do I set the login for user dbo in a database


>Hi Dave,
>
>Based on the scenario you described, you're likely running into a

"orphaned
>user" issue. Here are some existing kb article mentioned some means to
>resolve oraphaned users cases:
>
>#How to move databases between computers that are running SQL Server
>http://support.microsoft.com/kb/314546
>
>#PRB: "Troubleshooting Orphaned Users" Topic in Books Online is Incomplete
>http://support.microsoft.com/kb/274188
>
>Sincerely,
>
>Steven Cheng
>
>Microsoft MSDN Online Support Lead
>
>
>Delighting our customers is our #1 priority. We welcome your comments and
>suggestions about how we can improve the support we provide to you. Please
>feel free to let my manager know what you think of the level of service
>provided. You can send feedback directly to my manager at:
>(E-Mail Removed).
>
>==================================================
>Get notification to my posts through email? Please refer to
>http://msdn.microsoft.com/en-us/subs...#notifications.
>==================================================
>This posting is provided "AS IS" with no warranties, and confers no rights.
>--------------------
>>From: David Thielen <(E-Mail Removed)>
>>Subject: How do I set the login for user dbo in a database
>>Date: Wed, 22 Oct 2008 21:09:27 -0600
>>
>>Hi;
>>
>>This is on Sql Server 2005
>>
>>I am copying a database from work to home. Both computers are
>>workstations on seperated domains (at home I have a Small Business
>>Server).
>>
>>So I do a backup at work where the owner of the database is
>>WORKDOMAIN\david and restore it on my work system where I am the user
>>HOMEDOMAIN\david.
>>
>>I have to do the restore as Overwrite the existing database because
>>otherwise it fails telling me that the backup file does not match the
>>system I am restoring to.
>>
>>So I do the restore and get all the tables, data, etc. But when I go
>>to the database, Security, Users and then properties on dbo - the
>>radio button for Login name is checked - but the edit box is empty.
>>How do I set the user for this user/login?
>>
>>thanks - dave
>>
>>david@at-at-(E-Mail Removed)
>>Windward Reports -- http://www.WindwardReports.com
>>me -- http://dave.thielen.com
>>
>>Cubicle Wars - http://www.windwardreports.com/film.htm
>>

>
>


 
Reply With Quote
 
David Thielen
Guest
Posts: n/a
 
      27th Oct 2008
Still trying - I had to wipe my hard drive and reinstall everything
(because I got an error running ildasm and the error code did not say
what was wrong so there was no other way to fix it). I'm now trying to
get the Sql Server Administrator installed so I can try this. Some of
Microsoft's programs are very frustrating to use...

thanks - dave


On Mon, 27 Oct 2008 09:55:00 GMT, (E-Mail Removed)
("Steven Cheng") wrote:

>Hi Dave,
>
>How are you doing?
>
>Does the "resolve orphaned user" info in my last reply help you on this
>issue?
>
>Sincerely,
>
>Steven Cheng
>
>Microsoft MSDN Online Support Lead
>
>
>Delighting our customers is our #1 priority. We welcome your comments and
>suggestions about how we
>
>can improve the support we provide to you. Please feel free to let my
>manager know what you think of
>
>the level of service provided. You can send feedback directly to my manager
>at: (E-Mail Removed).
>
>--------------------
>
>>Date: Thu, 23 Oct 2008 09:22:50 GMT
>>Subject: RE: How do I set the login for user dbo in a database

>
>>Hi Dave,
>>
>>Based on the scenario you described, you're likely running into a

>"orphaned
>>user" issue. Here are some existing kb article mentioned some means to
>>resolve oraphaned users cases:
>>
>>#How to move databases between computers that are running SQL Server
>>http://support.microsoft.com/kb/314546
>>
>>#PRB: "Troubleshooting Orphaned Users" Topic in Books Online is Incomplete
>>http://support.microsoft.com/kb/274188
>>
>>Sincerely,
>>
>>Steven Cheng
>>
>>Microsoft MSDN Online Support Lead
>>
>>
>>Delighting our customers is our #1 priority. We welcome your comments and
>>suggestions about how we can improve the support we provide to you. Please
>>feel free to let my manager know what you think of the level of service
>>provided. You can send feedback directly to my manager at:
>>(E-Mail Removed).
>>
>>==================================================
>>Get notification to my posts through email? Please refer to
>>http://msdn.microsoft.com/en-us/subs...#notifications.
>>==================================================
>>This posting is provided "AS IS" with no warranties, and confers no rights.
>>--------------------
>>>From: David Thielen <(E-Mail Removed)>
>>>Subject: How do I set the login for user dbo in a database
>>>Date: Wed, 22 Oct 2008 21:09:27 -0600
>>>
>>>Hi;
>>>
>>>This is on Sql Server 2005
>>>
>>>I am copying a database from work to home. Both computers are
>>>workstations on seperated domains (at home I have a Small Business
>>>Server).
>>>
>>>So I do a backup at work where the owner of the database is
>>>WORKDOMAIN\david and restore it on my work system where I am the user
>>>HOMEDOMAIN\david.
>>>
>>>I have to do the restore as Overwrite the existing database because
>>>otherwise it fails telling me that the backup file does not match the
>>>system I am restoring to.
>>>
>>>So I do the restore and get all the tables, data, etc. But when I go
>>>to the database, Security, Users and then properties on dbo - the
>>>radio button for Login name is checked - but the edit box is empty.
>>>How do I set the user for this user/login?
>>>
>>>thanks - dave
>>>
>>>david@at-at-(E-Mail Removed)
>>>Windward Reports -- http://www.WindwardReports.com
>>>me -- http://dave.thielen.com
>>>
>>>Cubicle Wars - http://www.windwardreports.com/film.htm
>>>

>>
>>



david@at-at-(E-Mail Removed)
Windward Reports -- http://www.WindwardReports.com
me -- http://dave.thielen.com

Cubicle Wars - http://www.windwardreports.com/film.htm
 
Reply With Quote
 
Steven Cheng
Guest
Posts: n/a
 
      28th Oct 2008
Thanks for your reply Dave,

I'm sorry to hear that, sounds quite a serious issue. Anyway, if you need
further assistance on this, please feel free to post here.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we

can improve the support we provide to you. Please feel free to let my
manager know what you think of

the level of service provided. You can send feedback directly to my manager
at: (E-Mail Removed).
--------------------
>From: David Thielen <(E-Mail Removed)>
>Subject: Re: How do I set the login for user dbo in a database
>Date: Mon, 27 Oct 2008 07:39:05 -0600
>
>Still trying - I had to wipe my hard drive and reinstall everything
>(because I got an error running ildasm and the error code did not say
>what was wrong so there was no other way to fix it). I'm now trying to
>get the Sql Server Administrator installed so I can try this. Some of
>Microsoft's programs are very frustrating to use...
>
>thanks - dave
>
>
>On Mon, 27 Oct 2008 09:55:00 GMT, (E-Mail Removed)
>("Steven Cheng") wrote:
>
>>Hi Dave,
>>
>>How are you doing?
>>
>>Does the "resolve orphaned user" info in my last reply help you on this
>>issue?
>>
>>Sincerely,
>>
>>Steven Cheng
>>
>>Microsoft MSDN Online Support Lead
>>
>>
>>Delighting our customers is our #1 priority. We welcome your comments and
>>suggestions about how we
>>
>>can improve the support we provide to you. Please feel free to let my
>>manager know what you think of
>>
>>the level of service provided. You can send feedback directly to my

manager
>>at: (E-Mail Removed).
>>
>>--------------------
>>
>>>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot open user default database. Login failed. Login failed for user 'HEMPC\ASPNET' Tony Johansson Microsoft ASP .NET 3 2nd Jan 2010 04:09 PM
Cannot open database requested in login 'HumanResources'. Login failed for user 'companyDomain\BOSIIS$'. Homer Microsoft ASP .NET 3 25th Sep 2007 08:45 PM
how do i login as a particular user into a secured database =?Utf-8?B?UG9saW5hIChzaG1vbmthKQ==?= Microsoft Access 1 15th Feb 2006 07:35 PM
Cannot open database requested in login 'x'. Login failed for user =?Utf-8?B?QnJpYW4gS2l0dA==?= Microsoft C# .NET 7 9th Jan 2006 09:59 PM
Cannot open database requested in login ''. Login fails. Login failed for user ''. Nevena Microsoft ADO .NET 1 16th Apr 2004 06:55 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:39 PM.