Upgrade to ERp6 phase STARTSAP_NBAS error: DDIC login fails

Hi
During an upgrade from 4.7  to ERP6  I get the following error
message in phase STARTSAP_NBAS:
SYSTEM START failed, code -2
-2: the test rfc did not work.
Try to log on to the system with user DDIC
When I try to log on to the system as user DDIC, I get the following
error message:
DB-Error -0
SAP* can log in .The password I submit is correct. I have not changed this password at
any time.
Any ideas are most welcome

Hi,
DB-Error -0 indicate problem with kernel, try to upgrade kernel.
check Note 760175 - 6.20: Logon not possible (after DB export or system copy)
regards,
kaushal

Similar Messages

  • Upgrade phase STARTSAP_NBAS error: SYSTEM START failed

    During an upgrade from BW 3.5 to BI 7.0, I get the following error
    message in phase STARTSAP_NBAS:
    SYSTEM START failed, code -2
    -2: the test rfc did not work.
    Try to log on to the system with user DDIC
    When I try to log on to the system as user DDIC, I get the following
    error message:
    DB-Error -0
    The same thing happens when I try to log on as SAP*. I am certain that
    the password I submit is correct. I have not changed this password at
    any time.
    I have included SAP_BASIS support package 14 into this upgrade, and
    this requires kernel version 133 at least (Note 822379). This kernel
    was copied into the usr\sap\put\exenew directory before the upgrade
    began. However, the system still seems to run on kernel version 111.
    I have tried to put the 133 kernel into
    F:\usr\sap\BWS\SYS\exe\nuc\NTAMD64 so that it is copied into
    F:\usr\sap\BWS\SYS\exe\run during system startup, but then all my work
    processes die. The gateway also seems to be down using this kernel.
    Please help!
    Regards,
    Thomas

    Hi.
    I made a stupid mistake.. the kernel I was using was unicode, but I should use a non-unicode kernel..
    Regards,
    Thomas

  • Error 18452 "Login failed. The login is from an untrusted domain and cannot be used with Windows authentication" on SQL Server 2008 R2 Enterprise Edition 64-bit SP2 clustered instance

    Hi there,
    I have a Windows 2008 R2 Enterprise x64 SP2 cluster which has 2 SQL Server 2008 R2 Enterprise Edition x64 SP2
    instances.
    A domain account "Domain\Login" is administrator on both physcial nodes and "sysadmin" on both SQL Server instances.
    Currently both instances are running on same node.
    While logging on to SQL Server instance 2 thru "Domain\Login" using "IP2,port2", I get error 18452 "Login failed. The login is from an untrusted domain and cannot be used with Windows authentication". This happened in the past
    as well but issue resolved post insatllation of SQL Server 2008R2 SP2. This has re-occurred now. But it connects using 'SQLVirtual2\Instance2' without issue.
    Same login with same rights is able to access Instance 1 on both 'SQLVirtual1\Instance1' and "IP1,port1" without any issue.
    Please help resolve the issue.
    Thanks,
    AY

    Hello,
    I Confirm that I encountred the same problem when the first domain controller was dow !!
    During a restarting of the first domain controller, i tried to failover my SQL Server instance to a second node, after that I will be able to authenticate SQL Server Login but Windows Login returns Error 18452 !
    When the firts DC restart finishied restarting every thing was Ok !
    The Question here : Why the cluster instance does'nt used the second DC ???
    Best Regards     
    J.K

  • Error: 1051293: Login fails due to invalid login credentials

    Need help!
    I searched all the threads for this but i still have not found one that works for my issue.
    I was trying to add a new essbase server using EAS and i been getting the following error.
    I am able to login into the EAS with the same user name and password, but i am getting the following error when i try to ADD essbase server.
    admin July 7, 2010 12:40:32 AM CDT com.essbase.eas.admin.defs.AdminCommands.AddServerToUserList Succeeded
    winserver com.essbase.eas.essbase.defs.ServerCommands.Connect July 7, 2010 12:40:33 AM CDT Failed : 1051293 Login fails due to invalid login credentials
    Error: 1051293 Login fails due to invalid login credentials
    Essbase Server: winserver com.essbase.eas.essbase.defs.ServerCommands.Connect July 7, 2010 12:40:33 AM CDT
    Error: 1051293: Login fails due to invalid login credentials
    HELP!!
    Alex

    You have already posted the question here :- Error: 1051293: Login fails due to invalid login credentials
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Error 1051293 - Login Fails

    Hi,
    We have couple of MSAD users in a native group which has admin rights to Essbase server as well as Shared Services in 11.1.2.1. Can login to EAS but when we expand the Essbase servers we get "Error 1051293: Login fails due to invalid login credentials". However, provisioning the ID's individually is working.
    Tried both "Use single sign-on" as well as typing the ID & password separately.
    Any pointers will help!
    Thank you

    Hi,
    I would take a look at the entry at My Oracle Support. Search for your error message 1051293 or, My Oracle Support Knowledge Base: [ID 833685.1]: Error "1051293 Login Fails Due To Invalid Login Credentials" When User logs into Essbase Server via Essbase Administration Server and Other Essbase Client Components [ID 833685.1]
    Cheers,
    Mehmet

  • Receiving error message "Login failed for user 'NT AUTHORITY\SYSTEM'" every minute on server which is the mirror

    Hello,
    I have 2 SQL Server 2008 R2 machines that are configured with database mirroring (using certificates as authentication), there is no witness configured.  My issue is that the mirror server is receiving at least one of the below pared messages every
    second and filling up my sql error log quickly.
    SYSTEM is the service account user for the MSSQLSERVER service. 
    [298] SQLServer Error: 4060, Cannot open database "<databasename>" requested by the login. The login failed. [SQLSTATE 42000]
    [298] SQLServer Error: 18456, Login failed for user 'NT AUTHORITY\SYSTEM'. [SQLSTATE 28000]
    The database has a status of: Affected database state is: Mirror, Synchronized/Restoring...
    When I checking the database mirror monitor, it shows that its mirroring ok and everything has green checkboxes.
    Is there a way to stop all these errors being logged, I'm assuming this isn't normal.
    Marcus

    Yes i have faced the same issues and tried everything and nothing was using this account, system was ended up with creating few GB's sql error log files everday.. and finally i had two options, 1 -- Rebuild the instance completely 2. Change the SQL Server
    Audit settings to Only successful logins and restart the instance.. ( May be your current sql server level Audit setting is set to Failed & Successful logins..
    Remeber my server was a DR so I have changed the SQL Server Audit settings to only Successful logins.. but production servers we will monitor both... :)
    Raju Rasagounder Sr MSSQL DBA

  • Error:Registered login failed for shared services...

    Hi All
    while i was configuring the Calc Manager after foundation services ,the window display the error:Registered login failed for shared services....
    I try to use the correct user name and password for it .check the installation guide for Hyperion version is 11.1.2 .do not know where to look for correct information to make this configuration work.
    Any help would be very useful .
    Thanks

    Which is the process connecting using machine account?
    Balmukund Lakhani | Please mark solved if I've answered your question, vote for it as helpful to help other users find a solution quicker
    This posting is provided "AS IS" with no warranties, and confers no rights.
    My Blog |
    Team Blog | @Twitter
    Author: SQL Server 2012 AlwaysOn -
    Paperback, Kindle

  • Cannot connect to olap service. Cannot connect to Essbase Server. Error:Essbase Error(1051293): Login fails due to invalid login credentials

    Hello All,
    I am getting following error, when trying to expand essbase from calculation manager, "Cannot connect to olap service. Cannot connect to Essbase Server. Error:Essbase Error(1051293): Login fails due to invalid login credentials",
    I am using EPM 11.1.2.1
    Thanks
    Yash

    If you have moved the server to a new data center and an issue has started occurring then it could point to the change.
    Are you able to log into essbase directly with Maxl using the same account?
    If you run a registry report do you see any of the configuration with IPs instead of DNS/hostname
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • SQL Server Agent job between 2 instances fails with Error 18456 - Login Failed for user

    Hi,
    SQL Server version: 2012 EE
    OS: Windows 2008 R2 Enterprise
    In my server, i have 2 instances, and I am trying to configure a SQL Server Agent job to query one table in Instance A, and insert some modified data in Instance B, both in the same server.
    When i execute the job in instance A, i get the following error:
    Executed as user: NT SERVICE\SQLSERVERAGENT. Login Failed for user "NT SERVICE\SQLSERVERAGENT". [SQLSTATE 28000] (Error 18456). The step failed.
    I have already configure instance A as Master and disabled encryption, by changing the parameter MsxEncryptChannelOptions to 0 in regedit. I've also made my target instance (instance B) as a Target.
    What am i missing?
    Thanks for your attention and pacience

    Hello,
    The NT SERVICE\SQLSERVERAGENT (virtual) account is not available on the other as you just mentioned. That is the reason for the login
    failed error. Try using a Windows login as the
    SQL Server Agent service account in both servers, the same Windows login (not a virtual account), and run jobs as the “sa” account.
    http://msdn.microsoft.com/en-us/library/ms345578.aspx
    You can also try a proxy account.
    http://technet.microsoft.com/en-US/library/ms190698(v=SQL.105).aspx
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • SQL Error Log: Login Failed for User ''

    Hi B1 experts,
    currently i have a little problem with our SAP System or better SQL Server. Everytime when a SAP client is started, the SQL Server get the following warning message:
    Login failed for user ''. Fehler bei der Anmeldung mit der SQL Authentifizierung. Der Server ist nur für die Windows-Authentifizierung konfiguriert. Client: IP
    Fehler 18456, Schweregrad 14, Status 58.
    The same message occurs when i log into sap. The funktionality of SAP is not impaired.
    I have checked the server authentification mode and the sql server is SQL and Windows Authentification configured.
    SQL Server: 2008 R2
    SAP System: SAP B1 8.8 PL19
    Client System: Windows 7
    Someone any ideas?
    Regards,
    Sabine

    Hi Rahul, Hi Julie,
    thanks for your replys
    @Rahul:
    all named pipes are aktiv. the services are all on automatic mode
    @Julie
    Our Server is running with SQL authentication. We do not use trusted connection generally - security risk.
    Further i have disables all Addon. the error occurs again.
    We do not use the SBO Mailer, he isn't installed.
    Regards,
    Sabine

  • Upgrade to ERP6.0 EHP4: Error in phase EHP_INCLUSION

    In my upgrade from enterprise 4.7 ext.set 11.0 to erp 6.0 ehp4 I have the error:
    Please specify a valid Enhancement Package stack configuration. The ADD-ON and
    Support Package selection in the IS_SELECT and the BIND_PATCH phases is taken
    from there. For more information, see SAP Note *1022704* .
    01)  *  Cancel dialogue
    02)  -  Repeat stack request from MOPZ (failed with 'No access to Solution Manager System')
    03)  -  Provide stack configuration file in input field below
    Select configuration:: Cancel dialogue
    I don't want to include any further EHPS.  Do I have to extract all packages from DVD EHP4_for_SAP_ERP6.0_NW7.01_Enhancement_Package (mat no 51033594)
    Do I have to generate a sp_stack.xml, too ?
    EHP_INCLUSION.LOG:
    1 ETQ200 Executing actual phase 'PREP_EXTENSION/EHP_INCLUSION'.
    1 ETQ399 Phase arguments:
    2 ETQ399 Arg[0] = 'ADDONEHP.DMP'
    2 ETQ399 Arg[1] = 'NAVERSEHP.DMP'
    2 ETQ399 Arg[2] = 'SPDA_EHP_INCLUSION.LOG'
    2 ETQ399 Arg[3] = ''
    2 ETQ730 Starting upload of all package files in "\\<transporthost>\sapmnt\trans\EPS\in"
    4 ETQ010 Date & Time: 20090528151215 
    4 ETQ230 Starting RFC Login to: System = "T10", GwHost = "xxxxxx", GwService = "sapgw00"
    4 ETQ359 RFC Login to: System="T10", Nr="00", GwHost="xxxxxx", GwService="sapgw00"
    4 ETQ232 RFC Login succeeded
    4 ETQ233 Calling function module "SPDA_PREPARE_PATCH" by RFC
    4 ETQ234 Call of function module "SPDA_PREPARE_PATCH" by RFC succeeded
    4 ETQ239 Logging off from SAP system
    4 ETQ010 Date & Time: 20090528151216 
    2 ETQ732 Package descriptions uploaded successfully
    4 ETQ399 EhP stack selection ...
    4 ETQ399 ... requesting stacks from Solman/MOPz ...
    4 ETQ230 Starting RFC Login to: System = "T10", GwHost = "xxxxxx", GwService = "sapgw00"
    4 ETQ359 RFC Login to: System="T10", Nr="00", GwHost="xxxxxx", GwService="sapgw00"
    4 ETQ232 RFC Login succeeded
    4 ETQ233 Calling function module "SPDA_STACK_SELECTION" by RFC
    2 ETQ399 Returned table ET_STACKTAB:
    Any ideas ?
    Edited by: Uta Hedemann on May 28, 2009 3:40 PM

    Hello,
    We are performing an installation of EnhP4 with 7.01---SP stack 3. We are not able to continue from the error below. I am able to view the xml file from however SAPehpi is saying the file u201CError reading stack info (rc=3, reason="Stackfile not foundu201D.
    I am not able to download another stack from Solmanu2026I am not able to select any Technical Usages to download the files for the stack version.
    Any ideas?
    EHP_INCLUSION.LOG
    2 ETQ399 Returned table ET_STACK_NCVERS:
    2 ETQ399 Returned table ET_STACK_PACKAGES:
    4 ETQ399 ... Error reading stack info (rc=3, reason="Stackfile not found")
    4 ETQ399 EhP stack selection ...
    4 ETQ399 ... requesting stacks from Solman/MOPz ...
    4 ETQ230 Starting RFC Login to: System = "CER", GwHost = "HOUAPPL677", GwService = "sapgw00"
    4 ETQ359 RFC Login to: System="CER", Nr="00", GwHost="HOUAPPL677", GwService="sapgw00"
    4 ETQ232 RFC Login succeeded
    4 ETQ233 Calling function module "SPDA_STACK_SELECTION" by RFC
    2 ETQ399 Returned table ET_STACKTAB:
    4 ETQ399 Reading stack content ...
    4 ETQ399 ... reading stack configuration file "D:\EHP4_packages\SMSDXML_CER_20090924145226.720.xml"
    4 ETQ230 Starting RFC Login to: System = "CER", GwHost = "HOUAPPL677", GwService = "sapgw00"
    4 ETQ359 RFC Login to: System="CER", Nr="00", GwHost="HOUAPPL677", GwService="sapgw00"
    4 ETQ232 RFC Login succeeded
    4 ETQ233 Calling function module "SPDA_GET_STACK_INFO" by RFC
    2 ETQ399 Returned table ET_STACK_NCVERS:
    2 ETQ399 Returned table ET_STACK_PACKAGES:
    4 ETQ399 ... Error reading stack info (rc=3, reason="Stackfile not found")
    4 ETQ399 EhP stack selection ...
    4 ETQ399 ... requesting stacks from Solman/MOPz ...
    4 ETQ230 Starting RFC Login to: System = "CER", GwHost = "HOUAPPL677", GwService = "sapgw00"
    4 ETQ359 RFC Login to: System="CER", Nr="00", GwHost="HOUAPPL677", GwService="sapgw00"
    4 ETQ232 RFC Login succeeded
    4 ETQ233 Calling function module "SPDA_STACK_SELECTION" by RFC
    2 ETQ399 Returned table ET_STACKTAB:
    4 ETQ399 Reading stack content ...
    4 ETQ399 ... reading stack configuration file "D:\EHP4_packages\SMSDXML_CER_20090924145226.720.xml"
    4 ETQ230 Starting RFC Login to: System = "CER", GwHost = "HOUAPPL677", GwService = "sapgw00"
    4 ETQ359 RFC Login to: System="CER", Nr="00", GwHost="HOUAPPL677", GwService="sapgw00"
    4 ETQ232 RFC Login succeeded
    4 ETQ233 Calling function module "SPDA_GET_STACK_INFO" by RFC
    2 ETQ399 Returned table ET_STACK_NCVERS:
    2 ETQ399 Returned table ET_STACK_PACKAGES:
    4 ETQ399 ... Error reading stack info (rc=3, reason="Stackfile not found")
    Regards,
    Anthony

  • Upgrade erp6 to ehp3--- error ddic

    im trying to upgrade ecc6 to ecc6 ehp3
    i have import SAPK-603DHINSAPAPPL
    and SAPK-603DHINEAAPPL
    togther- and get error in the and of it/
    Error in phase: DDIC_ACTIVATION
    Reason for error: TP_STEP_FAILURE
    Return code: 0008
    Error message: OCS Package SAPK-603DDINEAAPPL, tp step "A",
    return code 0008
    i read note 822380
    and after that 791984,1015068
    1022755
    but still cant find the cuese of thise error
    in the log i find:
    Error in phase: DDIC_ACTIVATION
    Reason for error: TP_STEP_FAILURE
    Return code: 0008
    Error message: OCS Package SAPK-603DDINEAAPPL, tp step "A",
    return code 0008
    indexes 001 and KEY for table PFO_GO_00IS have identical fields
    need help here please
    yossi:-)

    There are some solutions given here. You can follow them
    The Add-on installation terminated during phase DDIC_ACTIVATION
    http://sapbasis2407.blogspot.com/2010/01/ecc6-ehp3-upgrade.html
    Regards,
    Subhash

  • Upgrade Error phase STARTSAP_NBAS

    Hi all,
    I am upgrading from 47-200 to ECC6 on SQL server.
    I am using downtime minimized. I am having issue in STARTSAP_NBAS phase with error : "System start failed code 02, test RFC did not work, try to log on to system with user DDIC"
    When I am trying to logon to system with user ddic, I have a message at left bottom corner this function is not possibile.
    This is my question:
    1. Am I logging to shadow instance or the original instance?
    2. Is it possibile that DDIC user is locked?
    3. How do I solve this issue?
    I have read note 955695. It is suggesting to upgrade the kernel to minimum patch 55. I am not sure if I need to upgrade the shadow kernel or the original kernel. Also this error is not specific to this note, I am not sure if this will solve the rror.
    Can some one shed some light on this error?
    Regards,
    KG

    Vamshi,
    I unlocked the system, Tried logging in client 000 with my id as well as DDIC. message is, this function is not availiable.
    System is starting there is no problem with starting the system. On OS level, I see the WP table and everything looks good. Upgrade manager is giving me rfc error and asking me to log on with ddic. When I am logging in with DDIC, Iam getting this function not availibile error message.
    trc file: "dev_w0", trc level: 1, release: "700"
    ACTIVE TRACE LEVEL           1
    ACTIVE TRACE COMPONENTS      all, MJ

    B Wed Feb 27 13:52:23 2008
    B  create_con (con_name=R/3)
    B  Loading DB library 'E:\usr\sap\R3S\SYS\exe\run\dbmssslib.dll' ...
    B  Library 'E:\usr\sap\R3S\SYS\exe\run\dbmssslib.dll' loaded
    B  Version of 'E:\usr\sap\R3S\SYS\exe\run\dbmssslib.dll' is "700.08", patchlevel (0.109)
    B  New connection 0 created
    M sysno      00
    M sid        R3S
    M systemid   560 (PC with Windows NT)
    M relno      7000
    M patchlevel 0
    M patchno    111
    M intno      20050900
    M make:      multithreaded, ASCII, optimized
    M pid        12688
    M
    M  kernel runs with dp version 229(ext=109) (@(#) DPLIB-INT-VERSION-229)
    M  length of sys_adm_ext is 364 bytes
    M  ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 12688) [dpxxdisp.c   1301]
    I  MtxInit: 30000 0 0
    M  DpSysAdmExtCreate: ABAP is active
    M  DpSysAdmExtCreate: VMC (JAVA VM in WP) is not active

    M Wed Feb 27 13:52:24 2008
    M  DpShMCreate: sizeof(wp_adm)          13624     (908)
    M  DpShMCreate: sizeof(tm_adm)          3605136     (17936)
    M  DpShMCreate: sizeof(wp_ca_adm)          18000     (60)
    M  DpShMCreate: sizeof(appc_ca_adm)     6000     (60)
    M  DpCommTableSize: max/headSize/ftSize/tableSize=500/8/528040/528048
    M  DpShMCreate: sizeof(comm_adm)          528048     (1048)
    M  DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
    M  DpShMCreate: sizeof(slock_adm)          0     (96)
    M  DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
    M  DpShMCreate: sizeof(file_adm)          0     (72)
    M  DpShMCreate: sizeof(vmc_adm)          0     (1296)
    M  DpShMCreate: sizeof(wall_adm)          (22440/34344/56/100)
    M  DpShMCreate: sizeof(gw_adm)     48
    M  DpShMCreate: SHM_DP_ADM_KEY          (addr: 06DE0040, size: 4234712)
    M  DpShMCreate: allocated sys_adm at 06DE0040
    M  DpShMCreate: allocated wp_adm at 06DE1B30
    M  DpShMCreate: allocated tm_adm_list at 06DE5068
    M  DpShMCreate: allocated tm_adm at 06DE5098
    M  DpShMCreate: allocated wp_ca_adm at 07155328
    M  DpShMCreate: allocated appc_ca_adm at 07159978
    M  DpShMCreate: allocated comm_adm at 0715B0E8
    M  DpShMCreate: system runs without slock table
    M  DpShMCreate: system runs without file table
    M  DpShMCreate: allocated vmc_adm_list at 071DBF98
    M  DpShMCreate: allocated gw_adm at 071DBFD8
    M  DpShMCreate: system runs without vmc_adm
    M  DpShMCreate: allocated ca_info at 071DC008
    M  DpShMCreate: allocated wall_adm at 071DC010
    X  EmInit: MmSetImplementation( 2 ).
    X  MM global diagnostic options set: 0
    X  <ES> client 0 initializing ....
    X  Using implementation view
    X  <EsNT> Using memory model view.
    M  <EsNT> Memory Reset disabled as NT default
    X  ES initialized.
    M  ThInit: running on host CAVTSBCRR907

    M Wed Feb 27 13:52:25 2008
    M  calling db_connect ...
    C  Parameter format dbs/oledb/packet_size is deprecated in release 6.20.  Please use format dbs/mss/<parameter>.  See note 28667.
    C  Parameter format dbs/oledb/pn_cache_size is deprecated in release 6.20.  Please use format dbs/mss/<parameter>.  See note 28667.
    C  Thread ID:8880
    C  Thank You for using the SLOLEDB-interface
    C  Using dynamic link library 'E:\usr\sap\R3S\SYS\exe\run\dbmssslib.dll'
    C  dbmssslib.dll patch info
    C    patchlevel   0
    C    patchno      110
    C    patchcomment MSSQL: Connect error handling (1053754)
    C  np:(local) connection used on CAVTSBCRR907
    C  CopyLocalParameters: dbuser is 'r3s'
    C  Using Provider SQLNCLI
    C  OpenOledbConnection: MARS property was set successfully.

    C Wed Feb 27 13:52:26 2008
    C  Provider Release:9.00.3042.00
    C  Using Provider SQLNCLI
    C  OpenOledbConnection: MARS property was set successfully.
    C  Cache sizes: header 52 bytes, 20000 names (26880000 bytes), 500 dynamic statements (2728000 bytes), total 29608052 bytes
    C  Using shared procedure name cache CAVTSBCRR907_R3SR3S_R3S_MEM initialized by another process.
    C  Connected to db server : [CAVTSBCRR907] server_used : [np:(local)], dbname: R3S, dbuser: r3s
    C  pn_id:CAVTSBCRR907_R3SR3S_R3S
    C  Using MARS (on sql 9.0)
    B  Connection 0 opened (DBSL handle 0)
    B  Wp  Hdl ConName          ConId     ConState     TX  PRM RCT TIM MAX OPT Date     Time   DBHost         
    B  000 000 R/3              000000000 ACTIVE       NO  YES NO  000 255 255 20080227 135225 CAVTSBCRR907   
    C  The IRow interface is supported by this OLEDB provider
    M  db_connect o.k.
    M  ICT: exclude compression: .zip,.cs,.rar,.arj,.z,.gz,.tar,.lzh,.cab,.hqx,.ace,.jar,.ear,.war,.css,.pdf,.js,.gzip,.uue,.bz2,.iso,.sda,.sar,.gif

    I Wed Feb 27 13:52:27 2008
    I  MtxInit: 0 0 0
    M  SHM_PRES_BUF               (addr: 0BE60040, size: 4400128)
    M  SHM_ROLL_AREA          (addr: 61AF0040, size: 268435456)
    M  SHM_PAGING_AREA          (addr: 10380040, size: 134217728)
    M  SHM_ROLL_ADM               (addr: 0C2A0040, size: 2678942)
    M  SHM_PAGING_ADM          (addr: 09160040, size: 525344)
    M  ThCreateNoBuffer          allocated 324144 bytes for 1000 entries at 0C530040
    M  ThCreateNoBuffer          index size: 3000 elems
    M  ThCreateVBAdm          allocated 7424 bytes (50 server) at 08DE0040
    X  EmInit: MmSetImplementation( 2 ).
    X  MM global diagnostic options set: 0
    X  <ES> client 0 initializing ....
    X  Using implementation view
    X  ES initialized.
    B  db_con_shm_ini:  WP_ID = 0, WP_CNT = 15, CON_ID = -1
    B  Table statistics is switched off.
    B  dbtbxbuf: Buffer TABL  (addr: 183900C8, size: 30000128, end: 1A02C4C8)
    B  dbtbxbuf: Buffer TABLP (addr: 0EF900C8, size: 10240000, end: 0F9540C8)
    B  dbexpbuf: Buffer EIBUF (addr: 0F9600D0, size: 4194304, end: 0FD600D0)
    B  dbexpbuf: Buffer ESM   (addr: 1A0300D0, size: 4194304, end: 1A4300D0)
    B  dbexpbuf: Buffer CUA   (addr: 1A4400D0, size: 3072000, end: 1A72E0D0)
    B  dbexpbuf: Buffer OTR   (addr: 1A7300D0, size: 4194304, end: 1AB300D0)
    M  CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.

    S Wed Feb 27 13:52:28 2008
    S  *** init spool environment
    S  initialize debug system
    T  Stack direction is downwards.
    T  debug control: prepare exclude for printer trace
    T  new memory block 090AA220
    S  spool kernel/ddic check: Ok
    S  using table TSP02FX for frontend printing
    S  0 spool work process(es) found
    S  frontend print via spool service enabled
    S  printer list size is 150
    S  printer type list size is 50
    S  queue size (profile)   = 300
    S  hostspool list size = 3000
    S  option list size is 30
    S      found processing queue enabled
    S  found spool memory service RSPO-RCLOCKS at 22920098
    S  doing lock recovery
    S  setting server cache root
    S  found spool memory service RSPO-SERVERCACHE at 22920418
    S    using messages for server info
    S  size of spec char cache entry: 165020 bytes (timeout 100 sec)
    S  size of open spool request entry: 1216 bytes
    S  immediate print option for implicitely closed spool requests is disabled

    A  -PXA--
    A  PXA INITIALIZATION
    A  System page size: 4kb, total admin_size: 13040kb, dir_size: 12980kb.
    A  PXA allocated (address 87900040, size 400000K)
    A  System name
    A  MSSQL............................R3S........CAVTSBCRR907.......................................
    A  is used for RFC security.
    A  Sharedbuffer token: 5341...33 (len: 111)====== 2604347b5c103363cef73ec2...
    A  abap/pxa = shared protect gen_local
    A  PXA INITIALIZATION FINISHED
    A  -PXA--


    A Wed Feb 27 13:52:29 2008
    A  ABAP ShmAdm attached (addr=B6CA1000 leng=20955136 end=B809D000)
    A  >> Shm MMADM area (addr=B70091A0 leng=134720 end=B7029FE0)
    A  >> Shm MMDAT area (addr=B702B000 leng=17244160 end=B809D000)
    A  RFC Destination> destination CAVTSBCRR907_R3S_00 host CAVTSBCRR907 system R3S systnr 0 (CAVTSBCRR907_R3S_00)
    A  RFC Options> H=CAVTSBCRR907,S=00,d=1,
    A  RFC FRFC> fallback activ but this is not a central instance.
    A   
    A  RFC rfc/signon_error_log = -1
    A  RFC rfc/dump_connection_info = 0
    A  RFC rfc/dump_client_info = 0
    A  RFC rfc/cp_convert/ignore_error = 1
    A  RFC rfc/cp_convert/conversion_char = 23
    A  RFC rfc/wan_compress/threshold = 251
    A  RFC rfc/recorder_pcs not set, use defaule value: 1
    A  RFC rfc/delta_trc_level not set, use default value: 0
    A  RFC rfc/no_uuid_check not set, use default value: 0
    A  RFC rfc/bc_ignore_thcmaccp_retcode not set, use default value: 0
    A  RFC Method> initialize RemObjDriver for ABAP Objects
    M  ThrCreateShObjects          allocated 15646 bytes at 0FF60040

    N  =================================================
    N  === SSF INITIALIZATION:
    N  ===...SSF Security Toolkit name SAPSECULIB .
    N  ===...SSF trace level is 0 .
    N  ===...SSF library is E:\usr\sap\R3S\SYS\exe\run\sapsecu.dll .
    N  ===...SSF hash algorithm is SHA1 .
    N  ===...SSF symmetric encryption algorithm is DES-CBC .
    N  ===...sucessfully completed.
    N  =================================================
    N  MskiInitLogonTicketCacheHandle: Logon Ticket cache pointer retrieved from shared memory.
    N  MskiInitLogonTicketCacheHandle: Workprocess runs with Logon Ticket cache.
    M  JrfcVmcRegisterNativesDriver o.k.
    W  =================================================
    W  === ipl_Init() called
    W    ITSP ICMAN is not active: Disable Kernel Web GUI functionality
    W  === ipl_Init() returns 2, ITSPE_DISABLED: Service is disabled (sapparam)
    W  =================================================
    E  Enqueue Info: rdisp/wp_no_enq=1, rdisp/enqname=<empty>, assume CAVTSBCRR907_R3S_00

    E Wed Feb 27 13:52:30 2008
    E  Replication is disabled
    E  EnqCcInitialize: local lock table initialization o.k.
    E  EnqId_SuppressIpc: local EnqId initialization o.k.
    E  EnqCcInitialize: local enqueue client init o.k.
    M  MBUF info for hooks: MS component UP
    M  ThSetEnqName: set enqname by server list
    M  ThISetEnqname: enq name = >CAVTSBCRR907_R3S_00                     <

    E  *************** EnqId_EN_ActionAtMsUpHook ***************
    E  Hook on upcoming Ms (with EnqSrv), get auth EnqId and check it locally

    E  *************** ObjShMem_CheckAuthoritativeEnqId ***************
    E  Checking authoritative EnqId from EnqSrv into ObjShMem
    E  ObjShMem_CheckAuthoritativeEnqId: ObjShMem ...
    E  EnqId.EnqTabCreaTime    = -999
    E  EnqId.RandomNumber      = -999
    E  ReqOrd.TimeInSecs       = -999
    E  ReqOrd.ReqNumberThisSec = -999
    E  ObjShMem_CheckAuthoritativeEnqId: ObjShMem ...
    E  EnqId.EnqTabCreaTime    = -999
    E  EnqId.RandomNumber      = -999
    E  ReqOrd.TimeInSecs       = -999
    E  ReqOrd.ReqNumberThisSec = -999
    E  ObjShMem_CheckAuthoritativeEnqId: EnqId is initial in ShMem
    E  ObjShMem_CheckAuthoritativeEnqId: Overwrite incoming auth EnqId, continue
    E  EnqId inscribed into initial ObjShMem: (ObjShMem_CheckAuthoritativeEnqId)
    E  -SHMEM--
    E  EnqId:          EnqTabCreaTime/RandomNumber    = 27.02.2008 13:52:29  1204149149 / 8220
    E  ReqOrd at Srv:  TimeInSecs/ReqNumberThisSec    = 27.02.2008 13:52:30  1204149150 / 1
    E  ReqOrd at Cli:  TimeInSecs/ReqNumberThisSec    = 27.02.2008 13:52:30  1204149150 / 1
    E  Status:         STATUS_OK
    E  -
    M  ThActivateServer: state = STARTING
    L  BtcSysStartRaise: Begin
    L  Raise event SAP_SYSTEM_START with parameter <CAVTSBCRR907_R3S_00 >
    L  BtcSysStartRaise: End
    S  server @>SSRV:CAVTSBCRR907_R3S_00@< appears or changes (state 1)
    S  server @>SSRV:CAVTSBCRR907_R3S_00@< appears or changes (state 1)

    C Wed Feb 27 13:52:55 2008
    C  The IRow interface is supported by this OLEDB provider
    B  dbtran INFO (init_connection '<DEFAULT>' [MSSQL:700.08]):
    B   max_blocking_factor =  50,  max_in_blocking_factor      = 255,
    B   min_blocking_factor =   5,  min_in_blocking_factor      =  10,
    B   prefer_union_all    =   1,  prefer_join                 =   1,
    B   prefer_fix_blocking =   0,  prefer_in_itab_opt          =   0,
    B   convert AVG         =   1,  alias table FUPD            =   0,
    B   escape_as_literal   =   0,  opt GE LE to BETWEEN        =   0,
    B   select *            =0x00,  character encoding          =SBCS / []:X,
    B   use_hints           = abap->1, dbif->0x1, upto->0, rule_in->0,
    B                         rule_fae->0, concat_fae->0, concat_fae_or->0
    B  table logging switched off for all clients

    B Wed Feb 27 13:54:15 2008
    B  dbmyclu : info : my major identification is 3757652618, minor one 0.
    B  dbmyclu : info : Time Reference is 1.12.2001 00:00:00h GMT.
    B  dbmyclu : info : my initial uuid is DCE57E8836AF27F18941000F1F6D27B8.
    B  dbmyclu : info : current optimistic cluster level: 3
    B  dbmyclu : info : pessimistic reads set to 2.

    M Wed Feb 27 14:02:37 2008
    M  ThIUsrDel: th_rollback_usrdelentry = 1

    M Wed Feb 27 14:20:30 2008
    M  SecAudit(RsauShmInit): WP attached to existing shared memory.
    M  SecAudit(RsauShmInit): addr of SCSA........... = 055C0040
    M  SecAudit(RsauShmInit): addr of RSAUSHM........ = 055C0490
    M  SecAudit(RsauShmInit): addr of RSAUSLOTINFO... = 055C04C8
    M  SecAudit(RsauShmInit): addr of RSAUSLOTS...... = 055C04D4

  • Unhandled Exception Error - Login Failed for User

    Hello,
    I am receiving an error when I run my application stating “Unhandled exception has occurred. If you click continue, the application will ignore the error………..Login failed for MyUser.
    When I click the Continue button the application runs and seems to work properly. This application used to run without receiving the error and I did not make any changes. I have another application that is using basically the exact same code and does not
    receive the error. The only difference is the application is querying a different DB but using the exact same connection string. The error only occurs when I run the exe file created from the build. When I run (debug) the application from within the VS 2013
    IDE I do not receive the error.
    Here are the details to the error message:
    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.
    ************** Exception Text **************
    System.Data.OleDb.OleDbException (0x80040E4D): Login failed for user 'jobrunner'.
       at System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString constr, OleDbConnection connection)
       at System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject)
       at System.Data.ProviderBase.DbConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
       at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup, DbConnectionOptions userOptions)
       at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
       at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
       at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
       at System.Data.ProviderBase.DbConnectionInternal.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
       at System.Data.OleDb.OleDbConnection.Open()
       at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
       at System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior)
       at System.Data.Common.DbDataAdapter.Fill(DataTable dataTable)
       at LoanOrig_FDIC_Codes.DataSet1TableAdapters.I_LoansTableAdapter.Fill(I_LoansDataTable dataTable) in u:\Visual Studio Projects\LoanOrig_FDIC_Codes\LoanOrig_FDIC_Codes\LoanOrig_FDIC_Codes\DataSet1.Designer.cs:line 1668
       at LoanOrig_FDIC_Codes.Form1.Form1_Load_1(Object sender, EventArgs e) in u:\Visual Studio Projects\LoanOrig_FDIC_Codes\LoanOrig_FDIC_Codes\LoanOrig_FDIC_Codes\Form1.cs:line 152
       at System.Windows.Forms.Form.OnLoad(EventArgs e)
       at System.Windows.Forms.Form.OnCreateControl()
       at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
       at System.Windows.Forms.Control.CreateControl()
       at System.Windows.Forms.Control.WmShowWindow(Message& m)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
       at System.Windows.Forms.ContainerControl.WndProc(Message& m)
       at System.Windows.Forms.Form.WmShowWindow(Message& m)
       at System.Windows.Forms.Form.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    ************** Loaded Assemblies **************
    mscorlib
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
    LoanOrig_FDIC_Codes
        Assembly Version: 1.0.0.0
        Win32 Version: 1.0.0.0
        CodeBase: file:///U:/Visual%20Studio%20Projects/LoanOrig_FDIC_Codes/LoanOrig_FDIC_Codes/LoanOrig_FDIC_Codes/bin/Debug/LoanOrig_FDIC_Codes.exe
    System.Windows.Forms
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    System.Drawing
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    System
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.34238 built by: FX452RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
    System.Configuration
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    System.Xml
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.34234 built by: FX452RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
    System.Data
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
    System.Data.DataSetExtensions
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Data.DataSetExtensions/v4.0_4.0.0.0__b77a5c561934e089/System.Data.DataSetExtensions.dll
    System.Numerics
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
    System.Transactions
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll
    ************** JIT Debugging **************
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.
    For example:
    <configuration>
        <system.windows.forms jitDebugging="true" />
    </configuration>
    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the computer
    rather than be handled by this dialog box.
    I'm not sure what the JIT debugger is but to my knowledge my other apps are not using that. The production username and password are correct in the connection string so I'm not clear why I am receiving this error especially since I'm not receiving the
    error on my other application. I have also attached the code just in case it is needed. Any assistance will be greatly appreciated. Thank you.
    Dave
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using System.Windows.Forms;
    using System.Data.SqlClient;
    using ClosedXML.Excel;
    using DocumentFormat.OpenXml;
    using System.IO;
    namespace LoanOrig_FDIC_Codes
    public partial class Form1 : Form
    SqlCommand sqlCmd;
    SqlDataAdapter sqlDA;
    DataSet sqlDS;
    DataTable sqlDT;
    SqlCommand sqlCmdCnt;
    public Form1()
    InitializeComponent();
    //BEGIN BUTTON LOAD CLICK EVENT
    private void btnLoad_Click(object sender, EventArgs e)
    string sqlCon = "Data Source=FS-12345; Initial Catalog=ExtractGenerator; User ID=MyUser; Password=MyPW";
    //Set the 2 dateTimePickers to today's date
    DateTime @endDate = End_dateTimePicker.Value.Date;
    DateTime @startDate = Start_dateTimePicker.Value.Date;
    //Validate the values of the 2 dateTimePickers
    if (endDate < startDate)
    MessageBox.Show("End Date must be greater than or equal to the Start Date OR Start Date must be less than or equal to the End Date ", "Incorrect Date Selection",MessageBoxButtons.OK,MessageBoxIcon.Error);
    //Reset both dateTimePickers to todays date
    Start_dateTimePicker.Value = DateTime.Today;
    End_dateTimePicker.Value = DateTime.Today;
    return;
    //End of date validation
    string sqlData = @"SELECT AcctNbr,
    CurrAcctStatCD,
    Org,
    MJAcctTypCD,
    MIAcctTypCD,
    NoteOriginalBalance,
    ContractDate,
    FDICCATCD,
    FDICCATDESC,
    PropType,
    PropTypeDesc
    FROM I_Loans
    WHERE CAST(ContractDate AS datetime) BETWEEN @startdate AND @enddate ORDER BY ContractDate";
    SqlConnection connection = new SqlConnection(sqlCon);
    SqlCommand sqlCmd = new SqlCommand(sqlData, connection);
    sqlCmd.Parameters.AddWithValue("@startDate", startDate);
    sqlCmd.Parameters.AddWithValue("@endDate", endDate);
    sqlDS = new DataSet();
    sqlDA = new SqlDataAdapter(sqlCmd); //SqlAdapter acts as a bridge between the DataSet and SQL Server for retrieving the data
    connection.Open();
    sqlDA.SelectCommand = sqlCmd; //SqlAdapter uses the SelectCommand property to get the SQL statement used to retrieve the records from the table
    sqlDA.Fill(sqlDS, "I_Loans"); //SqlAdapter uses the "Fill" method so that the DataSet will match the data in the SQL table
    sqlDT = sqlDS.Tables["I_Loans"];
    //Code section to get record count
    sqlCmdCnt = connection.CreateCommand();
    sqlCmdCnt.CommandText = "SELECT COUNT(AcctNbr) AS myCnt FROM I_Loans WHERE ContractDate BETWEEN @startDate AND @endDate";
    sqlCmdCnt.Parameters.AddWithValue("@startDate", startDate);
    sqlCmdCnt.Parameters.AddWithValue("@endDate", endDate);
    int recCnt = (int)sqlCmdCnt.ExecuteScalar();
    txtRecCnt.Text = recCnt.ToString();
    btnExport.Enabled = true;
    //End of code section for record count
    connection.Close();
    dataGridView1.DataSource = sqlDS.Tables["I_Loans"];
    dataGridView1.ReadOnly = true;
    //Reset both dateTimePickers to todays date
    Start_dateTimePicker.Value = DateTime.Today;
    End_dateTimePicker.Value = DateTime.Today;
    //END BUTTON LOAD CLICK EVENT
    //BEGIN BUTTON EXPORT CLICK EVENT
    private void btnExport_Click(object sender, EventArgs e)
    SaveFileDialog saveFD = new SaveFileDialog();
    { //ClosedXML code to export datagrid result set to Excel
    string dirInfo = Path.GetPathRoot(@"\\FS-03250\users\dyoung\LoanOrig_FDIC_Codes");
    if (Directory.Exists(dirInfo))
    var wb = new XLWorkbook();
    var ws = wb.Worksheets.Add(sqlDT);
    ws.Tables.First().ShowAutoFilter = false;
    //SaveFileDialog saveFD = new SaveFileDialog(); //I moved this variable to the top of the btnExport code block so that the variable will be available thru the entire scope of that code block
    saveFD.Title = "Save As";
    saveFD.Filter = "Excel File (*.xlsx)| *.xlsx";
    saveFD.FileName = "LoanOrig_FDIC_Codes_" + DateTime.Now.ToString("yyyy-MM-dd");
    if (saveFD.ShowDialog() == System.Windows.Forms.DialogResult.OK)
    Stream stream = saveFD.OpenFile();
    wb.SaveAs(stream);
    stream.Close();
    else if (saveFD.ShowDialog() == System.Windows.Forms.DialogResult.Cancel)
    MessageBox.Show("Save file operation has been canceled", "Save As Canceled", MessageBoxButtons.OK, MessageBoxIcon.Stop);
    return;
    //End of ClosedXML code
    MessageBox.Show("File has been exported to " + saveFD.FileName, "File Exported", MessageBoxButtons.OK, MessageBoxIcon.Information);
    //MessageBox.Show("File has been exported to U:\\LoanOrig_FDIC_Codes", "File Exported", MessageBoxButtons.OK, MessageBoxIcon.Information);
    else
    MessageBox.Show("Drive " + saveFD.FileName + " " + "not found, not accessible, or you may have invalid permissions");
    //MessageBox.Show("Drive " + "U:\\Visual Studio Projects\\LoanOrig_FDIC_Codes" + " " + "not found, not accessible, or you may have invalid permissions");
    return;
    //END THE SAVE AS PROCESS
    //END BUTTON EXPORT CLICK EVENT
    private void Form1_Load(object sender, EventArgs e)
    //Set dates to be today's date when the form is openend
    Start_dateTimePicker.Value = DateTime.Today;
    End_dateTimePicker.Value = DateTime.Today;
    private void Form1_Load_1(object sender, EventArgs e)
    // TODO: This line of code loads data into the 'dataSet1.I_Loans' table. You can move, or remove it, as needed.
    this.i_LoansTableAdapter.Fill(this.dataSet1.I_Loans);
    private void iLoansBindingSource_CurrentChanged(object sender, EventArgs e)
    private void btnExit_Click(object sender, EventArgs e)
    this.Close();
    David Young

    In SQL you have a login which allows access to the server but you must also have permissions to access each database that you will use (including Master). So I would verify that your user also has the necessary permissions on the database itself and
    not just the SQL instance. The error you're getting is from SQL saying that the user doesn't have permissions.  If it works for 1 DB but not the other on the same SQL instance then it is likely a missing permission on the DB itself.
    I should note that you have a hard coded conn string in your code but the error is for a different user.  I'm assuming that you simply posted it there for convenience and that you changed the values to obscure the data.  If you are actually getting
    the info from your config file then verify the connection string is correct. Also be sure to not use Integrated Security since it appears that you are using SQL authentication.

  • Facebook social sharing - login failed error

    I have setup my app for social sharing following the http://helpx.adobe.com/digital-publishing-suite/kb/setting-dps-app-social-networking.html instructions
    However, when I test my development app, whilst it allows me to select Facebook from the social sharing drop-down, and gives the option to allow Facebook to access my basic profile info and list of friends, once I have done this, I then get the following error message:
    "Login Failed. Please log in to Facebook and authorize "app name" through the iOS device settings or through the Facebook iOS application".
    I have also found I get the same error when I try to share from other downloaded 3rd party newsstand publications - though not all of them?  So am not sure whether this is something to do with:
    1. how I've configured  social sharing in my app (and if so, then  other publications have also incorrectly configured theirs)
    2. the settings on my own iPad - although these all seem to be in order, my app name doesnt appear in my Facebook settings to enable me to authorise login
    On previously speaking with Adobe Support - I understand that I only need to register an app with Facebook to get an App ID, rather than fully create a Facebook app and get this approved (A process which I understand takes months?)
    On re-reading the instructions, I have not yet completed the additional suggested Facebook SDK configuration "Implement Single Sign-On (SSO)" via XCode. Just wondering before I embark on this if this is actually the issue?
    Would be very grateful for any advice/clarification on the above
    Many thanks

    I tried a few things, but I'm not entirely sure exactly which of them resolved it:
    1.   I began by starting  the "Implement Single Sign-On" instructions by following the links at the bottom of the Adobe instructions page under "Additional Facebook configuration information"
         http://helpx.adobe.com/digital-publishing-suite/kb/setting-dps-app-social-networking.html
         https://developers.facebook.com/docs/tutorials/ios-sdk-tutorial/#implementsso
         https://developers.facebook.com/docs/getting-started/facebook-sdk-for-ios/
         I completed steps 1 - 5 on the last link - but stopped at the step 6 - start coding - as this got a bit beyond me (I'm not a programmer!)
    2.  I then looked back at the settings in the Facebook app, and under permissions, changed the Default Activity Privacy to Public, and the Auth Token Parameter to URI Fragment (#acces_token=...)
    I would perhaps try adjusting your FB settings first and see if this solves it before trying the Xcode route.
    (I fed my findings back to Adobe Support to see if they could shed any light on this, but heard nothing back).
    Please let me know how you get on and if this works for you
    Kind regards
    Sharon

Maybe you are looking for