User/table access issues

First, here's what my DB looks like (MSDE 2000):
userX.TableA
userX.TableB
The DSN in CFAdmin is functional, it validates. I have
provided the username and password for userX specified earlier in
my DB setup for the DSN. It indicates "OK".
Here's my error when I run the page:
[Macromedia][SQLServer JDBC Driver][SQLServer]Invalid object
name 'TableA'.
I have specified the username and password in the cfquery tag
as well. I'll be uploading this code on a production server. The
code as it is works on production - it's shared hosting so I don't
know how they're setup.
Not sure if someone can provide any clues to why this isn't
working at my end on my development environment.

I was talking with a DBA friend and I think we figured it
out.
I was logged into the database using userX's credential. I
ran a simple SQL and it didn't find the table unless I prefixed it
using userX.
I looked at the security side of things for userX and the
user wasn't mapped to that database in question. I'm assuming that
this is the cause. In my case, I can't map the user due to the way
I imported the backup (I get an error while trying to map due to
the user already being in the database - or something like that).
My goal is to figure out how to import the DB properly
without creating the user in the database. Then, I could simply
create the login and map it to the database and in theory, I'd be
done - I think.

Similar Messages

  • How can I restrict more then one user to access the table?

    Hi !
    I have a problem and two solutions and I am a bit confused as to
    which one is the best one and/or can there be any better way of
    handling the problem ?
    Problem : I have to update a key field of a table when I update
    it in the form 5.0 screen. I am basically doing a maintenance of
    a table and if a certain field is updated then the change has to
    be reflected in two more tables. But the issue is that the field
    is a part of the key in those two tables. So all I can think of
    is that I need to insert new set or rows for that new value of
    the field and delete the old set of records for old values of
    the field.
    There are two ways of doing it;
    1.One option can be to explicitely define two cursors separately
    and fetch the values in them one by one and then insert the new
    records and then delete the old records in both the tables. This
    I feel will be a cumbersome process both in terms of processing
    time and the coding.
    2.Second option I was thinking can be to create two flat tables
    (without keys) and insert the values in them and update the
    changed field there and then insert the rows in the respective
    tables. Delete the old records in the main tables and delets the
    records in these flat tables. This is a bit more faster and
    easier to predict and code. This seems to be a better option for
    me.
    Any comments on these ?
    In both the cases I was thinking of making some provision so
    that more then one person can't update the table simultaneously.
    Since if there are more then one persons doing the processing
    then some inconsistency might creep into the whole process.
    This is easier to do in the second process as if I check the
    data in the flat tables and if there is some data then I can
    presume that some one is doing the processing and I can ask the
    other person to hold for a while. But in this case how can I
    stop more then two people to simultaneously check for the empty
    table and start inserting the record ?
    I was just thinking of having a sepatare table having only one
    field and this will be a key field and as the process begins the
    process will insert a fix value say 'Y' in the key field and at
    the end of the process the record will be deleted and this way
    we can restrict the user to access the process more then one at
    a time..? Since you can't have same value of the key in a table
    more then once.
    Any better way of handling it will be deeply appreciated.
    How about locking the table at the begining and releasing the
    lock at the end ? Will there be any issue in that? since I am
    inserting and deleting the rows in the same transaction.
    Comments welcome,
    Shobhit
    null

    How about performing the update IN the database using a stored
    procedure?
    By using non-database fields on your form to get the
    information, you can then call the procedure in the database to
    perform the updates. If an error occurs in the procedure you
    rollback, if necessary, and send a message or status back to the
    form. If it succeeds you might wish to commit and then re-
    execute the form's query -- using either the original key values
    or the new key values...
    null

  • Financial reporting 11 1 2 2 Access issue for a user

    Hi All,
    I have a report designer group for Financial reporting 11.1.2.2. I have created a group called FR_GROUP in HSS and provide them the report designer access and added three MSAD users.
    Now as admin we have a created a folder in workspace called FR and gave the group FR_GROUP Full acces to this folder FR.
    Now the issue is the MSAD user who created the repot in FR folder can see the reports and open them and also the admin user but the other two MSAD users cant see the reports.
    Any ideas how to fix this access issue?
    Thanks,

    Hi,
    Try provisioning the FR_GROUP with Explorer role. Just in case here is the whole list of Reporting and Analysis Roles:
    http://docs.oracle.com/cd/E17236_01/epm.1112/hss_admin_1112200/apas04.html
    Cheers,
    Mehmet

  • How can I see which roles or users have access to a table?

    How can I see which roles or users have access to a table?
    For a given table, how can I see the grants, who and what?
    Many thanks

    dba_tab_privs.
    Grantee can be a role or an user, as roles are fake users.
    Sybrand Bakker
    Senior Oracle DBA

  • Getting list of tables the user has access to across different schemas.

    Hi,
    I have to get the list of tables that an User has access to. I tried the below code. It takes a very long time. Is there any way in which I can specify the user name and get all the tables that he has access to? I know that we can use dbMetadata.getTables api. But this returns the list of tables under the said schema. But I want the list of tables that the user has access including tables in other schema.
    In the below code, I am trying to get the tables for which USER_MICHAEL has access to.
    DatabaseMetaData dbMetadata = connection.getMetaData(); String userName = null; dbrs = dbMetadata.getTables(null,userName , "%", new String[] { "TABLE" }); dbrs=dbMetadata.getTablePrivileges("",userName,"%"); while (dbrs.next()) { String tableName = dbrs.getString("TABLE_NAME"); String schema = dbrs.getString("TABLE_SCHEM"); String privilege = dbrs.getString("PRIVILEGE"); String grantee = dbrs.getString("GRANTEE"); if(grantee!=null && grantee.equals("USER_MICHAEL")){       System.out.println("Schema---"+schema+" Table---"+tableName+"  Privilege----"+privilege+"  grantee---- "+grantee); } }

    That would be database dependent.
    Some engines have some system tables that together may be used to extract such information, others may not make it available at all outside closed APIs.

  • Is it possible to give a user read access to an SAP table but to restrict it to a subset of columns?

    Hi,
    is it possible to give a user read access to an SAP table but to restrict it to a subset of columns?
    Thanks,
    Digesh

    Hi Digesh,
    If your requirement is to restrict the excess to specific rows it is possible to use S_TABU_LIN, but it works only for table which contains org units, like plant, company code, etc.
    Please search for S_TABU_LIN if this is your requirement.
    Otherwise please follow Alex's suggestion.
    BR,
    Mangesh

  • Table access restriction to certain users

    Hi,
    How to restrict the particular user in accessing the database tables ?
    For example: A user should not be given the the rights to access the table AUFK.
    Thanks in advance.
    Regards,
    Harsha

    Hi,
    If you are talking about access of table through SM30, it can be done by authorization object concept. You can assign the appropriate authrization object while creating the table maintenance. Basis will assign the roles to the user. If it is SE16/SE16N then you need to create parameter transactions for each table user is allowed to view.
    Other generic option is, You can develop a report program and display the tables allowed for the user. On clicking the table name, you can take to SE16 screen. (You may need to create a transaction variant for se16/se16n for disabling the table name input field to control the user not to access other tables). Tables allowed for the user can be maintained in a Ztable.
    Thanks,
    Vinod.

  • How do I create new user table in program and then access it?

    I am writing an application where I check for the existence of user objects when the add on starts and run the setup if the objects do not exist. I can create the user tables and fields but after the setup completes these objects still are not visible.
    If the user objects exist when the add on is first run everything is detected correctly.
    When a user object is added in SAP the user is eventually prompted to restart so I suspect something needs to happen prior to the add on being able to use the new fields.
    Does the add on need to wait for the DI Server to perform some action? Do I need to just quit the add on's class and rerun it, disconnect and reconnect to the company, or get a new Application and/or company object?
    What I want to do is figure out a way for the add on to automatically run the configuration if the user tables and fields do not exist yet and then kick off the regular add on code. I haven't seen anyone else's code so I don't know what is recommended or required here.
    Thanks for any assistance!

    I found that the add on can validate the existance of the user fields if I disconnect from the company object, set the SAPbouiCOM.Application and SAPbobsCOM.Company objects to null, set the new application, context, and company objects, and reconnect once more.
    HOWEVER...
    I still have to wait for the client to be restarted manually before I can run any of the form I added to the menu.
    So, I'd still like to know what the best practice is here. Should I just exit after setting up the tables and tell the user to restart SAP?

  • New user access issue

    i have one business user which i have added through EAS and this user is in MSAD and added into one of the group in Native directory. This users group has access to planning application provision and i can see him in this group and has access to the planning application. but when he tries to connect through essbase addin he can not connect to the planning databse.
    Thanks in advance for the reply.

    I am using the planning version 9.3.1 and first i tried to add the user from EAS and update the security but when user complained about the access i went to shared service and first remove him from the group refreshed the security and then i add him in the group from the shared service. the other users in the same group dont have any problem and this user can access other database but he can not connect to the specific one database only. Also the error says that user has not permitted access to the database.
    Thanx john.

  • Synchronising HR and WF User Tables !

    Dear All
    I am facing a workflow issue, whereby a valid and active HR employee (also linked to an active FND User) record is not registered within the WF User and Role tables.
    How do I ensure that the WF User/Role/Directory tables are synched with the HR/FND Tables.
    I am told that under the 11.5.10 (which is the environment I am working on), this should be automatic, but clearly, this is not the case.
    I even tried updating the HR record through the form, just to check if it fires an update to the WF table, but no luck there.
    I tried running the various Workflow Synchronization and Validation Concurrent Programs under the SysAdmin, but again, none of them did anything.
    Has anyone faced this issue and how do you get the WF User tables updated ?
    Any help and suggestion is appreciated.

    Hi,
    I am also getting this exact error message. Is this problem occurring often in SSM to 7.5 SP04 .
    I was on SP3 but did not get this problem.
    The error says
    "Error message 'error' is undefined
    URL http://<servername>:<port>/strategy/pipadmin/pa_settings.htm
    Line #547 "
    Carlos and Vijay also have the same error on SSM 7.5 SP4.
    In my case I have checked the trace file also. It seems to be saying that it cannot connect to SAPCEDDB at a lot many places.
    But my CE database is already being accessed when I log on the SSM Admin UI.
    Anybody's got a hold on this one?
    Milan.
    Edited by: Milan Gupta on Dec 24, 2009 2:55 PM

  • Global Users Table

    Good afternoon,
    I wasn't sure what to enter in the subject line, so as you see I used "Global Users Table". It doesn't completely convey what my question is, so I'll try to explain better.
    We perform custom authentication in our Apex apps. Currently, we have a user table for each application that stores information about the user. It contains name, email address, password hash, roles, etc. It's a pretty nice process and works very well for us.
    We want to migrate to a global user table and store all of our Apex users in 1 table. (We'll also have a separate table which will contain a row for each Apex app a person has access to and what their roles are.) This will have obvious advantages. For one we won't have to create a new app specific users table each time we create a new Apex app. And, we'll be able to use the same authentication procedure for all of our Apex apps since all users and their passwords will be in 1 table.
    We haven't created any of the objects yet. We're just building the spec right now. Does anyone have experience in doing what we're attempting to do? If so, will you share how you accomplished it?
    Thx, Tony

    Sounds like an interesting idea.. Have you looked at the article from a few years back in Oracle magazine that showed how to code a portal type application that allowed access to individual applications, this handled the user information at that level, similar to what you are doing..
    See this article from Oracle magazine June 2006: http://www.oracle.com/technetwork/issue-archive/2006/06-may/o36apex-086847.html
    Thank you,
    Tony Miller
    Webster, TX
    While it is true that technology waits for no man; stupidity will always stop to take on new passengers.

  • User cannot access Crystal reports after user was deleted and recreated

    We are using Crystal Enterprise XIr2.  We are using Windows AD authentication.  We had an issue with a user where they were deleted in Active Directory.  Now they can no longer run Crystal reports.  When I go into the CMC and open users I see this user.  When I try to open this user I get the following error
    There was an error while retrieving data from the server: Active Directory Authentication failed to get the Active Directory groups for the account with ID "8B003DF11D45B244AC3B61AB36B6C445:ALLENDG". Please make sure this account is valid and belongs to an accessible domain.
    I think Crystal is still trying to access the user's old Active Directory account.
    I cannot delete the user either in CMC.
    Is there someway I can correct this user.
    Thanks
    Adam

    Arjun - Thank you for your help.  I looked in Central Management Console but I could not find what you indicated.
    CMC--> Public Folder --> Administration Tools
    In administration tool, there are two objects
    1) Update Windows AD Group Graph
    2) Update Windows AD Group Graph and Aliases --> Right click on this Report and click on RUN Now.
    I ended up deleting the records for this user in these SQL tables and then user could access InfoView
    CMS_Aliases5 (2 records for this user)
    CMS_InfoObjects5 (1 record with both aliases)

  • Essbase security filter access issue

    Hi,
    we are facing access issue for users. we have provided the access as filter, its essbase only application. we dont see in display user table APP Access Type column essbase&Planning, only planning its showing..its 9.3.1 version. even sync native dir & essbase refresh done couple of times..but still issue persists.
    please help.
    :-):-)

    Hi John,
    I have done same thing, but its just showing filters only.
    In Projects->select server/app->selected user/grp->
    right click the essbase icon and select "assign access control" > select your user/grp, here i can see only filters which already there and calc (none,no update, all& calcs).
    I have selected one filter and none(calc option)->click on tick mark->save......but here i am getting message as "no changes to save" then done EAS refresh ....
    still users are not able to login.getting error
    "user <> not permitted to access application"
    Note: other users have same access can able to login & we are able to see those users in users table as "essbase&Planning", but for problem users its still showing that only 'planning'
    please help
    thanks

  • User cannot access

    hi,
    i  am new to this forum,i have one doubt,
    user cannot access one authorization field , how can i analysis this issue, i know su 53 for find the authorization field...but user have 100 roles... how can i find the which role and object...plz help me..

    Hi Hassan,
    This is not the correct category. This message should be opened under security item. However, you can find the whole required authorization objects list, by using ST01 trace.
    Best regards,
    Orkun Gedik

  • User log in issue with Xcelsius SWF file

    HI,
    I am using the BI as source to  BO. Xcelsius dashboard is using webi data by live office.
    I have exported the xcelsius in  swf file &  ppt format.
    i am using the credentials user name, password  and authentication as SAP.
    I have the roles which are created in BI and imported to BO and the roles have users in BI , which came by default to BO.
    Now I have created the new users in BI with initial password. I cant login to infoview or swf until i change the initial password in BI and thn with new password i can log in to BO. I understood this concept.
    But confusing part is after changing to new password in BI, i can be able to log in to swf or PPT but not fetching latest data from data base.
    if i log on first into infoview , thn i can be able to log onto swf file or PPT correctly and access the latest data.
    If i directly access the ppt file , i get 'failed to get the document information. lo 26315". But if i login to infoview first then to swf or ppt i wont get any problem.
    The problem is,  users are access the dashboard file from ppt and pdf. So , is there any work around that, the new user can directly access the data from swf or ppt, without entering the infoview???

    Hi sapbi83 ,
    May i Know which connection you are using for fetching data into xcelsius, is it LO(Live Office) or Qaaws
    if it is Live Office  then what is the refresh property  set for live office object? and how many live office objects or how many qaaws connection u are using.?
    provide the answe of all the above question, i'll be able to help you and Infoview has nothing to do it with the real time data connectivity. the dashboard is completely dependent on the connections used to get data into the xcelsius, if the error is coming in PPT or PDF standalone then there is some issue with the connection used in xcelsius, just let me know the answer of all the above questions.

Maybe you are looking for