Dbo login name problem

Hello,
After copying my R/3 system - detach from the source and attach to the destination i noticed that that the dbo user does'nt have a login name configured.I used the sql stored procedure to attach the copied database as described in note 151603 -
USE master
exec sp_attach_db '<SID>',
'F:\<SID>DATA1\<SID>DATA1.mdf',
'E:\<SID>LOG1\<SID>LOG1.ldf'.
When i attached the DB on the source system the dbo had login name configured - domain\<sid>adm.
Does anyone know why this is happening on the destination system only?
As mentioned above i used the stored procedure sp_attach_db to attach the db in the destination system but used the another methood on the source system - from the enterprise manager - right click on databases ->all tasks->attach DB and here i had the option of configuring the wanted login name.How do i do it using the sp_attach_db  stored procedure?
Regards,
Moshe

Hello,
you have to run the stored procedure
use <SID>
exec sp_changedbowner '<Valid Login>'
after you attached the database with sp_attach_db. It is recommended to use the 'sa' login as the owner, as NT logins may change. But you can use an NT login as well, if you want.
Best regards
  Clas

Similar Messages

  • Login name problem

    How can I correct a problem with my login name? My problem started when I could not get InDesign CS2 to open. I ran Disk Aid to repair permissions and found my login was showing as an "illegal name." This problem apparently is only connected to the InDesign software. When I created a test login, I had no problem opening InDesign. But of course I can't switch to a new login w/o losing all my personalized setups in other software – or can I? And I can't keep loggin out and using a different log-in just to use InDesign. What's my solution?
    G4 Cube   Mac OS X (10.4.8)   119.9 GB cap.
    G4 Cube   Mac OS X (10.4.8)   119.9 GB cap.

    Hello,
    you have to run the stored procedure
    use <SID>
    exec sp_changedbowner '<Valid Login>'
    after you attached the database with sp_attach_db. It is recommended to use the 'sa' login as the owner, as NT logins may change. But you can use an NT login as well, if you want.
    Best regards
      Clas

  • Connect to Server Login Name Problem

    I have been troubleshooting some problems on two computers my father-in-law has.
    One is an 2GHz Intel Core Duo iMac running Mac OS 10.4.11. We'll call this iMac 2G.
    The second is an 800 MHz PowerPC G4 iMac running Mac OS 10.4.11. We'll call this iMac 800M.
    I am attempting to file share the two computers. I can connect iMac 800M to the iMac 2G via "Connect to Server" fine. When I try to do the reverse, iMac 2G to the iMac 800M, the "Connect to Server" login window want to use the "Short Name" listed in the "Account" panel for the login name instead the full name.
    Is there a way to fix this so that it will work with the full name will work in the login window?
    Thanks.
    BTW - I do not know if this matters but I used the "ChangeShortName" (version 1.3) utility to fix the short name problem in the iMac 2G. Everything work fine after running the program.

    Never mind, there were two login information stored in the keychain. Deleting the old one seem to correct the problem.

  • Unable to verify login name SADMIN - when configure database/import repo

    I am installing siebel 8110 on my test machine (win2k8) with sql2k5 as db. I am having error when database configuration has reached the stage of importing repo.
    Connecting to database...
    Connected.
    Starte common api.
    Unable to verify login name SADMIN.
    Unable to start common api.
    Unable to start common api.
    Error in initiate function.
    As instructed on the install guide, I created the database "Siebel" with collation Latin1_General_CI_AS (tried Latin1_General_BIN, same error). Then run the grantuser.sql from dbsrvr\MSSQL\grantusr.sql with success.
    I can then verify:
    1. Users SADMIN & SIEBEL can be used to login to sql server via sql management studio. Passwords are same as their username, same upper case.
    2. SSE_ROLE is created for "Siebel" database and contains "SADMIN"
    3. "Siebel" database shows owner as "SIEBEL" in properties.
    4. DSN created in the installation process is verified successfully.
    The error I had actually shows it has sucessfully connected to the database and the previous database schema creation was also successful. How would the heck it failed the SADMIN verification?
    In the imprep_prim.log, I can see the command it failed was repimexp.exe /a I /G ENU /u SADMIN /p ***** /c ES8_BB_DSN /d dbo /r "Siebel Repository" /f e:\siebel\dbsrvr\common\mstrep.dat /l e:\siebel\.....
    If I copy the command and run after modifying the "*****" with real password (SADMIN in my case), it gets the same error.
    If run through the database configuration wizard and choose "Import repository", the same error.
    Please advise what can I check to rectify the error. I am frustrated.....
    Edited by: 911762 on 22-Feb-2012 21:31

    Well, I solved it last night by stabing the dark. Just for someone who might have the same problem again.
    There is nothing wrong with the password and username used in my case. The message was completely misleading. It is about the sort order.
    There is no way to change the sort order (binary, dictionaory, etc) of an instance without rebuilding it.
    1) I installed a new instance by selecting the "binary sort" during the installation wizard and use "Latin1_General_BIN" as installation guide suggested.
    2) Then I cleaned up the unfinished configuration progress by deleting the "siebsrvr\LOG\install\state".
    3) run the sql script to create the database with "Latin1_General_BIN" to match the collation of the instance and same grantuser.sql I did before.
    4) Retry the install with "Binary sort" selected.
    Bottomline, sort order and collation have to be "binary sort" and "Latin1_General_BIN" in both the instance and the siebel database that will be created. Maybe both instance and siebel database wizard are set to use "Dictionary, case sensitive" option can work, but I did not try it.
    run sql query "sp_helpsort" in your sql studio to find out the setting of sort order. For binary sort it will show as such.
    Edited by: 911762 on 23-Feb-2012 20:19

  • How to pass login name and password

    Hi all,
    If this question has been asked before, please let me know, and I am sorry for duplicate the question raising.
    I want to use the login name and password which are entered from the left frame(topic frame) in the right frame ( the content frame).
    I have 3 jsp programs, "A.jsp" is for validate the login (name and password), "B.jsp" contains a form-submit to add the records to a database. "C.jsp" is the actual one which does the updating to the database.
    Q1, how can I re-use the login name and password for "B.jsp" and "C.jsp"?
    Q2, is there any security problem to do so?
    your useful reply will give me a great help.
    ths

    or try here:
    http://forum.java.sun.com/thread.jsp?forum=31&thread=308840
    http://forum.java.sun.com/thread.jsp?forum=31&thread=295349

  • Script for rename the pictures name as login names

    I have staff pictures (100+) and pictures name as ID of staff. But I want to rename all with login names. any idea of writing a script?
    Best
    lasantha

    Hi Lasantha,
    Please refer to the following post related to renaming user profile thumbnail.
    https://blogs.blackmarble.co.uk/blogs/rhepworth/post/2010/07/29/powershell-script-to-rename-files-for-use-as-sharepoint-2010-user-profile-thumbnails.aspx
    Please don't forget to mark it answered, if your problem resolved or helpful.

  • Need to remove Authentication Source Category from login name

    We are synchronizing with an LDAP and need the loginname to NOT include the auth source category, but cannot find an option to do this. The LDAP is called passport. After synch the user's login name is passport\jtokeeffe. We have a script to remove the passport prefix but every time we run the LDAP job to only bring in NEW users, it resets all the existing user's loginnames. The problem is, the username that is available in the Request object from the JSR168 container has "passport\jtokeeffe" as the username. Our portlets interact with many different databases and other applications that we are passing user login info to, so we would have to change tons of code to strip of the prepended "passport\". Do we have any other option???

    One option would be to write a simple PWS that is run after the AWS that sets a user property called, say, "shortlogin". Then you can pass that property to your remote tier and use it in your portlets. Unless you are sending credentials to your portlets via Basic Auth. Are you?

  • Displaying PO with login name as created by name

    Hi sdn,
    i am facing one problem where when i open any PO created by date is shoing my login name.
    if some one opens it it's showing their name.
    please suggest me what may be the problem.
    Thanks & regards
    Naresh

    Naresh,
    There is no problem and its a standard SAP functionality.
    Regards,
    Manish

  • LDAP Windows 2000 Login name

    Hi !
    I use the following code to authenticate users against a Windows 2000 Active Directory.
    My problem is that I have to pass the user name "John Doe" instead of the login name "johndoe" as a parameter.
    How can I achive this ? I know, I have to use a fully qualified name like "johndoe@intranet" but ... ???
    Thankx in advance, Gurus !
    package org.mp.intern;
    import java.util.*;
    import javax.naming.*;
    import javax.naming.directory.*;
    public class LDAPTest
         public void authenticate(String server,String domain,String name,String pwd) throws Exception
              Hashtable env = new Hashtable();
              env.put(Context.INITIAL_CONTEXT_FACTORY,"com.sun.jndi.ldap.LdapCtxFactory");
              env.put(Context.PROVIDER_URL, "ldap://" + server + ":389/dc=" + domain);
              env.put(Context.SECURITY_AUTHENTICATION, "simple");
              env.put(Context.SECURITY_PRINCIPAL, "cn=" + name + ",cn=users,dc=" + domain);
              env.put(Context.SECURITY_CREDENTIALS, pwd);
              DirContext ctx = new InitialDirContext(env);
              ctx.close();
         public static void main(String[] args)
              LDAPTest p = new LDAPTest();
              try
                   // I have to do this ..
                   p.authenticate("pdc","intranet","John Doe","mypassword");
                   // ... but I want to do this
                   p.authenticate("pdc","intranet","johndoe@intranet","mypassword");
              catch(Exception ex)
                   ex.printStackTrace();
    }

    Ok,
    have located the solution on my own.
    simply pass the login name plus the domain name as the SECURITY_PRINCIPAL, for example :
    env.put(Context.SECURITY_PRINCIPAL,userName + "@" + domain);
    Not everything is complicated in a heterogeneus world :-))
    cya

  • Webapp authentication failed when using chinese characters as login name

    Hello,
    I have tried webapp authentication on tomcat and oc4j, via BASIC and FORM auth-method. All failed when the login name contains non-English characters. It seems an encoding issue, therefore, I also tried to change the page encoding of the login form to utf-8. None of the above is successful. Is there any solution? I really appreciate any help!
    Thanks in advance!!

    Enterprise support:
    Call enterprise support  (866) 752-7753  to create  a case ID number
    Get an account at
    http://developer.apple.com/  then submit a bug report to http://bugreporter.apple.com/
    Once on the bugreporter page,
       -- click on New icon
       -- See if you need to attach a log file or log files, clicking on Show instructions for gathering logs.  Scroll down to find the area or application that matches the problem.
       -- etc.
    Developers:
    "Submitting Bugs and Feedback
    Your feedback goes a long way towards making our products even better. With Apple Bug Reporter, you can submit bug reports or request enhancements to APIs and developer tools."
    https://developer.apple.com/bug-reporting/

  • HT5129 i forgot my mobileMe login name and password

    How can I retrieve my mobilMe login name and password ? I forgot them. I guess my login name was an email, but I still don't remember it

    So why is it that if MobleMe is discontinues that I am getting MobileMe error when I try to sync my contacts?  This message comes up that I have 350 contacts that will be deleted.  I don't know how it came to that conclusion but I do not want to delete them.  Click on the ? in the warning box up pops the mobileme signin to continue.  It seems that if MobileMe has been discontinued this type of behavior should also be discontinued.  Maybe that's why people continue to have trouble with trying to access Mobileme... because that is where the Mac system is directing them???   Still haven't solved my sync problem.

  • Postfix/sendmail fatal: no login name found for user ID

    We have a xserve setup to host our rails application, but we can't get it to send any emails. Prior to the leopard upgrade it was sending them fine. The mail service is started and running, the settings are basically the default with the hostname and domain name changed, but in the logs we keep getting:
    postfix/sendmail[48887]: fatal: no login name found for user ID 501
    Ideas?
    Thanks,
    Steve

    A reboot of the system fixes the problem for a few hours but does not solve the issue. I guess I could reboot the machine every couple hours but that sounds more like a m$ solution...
    Does anyone think a rebuild of the OD data might help?

  • Fatal: no login name found for user ID

    I have this problem from time to time, when it happens every app running on the box is screwed and I have to reboot. There is a user ID 502, and it start working again immediately after reboot. Any suggestions?
    Nov 18 09:44:31 hostname postfix/sendmail[75305]: fatal: no login name found for user ID 502
    Nov 18 09:44:31 hostname postfix/sendmail[75310]: fatal: no login name found for user ID 502
    Nov 18 09:44:31 hostname postfix/sendmail[75315]: fatal: no login name found for user ID 502
    Nov 18 09:44:31 hostname postfix/sendmail[75320]: fatal: no login name found for user ID 502

    A reboot of the system fixes the problem for a few hours but does not solve the issue. I guess I could reboot the machine every couple hours but that sounds more like a m$ solution...
    Does anyone think a rebuild of the OD data might help?

  • 'Incorrect Login Name' error after migrating application in planning

    Hi,
    We are doing a migration to Planning 9.2.1 from a pre-system 9 version (3.5), using sql server 2000 as repository
    System 9 is installed in a fresh new server, and we are copying the applications/repositories from the old server.
    The admin user is the same in old installation and in new one.
    At the moment, all products are installed in the same server
    We have already sucessfully migrated the essbase applications, including substitution variables and users
    We had a problem creating a new application in planning, reading these forums we added External Authentication to Shared Services, and created application succesfully.
    We created the UDL for old database in SQL server and new essbase. Test connection was succesfull
    Created DSN based on UDL, test connection was succesfull
    We inserted application to migrate into PLN database, table HSX_DATASOURCES
    Saved SID for admin user (5001)
    Opened Desktop Planning, and opened the aplication.
    We got the 'upgrade application' message, and we upgraded it. No errors reported.
    We replaced the SID with the previously saved one. Actually, they are the same SID
    Now, when we try to open the migrated application in Desktop Planning, we get a 'Failled to Open application: M_09 Incorrect login name'
    We have already verified that the admin user id dbowner of the database in sql server 2000
    The event log only says the following
    Error*16*HypAdmin*4/15/2009 11:54:12 AM*CHspSession.cpp*Line 119*Incorrect login name*
    Any help will be appreciated!
    P.S. please excuse my writing skills, I am not a native english speaker.
    Edited by: hectorsosar on 15/04/2009 10:44 AM

    Please nevermind my previous post. I didn't read carefully enough, that the SID to save and copy was from the newly created applciation, not from old app. Now everything worls ok.
    Thanks, and regards,
    Hector

  • Forum login names messed up

    Just fyi in case anybody else is seeing this, something's gone wrong in an Adobe forum s/w update in the past couple of days that is messing with people's login name / account names, end result being that displayed user names in messages are either corrupted or jibberish or some variation thereof.
    There are also issues with carriage returns going wonky while entering msgs.
    Some workarounds (involving multi-step login/logout procedures) have been suggested in various threads on the Forum Comments section, here:
    http://forums.adobe.com/community/general/forum_comments
    although it doesn't sound like there's a single solution that works in all cases, at least not as of Nov. 18 a.m.
    Sheila  (aka AxialInfo)

    Oh, and another reminder, in case you've been hit with the "logged out while posting" problem and thereby lost your carefully crafted missive that you just spend untold minutes composing.
    Although this happens with annoying frequency on the Adobe forums, it's not just Adobe that is afflicted by this problem.
    The good news is that there are a couple of addons for Firefox that will avoid losing "form" entries when composing in a browser. The one that I'm familiar with is Lazarus, from the same folks who created the brilliant InterClue add-on for Firefox, here:
    http://lazarus.interclue.com/

Maybe you are looking for

  • To attach the files in the mail from the PC

    I have a requirement where i have to attach files from the local system and mail it. i have to send the mail  with a note also....displaying " Please find attached the following documents" ... Please suggest the function module that i should use.. At

  • Parent child tables - how to maintain RI

    Here is my scenario: In our model, we have parent child relationship between tables. We are not sure how the parent tables are populated. If incremental update, it should be fine (assuming if needed rows will be inserted in the child table manually).

  • Connecting a CSS doc to an XML file, in a dynamic text field in Flash

    Hi all, I am trying to connect a CSS file such that it applies it self to the content of an XML file, viewed inside a dynamic text field. So far I have managed to gather the code that "calls" the contents of the XML file and also the code that calls

  • WebAccess problem with Windows Client 8

    Hi,  We have a problem, with external access with windows 8 client Only, with the following error  The user "user@domain", on client computer "IP:33050", has initiated an outbound connection. This connection may not be authenticated yet. There's Gate

  • Communication Channel and JMS

    Hello Experts, I am a newbie to SAP Xi so my question may sound a bit odd: please advise me. I would like to send a JMS after the end and successful completion of a Communication Channel. This Communication Channel is doing sync of an external DB wit