Follow Fantora on Twitter
Fantora Word of Classified Ads and Community Forum
Welcome Guest Search | Active Topics | Members | Log In | Register

Null login name for a database user

Options
richard
Posted: Tuesday, December 23, 2008 7:15:53 AM
Rank: Advanced Member
Groups: Member

Joined: 6/9/2008
Posts: 188
Points: 576
Location: California, USA

Null login name for a database user

we have a software application called blackboard software working with sql server 2005.

After restore database, I realized the login is not created, then I use script created those logins.

In a database I found one of our user called bb_jreport have null login name, and null default databasename by using sp_helpuser bb_Jreport.

I cannot mapped to the login bb_jreport, for the button is grayed out.

How can I add the login name to the database user and update its default database name to the right databasename.

I tired to delete the user, and recreate, but it failed : cannot drop user because it owns a schema.

How can do with this, thanks
hari
Posted: Tuesday, December 23, 2008 7:16:42 AM
Rank: Advanced Member
Groups: Member

Joined: 3/31/2008
Posts: 94
Points: 282
Location: London

Null login name for a database user

richard wrote:
we have a software application called blackboard software working with sql server 2005.

After restore database, I realized the login is not created, then I use script created those logins.

In a database I found one of our user called bb_jreport have null login name, and null default databasename by using sp_helpuser bb_Jreport.

I cannot mapped to the login bb_jreport, for the button is grayed out.

How can I add the login name to the database user and update its default database name to the right databasename.

I tired to delete the user, and recreate, but it failed : cannot drop user because it owns a schema.

How can do with this, thanks


Remap it with sp_change_users_login.
Users browsing this topic
Guest

 Related
Business development
In defence of SQL
TV: Navy NCIS episode.
Integration Solutions Possible without writing Codes
Innovative Enterprise Application Integration
Upcoming Webinar: Reduce IT infrastructure costs using Application Portfolio Management
Highly configurable and extensible Dataflow architecture
Upcoming Webinar: Best Practices and Proven Techniques for Application Portfolio Management
Recorded Webinar: Data Management Challenges for Govt Applications
Elegant dataflow solution
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

Powered by: YAF.NET
Copyright © AI Logica All rights reserved.
This page was generated in 0.693 seconds.