Cannot grant access a user to a database

Hello...
I am using SQL Server 2012 Express Management Studio. I have a database with a user which is db_owner of a database.
I have created another database and I need that user to have full access to it. I have created the user and assigned to the database as a db_owner, but when I connect using that user, I can expand database node, however, I did not see any table.
As "sa" user, I edit user properties however I cannot add explicit persmissions to the database tables because in protectable elements in user properties does not show any tables.
Any help will be appreciated,
thanks
Jaime
Powered by C++

Hi Jaime,
According to your description, you are unable to see any tables using the login account which has db_owner database role in the database. I agree with Ashwin that your table is created in other database if you indeed create the table. You could verify this
using the code below to find the database in which your table resides by replacing 'your_table_name' with the table name.
sp_MSforeachdb 'SELECT "?" AS DB, * FROM [?].sys.tables WHERE name like ''%your_table_name%'''
In addition, if you create tables using Transact-SQL, please make sure to use the statement “USE { database }“ to change the database context to the specified database.
Regards,
Michelle Li

Similar Messages

  • Granting access to users to modify published organizational forms outlook 2007 -exchange 2010 ?

    How do i grant Access to users to modify published organizational forms outlook 2007 and 2010, we use exchange server 2010 in our environment. Please advise.
    Aditya Mediratta

    Hi  Aditya
    Thank you for your question.
    Organizational Forms  belongs to public folder. You can use Add-PublicFolderClientPermission modify user permission.
    You can refer to the following link:
    http://technet.microsoft.com/en-us/library/bb124743(v=exchg.141).aspx
    you can refer to the following link to create organizational form;
    http://technet.microsoft.com/en-us/library/gg236889(v=exchg.141).aspx
    the public folder permission,you can refer to the following link:
    http://technet.microsoft.com/en-us/library/ee633461(v=exchg.141).aspx
    If any questions, please let me know.
    Best Regard,
    Jim Xu

  • Sql server grants access to specific login to database.

    i have created website for intranet and hosted it on server. for that i needed to create login "IIS APPPOOL\hi" in sql server 2008 for my application
    to access my "reportdb" database. "IIS APPPOOL\hi" has sysadmin and public server roles in sql server 2008. And i have default login"sa" same
    as "IIS APPPOOL\hi". these are working correctly. Now I want these two logins to access"reportdb" for all
    operations in database and remaining all logins should be denied to access"reportdb". My Sql Server 2008 is having mixed mode (windows authentication and Sql authentication). plz help me

    I think what Tauseef is requesting is to keep access for the 2 sysadmins & deny access to everyone else, correct?
    As Uri mentioned, by being part of sysadmin role, “IIS APPPOOL\hi” & “sa” would have access to everything in the server, and nobody else should have access to the DB unless explicitly being granted access.
    If you would really deny anyone else access to the database, you can potentially deny connect to public, and only sysadmins (who override permissions) would be able to connect; although I would strongly recommend against such practice.
    Something else I would like to recommend against is the usage of sysadmin for what may not be a DBA role (IIS appPool). Following the least-privilege principle, I would recommend having a non-administrator user for applications that has enough capabilities
    to perform the tasks needed.
    The main risk is that a SQL injection (SQLi) bug in your application would lead to a complete compromise of your SQL server.
    If there are app tasks that would require elevated permissions, I would recommend encapsulating the logic in a stored procedure and either use impersonation or digital signatures to accomplish a controlled elevation of privileges instead. If you have any
    question on this topic I will be glad to assist.
    I hope this information helps,
    -Raul Garcia
     SQL Server Security
    This posting is provided "AS IS" with no warranties, and confers no rights.

  • Grant access to users from different Domains

    Hi,
    Recently my company was merged with another. All users from my company are setup in our Domain (DomainA). Sharepoint is able to see the users in this domain and grant access to the users as well. When the merger happened, we created a Group (Test - Sharepoint)
    in our AD to add groups from other companie's domain:DomainB, totally different Forest. There is a two way trust setup between these domains. The group Test-Sharepoint is "domain local" and it is able to see the groups/users from other domain: DomainB.
    The other users are now able to access our sharepoint environment once access is granted to DomainA\Test-Sharepoint.
    Problem came when we applied Audience targetting around few web parts. The users from DomainB who are added as object in DomainA\Test-Sharepoint (group in DomainA) are not able to see the web parts that have audience targeting for this group. Someone
    suggested that AD groups should be Global or Universal but that is not our case. Most of the groups in our AD are domain local and SP is able to see the users within it.
    Please suggest how we can resolve audience targeting issue?
    Regards, Kapil ***Please mark answer as Helpful or Answered after consideration***

    My apologies, yes that is correct you'll have to use Domain Local in this case. http://technet.microsoft.com/en-us/library/cc755692(v=WS.10).aspx
    Actually what you'll need to do is not use Groups in your domain at all, as the users are Foreign Security Principals. Instead, use a group in the trusted domain, or attributes of the users you intend to target directly.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Cannot migrate exchange 2013 user to another database through EMC, only powershell works?

    Hi Everyone,
    I'm trying to migrate a few mailboxes from a database called "primary" to "archive". I can migrate a single user through powershell, however I cannot migrate users through the GUI. When the "syncing" starts, it reverts the total
    from "2" to "0" and makes it appear as though I never added any users to the batch job. The job then completes "successfully"
    I can see the users in the job before I hit start. Any idea why my job goes blank?
    I'm running exchange 2013 CU6

    Hi ,
    Thank you for your question.
    We could refer to the following steps to troubleshoot:
    Restart IIS to check if the issue persist.
    End up of the user job to check if the issue persist.
    Create a new account to check if the issue persist.
    We could check relevant application log, then we could check if EAC and EMS connect to same domain controller, then we could check sync between Exchange server and domain controller.
    If there are any questions regarding this issue, please be free to let me know. 
    Best Regard,
    Jim
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]
    Jim Xu
    TechNet Community Support

  • How to grant access to sharepoint for the user from different Domain

    Hi All
        I need to grant access to user from different domain. 
        Where I can able to view the users in people picker (different domain).
    Thanks in Advance.
    Raj

     Hi
    Trevor Seward
    Sorry to disturb
    you again.
      I am trying to restrict user from search from other domain, say we have domain A and Domain B, where I am trying to restrict all the user from domain B (Search users)for a site collection. I have found couple of stsadmin command to do so. but none
    of them works. Below are the commands I have tried
    STSADM.exe -o setproperty -pn peoplepicker-searchadforests -pv "domain:<Name>.domain" -url "http://Site URL"
    stsadm -o setproperty -pn peoplepicker-searchadcustomquery -pv “(canonicalName=<Name>.domain*)” -url "Site URL"
    we have two way trust.
    Can you suggest any solution.
    Thanks 
    Raj

  • Grant access to page programmatically

    Hi
    I am looking into using pl/sql procedures in portal 9.0.2 to grant access for users and groups, programmatically, to a page that i have created.
    I am trying to use this procedure:
    wwsec_api.set_user_acl(p_object_type_name,p_owner ,p_name ,p_authorization_function );
    However, i m not too sure how to set the variables for p_object_type_name and p_name and how are i can extract the correct object_type_name from WWSEC_PRIV_OBJECT_TYPE. I am also not sure if I am on the right track.
    Would appreciate if anyone can advise on this procedure and if there are any other ways of implementation.
    Thank you and best regards
    Siew Leng

    Select the Documents folder, choose Get Info from the Finder's File menu, give them access under Sharing & Permissions, and tell them to use the Go to Folder command in the Go menu to access /Users/yourname/Documents/. Alternatively, move them to /Users/Shared/.
    (75108)

  • Database Studio 7.9.08.09 -  Could not access to user management; Deleting old settings and reinstallation did not bring a change -- database studio deinstallation cannot be performed anymore

    Hi Community,
    for a few months I have been struggling with a  SAP Max DB database Studio issue and finally, I had to give up the idea of being able to fix this on my own. I am desperately seeking for help and I hope that you may be able to give me a hint, advice or even a solution.
    This is what happened:
    I used to run Windows 7 on 32bit. I also had Database Studio installed - which was running fine then.
    After a harware upgrade, I am running now Windows 7 on a 64 bit System. All my files from my local disk (C:\) have been restored and copied onto my new system.
    I reinstalled Database Studio Version 7.9.08.09 onto my new System.  But on the first try to start the program I received the error that said "Could not Access to user Management.See Window -> Show View-> Event Log Viewer for more Details."
    However the Event Log Viewer was empty.
    After searching the web for a solution, I followed the advice given in this community and deinstalled Database Studio and deleted the C.\Users\MyAccount\sdb folder manually.
    I reinstalled Database Studio and started it as Administrator.
    However, the error is still appearing.
    And, what makes it even worse is : now I am not able to uninstall Database Studio anymore.
    When I run SAP MaxDB Installation Manager and select the instance of database Studio to be uninstallled I am receiving the error:
    "ERR: Unhandled Exception: Can't call method: "GenPackageList" on an undefined value at SDB/Install/Gui/Dialogs/SelectInstance.pm line 328"
    Any advice is highly appreciated.
    Thanks,
    Agnieszka

    Hello Yashwanth,
    thank you for your quick Response.
    Yes, I downloaded and installed the 64 bit Version of dbstudio.
    I downloaded and ran the following .exe file: maxdb-studio-win-64bit-x86_64-7_9_08_09.exe
    I am running the following Java-Version:
    Java Plug-in 1.6.0_45
    Using JRE version 1.6.0_45-b06 Java HotSpot(TM) Client VM
    I myself am not a SAP customer. However, the Company I am working for is a SAP customer.
    Can you explain in Detail, how to create a ticket with SAP?
    Thanks,
    Agnieszka

  • Grant access to all the views created in user schema to another schema

    How to grant access for all the views created in own HAGGIS schema to comqdhb schema on the HAGGIS database.
    Oracle Grant Privileges
    ===============
    Object privileges assign the right to perform a particular operation on a specific object
    I read that we can use select 'grant select on' ||view_name||'HAGGIS' user_views where owner='COMQDHB'
    Is this right
    Oracle System Privileges
    ===============
    System privileges should be used in only cases where security isnt important,because a single grant statement could remove all security from the table
    Role based security
    ============
    Role security allows you to gather related grants into a collection-since the role is a predefined collection of privileges that are grouped together.privileges are easier to assign to users.
    [http://www.dba-oracle.com/art_builder_grant_sec.htm]
    can we grant select update to all the views at a time to the other schema.
    Are there any other ways to secure the data other than creating users and assigning roles.
    Thank you
    Edited by: Trooper on Dec 23, 2008 9:24 AM

    I think what was suggested was that you use SQL to generate the grants on each and every view, that is, you use SQL to generate SQL where the SQL being generated is "grant select on view_name to role'"
    If you users to connect to Oracle you have to create usernames for them though if the users only connect via an application the application might run just as one user and access to the application is controled via application security. The control on the application can be via Directory Services such as OID or MS Active Directory. User access to Oracle can also be controlled via OID.
    To connect to Oracle you can use OS authenication (not recommended), usernames with passwords, or via Advanced Security Option which supports single sign-on products like Kebros or Oracle Internet Directory etc....
    Example using SQL to generate SQL
    How do I find out which users have the rights, or privileges, to access a given object ?
    http://www.jlcomp.demon.co.uk/faq/privileges.html
    HTH -- Mark D Powell --

  • Grant access to new user

    I have created a database as 'system' and try to give access for other users. I created a new user with 'create user identified by passwd' and made 'grant connect to user' and 'grant select, insert, update to table'.
    But after that the new user can't select the tables, error is 942, Table or view not found. Same in sqlplus as with jdbc.

    Shouldn't you type:
    GRANT select, insert, update to 'user'
    instead of to table like you did.

  • GRANT ACCESS with sys user

    hi
    i have an user with objects, tables, views and procedures but it doesn't´t have dba privileges... how can i grant access to all the user to these objects? (with the sys or system user).
    thanks for your help.
    alex

    Hello,
    Every user in database has its objects and DBA privileges are not for everyone.
    how can i grant access to all the user to these objects? (with the sys or system user)<<<<<<Can explain these lines ?? What's your requirment ?? Please state clearly...
    As far as i got your problem, you require that all other users of databse should be able to access the objects of user (lets say A) which you specified in first line.
    For this purpose create public synonyms for all objects of user A and grant. So, everyone can use the objects of "A's" schema.
    Please update..... if you got the point or not...

  • HT4798 How do I gain access to Users & Groups preferences when I cannot even log in.

    I only have one apple ID linked and I cannot reset my password via the pop up box and cannot access the user groups as I cannot even log in.
    Can anyone help.
    Thanks
    Matt

    Reset Password
    OS X 10.6 Snow Leopard
    Follow the instructions in  second and third boxes.
    Reset Password using Recovery HD
    OS X 10.7 Lion /10.8 Mountain Lion
    Follow the instructions in the first and third boxes.
    http://pondini.org/OSX/Password.html
    Note
    Keychain
    I don't remember my original (former) account password
    https://support.apple.com/kb/HT1631

  • Windows 7 Desktop synchronisation - Windows cannot access \\server\users\name\desktop

    Hi there
    My client has a laptop which won’t load the desktop when disconnected from the network. When you log on (while disconnected) you get the error
    “Windows cannot access \\server\users\name\desktop”
    Works as expected while connected to the network.
    The server is a Windows Small Business Server 2003 with active directory etc. and roaming profiles turned on. This issue does not occur on other workstations/laptops.
    When I check the Users folder on the local system drive there is not a desktop folder. I assume this is the issue although I’m not sure how you would force windows to create one or why one hasn’t been created?
    This is a brand new laptop so my initial reaction was to reset the laptop to factory state and then add the laptop back in to the domain. After this process the issue was still present!
    I guess the only thing I should mention is that this was shipped as a Home Premium laptop and was then upgraded to Professional using an upgrade key.
    I have checked Control Panel, System & Security, System, Advanced, User Profiles and the account shows as Local with Roaming Profiles greyed out.
    Any ideas?
    Martyn Fewtrell
    [email protected]
    Martyn Fewtrell TNC (IT Solutions) Ltd Email: [email protected] Web: http://www.tncit.co.uk

    Hi,
    I am just writing to check the status of this thread. Was the information provided in previous
    reply helpful to you? Do you have any further questions or concerns? Please feel free to let us know.
    Regards,
    Alex Zhao
    TechNet Subscriber Support
    If you are
    TechNet Subscription user and have any feedback on our support quality, please send your feedback
    here.
    Alex Zhao
    TechNet Community Support

  • Calendar Sync Problem: Database cannot be accessed

    Hi all,
    I'm so frustrated with this sync for blackberry! I have been trying to sync iCal with my bb curve 8330. Everytime I try, it says "The database for synchronization cannot be accessed. Refer to article KB19454 in the blackberry for mac desktop manager knowledge base"
    Anyone get this message or know how to fix it? I have tried clearing, forgetting, and resyncing the calendar and so far it has not worked.
    I'd appreciate any help, thanks everyone!

    I had the problem continually.  I use a Mac and Desktop Software for Mac.  After many failed attempts I did the following which worked like a charm.
    1. Using the BB Desktop Software, I cleared the data for calendar from the device (it's an option under the Device Tab)
    2. On the BB, go to Options - Advanced and "Default Services".  Make sure the calendar and messaging services are the same.
    3. Then go to Options - Advanced and "Service Books".  Delete all of the CICAL items that do not match the one you saved in step 2.
    4. Sync your BB selecting replace all data on the device
    5. Sync it with 2 way sync.
    Should work.  Good luck

  • Master Database cannot be accessed

    So I have bought the newest version (12.0) of Multisim for Academic versio for almost a month. I have never been able to properly used this software. The first installation was working fine, but when I tried to build my circuit design, it turned out that many OpAmp components were missing (eg. TLC277). I spend a couple hours Googling to find whether there were anyway I could update my components database with no luck.
    After a few reinstallations and update to 12.0.1, this software simply stoped working. The error message of missing Advance database pops up everytime I start the software. So I proceeded to search through a few forums and found out there were some registry posted as to solve the problem. I tried installing the register many times and I ended up with no luck. I tried to do registry clean up and reinstall the softare again and again. Nothing has worked so far. It's really frustrating. I'm hoping if there is any solution at all.
    I am using windows 7 64-bit ultimate dual boot on mac bootcamp.
    Solved!
    Go to Solution.

    I have the student edition. I guess that is one of the reason why I could not find that component in first place.
    I might be wrong. I just don't why they limit such basic component for student. It is one of the reason I need to purchase the software in the first place.
    I have friends who install previous version of the software with all the needed components.
    Yet still, that does not solve the problem I am having. For, the software itself can't even access the master database
    ("Problem: Accessing the database.The Master Database cannot be accessed. Features using the Master Database will not be available.") ,meaning it is practically unusable.
    Thank for your response.

Maybe you are looking for

  • Fields display in the ALV List

    Hi Experts, I am using 3.0f version, in my report i am using function module  LIST_DISPLAY. Newly i added 3 fields in the report. But these fileds are comming in the second row. But i want to display in the first row only. report line size is nearly

  • How to recover a lost archive log file?

    How to recover a lost archive log file? Do I need to open the database with RESETLOGS after recovery?-------No.156

  • Cant get midi out signals

    I use a Yamaha Disklavier as a keyboard connected to Garageband. I can send midi data from the keyboard to Garageband. When I playback the recorded track, I cant get any midi out data to play the Disklavier. When I use other home studio software, it

  • More than 1 labrary for 1 ipod?

    I have a 4th generation ipod and I would like to categorized my albums by genre: hard rock, jazz, new age, reggae ect... is there a way to create a second library. Another playlist is not what i'm looking for since it lists only the songs 1 by 1. I w

  • Upgrade to 7.0.98.0

    I just upgrade my WISM's to 7.0.98.0. Since then my users have called saying that they get error messages on their 7925's and Vocera badges "searching for AP's". I don't see anything in the release notes for this. Any ideas?