Disable Shared memory & Named Pipes protocols - Post implementation issues

Hi,
 As per security guidelines, we disabled Shared memory & Named Pipes protocols and enabled "TCP/IP" only. Also, we changed the port# from 1433 to 1533 and after that, in management studio, SQL Server Error logs is not openning up and SQL
Agent Service doesn't start.
 Error while opening SQL Server Error Logs in SSMS:
The description for Event ID 17052 from source MSSQLSERVER cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
If the event originated on another computer, the display information had to be saved with the event.
The following information was included with the event:
Severity: 16 Error:10061, OS: 10061 [Microsoft][SQL Server Native Client 11.0]TCP Provider: No connection could be made because the target machine actively refused it. 
the message resource is present but the message is not found in the string/message table
Error while trying to start SQL Agent Service from the configuration manager:
SQLServerAgent could not be started (reason: Unable to connect to server '(local)'; SQLServerAgent cannot start).
 We changed the Server host in the registry by entering <ServerName>,<Port#>. This resolved SQL Agent Service startup issue. After startup, we tried to run jobs but they all are failing with the below error.
Job runtime Error:
Could not load package "Maintenance Plans\Daily DB Backups" because of error 0xC0014062.  Description: The LoadFromSQLServer method has encountered OLE DB error code 0x80004005 (Login timeout expired).  The SQL statement that was issued
has failed.  Source:   Started:  4:40:45 PM  Finished: 4:41:00 PM  Elapsed:  15.547 seconds.  The package could not be loaded.  The step failed.
 Resolution: If I create an alias name then all problems are solved.
 Question: Alias name is the only one solution or is there any other turn around? For some reason, I’m not at all comfortable with alias name. I feel like cheating. :-) .
 PLEASE COMMENT
If you feel that I have answered your question then please "Mark as Answer".

Hi,
 Shared memory is a security threat reported by several security audit tools. In our company, we are using "DBProtect" and "FortiDB" tools. Both checks for "Shared memory" & "Named Pipes" protocols. In case,
our server is compromised then the last step is to get into the SQL Server to steal the data and we are trying to restrict this from being happening. So, we are disabling both protocols.
 Finally, we got it worked.
 "Cliconfig" in run command and enable "TCP/IP" protocols and it worked like a charm. This is a fluke resolution and I don't know the technical reason why we need to do this in "Client Configuration" on the server when
we have "Configuration Manager".
 We successfully configured by disabling "Shared memory/Named Pipes" protocols. SQL Browser is also disabled & no aliases are configured.
Thanks.
If you feel that I have answered your question then please "Mark as Answer".

Similar Messages

  • Named pipes Windows (OpenG implementation)

    Greetings,
    I've run into a few issues with the OpenG Named Pipes implementation (by rolfk). I am unsure how much of this is due to my inexperience with pipes and how much is caused by the aging OpenG (beta) implementation.
    Usage:
    I want to pick up existing named pipes with LabVIEW to read data from them. Basic test case (simple example .vi from OpenG library) works (attached screenie 1).
    Problem:
    If I try to pick up pipe opened in separate .vi (or external to LabVIEW by third party software) I get error 42 when attempting to read it (screenie 2)
    Questions:
    Is there a resource to determine what the error codes cover? (I've also seen error 8, screenie 3, but only found description for error 6)
    Is there reason to believe that the named pipe implementation no longer functions in Win7/LV8?
    Am I butchering proper named pipe procedure and use?
    Thank you in advance for your consideration!
    Nicolai
    Solved!
    Go to Solution.
    Attachments:
    Screenie 1.jpg ‏92 KB
    Screenie 2.jpg ‏96 KB
    Screenie 3.jpg ‏93 KB

    Pipes are point to point communication endpoints. That means you get undefined behaviour if you try to read the same pipe from multiple locations. In fact already the opening of a pipe for the same direction more than once might fail although it seems to work here (at least in screenie2), but if it wouldn't fail the Read that happens first will see the data that was sent and the rest won't see anything. You should definitely try to disable the ENTIRE Read pipe handling in your first VI in order to allow for the second VI to have any chances of working.
    Error 42 is the LabVIEW error "generic error" used by the shared library when an error occurred that it doesn't specifically recognize. So that is not so helpfull when one can't go into the shared library itself to see what Windows API error happened.
    Error code 8 is the LabVIEW errro code "file not found". The code tries to detect if a pipe with the name does already exist and if so it tries to connect to it. This could fail if the path to the pipe was invalid or if the pipe was opened with higher privileges than what you currently have or if it was opened by the other process for that direction already. This will generailly result in the error 8.
    The OpenG Pipe library is indeed not a fully stable product. And it interfaces to a Windows part that is somewhat unknown and not so often used, and Microsoft is continously changing small parts of its implementation so that the library may indeed stumble over subtle changes in Windows over the time. Principially there shouldn't be any reason that it couldn't work in even Windows 8 since Pipes are a mechanisme that is used by many Windows components quite extensively it's just a little known feature for non-Microsoft applications and its semantics (details of operation) look a bit weird to the casual programmer. It originally (Windows NT) was trying to mimic the Posix standard but having been always different enough to what the normal Unix way of how pipes work is.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • "shared memory realm" error -- cross-posted in "installation"

    I've just installed 8.1.7 on a Solaris 8 workstation. The installation went fine up until the database creation assistant tried to create a database: it failed. But the software was all installed, so I did a "connect internal" and created a database myself. Once I start the database, I can connect as system/manager; but when the database is shutdown, connecting as system manager gives me an "Oracle not available" error (ORA-01034) followed by a "shared memory realm not available" error (ORA-27101) followed by a "no such file or directory" error (SVR4 Error: 2:).
    All of the shared memory and semaphore parameters are specified in the /etc/system file, and they show up when I execute a "sysdef -i" command.
    Any ideas why I'm getting these errors?
    I did a search and found a few posts on "shared memory realm," but none of them seemed to address the fact that I can connect when the database is started/mounted, but not when it's shutdown.
    Thanks in advance,
    Rich

    make sure the env var ORACLE_SID is set.
    check PROCESSES in your init.ora file. if you lower this number (to say, 15) and errors go away then you need to up the semiphores kernel parameter (or leave PROCESSES set to a low number). Also, it is correct to get an error when trying to connect to a database that is shutdown. the only way to not get an error is use svrmgrl or "sqlplus /nolog" and then connect / as sysdba (or connect internal).
    Andrew

  • Disp+work stop because of shared memory?

    Hello Gurus, I have an SAP server that will not start. It was running previously, but after a parameter update and an instance restart, I cannot get the dispatcher running.
    System is Windows 2012 Server, MSSQL 2008 R2, 16 Core 132 GB RAM.
    I believe it is related to shared memory overlapping somehow, but  I am not sure how to resolve or investigate. I have had issues previously with memory overlap halting SAP servers with Diagnostics Agents, but this server is not currently running any DAA. It is running SAPRouter and some SAP Web Dispatcher instances.
    I will include my trace files below:
    Please help!
    DEV_W0:
    trc file: "dev_w0", trc level: 1, release: "721"
    *  ACTIVE TRACE LEVEL           1
    *  ACTIVE TRACE COMPONENTS      all, MJ
    M sysno      00
    M sid        PRD
    M systemid   562 (PC with Windows NT)
    M relno      7210
    M patchlevel 0
    M patchno    100
    M intno      20020600
    M make       multithreaded, Unicode, 64 bit, optimized
    M profile    \\SAPERP\sapmnt\PRD\SYS\profile\PRD_DVEBMGS00_SAPERP
    M pid        7668
    M
    M  kernel runs with dp version 137000(ext=119000) (@(#) DPLIB-INT-VERSION-137000-UC)
    M  length of sys_adm_ext is 588 bytes
    M  ***LOG Q0Q=> tskh_init, WPStart (Workp. 0 7668) [dpxxdisp.c   1376]
    I  MtxInit: 30000 0 0
    M  DpSysAdmExtCreate: ABAP is active
    M  DpSysAdmExtCreate: VMC (JAVA VM in WP) is not active
    M  DpIPCInit2: read dp-profile-values from sys_adm_ext
    M  DpShMCreate: sizeof(wp_adm) 42864 (2256)
    M  DpShMCreate: sizeof(tm_adm) 5517056 (27448)
    M  DpShMCreate: sizeof(wp_ca_adm) 64000 (64)
    M  DpShMCreate: sizeof(appc_ca_adm) 64000 (64)
    M  DpCommTableSize: max/headSize/ftSize/tableSize=500/16/1384064/1384080
    M  DpShMCreate: sizeof(comm_adm) 1384080 (2744)
    M  DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
    M  DpShMCreate: sizeof(slock_adm) 0 (296)
    M  DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
    M  DpShMCreate: sizeof(file_adm) 0 (80)
    M  DpShMCreate: sizeof(vmc_adm) 0 (2160)
    M  DpShMCreate: sizeof(wall_adm) (41664/42896/64/192)
    M  DpShMCreate: sizeof(gw_adm) 48
    M  DpShMCreate: sizeof(j2ee_adm) 3952
    M  DpShMCreate: SHM_DP_ADM_KEY (addr: 0000000000200050, size: 7174832)
    M  DpShMCreate: allocated sys_adm at 0000000000200060
    M  DpShMCreate: allocated wp_adm_list at 00000000002030B0
    M  DpShMCreate: allocated wp_adm at 00000000002032A0
    M  DpShMCreate: allocated tm_adm_list at 000000000020DA20
    M  DpShMCreate: allocated tm_adm at 000000000020DA70
    M  DpShMCreate: allocated wp_ca_adm at 0000000000750980
    M  DpShMCreate: allocated appc_ca_adm at 0000000000760390
    M  DpShMCreate: allocated comm_adm at 000000000076FDA0
    M  DpShMCreate: system runs without slock table
    M  DpShMCreate: system runs without file table
    M  DpShMCreate: allocated vmc_adm_list at 00000000008C1C40
    M  DpShMCreate: system runs without vmc_adm
    M  DpShMCreate: allocated gw_adm at 00000000008C1CF0
    M  DpShMCreate: allocated j2ee_adm at 00000000008C1D30
    M  DpShMCreate: allocated ca_info at 00000000008C2CB0
    M  DpShMCreate: allocated wall_adm at 00000000008C2D40
    M  DpCommAttachTable: attached comm table (header=000000000076FDA0/ft=000000000076FDB0)
    M  DpRqQInit: use protect_queue / slots_per_queue 0 / 2001 from sys_adm
    M  rdisp/queue_size_check_value :  -> on,50,30,40,500,50,500,80
    X  EmInit: MmSetImplementation( 2 ).
    X  MM global diagnostic options set: 0
    X  <ES> client 0 initializing ....
    X  <ES> EsILock: use spinlock for locking
    X  Using implementation view
    X  <EsNT> Using memory model view.
    M  <EsNT> Memory Reset disabled as NT default
    X  ES initialized.
    X  mm.dump: set maximum dump mem to 96 MB
    M  DpVmcSetActive: set vmc state DP_VMC_NOT_ACTIVE
    M
    M Fri May 16 01:23:14 2014
    M  ThStart: taskhandler started
    M  ThInit: initializing DIA work process W0
    M
    M Fri May 16 01:23:15 2014
    M  ThInit: running on host SAPERP
    M
    M Fri May 16 01:23:16 2014
    M  calling db_connect ...
    B  Loading DB library 'E:\usr\sap\PRD\DVEBMGS00\exe\dbmssslib.dll' ...
    B  Library 'E:\usr\sap\PRD\DVEBMGS00\exe\dbmssslib.dll' loaded
    B  Version of 'E:\usr\sap\PRD\DVEBMGS00\exe\dbmssslib.dll' is "721.02", patchlevel (0.44)
    C  Callback functions for dynamic profile parameter registered
    C  Thread ID:4168
    C  Thank You for using the SLODBC-interface
    C  Using dynamic link library 'E:\usr\sap\PRD\DVEBMGS00\exe\dbmssslib.dll'
    C  dbmssslib.dll patch info
    C    SAP patchlevel  0
    C    SAP patchno  100
    C    Last MSSQL DBSL patchlevel 0
    C    Last MSSQL DBSL patchno         44
    C    Last MSSQL DBSL patchcomment DBSL support for Microsoft ODBC Driver 11 for SQL Server (1816426)
    C  ODBC Driver chosen: SQL Server Native Client 11.0 native
    C  lpc:(local) connection used on SAPERP
    C  lpc:(local) connection used on SAPERP
    C  Driver: sqlncli11.dll Driver release: 11.00.3000
    C  GetDbRelease: 11.00.3339.00
    C  GetDbRelease: Got DB release numbers (11,0,3339,0)
    B  Connection 0 opened (DBSL handle 0)
    M  ThInit: db_connect o.k.
    M  ICT: exclude compression: *.zip,*.rar,*.arj,*.z,*.gz,*.tar,*.lzh,*.cab,*.hqx,*.ace,*.jar,*.ear,*.war,*.css,*.pdf,*.gzip,*.uue,*.bz2,*.iso,*.sda,*.sar,*.gif,*.png,*.swc,*.swf
    I
    I Fri May 16 01:23:17 2014
    I  MtxInit: 0 0 0
    M  SHM_PRES_BUF (addr: 0000000018030050, size: 4400000)
    M  SHM_ROLL_AREA (addr: 000007FFDDAB0050, size: 268435456)
    M  SHM_PAGING_AREA (addr: 0000000018470050, size: 134217728)
    M  SHM_ROLL_ADM (addr: 0000000020480050, size: 2767448)
    M  SHM_PAGING_ADM (addr: 0000000020730050, size: 787488)
    M  ThCreateNoBuffer allocated 548152 bytes for 1000 entries at 0000000020800050
    M  ThCreateNoBuffer index size: 3000 elems
    M  ThCreateVBAdm allocated 31056 bytes (50 server) at 0000000000910050
    X  EmInit: MmSetImplementation( 2 ).
    X  MM global diagnostic options set: 0
    X  <ES> client 0 initializing ....
    X  Using implementation view
    X  ES initialized.
    X  mm.dump: set maximum dump mem to 96 MB
    B
    B Fri May 16 01:23:18 2014
    B  db_con_shm_ini:  WP_ID = 0, WP_CNT = 19, CON_ID = -1
    B  dbtbxbuf: Buffer TABL  (addr: 0000000027280160, size: 90000000, end: 000000002C854BE0)
    B  dbtbxbuf: Buffer TABLP (addr: 000000002C860160, size: 20480000, end: 000000002DBE8160)
    B  dbsync[db_syinit]: successfully attached to shared memory, sync_adm_p = 0000000011BE0050
    B  dbsync[db_syinit]: Buffer synchronisation started with
    B    sync_concept      = SEQ_NR
    B    sendon            = 1
    B    bufreftime        = 120
    B    max_gap_wait_time = 60
    B    ddlog_del_time    = 60
    B    last_counter      = 702514
    B    oldest_gap        = (2147483647,00000000000000)
    B    time_of_last_sync = 20140516012317
    B    MySysId           = 'SAPERP              00'
    B  dbexpbuf[EXP_SHB]: buffer EIBUF installed with
    B    semkey             = 35
    B    shmkey             = 54
    B    wp_n               = 19
    B    sclass             = 0
    B    block_length       = 256
    B    max_objects        = 2000
    B    max_obj_size       = 859872
    B    pref_obj_size      = 0
    B    est_large_obj_size = 16384
    B    free_vec_lg        = 65
    B    hash_vec_size      = 4001
    B    buffer_l           = 4194304
    B    max_blocks         = 13438
    B    free_blocks        = 13438
    B    mutex_n            = 4001
    B    max_mtx_wait_time  = 17000
    B    recovery_delay     = 500000
    B    tracing            = 0
    B    force_checks       = 0
    B    protect_shm        = 0
    B  dbexpbuf[EXP_SHM]: buffer ESM   installed with
    B    semkey             = 56
    B    shmkey             = 65
    B    wp_n               = 19
    B    sclass             = 0
    B    block_length       = 256
    B    max_objects        = 2000
    B    max_obj_size       = 859872
    B    pref_obj_size      = 0
    B    est_large_obj_size = 16384
    B    free_vec_lg        = 65
    B    hash_vec_size      = 4001
    B    buffer_l           = 4194304
    B    max_blocks         = 13438
    B    free_blocks        = 13438
    B    mutex_n            = 4001
    B    max_mtx_wait_time  = 17000
    B    recovery_delay     = 500000
    B    tracing            = 0
    B    force_checks       = 0
    B    protect_shm        = 0
    B  dbexpbuf[EXP_CUA]: buffer CUA   installed with
    B    semkey             = 30
    B    shmkey             = 47
    B    wp_n               = 19
    B    sclass             = 10
    B    block_length       = 512
    B    max_objects        = 1500
    B    max_obj_size       = 626016
    B    pref_obj_size      = 0
    B    est_large_obj_size = 98304
    B    free_vec_lg        = 193
    B    hash_vec_size      = 3001
    B    buffer_l           = 3072000
    B    max_blocks         = 4892
    B    free_blocks        = 4892
    B    mutex_n            = 3001
    B    max_mtx_wait_time  = 17000
    B    recovery_delay     = 500000
    B    tracing            = 0
    B    force_checks       = 0
    B    protect_shm        = 0
    B  dbexpbuf[EXP_OTR]: buffer OTR   installed with
    B    semkey             = 55
    B    shmkey             = 64
    B    wp_n               = 19
    B    sclass             = 13
    B    block_length       = 256
    B    max_objects        = 2000
    B    max_obj_size       = 859872
    B    pref_obj_size      = 0
    B    est_large_obj_size = 20480
    B    free_vec_lg        = 81
    B    hash_vec_size      = 4001
    B    buffer_l           = 4194304
    B    max_blocks         = 13438
    B    free_blocks        = 13438
    B    mutex_n            = 4001
    B    max_mtx_wait_time  = 17000
    B    recovery_delay     = 500000
    B    tracing            = 0
    B    force_checks       = 0
    B    protect_shm        = 0
    I  MPI: dynamic quotas disabled.
    I  MPI init: pipes=4000 buffers=1279 reserved=383 quota=10%
    M  rdisp/thwpsf_critical_path : -1 -> 0
    M  CCMS: SemInMgt: Semaphore Management initialized by AlAttachShm_Doublestack.
    M  CCMS: SemInit: Semaphore 38 initialized by AlAttachShm_Doublestack.
    G  RelWritePermissionForShm( pLocation = 120, pEnforce = 0 )
    G  GetWritePermissionForShm( pLocation =  99, pEnforce = 1 )
    G  RelWritePermissionForShm( pLocation = 100, pEnforce = 1 )
    S  *** init spool environment
    S  TSPEVJOB updates outside critical section: event_update_nocsec = 1
    S  initialize debug system
    T  Stack direction is downwards.
    T  debug control: prepare exclude for printer trace
    T  new memory block 0000000034052380
    S  spool kernel/ddic check: Ok
    S  using table TSP02FX for frontend printing
    S  1 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 00000000382B00D0
    S  doing lock recovery
    S  setting server cache root
    S  found spool memory service RSPO-SERVERCACHE at 00000000382B06A0
    S    using messages for server info
    S  size of spec char cache entry: 297032 bytes (timeout 100 sec)
    S  size of open spool request entry: 2512 bytes
    S  immediate print option for implicitely closed spool requests is disabled
    A  ***GENER* Trace switched on ***
    A
    A  ---PXA-------------------------------------------
    A  PXA INITIALIZATION
    A  PXA: Locked PXA-Semaphore.
    A  System page size: 4kb, total admin_size: 23104kb, dir_size: 22312kb.
    A  Attached to PXA (address 000007FFEDAE0050, size 300000K, 1 fragments of 276896K )
    A  PXA allocated (address 000007FFEDAE0050, size 300000K)
    A  abap/pxa = shared protect gen_remote
    A  PXA: checking structure sizes: 752|272|16
    A  PXA INITIALIZATION FINISHED
    A  ---PXA-------------------------------------------
    A
    A  ATRA: pfclock execution time = 0
    A  abap/force_local_update_task=0
    A  ABAP ShmAdm attached (addr=000007DFDF142000 leng=20955136 end=000007DFE053E000)
    A  >> Shm MMADM area (addr=000007DFDF639B80 leng=242240 end=000007DFDF674DC0)
    A  >> Shm MMDAT area (addr=000007DFDF675000 leng=15503360 end=000007DFE053E000)
    A  RFC Destination> destination SAPERP_PRD_00 host SAPERP system PRD systnr 0 (SAPERP_PRD_00)
    A  RFC Options> H=SAPERP,S=00,d=2,
    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: 2
    A  RFC rfc/delta_trc_level not set, use default value: 0
    A  RFC rfc/no_uuid_check not set, use default value: 0
    H  HTTP> Parameter icf/ssocookie_mandatory set to 0
    B  dbtran INFO (init_connection '<DEFAULT>' [MSSQL:721.02]):
    B   max_blocking_factor       =  50,  min_blocking_factor         =   5,
    B   max_in_blocking_factor    = 255,  min_in_blocking_factor      =  10,
    B   max_union_blocking_factor =  50,  min_union_blocking_factor   =   5,
    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,                                 
    B   select *                  =0x00,  character encoding          = STD / []:X,
    B   use_hints                 = abap->1, dbif->0x1, upto->0
    M  ThrCreateShObjects allocated 39514 bytes at 0000000011C00050
    Y  dyWpInit
    Y    ztta/dynpro_ara 800000
    Y    ztta/cua_ara    500000
    Y    ztta/diag_ara   250000
    N  SsfSapSecin: getenv(SECUDIR)=="E:\usr\sap\PRD\DVEBMGS00/sec"
    N
    N  =================================================
    N  === SSF INITIALIZATION:
    N  ===...SSF Security Toolkit name SAPSECULIB .
    N  ===...SSF library is E:\usr\sap\PRD\DVEBMGS00\exe\sapcrypto.dll .
    N  ===...SSF default hash algorithm is SHA1 .
    N  ===...SSF default symmetric encryption algorithm is DES-CBC .
    N  ===...SECUDIR="E:\usr\sap\PRD\DVEBMGS00/sec"
    N  ===...loading of Security Toolkit successfully completed.
    N  ===   SAPCRYPTOLIB  5.5.5C pl32  (Apr  2 2011) MT-safe
    N  =================================================
    N
    N Fri May 16 01:23:20 2014
    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    ITS Plugin: Path dw_gui
    W    ITS Plugin: Description ITS Plugin - ITS rendering DLL
    W    ITS Plugin: sizeof(SAP_UC) 2
    W    ITS Plugin: Release: 721, [7210.0.100.20020600]
    W    ITS Plugin: Int.version, [34]
    W    ITS Plugin: Feature set: [31]
    W    ===... Calling itsp_Init in external dll ===>
    W  === ipl_Init() returns 0, ITSPE_OK: OK
    W  =================================================
    N  SignInit: successfully obtained handle for Security Context cache
    N  SPNegoInit: SPNego disabled ("spnego/enable" not set to 1)
    N  VSI: WP init in ABAP VM completed with rc=0
    E  EnqLockTableSizeCalculate: session quota = 100%
    E  EnqLockTableAttach2: attach to lock table (size = 33554432)
    E  EnqLockTableMapToLocalContext: enque/use_pfclock2 = FALSE
    E  EnqId_Initialize: local EnqId initialization o.k.
    M
    M Fri May 16 01:23:40 2014
    M  *** ERROR => ThPlgConnectToIcm: IcmReadAck failed (-8, ni_rc=-6) [thxxplg.c    5172]
    M  in_ThErrHandle: 1
    M  *** ERROR => ThStart: connect to icman (step 1, th_errno 2, action 3, level 1) [thxxhead.c   11348]
    M
    M  Info for wp 0
    M
    M    pid = 7668
    M    severity = 0
    M    status = 0
    M    stat = WP_NEW
    M    waiting_for = NO_WAITING
    M    reqtype = DP_RQ_DIAWP
    M    act_reqtype = NO_REQTYPE
    M    req.req_info =
    M    req.tid = -1
    M    req.uid = 4294967295
    M    req.mode = 255
    M    req.len = 0
    M    req.rq_id = 65535
    M    req.rq_source =
    M    last_tid = 0
    M    last_uid = 0
    M    last_mode = 0
    M    act_cs_count = 0
    M    csTrack = 0
    M    csTrackRwExcl = 0
    M    csTrackRwShrd = 0
    M    mode_cleaned_counter = 0
    M    control_flag = 0
    M    int_checked_resource(RFC) = 0
    M    ext_checked_resource(RFC) = 0
    M    int_checked_resource(HTTP) = 0
    M    ext_checked_resource(HTTP) = 0
    M    report = >                                        <
    M    action = 0
    M    tab_name = >                              <
    M    attachedVm = no VM
    M
    M  ThIErrHandle: current request:
    M
    M  -IN-- sender_id ?                 tid  -1    wp_ca_blk   -1      wp_id -1
    M  -IN-- action    -                 uid  -1    appc_ca_blk -1      type  -  
    M  -IN-- new_stat  NO_CHANGE         mode 255   len         0       rq_id -1
    M  PfStatDisconnect: disconnect statistics
    M  Entering TH_CALLHOOKS
    M  ThCallHooks: call hook >TrThHookFunc< for event BEFORE_DUMP
    M  TrThHookFunc: called for WP dump
    M  ThCallHooks: hook >TrThHookFunc< o.k.
    M  ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
    M  ThrSaveSPAFields: save spa fields
    M  ThrSaveSPAFields: not an update task, no update info saved
    M  ThrSaveSPAFields: not a batch task, field zttabtckey not saved
    M  ThCallHooks: hook >ThrSaveSPAFields< o.k.
    M  ThCallHooks: call hook >ThrBtcCallLgCl< for event BEFORE_DUMP
    M  ThCallHooks: hook >ThrBtcCallLgCl< o.k.
    M  ThIErrHandle: entering ThSetStatError
    M  ThIErrHandle: do not call ThrCoreInfo (no_core_info=0, in_dynp_env=0)
    M  Entering ThReadDetachMode
    M  call ThrShutDown (1)...
    M  ***LOG Q02=> wp_halt, WPStop (Workp. 0 7668) [dpnttool.c   339]
    DEV_DISP:
    trc file: "dev_disp", trc level: 1, release: "721"
    sysno      00
    sid        PRD
    systemid   562 (PC with Windows NT)
    relno      7210
    patchlevel 0
    patchno    100
    intno      20020600
    make       multithreaded, Unicode, 64 bit, optimized
    profile    \\SAPERP\sapmnt\PRD\SYS\profile\PRD_DVEBMGS00_SAPERP
    pid        4924
    kernel runs with dp version 137000(ext=119000) (@(#) DPLIB-INT-VERSION-137000-UC)
    length of sys_adm_ext is 588 bytes
    *** SWITCH TRC-HIDE on ***
    ***LOG Q00=> DpSapEnvInit, DPStart (00 4924) [dpxxdisp.c   1314]
      shared lib "dw_xml.dll" version 100 successfully loaded
      shared lib "dw_xtc.dll" version 100 successfully loaded
      shared lib "dw_stl.dll" version 100 successfully loaded
      shared lib "dw_gui.dll" version 100 successfully loaded
      shared lib "dw_mdm.dll" version 100 successfully loaded
      shared lib "dw_rndrt.dll" version 100 successfully loaded
      shared lib "dw_abp.dll" version 100 successfully loaded
      shared lib "dw_sym.dll" version 100 successfully loaded
      shared lib "dw_aci.dll" version 100 successfully loaded
    rdisp/softcancel_sequence :  -> 0,5,-1
    use internal message server connection to port 3900
    rdisp/dynamic_wp_check : 1
    rdisp/calculateLoadAverage : 1
    Fri May 16 01:23:12 2014
    *** WARNING => DpNetCheck: NiAddrToHost(1.0.0.0) took 4 seconds
    ***LOG GZZ=> 1 possible network problems detected - check tracefile and adjust the DNS settings [dpxxtool2.c  6438]
    MtxInit: 30000 0 0
    DpSysAdmExtInit: ABAP is active
    DpSysAdmExtInit: VMC (JAVA VM in WP) is not active
    DpIPCInit2: write dp-profile-values into sys_adm_ext
    DpIPCInit2: start server >SAPERP_PRD_00                           <
    DpShMCreate: sizeof(wp_adm) 42864 (2256)
    DpShMCreate: sizeof(tm_adm) 5517056 (27448)
    DpShMCreate: sizeof(wp_ca_adm) 64000 (64)
    DpShMCreate: sizeof(appc_ca_adm) 64000 (64)
    DpCommTableSize: max/headSize/ftSize/tableSize=500/16/1384064/1384080
    DpShMCreate: sizeof(comm_adm) 1384080 (2744)
    DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
    DpShMCreate: sizeof(slock_adm) 0 (296)
    DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
    DpShMCreate: sizeof(file_adm) 0 (80)
    DpShMCreate: sizeof(vmc_adm) 0 (2160)
    DpShMCreate: sizeof(wall_adm) (41664/42896/64/192)
    DpShMCreate: sizeof(gw_adm) 48
    DpShMCreate: sizeof(j2ee_adm) 3952
    DpShMCreate: SHM_DP_ADM_KEY (addr: 0000000005460050, size: 7174832)
    DpShMCreate: allocated sys_adm at 0000000005460060
    DpShMCreate: allocated wp_adm_list at 00000000054630B0
    DpShMCreate: allocated wp_adm at 00000000054632A0
    DpShMCreate: allocated tm_adm_list at 000000000546DA20
    DpShMCreate: allocated tm_adm at 000000000546DA70
    DpShMCreate: allocated wp_ca_adm at 00000000059B0980
    DpShMCreate: allocated appc_ca_adm at 00000000059C0390
    DpShMCreate: allocated comm_adm at 00000000059CFDA0
    DpShMCreate: system runs without slock table
    DpShMCreate: system runs without file table
    DpShMCreate: allocated vmc_adm_list at 0000000005B21C40
    DpShMCreate: system runs without vmc_adm
    DpShMCreate: allocated gw_adm at 0000000005B21CF0
    DpShMCreate: allocated j2ee_adm at 0000000005B21D30
    DpShMCreate: allocated ca_info at 0000000005B22CB0
    DpShMCreate: allocated wall_adm at 0000000005B22D40
    DpCommAttachTable: attached comm table (header=00000000059CFDA0/ft=00000000059CFDB0)
    DpSysAdmIntInit: initialize sys_adm
    rdisp/test_roll : roll strategy is DP_NORMAL_ROLL
    dia token check not active (10 token)
    MBUF state OFF
    DpCommInitTable: init table for 500 entries
    DpRqQInit: keep protect_queue / slots_per_queue 0 / 2001 in sys_adm
    Fri May 16 01:23:13 2014
    rdisp/queue_size_check_value :  -> on,50,30,40,500,50,500,80
    EmInit: MmSetImplementation( 2 ).
    MM global diagnostic options set: 0
    <ES> client 0 initializing ....
    <ES> EsILock: use spinlock for locking
    <ES> InitFreeList
    <ES> block size is 4096 kByte.
    <ES> Info: em/initial_size_MB( 134981MB) not multiple of em/blocksize_KB( 4096KB)
    <ES> Info: em/initial_size_MB rounded up to 134984MB
    Using implementation view
    <EsNT> Using memory model view.
    <EsNT> Memory Reset disabled as NT default
    <ES> 33745 blocks reserved for free list.
    ES initialized.
    mm.dump: set maximum dump mem to 96 MB
    DpVmcSetActive: set vmc state DP_VMC_NOT_ACTIVE
    MPI: dynamic quotas disabled.
    MPI init: pipes=4000 buffers=1279 reserved=383 quota=10%
    rdisp/http_min_wait_dia_wp : 1 -> 1
    ***LOG CPS=> DpLoopInit, ICU ( 4.0.1 4.0.1 5.1) [dpxxdisp.c   1700]
    Fri May 16 01:23:40 2014
    ***LOG Q0K=> DpMsAttach, mscon ( SAPERP) [dpxxdisp.c   12667]
    MBUF state LOADING
    DpStartStopMsg: send start message (myname is >SAPERP_PRD_00                           <)
    DpStartStopMsg: start msg sent
    CCMS: SemInMgt: Semaphore Management initialized by AlAttachShm_Doublestack.
    CCMS: SemInit: Semaphore 38 initialized by AlAttachShm_Doublestack.
    DpMBufHwIdSet: set Hardware-ID
    ***LOG Q1C=> DpMBufHwIdSet [dpxxmbuf.c   1296]
    MBUF state ACTIVE
    DpWpBlksLow: max wp blocks in queue is 800 (80 %)
    MBUF component UP
    DpMsgProcess: 1 server in MBUF
    DpAppcBlksLow: max appc blocks in queue is 500 (50 %)
    *** ERROR => DpIcmMsgProcess: IcmRecMsg (rc=-8,-6) [dpxxdisp.c   19121]
    Fri May 16 01:24:20 2014
    *** ERROR => DpHdlDeadWp: W0 (pid 7668) died (severity=0, status=0) [dpxxwp.c     1729]
    *** ERROR => DpHdlDeadWp: W1 (pid 7456) died (severity=0, status=0) [dpxxwp.c     1729]
    *** ERROR => DpHdlDeadWp: W2 (pid 8096) died (severity=0, status=0) [dpxxwp.c     1729]
    *** ERROR => DpHdlDeadWp: W3 (pid 4376) died (severity=0, status=0) [dpxxwp.c     1729]
    *** ERROR => DpHdlDeadWp: W4 (pid 3000) died (severity=0, status=0) [dpxxwp.c     1729]
    *** ERROR => DpHdlDeadWp: W5 (pid 3520) died (severity=0, status=0) [dpxxwp.c     1729]
    *** ERROR => DpHdlDeadWp: W6 (pid 7024) died (severity=0, status=0) [dpxxwp.c     1729]
    *** ERROR => DpHdlDeadWp: W7 (pid 6172) died (severity=0, status=0) [dpxxwp.c     1729]
    *** ERROR => DpHdlDeadWp: W8 (pid 6576) died (severity=0, status=0) [dpxxwp.c     1729]
    *** ERROR => DpHdlDeadWp: W9 (pid 7756) died (severity=0, status=0) [dpxxwp.c     1729]
    *** ERROR => DpHdlDeadWp: W10 (pid 624) died (severity=0, status=0) [dpxxwp.c     1729]
    *** ERROR => DpHdlDeadWp: W11 (pid 7468) died (severity=0, status=0) [dpxxwp.c     1729]
    *** ERROR => DpHdlDeadWp: W12 (pid 1176) died (severity=0, status=0) [dpxxwp.c     1729]
    *** ERROR => DpHdlDeadWp: W13 (pid 6812) died (severity=0, status=0) [dpxxwp.c     1729]
    *** ERROR => DpHdlDeadWp: W14 (pid 6968) died (severity=0, status=0) [dpxxwp.c     1729]
    *** ERROR => DpHdlDeadWp: W15 (pid 5036) died (severity=0, status=0) [dpxxwp.c     1729]
    *** ERROR => DpHdlDeadWp: W16 (pid 5576) died (severity=0, status=0) [dpxxwp.c     1729]
    *** DP_FATAL_ERROR => DpWPCheck: no more work processes
    *** DISPATCHER EMERGENCY SHUTDOWN ***
    increase tracelevel of WPs
    NiWait: sleep (10000ms) ...
    NiISelect: timeout 10000ms
    NiISelect: maximum fd=1445
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Fri May 16 01:24:30 2014
    NiISelect: TIMEOUT occured (10000ms)
    dump system status
    Workprocess Table (long) Fri May 16 07:24:30 2014
    ========================
    No Type  Pid    Status  Cause Start Rstr  Err Sem Time Program          Cl  User         Action                    Table
    0 DIA       -1 Ended         no    no     1   0    0                                    NO_ACTION                         
    1 DIA       -1 Ended         no    no     1   0    0                                    NO_ACTION                         
    2 DIA       -1 Ended         no    no     1   0    0                                    NO_ACTION                         
    3 DIA       -1 Ended         no    no     1   0    0                                    NO_ACTION                         
    4 DIA       -1 Ended         no    no     1   0    0                                    NO_ACTION                         
    5 DIA       -1 Ended         no    no     1   0    0                                    NO_ACTION                         
    6 DIA       -1 Ended         no    no     1   0    0                                    NO_ACTION                         
    7 DIA       -1 Ended         no    no     1   0    0                                    NO_ACTION                         
    8 DIA       -1 Ended         no    no     1   0    0                                    NO_ACTION                         
    9 DIA       -1 Ended         no    no     1   0    0                                    NO_ACTION                         
    10 UPD       -1 Ended         no    no     1   0    0                                    NO_ACTION                         
    11 ENQ       -1 Ended         no    no     1   0    0                                    NO_ACTION                         
    12 BTC       -1 Ended         no    no     1   0    0                                    NO_ACTION                         
    13 BTC       -1 Ended         no    no     1   0    0                                    NO_ACTION                         
    14 BTC       -1 Ended         no    no     1   0    0                                    NO_ACTION                         
    15 SPO       -1 Ended         no    no     1   0    0                                    NO_ACTION                         
    16 UP2       -1 Ended         no    no     1   0    0                                    NO_ACTION                         
    Dispatcher Queue Statistics Fri May 16 07:24:30 2014
    ===========================
    +------+--------+--------+--------+------------+------------+
    |  Typ |    now |   high |    max | writes     |  reads     |
    +------+--------+--------+--------+------------+------------+
    | NOWP |      1 |     33 |   2000 |         43 |         42 |
    +------+--------+--------+--------+------------+------------+
    |  DIA |      5 |      5 |   2000 |          5 |          0 |
    +------+--------+--------+--------+------------+------------+
    |  UPD |      1 |      1 |   2000 |          1 |          0 |
    +------+--------+--------+--------+------------+------------+
    |  ENQ |      0 |      0 |   2000 |          0 |          0 |
    +------+--------+--------+--------+------------+------------+
    |  BTC |      0 |      0 |   2000 |          0 |          0 |
    +------+--------+--------+--------+------------+------------+
    |  SPO |      0 |      0 |   2000 |          0 |          0 |
    +------+--------+--------+--------+------------+------------+
    |  UP2 |      0 |      0 |   2000 |          0 |          0 |
    +------+--------+--------+--------+------------+------------+
    max_rq_id 40
    wake_evt_udp_now 0
    wake events       total    40,  udp     5 ( 12%),  shm    35 ( 87%)
    since last update total    40,  udp     5 ( 12%),  shm    35 ( 87%)
    DpGetLoadAverage: la1[1] = 0.000000 / -1.000000 %
    DpGetLoadAverage: la5[1] = 0.000000 / -1.000000 %
    DpGetLoadAverage: la15[1] = 0.055556 / -1.000000 %
    Dispatcher Load Statistics
    +------+---------+---------+---------+
    |  Typ |     LA1 |     LA5 |    LA15 |
    +------+---------+---------+---------+
    |  DIA |   0.000 |   0.000 |   0.056 |
    +------+---------+---------+---------+
    DpGetLoadAverage: la1[2] = 0.000000 / -1.000000 %
    DpGetLoadAverage: la5[2] = 0.000000 / -1.000000 %
    DpGetLoadAverage: la15[2] = 0.011111 / -1.000000 %
    |  UPD |   0.000 |   0.000 |   0.011 |
    +------+---------+---------+---------+
    DpGetLoadAverage: la1[3] = 0.000000 / -1.000000 %
    DpGetLoadAverage: la5[3] = 0.000000 / -1.000000 %
    DpGetLoadAverage: la15[3] = 0.000000 / -1.000000 %
    |  ENQ |   0.000 |   0.000 |   0.000 |
    +------+---------+---------+---------+
    DpGetLoadAverage: la1[4] = 0.000000 / -1.000000 %
    DpGetLoadAverage: la5[4] = 0.000000 / -1.000000 %
    DpGetLoadAverage: la15[4] = 0.000000 / -1.000000 %
    |  BTC |   0.000 |   0.000 |   0.000 |
    +------+---------+---------+---------+
    DpGetLoadAverage: la1[5] = 0.000000 / -1.000000 %
    DpGetLoadAverage: la5[5] = 0.000000 / -1.000000 %
    DpGetLoadAverage: la15[5] = 0.000000 / -1.000000 %
    |  SPO |   0.000 |   0.000 |   0.000 |
    +------+---------+---------+---------+
    DpGetLoadAverage: la1[6] = 0.000000 / -1.000000 %
    DpGetLoadAverage: la5[6] = 0.000000 / -1.000000 %
    DpGetLoadAverage: la15[6] = 0.000000 / -1.000000 %
    |  UP2 |   0.000 |   0.000 |   0.000 |
    +------+---------+---------+---------+
    Dump of tm_adm structure: Fri May 16 07:24:30 2014
    =========================
    Term    uid  man user    term   lastop  mod wp  ta   a/i (modes)
    RM-T19, U20,                 , , 01:23:40, M0, W-1,     , 1/0
    Workprocess Comm. Area Blocks Fri May 16 07:24:30 2014
    =============================
    Slots: 1000, Used: 2, Max: 46
    +------+--------------+----------+-------------+
    |   id | owner        |   pid    | eyecatcher  |
    +------+--------------+----------+-------------+
    |    0 | DISPATCHER   |       -1 | 0xdeadbeef |
    |  546 | DISPATCHER   |       -1 | 0xdeadbeef |
    NiWait: sleep (5000ms) ...
    NiISelect: timeout 5000ms
    NiISelect: maximum fd=1445
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Fri May 16 01:24:35 2014
    NiISelect: TIMEOUT occured (5000ms)
    DpHalt: shutdown server >SAPERP_PRD_00                           < (normal)
    DpJ2eeDisableRestart
    DpMBufRead: read server list from MBUF (1 entries)
    DpMBufMod: name [SAPERP_PRD_00                           ], types 191 state 3 (0x0 0x0 0x0 0x0)
    DpMBufMod: call hooks for event MBUF_DPEVT_DSTATE (5->3)
    AdGetSelfIdentRecord: >                                                                           <
    AdCvtRecToExt: opcode 60 (AD_SELFIDENT), ser 0, ex 0, errno 0
    AdCallRegisteredCvtToExt: opcode 60
    AdCallRegisteredCvtToExt: opcode 60 call 000007F7B2B8B6E0
    AdCallRegisteredCvtToExt: opcode 60 exit rc=SAP_O_K
    AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
    AdCallRegisteredCvtToExt: opcode 40
    AdCallRegisteredCvtToExt: opcode 40 call 000007F7B3297650
    AdCallRegisteredCvtToExt: opcode 40 exit rc=SAP_O_K
    AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
    AdCallRegisteredCvtToExt: opcode 40
    AdCallRegisteredCvtToExt: opcode 40 call 000007F7B3297650
    AdCallRegisteredCvtToExt: opcode 40 exit rc=SAP_O_K
    AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
    AdCallRegisteredCvtToExt: opcode 40
    AdCallRegisteredCvtToExt: opcode 40 call 000007F7B3297650
    AdCallRegisteredCvtToExt: opcode 40 exit rc=SAP_O_K
    AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
    AdCallRegisteredCvtToExt: opcode 40
    AdCallRegisteredCvtToExt: opcode 40 call 000007F7B3297650
    AdCallRegisteredCvtToExt: opcode 40 exit rc=SAP_O_K
    AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
    AdCallRegisteredCvtToExt: opcode 40
    AdCallRegisteredCvtToExt: opcode 40 call 000007F7B3297650
    AdCallRegisteredCvtToExt: opcode 40 exit rc=SAP_O_K
    AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
    AdCallRegisteredCvtToExt: opcode 40
    AdCallRegisteredCvtToExt: opcode 40 call 000007F7B3297650
    AdCallRegisteredCvtToExt: opcode 40 exit rc=SAP_O_K
    AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
    AdCallRegisteredCvtToExt: opcode 40
    AdCallRegisteredCvtToExt: opcode 40 call 000007F7B3297650
    AdCallRegisteredCvtToExt: opcode 40 exit rc=SAP_O_K
    AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
    AdCallRegisteredCvtToExt: opcode 40
    AdCallRegisteredCvtToExt: opcode 40 call 000007F7B3297650
    AdCallRegisteredCvtToExt: opcode 40 exit rc=SAP_O_K
    AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
    AdCallRegisteredCvtToExt: opcode 40
    AdCallRegisteredCvtToExt: opcode 40 call 000007F7B3297650
    AdCallRegisteredCvtToExt: opcode 40 exit rc=SAP_O_K
    AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
    AdCallRegisteredCvtToExt: opcode 40
    AdCallRegisteredCvtToExt: opcode 40 call 000007F7B3297650
    AdCallRegisteredCvtToExt: opcode 40 exit rc=SAP_O_K
    DpWpBlksLow: wp_blks_in_queue/limit/max = 2/800/1000
    DpLockWpBlkEx: lock wp ca_blk 1
    make DISP owner of wp_ca_blk 1
    DpRqIPutIntoQ: put elem in queue DIA, elems=6
    DpRqPutIntoQueue: put request into queue (reqtype 1, prio LOW, rq_id 41)
    MBUF server state SHUTDOWN
    DpModState: change state STARTING -> SHUTDOWN
    NiBufSend starting
    NiIWrite: hdl 17 sent data (wrt=110,pac=1,MESG_IO)
    MsINiWrite: sent 110 bytes
    MsIModState: change state to SHUTDOWN
    DpModState: change server state from STARTING to SHUTDOWN
    DpHalt: switch off Shared memory profiling
    ShmProtect( 57, 3 )
    ShmProtect(SHM_PROFILE, SHM_PROT_RW
    ShmProtect( 57, 1 )
    ShmProtect(SHM_PROFILE, SHM_PROT_RD
    DpWakeUpWps: wake up all wp's
    DpHalt: stop work processes
    DpHalt: stop gateway
    killing process (7752) (SOFT_KILL)
    DpHalt: stop icman
    killing process (5940) (SOFT_KILL)
    DpHalt: terminate gui connections
    send SHUTDOWN to REM TM 19
    DpWpBlksLow: wp_blks_in_queue/limit/max = 3/800/1000
    DpLockWpBlkEx: lock wp ca_blk 2
    return errno (-17) to T19
    DpTmSend: errormsg without overhead: use mode 0
    NiBufIAlloc: malloc NiBufadm, to 0 bytes
    DpTmSend: try to send 14 bytes to T19/M0
    NiBufSend starting
    NiIWrite: hdl 25 sent data (wrt=14,pac=1,MESG_IO)
    REL WP ca_blk 2
    set status of T19 to TM_DISCONNECTED
    NiBufISelUpdate: new MODE -- (r-) for hdl 25 in set0
    SiSelNSet: set events of sock 1440 to: ---
    NiBufISelRemove: remove hdl 25 from set0
    SiSelNRemove: removed sock 1440 (pos=3)
    SiSelNRemove: removed sock 1440
    NiSelIRemove: removed hdl 25
    DpDelSocketInfo: del info for nihdl 25 (pos/type=3/3)
    NiICloseHandle: shutdown and close hdl 25/sock 1440
    NiBufIClose: clear extension for hdl 25
    dp_tm_adm[19].stat = DP_SLOT_FREE
    DpGetSchedule: next schedule 1400225080/234000
    DpGetSchedule: no schedule found
    DpITmSlotRelease: release slot 19
    DpListRemove: remove elem 19 from tmadm_inuse_list
    DpListRemove: 19 elems in tmadm_inuse_list
    DpListInsert: insert elem 19 into tmadm_free_list (at begin)
    DpListInsert: 182 elems in tmadm_free_list
    DpHalt: wait for end of work processes
    DpHalt: wait for end of gateway
    [DpProcDied] Process lives  (PID:7752  HANDLE:1300)
    DpHalt: waiting for termination of gateway ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1445
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Fri May 16 01:24:36 2014
    NiISelect: TIMEOUT occured (1000ms)
    *** ERROR => [DpProcDied] Process died  (PID:7752  HANDLE:1300  rc:0x0) [dpnttool2.c  147]
    DpHalt: wait for end of icman
    [DpProcDied] Process lives  (PID:5940  HANDLE:1296)
    DpHalt: waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1445
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Fri May 16 01:24:37 2014
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:5940  HANDLE:1296)
    DpHalt: waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1445
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Fri May 16 01:24:38 2014
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:5940  HANDLE:1296)
    DpHalt: waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1445
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Fri May 16 01:24:39 2014
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:5940  HANDLE:1296)
    DpHalt: waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1445
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Fri May 16 01:24:40 2014
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:5940  HANDLE:1296)
    DpHalt: waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1445
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Fri May 16 01:24:41 2014
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:5940  HANDLE:1296)
    DpHalt: waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1445
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Fri May 16 01:24:42 2014
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:5940  HANDLE:1296)
    DpHalt: waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1445
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Fri May 16 01:24:43 2014
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:5940  HANDLE:1296)
    DpHalt: waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1445
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Fri May 16 01:24:44 2014
    NiISelect: TIMEOUT occured (1000ms)
    *** ERROR => [DpProcDied] Process died  (PID:5940  HANDLE:1296  rc:0x0) [dpnttool2.c  147]
    DpStartStopMsg: send stop message (myname is >SAPERP_PRD_00                           <)
    DpStartStopMsg: Write AD_STARTSTOP message with type=  0, name=SAPERP_PRD_00       , sapsysnr= 0, hostname=SAPERP                                                        
    AdGetSelfIdentRecord: >                                                                           <
    AdCvtRecToExt: opcode 60 (AD_SELFIDENT), ser 0, ex 0, errno 0
    AdCallRegisteredCvtToExt: opcode 60
    AdCallRegisteredCvtToExt: opcode 60 call 000007F7B2B8B6E0
    AdCallRegisteredCvtToExt: opcode 60 exit rc=SAP_O_K
    AdCvtRecToExt: opcode 4 (AD_STARTSTOP), ser 0, ex 0, errno 0
    AdCallRegisteredCvtToExt: opcode 4
    AdCallRegisteredCvtToExt: opcode 4 call 000007F7B2BB1470
    AdCallRegisteredCvtToExt: opcode 4 exit rc=SAP_O_K
    DpConvertRequest: net size = 189 bytes
    NiBufIAlloc: malloc MSLIB-BUF, to 32110 bytes
    NiBufSend starting
    NiIWrite: hdl 17 sent data (wrt=562,pac=1,MESG_IO)
    MsINiWrite: sent 562 bytes
    MsISnd2: send msg (ms hdr/msg 110/452 bytes) to name                    -, type 4, key -
    DpStartStopMsg: stop msg sent
    NiBufIAlloc: malloc MSLIB-BUF, to 32110 bytes
    NiBufIAlloc: malloc NIBUF-IN, to 32110 bytes
    NiIRead: hdl 17 received data (rcd=274,pac=1,MESG_IO)
    NiBufIIn: NIBUF len=274
    NiBufIIn: packet complete for hdl 17
    NiBufReceive starting
    MsINiRead: received 274 bytes
    MsIReceive: received msg (ms hdr/msg 110/164 bytes), flag 1, from MSG_SERVER          , typ 0, key -
    DpHalt: received 164 bytes from message server
    NiIRead: hdl 17 recv would block (errno=EAGAIN)
    NiIRead: read for hdl 17 timed out (0ms)
    DpHalt: more messages from the message server
    DpHalt: send keepalive to synchronize with the message server
    NiBufSend starting
    NiIWrite: hdl 17 sent data (wrt=114,pac=1,MESG_IO)
    MsINiWrite: sent 114 bytes
    MsISnd2: send msg (ms hdr/msg 110/4 bytes) to name           MSG_SERVER, type 0, key -
    MsSndName: MS_NOOP ok
    Send 4 bytes to MSG_SERVER
    NiBufIAlloc: malloc MSLIB-BUF, to 32110 bytes
    NiIRead: hdl 17 recv would block (errno=EAGAIN)
    NiIPeek: peek successful for hdl 17 (r)
    NiBufIAlloc: malloc NIBUF-IN, to 32110 bytes
    NiIRead: hdl 17 received data (rcd=114,pac=1,MESG_IO)
    NiBufIIn: NIBUF len=114
    NiBufIIn: packet complete for hdl 17
    NiBufReceive starting
    MsINiRead: received 114 bytes
    MsIReceive: received msg (ms hdr/msg 110/4 bytes), flag 3, from MSG_SERVER          , typ 0, key -
    Received 4 bytes from MSG_SERVER                            
    Received opcode MS_NOOP from msg_server, reply MSOP_OK
    MsOpReceive: ok
    MsISendKeepalive : keepalive sent to message server
    NiIRead: hdl 17 recv would block (errno=EAGAIN)
    Fri May 16 01:24:45 2014
    NiIPeek: peek for hdl 17 timed out (r; 1000ms)
    NiIRead: read for hdl 17 timed out (1000ms)
    DpHalt: no more messages from the message server
    DpHalt: sync with message server o.k.
    DpHalt: detach from message server
    ***LOG Q0M=> DpMsDetach, ms_detach () [dpxxdisp.c   13064]
    NiBufSend starting
    NiIWrite: hdl 17 sent data (wrt=110,pac=1,MESG_IO)
    MsINiWrite: sent 110 bytes
    MsIDetach: send logout to msg_server (SAPERP / 3900)
    MsIDetach: call exit function
    DpMsShutdownHook called
    NiBufISelUpdate: new MODE -- (r-) for hdl 17 in set0
    SiSelNSet: set events of sock 1400 to: ---
    NiBufISelRemove: remove hdl 17 from set0
    SiSelNRemove: removed sock 1400 (pos=2)
    SiSelNRemove: removed sock 1400
    NiSelIRemove: removed hdl 17
    DpDelSocketInfo: del info for nihdl 17 (pos/type=2/4)
    MBUF state OFF
    AdGetSelfIdentRecord: >                                                                           <
    AdCvtRecToExt: opcode 60 (AD_SELFIDENT), ser 0, ex 0, errno 0
    AdCallRegisteredCvtToExt: opcode 60
    AdCallRegisteredCvtToExt: opcode 60 call 000007F7B2B8B6E0
    AdCallRegisteredCvtToExt: opcode 60 exit rc=SAP_O_K
    AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
    AdCallRegisteredCvtToExt: opcode 40
    AdCallRegisteredCvtToExt: opcode 40 call 000007F7B3297650
    AdCallRegisteredCvtToExt: opcode 40 exit rc=SAP_O_K
    AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
    AdCallRegisteredCvtToExt: opcode 40
    AdCallRegisteredCvtToExt: opcode 40 call 000007F7B3297650
    AdCallRegisteredCvtToExt: opcode 40 exit rc=SAP_O_K
    DpWpBlksLow: wp_blks_in_queue/limit/max = 3/800/1000
    DpLockWpBlkEx: lock wp ca_blk 2
    make DISP owner of wp_ca_blk 2
    DpRqIPutIntoQ: put elem in queue DIA, elems=7
    DpRqPutIntoQueue: put request into queue (reqtype 1, prio LOW, rq_id 44)
    MBUF component DOWN
    NiICloseHandle: shutdown and close hdl 17/sock 1400
    NiBufIClose: clear extension for hdl 17
    MsIDetach: detach MS-system (SAPERP / 3900)
    DpHalt: cleanup EM
    EsCleanup( )
    EsCleanup ....
    EmCleanup() -> 0
    Es2Cleanup: Cleanup ES2
    ***LOG Q05=> DpHalt, DPStop ( 4924) [dpxxdisp.c   11574]
    DpHalt: Good Bye .....
    SAPSTARTSRV
    trc file: "sapstartsrv.log", trc level: 0, release: "721"
    pid        6196
    [Thr 6528] Fri May 16 00:38:09 2014
    SAP HA Trace: SAP Microsoft Cluster library '721, patch 100, changelist 1397439' initialized
    CCMS agent initialization for instance type ABAP: return code 0.
    CCMS agent start: return code 0.
    Initializing SAPControl Webservice
    Starting AutoRestart thread
    AutoRestart thread started, version check is enabled
    SapSSLInit failed => https support disabled
    Starting WebService Named Pipe thread
    Starting WebService thread
    Webservice named pipe thread started, listening on port \\.\pipe\sapcontrol_00
    Webservice thread started, listening on port 50013
    \sapadmin is starting SAP System at 2014/05/16  0:38:18
    SAP HA Trace: FindClusterResource: OpenCluster failed: 1753 [sapwinha.cpp, line 213]
    SAP HA Trace: SAP_HA_FindSAPInstance returns: SAP_HA_FAIL [sapwinha.cpp, line 920]
    \sapadmin is stopping SAP System at 2014/05/16  0:49:10
    SAP HA Trace: FindClusterResource: OpenCluster failed: 1753 [sapwinha.cpp, line 213]
    SAP HA Trace: SAP_HA_FindSAPInstance returns: SAP_HA_FAIL [sapwinha.cpp, line 920]
    \sapadmin is starting SAP System at 2014/05/16  0:50:47
    SAP HA Trace: FindClusterResource: OpenCluster failed: 1753 [sapwinha.cpp, line 213]
    SAP HA Trace: SAP_HA_FindSAPInstance returns: SAP_HA_FAIL [sapwinha.cpp, line 920]
    \sapadmin is stopping SAP System at 2014/05/16  1:21:22
    SAP HA Trace: FindClusterResource: OpenCluster failed: 1753 [sapwinha.cpp, line 213]
    SAP HA Trace: SAP_HA_FindSAPInstance returns: SAP_HA_FAIL [sapwinha.cpp, line 920]
    \prdadm is starting SAP System at 2014/05/16  1:23:04
    SAP HA Trace: FindClusterResource: OpenCluster failed: 1753 [sapwinha.cpp, line 213]
    SAP HA Trace: SAP_HA_FindSAPInstance returns: SAP_HA_FAIL [sapwinha.cpp, line 920]

    Hi Alwina, here is the DEV_ICM trace:
    From this trace, it appears that it is listening to 65000?
    Netstat shows that the system is listening to 127.0.0.1:65000 .
    Other SAP ports show listening on 0:0:0:0:xxxx , is ICM listening on 127 a problem?
    trc file: "dev_icm", trc level: 1, release: "721"
    sysno      00
    sid        PRD
    systemid   562 (PC with Windows NT)
    relno      7210
    patchlevel 0
    patchno    43
    intno      20020600
    make       multithreaded, Unicode, 64 bit, optimized
    profile    \\SAPERP\sapmnt\PRD\SYS\profile\PRD_DVEBMGS00_SAPERP
    pid        5940
    [Thr 1812] Fri May 16 01:23:13 2014
    [Thr 1812] Parameter system/type has value: "ABAP"
    [Thr 1812] started security log to file ./dev_icm_sec
    [Thr 1812] ICM running on:
    [Thr 1812] MtxInit: 30001 0 2
    [Thr 1812] ***LOG IM1=> IcmInit, Startup (ICM&SAPERP.CORP.CANSEL.CA&5940&) [icxxman.c    1934]
    [Thr 1812] IcmInit: listening to admin port: 65000
    [Thr 1812] DpSysAdmExtCreate: ABAP is active
    [Thr 1812] DpSysAdmExtCreate: VMC (JAVA VM in WP) is not active
    [Thr 1812] DpIPCInit2: read dp-profile-values from sys_adm_ext
    [Thr 1812] DpShMCreate: sizeof(wp_adm) 42864 (2256)
    [Thr 1812] DpShMCreate: sizeof(tm_adm) 5517056 (27448)
    [Thr 1812] DpShMCreate: sizeof(wp_ca_adm) 64000 (64)
    [Thr 1812] DpShMCreate: sizeof(appc_ca_adm) 64000 (64)
    [Thr 1812] DpCommTableSize: max/headSize/ftSize/tableSize=500/16/1384064/1384080
    [Thr 1812] DpShMCreate: sizeof(comm_adm) 1384080 (2744)
    [Thr 1812] DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
    [Thr 1812] DpShMCreate: sizeof(slock_adm) 0 (296)
    [Thr 1812] DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
    [Thr 1812] DpShMCreate: sizeof(file_adm) 0 (80)
    [Thr 1812] DpShMCreate: sizeof(vmc_adm) 0 (2160)
    [Thr 1812] DpShMCreate: sizeof(wall_adm) (41664/42896/64/192)
    [Thr 1812] DpShMCreate: sizeof(gw_adm) 48
    [Thr 1812] DpShMCreate: sizeof(j2ee_adm) 3952
    [Thr 1812] DpShMCreate: SHM_DP_ADM_KEY (addr: 00000000022F0050, size: 7174832)
    [Thr 1812] DpShMCreate: allocated sys_adm at 00000000022F0060
    [Thr 1812] DpShMCreate: allocated wp_adm_list at 00000000022F30B0
    [Thr 1812] DpShMCreate: allocated wp_adm at 00000000022F32A0
    [Thr 1812] DpShMCreate: allocated tm_adm_list at 00000000022FDA20
    [Thr 1812] DpShMCreate: allocated tm_adm at 00000000022FDA70
    [Thr 1812] DpShMCreate: allocated wp_ca_adm at 0000000002840980
    [Thr 1812] DpShMCreate: allocated appc_ca_adm at 0000000002850390
    [Thr 1812] DpShMCreate: allocated comm_adm at 000000000285FDA0
    [Thr 1812] DpShMCreate: system runs without slock table
    [Thr 1812] DpShMCreate: system runs without file table
    [Thr 1812] DpShMCreate: allocated vmc_adm_list at 00000000029B1C40
    [Thr 1812] DpShMCreate: system runs without vmc_adm
    [Thr 1812] DpShMCreate: allocated gw_adm at 00000000029B1CF0
    [Thr 1812] DpShMCreate: allocated j2ee_adm at 00000000029B1D30
    [Thr 1812] DpShMCreate: allocated ca_info at 00000000029B2CB0
    [Thr 1812] DpRqQInit: use protect_queue / slots_per_queue 0 / 2001 from sys_adm
    [Thr 1812] MPI: dynamic quotas disabled.
    [Thr 1812] MPI init: pipes=4000 buffers=1279 reserved=383 quota=10%
    [Thr 1812] CCMS: initialize CCMS Monitoring for ABAP instance with J2EE addin.
    [Thr 1812] CCMS: SemInMgt: Semaphore Management initialized by AlAttachShm_Doublestack.
    [Thr 1812] Fri May 16 01:23:14 2014
    [Thr 1812] CCMS: SemInit: Semaphore 38 initialized by AlAttachShm_Doublestack.
    [Thr 1812] IcmCreateWorkerThreads: created worker thread 0
    [Thr 1812] IcmCreateWorkerThreads: created worker thread 1
    [Thr 1812] IcmCreateWorkerThreads: created worker thread 2
    [Thr 6912] IcmProxyWatchDog: proxy watchdog started
    [Thr 1812] IcmCreateWorkerThreads: created worker thread 3
    [Thr 1812] IcmCreateWorkerThreads: created worker thread 4
    [Thr 1812] IcmCreateWorkerThreads: created worker thread 5
    [Thr 1812] IcmCreateWorkerThreads: created worker thread 6
    [Thr 1812] IcmCreateWorkerThreads: created worker thread 7
    [Thr 1812] IcmCreateWorkerThreads: created worker thread 8
    [Thr 1812] IcmCreateWorkerThreads: created worker thread 9
    [Thr 4024] IcmMpiWatchDogThread: MPI watchdog started
    [Thr 4400] IcmWatchDogThread: watchdog started
    [Thr 6524] HttpISubHandlerAdd: Added handler HttpFileAccessHandler(000000000C2E2750), slot=0, flags=4098) for /sap/public/icmandir/, active: 1, table 000000000C2E24C0
    [Thr 6524] ISC: created 400 MB disk cache.
    [Thr 6524] ISC: created 50 MB memory cache.
    [Thr 6524] HttpISubHandlerAdd: Added handler HttpCacheHandler(000000000C3EB4B0), slot=1, flags=12293) for /, active: 1, table 000000000C2E24C0
    [Thr 6524] HttpExtractArchive: files from archive E:\usr\sap\PRD\DVEBMGS00\exe/icmadmin.SAR in directory E:/usr/sap/PRD/DVEBMGS00/data/icmandir are up to date
    [Thr 6524] HttpISubHandlerAdd: Added handler HttpAdminHandler(000000000C461480), slot=2, flags=36869) for /sap/admin, active: 1, table 000000000C2E24C0
    [Thr 6524] HttpISubHandlerAdd: Added handler HttpModHandler(000000000C461570), slot=3, flags=12293) for /, active: 1, table 000000000C2E24C0
    [Thr 6524] CsiInit(): Initializing the Content Scan Interface
    [Thr 6524]            PC with Windows NT (mt,unicode,SAP_CHAR/size_t/void* = 16/64/64)
    [Thr 6524] CsiInit(): CSA_LIB = "E:\usr\sap\PRD\DVEBMGS00\exe\sapcsa.dll"
    [Thr 6524] HttpISubHandlerAdd: Added handler HttpAuthHandler(000000000C4615F0), slot=4, flags=12293) for /, active: 1, table 000000000C2E24C0
    [Thr 6524] HttpISubHandlerAdd: Added handler HttpSAPR3Handler(000000000C4AFAE0), slot=5, flags=1052677) for /, active: 1, table 000000000C2E24C0
    [Thr 6524] Started service PORT=8000,PROT=HTTP,TIMEOUT=60,PROCTIMEOUT=60
    [Thr 6524] Started service PORT=0,PROT=SMTP,TIMEOUT=120,PROCTIMEOUT=120
    [Thr 6524] Fri May 16 01:23:18 2014
    [Thr 6524] IcmNetCheck: network check passed without detecting problems
    [Thr 4268] Fri May 16 01:23:24 2014
    [Thr 4268] HttpExtractArchive: files from archive E:\usr\sap\PRD\DVEBMGS00\exe/ITS.SAR in directory E:/usr/sap/PRD/DVEBMGS00/data/icmandir are up to date
    [Thr 8156] Fri May 16 01:24:14 2014
    [Thr 8156] *** WARNING => IcmCallAllSchedules: Schedule func 1 already running - avoid recursion [icxxsched.c  481]
    [Thr 5948] Fri May 16 01:24:24 2014
    [Thr 5948] *** WARNING => IcmJ2EEScheduleFunc: Cannot access "/sap/public/icman" (rc=500)- please check node in TA sicf [icxxman.c    2598]
    [Thr 6912] Fri May 16 01:24:44 2014
    [Thr 6912] IcmProxyWatchDog: Shutdown request received
    [Thr 4400] IcmWatchDogThread: Shutdown request received
    [Thr 6912] *** IcmProxyWatchDog: exit thread ***
    [Thr 4024] *** IcmMpiWatchDogThread: exit thread ***
    [Thr 4400] *** IcmWatchDogThread: exit thread ***
    [Thr 1812] IcmLoop: Shutdown request received
    [Thr 1812] Deactivated service PORT=8000,PROT=HTTP,TIMEOUT=60,PROCTIMEOUT=60
    [Thr 1812] Deactivated service PORT=0,PROT=SMTP,TIMEOUT=120,PROCTIMEOUT=120
    [Thr 1812] Removed service PORT=8000,PROT=HTTP,TIMEOUT=60,PROCTIMEOUT=60
    [Thr 1812] Removed service PORT=0,PROT=SMTP,TIMEOUT=120,PROCTIMEOUT=120
    [Thr 1812] *** ICM shutdown completed (pid: 5940) ***

  • Re: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server

    Hi,
    I'm encountering an issue with "Named Pipes Provider, error: 40 windows" and am having problems determining how to fix it due to the environment I'm using.  I have two SQL Servers installed on two separate Win2K3 Server boxes, one is SQL Server 2000 and the other is SQL Server 2005.  The SQL Server 2000 contains the actual application data.  The 2005 database is used only for Reporting Services.  I've set up the reports on SSRS such that their datasources hit the 2000 server.  This is using SQL Server authentication.
    When testing the reports via SSRS (in Visual Studio 2005), the connection to the data works and the reports are generated fine.  When I deploy them to the reporting server and launch IE to test locally (still on the 2005 box), I get this "Named Pipes Provider, error 40" issue.  I made sure that Named Pipes and TCP were enabled and the port set at 1433 (to match that on the 2000 box). 
    Now I changed the datasource's authentication from SQL Server to Windows authentication.  I tested this in SSRS and this works too.  When I redeployed the reports with this authentication change, testing the reports via IE locally (on the 2005 box) worked.  Great.  Now when I open IE on an external box, i.e. on the 2000 box, and try to test the reports, I get this same error 40 issue.  I've been through a few threads describing the error 40, fiddling around with the SQL Server configuration as well as SSRS, to no avail.  I have a feeling this error 40 issue has to due with permissions/authentication between the SQL Server boxes but I can't really be sure.  Anyone have any ideas on how to troubleshoot my situation.  Thanks.
    larry

    Named Pipes Provider, error: 40 - Could not open a connection to SQL Server :
    I.   Incorrect connection string, such as using SqlExpress.
    Check out: http://forums.microsoft.com/TechNet/ShowPost.aspx?PostID=558456&SiteID=17
                    https://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1245564&SiteID=1
    The typical error when dealing with Express includes:
    a.  User is not aware of SqlExpress was installed as a named instance, consequently, in his/her connection string, he/she only specify ".","localhost" etc instead of ".\SqlExpress" or "<machinename>\Sqlexpress".
    b. Np was disabld by default after installing SqlExpress.
    c. If Sqlexpress was installed on the remote box, you need to enable remote connection for Express.
    Please read the following blog for best practice of connecting to SqlExpress.
    http://blogs.msdn.com/sql_protocols/archive/2006/03/23/558651.aspx
    II. Named Pipes(NP) was not enabled on the SQL instance.
    Check out: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=136253&SiteID=1
    Oppose to SQL 2000 which turn on all protocols, SQL 2005 SKUs turn off NP by default. So, when you see this error, please check:
    1) Go to SQL Server Configuration Manager, See Server has NP enabled.
    2) %windir%\program files\microsoft sql server\mssql.1\mssql\log, notepad ERRORLOG, see whether Server is listening on NP.  You should see "Server named pipe provider is ready to accept connection on [ \\.\pipe\sql\query ] or [\\.\pipe\mssql$<InstanceName>\sql\query]"
    3) Notice that "sql\query" is the default pipe name, so you need to know server is listening on which pipe name. eg: if you specify server pipe name is "sql\query1", then you would see in the errorlog that server listening on [ \\.\pipe\sql\query1 ], and go to SQL Server Configuration Manager, click client Named Pipe properties, see whether the pipe name is same with the one server listening on.
    4) If you are using SQL Native Client ODBC/OLEDB provider({SQL Native Client} or SQLNCLI), go to SQL Configuration Manager, click client protocols, make sure NP and TCP are both enabled. Right click properties of NP, make sure client is using the same pipe name as server for connection.
    5) If you are using MDAC ODBC/OLEDB({SQL Server} or SQLOLEDB) provider, in command line, launch "cliconfg.exe" and make sure NP enabled and right pipe name specified.
    III. Remote connection was not enabled. 
    Check out: when you right click on the Server in SQL Server Management Studio, in Connections, the Remote server connections part, you have enabled the "Allow remote connections to this server" check box
    http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=322792&SiteID=1
    https://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=763875&SiteID=1
    If you are making a remote connection, namely, your target SQL Server is on the different box as client application, you might need to check whether:
    a. "File and Printer Sharing" was opened in Firewall exception list.
    b. Please see the blog for enabling remote connection for express and troubleshooting tips of remote connection.
    http://blogs.msdn.com/sql_protocols/archive/2005/11/14/492616.aspx
    http://blogs.msdn.com/sql_protocols/archive/2006/09/30/SQL-Server-2005-Remote-Connectivity-Issue-TroubleShooting.aspx
    IV. Server not started, or point to not a real server in your connection string.
    Check out: Open SQL Server Surface Area Configuration and ensure all the required services are started, Remote Connections are configured.
    http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=348662&SiteID=1
    a. use "sc query mssqlserver" for default instance or "sc query mssql$<instancename>" to make sure SQL Server was started. Sometimes, reseason behind the broken of your client application w/ this error:40 might be SQL server restarted and failed, so, it'd better for you to double check.
    b. User specified wrong server in their connection string, as described in the forum discussion, "MSSQLSERVER" is an invalid instance name. Remember, when you connect to default instance, <machinename> could be best representitive for the instance, when you connect to a named instance such as sqlexpress, you should specify <machinename>\<instancename> as data source in your connection string.
     V. Other reasons such as incorrect security context.
    Check out: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=192622&SiteID=1
    Such error also occured during user operation such as moving database or db mirroring or cluster, any DB OP that might invovle different sql instances, namely, the destination database is located in another sql instance and user is not aware of the state of the destination. I recommend you first isolate whether this fail is during connection stage or data operation stage.
    a. During data operation, you are normally asked to type in the destination server name whether it is default to "(local)" or another server "<remotemachinename>". So, remember the exact string that represent the target instance, then when the error repros, open command line, use "sqlcmd -S<representitive> -E" ,see what happens, if the connection fail, please follow up above I - IV troubleshooting lists. otherwise continue.
    b. If you can make basic conection, but still face the error, then there must be something that server reject the connection or client close the connection for some reason.
    VI. Please try basic connectivity tests between the two mahcines you are working on. One simple way to verifty connectivity is to use command line tools, such as osql.exe. For example, osql -E -Stcpervername\instancename. If it connects cross-machine successfully, please also verify that your connection string in your scenario is correct.
    Here are some blogs which could be helpful: just follow the basic connectivity troubleshooting guidelines on the SQL Protocols blog, see:
    SQL Server 2005 Connectivity Issue Troubleshoot - Part I
    http://blogs.msdn.com/sql_protocols/archive/2005/10/22/483684.aspx
    and
    SQL Server 2005 Connectivity Issue Troubleshoot - Part II
    http://blogs.msdn.com/sql_protocols/archive/2005/10/29/486861.aspx
    Hope this helps.

  • TREX Shared memory not initialized

    Hi,
           we have installed TREX 7.0 on windows and there is some problem after installation. when we try to start the admin tool with "TREXAdmin.bat" we are getting a mesg like "shared memory not initialized. retry in 5 sec ...disabling shared memory"
           and after few seconds in the same cmd console, we are getting "TREX-nameserver <hostname>:34001 not responding after 1 retries. giving up.".
           feel that the nameserver has some communication problem. can someone please suggest any solution for this ?
      Thanks
       Sourav

    I had the same error and solved it. Here is what I found out:
    the message "shared memory not initialized. retry in 5 sec" is a symptom for a faulty nameserver start
    look at the nameserver traces. If you cannot find anything, increase the trace level to 5. In case of HANA the trace level is called saptracelevel in /hana/shared/SID/exe/linuxx86_64/hdb/config/global.ini
    in case of HANA hdbdaemon starts hdbnameserver. You can find this info in hdbdaemon's traces at tracelevel 5.
    In my case the hdbnameserver could not start because the system was set to be a secondary site with System Replication and it could not communicate with the primary site. The reason was that jumbo frames were enabled on the primary and secondary site, but not on the switches between. So the work-around was to set MTU to 1500 on both sites.

  • Disable Customer-Material Number field during VL02n before post goods issue

    Hello SAP gurus,
    I would like to ask the possibility of disabling the field "Customer Material Number' during outbound delivery creation.
    As we would know, this field (LIPS-KDMAT) will only be disabled after post goods issue.
    Will it be possible to disable the field without having to post goods issue first?
    Thanks in advance.
    Jayson

    I think you can do with SHD0 screen variant, or else you need to go with userexit to make display field.

  • What should be started and enabled in SQL express 2008 R2? Shared memory, TCP/IP , named pipes, VIA

    I copied my Visual Studio 2008 projects to a new computer and am having trouble getting the database to attach to my website to continue with it.
    I uninstalled SQL 2005 express and installed SQL 2008 R2 Express.
    When I looked in the SQL Server configuration manager, I wasn't sure what should be running and what should be stopped and what protocols should be enabled, etc so I started everything and enabled everything.
    However, the SQL Server Agent will not start. Maybe I did something wrong by enabling everything. I have everything to start automatically, and all enabled:
    SQL Native Client: I right clicked and opened and under client protocols, have enabled all: Shared memory, TCP/IP , named pipes, VIA
    and under SQL Server Network Configuration, I opened that and under there is listed protocols for SQLEXPRESS AND I enabled same things: Shared memory, TCP/IP , named pipes, VIA
    When I could not start the SQL Server Agent before from the SQL Server configuration mgr. I went into services and started it that way and it did start. But since I have rebooted, it will not start that way either and I now get this message: Windows could
    not start the SQL Server Agent(SQLEXPRESS) Service on local computer. Error 1067
    I'm just trying to get my visual studio project working again. Would appreciate any help. Maybe I should uninstall SQL and reinstall 2005??

    Windows could not start the SQL Server Agent(SQLEXPRESS) Service on local computer.
    As the others already wrote, with SQL Server Express in Version 2008 the "SQL Server Agent" will be installed, but it's not a Feature of the Express Edition and therefore you can't start & use it.
    In SQL Server 2005 Express the Agent was completly missing (not installed), therefore you haven't this "issue" before.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • Enhanced protected mode and global named shared memory object

    Good morning.
    I've written a bho that do data exchange with a system service. The service creates named shared memory objects in the Global namespace. Outside appcontainer IE 11 sandboxed everything works fine lowering objects integrity level. Inside the sandboxed environment
    OpenFileMappingW seems to return a valid handle but the calls to MapViewOfFile always gives access denied. What i'm missing? Thank you.
    Service code for security descriptor creation:
    if (InitializeSecurityDescriptor(pSA->lpSecurityDescriptor, SECURITY_DESCRIPTOR_REVISION))
    if (ConvertStringSecurityDescriptorToSecurityDescriptorW(L"D:P(A;;GA;;;WD)(A;;GA;;;AC)", SDDL_REVISION_1, &pSecDesc, NULL) == TRUE)//
                BOOL fAclPresent = FALSE;
                BOOL fAclDefaulted = FALSE;
                if (GetSecurityDescriptorDacl(pSecDesc, &fAclPresent, &pDacl, &fAclDefaulted) == TRUE)
                    bRetval = SetSecurityDescriptorDacl(pSA->lpSecurityDescriptor, TRUE, pDacl, FALSE);
            if (bRetVal ==TRUE && ConvertStringSecurityDescriptorToSecurityDescriptorW(L"S:(ML;;NW;;;LW)", SDDL_REVISION_1, &pSecDesc, NULL) == TRUE)
                BOOL fAclPresent = FALSE;
                BOOL fAclDefaulted = FALSE;
                if (GetSecurityDescriptorSacl(pSecDesc, &fAclPresent, &pSacl, &fAclDefaulted) == TRUE)
                    bRetval = SetSecurityDescriptorSacl(pSA->lpSecurityDescriptor, TRUE, pSacl, FALSE);
                    OutputDebugStringW(L"SACL ok.");
        return bRetval;
    BHO code
    LPMEMORYBUFFER OpenDataChannel(HANDLE *hQueue)
        LPMEMORYBUFFER lp = NULL;
        WCHAR data[512] = { 0 };
        for (int a = 0;; a++)
            if(iestatus==FALSE)StringCchPrintfW(data, 512,L"Global\\UrlfilterServiceIE.%d", a);//NOT in EPM
            else StringCchPrintfW(data, 512, L"%s\\Global\\UrlfilterServiceIE.%d",appcontainernamedobjectpath, a);//in EPM
            *hQueue = OpenFileMappingW(FILE_MAP_ALL_ACCESS, TRUE, data);//FILE_MAP_ALL_ACCESS
            if (*hQueue != NULL)
                //file mappato esistente
                lp = (LPMEMORYBUFFER)MapViewOfFile(*hQueue, FILE_MAP_ALL_ACCESS, 0, 0, sizeof(MEMORYBUFFER));//FILE_MAP_ALL_ACCESS
                if (lp != NULL)

    Ciao Ritchie, thanks for coming here. ;-)
    I call (only) OpenFileMapping and MapViewOfFile inside my code and i get access denied at the first try. As i stated before this happens when IE11 is working inside EPM 32/64bit mode, outside EPM it works as it should. However i decided to take a different
    approach to do IPC, because, you want it or not, the service is up and running as SYSTEM... Still i'm really interested about two points:
    1) can i use global kernel objects in EPM mode?
    2) if one is "yes, you can": what's wrong with my code? The security descriptor? Something else?
    Thanks all.

  • Shared memory segment: function not implemented

    Hi!
    I tried to install Oracle8 on a dual pentium II / 233 system
    running Suse 6.0 (kernel 2.2.1, glibc6)
    Everything went fine, until I got the message
    "Database creation failed, see logfile"
    The logfile /u01/app/oracle/products/8.0.5/orainst/install.log
    tells me the following:
    - Entering database actions section.
    - Creating initORCL.ora file
    - Creating crdb2ORCL.sql database catalog and file creation
    script
    - ERROR: The 'CREATE DATABASE' statement for the ORCL
    database failed.
    egrep failed to find 'ORA-' error in the file:
    /u01/app/oracle/admin/ORCL/create/crdbORCL.lst
    /u01/app/oracle/admin/ORCL/create/crdORCL.lst tells me:
    Connected.
    ORA-27125: unable to create shared memory segment
    Linux Error: 38: Function not implemented
    create database "ORCL"
    ORA-01034: ORACLE not available
    Disconnected.
    So, I guess it3s something wrong with the kernel. I did the
    following:
    changed in /usr/src/linux/include/asm/shmparam.h:
    #define SHMIDX_BITS 16 (was 15)
    #define SHMMNI 100 (was (1<<_SHM_ID_BITS)) #define SHMSEG
    10 (was SHMSEG SHMMNI)
    checked /usr/src/linux/include/linux/sem.h:
    #define SEMMNI 128
    #define SEMMSL 32
    #define SEMMNS (SEMMNI*SEMMSL)
    Compiled new kernel, rebooted, verified that the right kernel
    was loaded, installed oracle new, but it still doesn3t work.
    Have I missed anything ?
    thanks
    Frank
    null

    Hey, I ran into this problem too. Look and see if any db
    processes failed to die last time you stopped oracle. I found a
    ps_mon daemon still going when the database was down. I killed
    it, restarted the database and everything was fine.
    StE (guest) wrote:
    : Frank Schmitt (guest) wrote:
    : : ORA-27125: unable to create shared memory segment
    : : Linux Error: 38: Function not implemented
    : : create database "ORCL"
    : : Compiled new kernel, rebooted, verified that the right kernel
    : : was loaded, installed oracle new, but it still doesn3t work.
    : Silly question, but did you check you had enabled SysV IPC
    when
    : you configured the kernel?
    : -michael
    null

  • How can I disable the memory sharing with the video?

    how can I disable the memory sharing with the graphic card? it makes me impossible to run a software, grandMA2, on windows 7 installed and run via bootcamp. where should I look for changing the preferences of memory and video, on lion or on windows7? thank you

    so what do you think. I run a software on windows 7 running via bootcamp on my mbp, but I can't open it. the software is compatible with windows 7 on mac. I tried opening it as administrator or changing the compatibility options, like running it as windows xp, and changing the resolution of the video. it can't build the window and then it crashes. on internet I found a compatibility list of the software where it says please do not use any shared memory for the graphic card. what does it mean? I have just to remove the check in automatic graphics switching? what should I try to do? thank you. 

  • (HELP) ORA-27101: shared memory realm does not exist

    Contributors,
    I am a newbie in Oracle and have oracle database installed and working as expected until few days ago. One day i was getting these ugly messages when connecting via SQLplus
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Process ID: 0
    Session ID: 0 Serial number: 0I did some searches on this topic but haven't found solutions.
    * Some suggested to check[b] environment variables ORACLE_HOME and ORACLE_SID : my ORACLE_HOME is fine, and i DO NOT have ORACLE_SID on the day i realize the problem.
    I am not sure if ORACLE_SID variable is usually exist when my database was up and running. So i set ORACLE_SID yet did not help.
    * Some said check if the required services are running :
    - OracleOraDb11g_home1TNSListener : RUNNING
    - OracleServiceORCL : RUNNING
    * Other said that they have the same problem, but everything back to normal after several hours without anything configured / changed (miraculous)
    * I tried to restart or shut down, but no luck
    * In the same thread few days ago, Vlado helped me with suggestion to acces ADRCI and type SHOW PROBLEM also SHOW INCIDENT
    but the reply is DIA-48494: ADR home is not set, the corresponding operation cannot be done* Other implied to check the .ora files in NETWORK\ADMIN. I will post it (TNSNAMES.ORA, LISTENER.ORA, SQLNET.ORA) after this.
    My platform and some info :
    * OS : MS Windows Vista Ultimate
    * Oracle Database 11g Release 1 (11.1.0.6.0) Enterprise/ Standard Edition for Microsoft Windows 32-bit
    Mostly i used SQLplus and SQLdeveloper, for developing procedures/ functions/ packages in Oracle Spatial.
    Also, am running it in one laptop (server and client altogether).
    There is only one database in the Laptop (no other oracle database).
    How to fix this ? Please kindly help me.
    Many thanks in advance,
    Damon

    Here are the ORA files :
    ( Btw the service name / SID is "orcl")
    =====================================
    TNSNAMES.ORA
    # tnsnames.ora Network Configuration File: C:\ORACLE\product\11.1.0\db_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    ORCL =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = geoltmatt)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = orcl)
      )=====================================
    LISTENER.ORA
    # listener.ora Network Configuration File: C:\ORACLE\product\11.1.0\db_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
          (ADDRESS = (PROTOCOL = TCP)(HOST = geoltmatt)(PORT = 1521))
      )=====================================
    SQLNET.ORA
    # sqlnet.ora Network Configuration File: C:\ORACLE\product\11.1.0\db_1\network\admin\sqlnet.ora
    # Generated by Oracle configuration tools.
    # This file is actually generated by netca. But if customers choose to
    # install "Software Only", this file wont exist and without the native
    # authentication, they will not be able to connect to the database on NT.
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)=====================================
    also other said that we need to issue commands like
    LSNRCTL STATUS
    TNSPING [host]
    Here they are :
    LSNRCTL STATUS
    LSNRCTL for 32-bit Windows: Version 11.1.0.6.0 - Production on 22-MAY-2008 18:12
    :46
    Copyright (c) 1991, 2007, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for 32-bit Windows: Version 11.1.0.6.0 - Produ
    ction
    Start Date                22-MAY-2008 12:03:17
    Uptime                    0 days 6 hr. 9 min. 29 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   C:\ORACLE\product\11.1.0\db_1\network\admin\listener.o
    ra
    Listener Log File         c:\oracle\product\11.1.0\db_1\log\diag\tnslsnr\geoltma
    tt\listener\alert\log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=geoltmatt)(PORT=1521)))
    The listener supports no services
    The command completed successfully
    TNSPING [host]
    TNS Ping Utility for 32-bit Windows: Version 11.1.0.6.0 - Production on 22-MAY-2
    008 18:14:15
    Copyright (c) 1997, 2007, Oracle.  All rights reserved.
    Used parameter files:
    C:\ORACLE\product\11.1.0\db_1\network\admin\sqlnet.ora
    Used EZCONNECT adapter to resolve the alias
    Attempting to contact (DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=))(ADDRESS=(PROTO
    COL=TCP)(HOST=128.250.171.197)(PORT=1521)))
    OK (0 msec)Please kindly help me... (also thanks for vlado)
    TIA.
    =Damon

  • Named Pipes Provider, error: 40 - Could not open a connection to SQL Server

    This was originally posted in the SSIS Forum, but a member of the IS team suggested it be moved here.  "Most recently I got this error (Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) so does this mean that SQL Server is still trying to use named pipes even if I only have TCP/IP enabled in SQL Server Configuration Manager?"
    I'm having the same issue, and here's our scenario:
    Installed SQL Server 2005 Developer Edition on a machine with WinXP SP2 and enabled remote connections over TCP/IP
    Installed SQL Server 2005 Standard Edition on a machine with Win2003 SP1 (remote connections over TCP/IP enabled by default)
    Attempted to 'Copy Database' from Developer Edition TO Standard Edition using 'Detach and Attach' method and recieved the error on the Win2003 machine: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server
    Attempted to 'Copy Database' from Developer Edition TO Standard Edition using 'SQL Management Objects' method and recieved the error on the Win2003 machine: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server
    Reinstalled Standard Edition on the Win2003 SP1 machine
    Checked all the settings on both machines several times, restarted services etc., and read every post I could find referencing the error.
    Same error
    Lost my last hair
    Thanks in advance,
    Steve

    Nan,
    Before I get on with this post - thank you for your reply.
    The XPSP2 machine actually had the firewall disabled, and I verified that it could accept connections on the the associated ports with the Shields Up utility.  I tested this on both machines.
    I can connect to the server from the XPSP2 machine, Import / Export, manage, view logs, and do everything EXCEPT get the Copy Database package to run.  SQL Server Agent always fails on the last step with the following error:
    Event Type: Error
    Event Source: SQLISPackage
    Event Category: None
    Event ID: 12550
    Date:  1/10/2006
    Time:  1:34:15 PM
    User:  NT AUTHORITY\SYSTEM
    Computer: 401SERVER
    Description:
      Event Name: OnError
     Message: Failed to connect to server BETHESDA.
    StackTrace:    at Microsoft.SqlServer.Management.Common.ConnectionManager.Connect()
       at Microsoft.SqlServer.Dts.Tasks.TransferObjectsTask.TransferObjectsTask.OpenConnection(Server& server, ServerProperty serverProp)
    InnerException-->An error has occurred while establishing a connection to the server.  When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
    StackTrace:    at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
       at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
       at System.Data.SqlClient.TdsParser.Connect(Boolean& useFailoverPartner, Boolean& failoverDemandDone, String host, String failoverPartner, String protocol, SqlInternalConnectionTds connHandler, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, SqlConnection owningObject, Boolean aliasLookup)
       at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance)
       at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance)
       at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection)
       at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options)
       at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject)
       at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject)
       at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)
       at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
       at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
       at System.Data.SqlClient.SqlConnection.Open()
       at Microsoft.SqlServer.Management.Common.ConnectionManager.InternalConnect(WindowsIdentity impersonatedIdentity)
       at Microsoft.SqlServer.Management.Common.ConnectionManager.Connect()
     Operator: NT AUTHORITY\SYSTEM
     Source Name: BETHESDA_401SERVER_Transfer Objects Task
     Source ID: {86F355AD-3B74-4D7B-8D2D-C743C790A269}
     Execution ID: {91B7C32C-C439-4EDB-8A0F-9F8BF207BC06}
     Start Time: 1/10/2006 1:34:15 PM
     End Time: 1/10/2006 1:34:15 PM
     Data Code: 0
    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
    Have you (or anyone else) successfully executed a Copy Databse task?
    Steve

  • WCF based named pipe naming convention.

    I found the following msdn article http://blogs.msdn.com/b/rodneyviana/archive/2011/03/22/named-pipes-in-wcf-are-named-but-not-by-you-and-how-to-find-the-actual-windows-object-name.aspx
    which states how to acquire the memory mapped file name in order to infer the actual pipe name, however my results are not proving successful. Further, the screen caps that the author took don't jive with my results either. I do not reveal the mmap file name
    but the actual named pipe (obviously) when listing pipes.
    Does anyone know how to infer the name of the pipe accepting input? I am required to provide access to code written in Python which is why I need the actual pipe name.
    Thanks!

    Long answer in "teaching to fish" style of how to actually get the pipe name:
    I attached WinDbg to a program hosting a WCF service using named pipe transports and ran the following commands:
    .loadby sos clr
    !DumpHeap -type Pipe
    I clicked through several of the objects and ultimately found this one whose relevant properties are also dumped below:
    0:009> !DumpHeap /d -mt 00007ffd7b23de38
             Address               MT     Size
    0000004409939f28 00007ffd7b23de38       64    
    Statistics:
                  MT    Count    TotalSize Class Name
    00007ffd7b23de38        1           64 System.ServiceModel.Channels.PipeConnectionListener
    Total 1 objects
    0:009> !DumpObj /d 0000004409939f28
    Name:        System.ServiceModel.Channels.PipeConnectionListener
    MethodTable: 00007ffd7b23de38
    EEClass:     00007ffd7ac778a8
    Size:        64(0x40) bytes
    File:        C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel\v4.0_4.0.0.0__b77a5c561934e089\System.ServiceModel.dll
    Fields:
                  MT    Field   Offset                 Type VT     Attr           
    Value Name
    00007ffd907886d0  4000653        8           System.Uri  0 instance 00000044098eaba8 pipeUri
    00007ffd917837c8  4000654       28         System.Int32  1 instance             8192 bufferSize
    00007ffd7b23ab28  4000655       2c         System.Int32  1 instance                0 hostNameComparisonMode
    00007ffd9177f370  4000656       34       System.Boolean  1 instance                0 isDisposed
    00007ffd9177f370  4000657       35       System.Boolean  1 instance                1 isListening
    00007ffd7aaf9040  4000658       10 ...em.ServiceModel]]  0 instance 0000004409939f68 pendingAccepts
    00007ffd9177f370  4000659       36       System.Boolean  1 instance                1 anyPipesCreated
    00007ffd7b239320  400065a       18 ....PipeSharedMemory  0 instance 000000440993bb38 sharedMemory
    00007ffd42824968  400065b       20 ...ifier, mscorlib]]  0 instance 0000000000000000 allowedSids
    00007ffd9177f370  400065c       37       System.Boolean  1 instance                1 useCompletionPort
    00007ffd917837c8  400065d       30         System.Int32  1 instance              255 maxInstances
    0:009> !DumpObj /d 00000044098eaba8
    Name:        System.Uri
    MethodTable: 00007ffd907886d0
    EEClass:     00007ffd90364db0
    Size:        72(0x48) bytes
    File:        C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll
    Fields:
                  MT    Field   Offset                 Type VT     Attr           
    Value Name
    00007ffd91780bd8  40012d6        8        System.String  0 instance 00000044097e1190 m_String
    00007ffd91780bd8  40012d7       10        System.String  0 instance 0000000000000000 m_originalUnicodeString
    00007ffd90786c30  40012d8       18     System.UriParser  0 instance 00000044097e6088 m_Syntax
    00007ffd91780bd8  40012d9       20        System.String  0 instance 0000000000000000 m_DnsSafeHost
    00007ffd90757ba8  40012da       30        System.UInt64  1 instance 54766272512 m_Flags
    00007ffd90787390  40012db       28   System.Uri+UriInfo  0 instance 00000044098eb328 m_Info
    00007ffd9177f370  40012dc       38       System.Boolean  1 instance                1 m_iriParsing
    00007ffd91780bd8  40012c9      cd8        System.String  0   static 00000044097e5530 UriSchemeFile
    00007ffd91780bd8  40012ca      ce0        System.String  0   static 00000044097e5510 UriSchemeFtp
    00007ffd91780bd8  40012cb      ce8        System.String  0   static 00000044097e5558 UriSchemeGopher
    00007ffd91780bd8  40012cc      cf0        System.String  0   static 00000044097e5480 UriSchemeHttp
    00007ffd91780bd8  40012cd      cf8        System.String  0   static 00000044097e54a8 UriSchemeHttps
    00007ffd91780bd8  40012ce      d00        System.String  0   static 00000044097e54d0 UriSchemeWs
    00007ffd91780bd8  40012cf      d08        System.String  0   static 00000044097e54f0 UriSchemeWss
    00007ffd91780bd8  40012d0      d10        System.String  0   static 00000044097e55d0 UriSchemeMailto
    00007ffd91780bd8  40012d1      d18        System.String  0   static 00000044097e55a8 UriSchemeNews
    00007ffd91780bd8  40012d2      d20        System.String  0   static 00000044097e5580 UriSchemeNntp
    00007ffd91780bd8  40012d3      d28        System.String  0   static 00000044097e5670 UriSchemeNetTcp
    00007ffd91780bd8  40012d4      d30        System.String  0   static 00000044097e5698 UriSchemeNetPipe
    00007ffd91780bd8  40012d5      d38        System.String  0   static 00000044097e60d8 SchemeDelimiter
    00007ffd90749608  40012dd      d40 ...etSecurityManager  0   static 0000000000000000 s_ManagerRef
    00007ffd917811b8  40012de      d48        System.Object  0   static 00000044097e60f8 s_IntranetLock
    00007ffd9177f370  40012df      a94       System.Boolean  1   static                0 s_ConfigInitialized
    00007ffd9177f370  40012e0      a95       System.Boolean  1   static                0 s_ConfigInitializing
    00007ffd907442f0  40012e1      a90         System.Int32  1   static                0 s_IdnScope
    00007ffd9177f370  40012e2      a96       System.Boolean  1   static                1 s_IriParsing
    00007ffd917811b8  40012e3      d50        System.Object  0   static 0000000000000000 s_initLock
    00007ffd91781ed8  40012e4      d58        System.Char[]  0   static 00000044097e6110 HexLowerChars
    00007ffd91781ed8  40012e5      d60        System.Char[]  0   static 00000044097e6190 _WSchars
    0:009> !DumpObj /d 00000044097e1190
    Name:        System.String
    MethodTable: 00007ffd91780bd8
    EEClass:     00007ffd91111aa8
    Size:        94(0x5e) bytes
    File:        C:\Windows\Microsoft.Net\assembly\GAC_64\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll
    String:      net.pipe://localhost/WCFPS_14840-0
    Fields:
                  MT    Field   Offset                 Type VT     Attr           
    Value Name
    00007ffd917837c8  40000ab        8         System.Int32  1 instance               34 m_stringLength
    00007ffd91781f38  40000ac        c          System.Char  1 instance               6e m_firstChar
    00007ffd91780bd8  40000ad       18        System.String  0   shared           static Empty
                                     >> Domain:Value  0000004408b16a10:NotInit  <<
    0:009> !DumpObj /d 000000440993bb38
    Name:        System.ServiceModel.Channels.PipeSharedMemory
    MethodTable: 00007ffd7b239320
    EEClass:     00007ffd7ac76498
    Size:        48(0x30) bytes
    File:        C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel\v4.0_4.0.0.0__b77a5c561934e089\System.ServiceModel.dll
    Fields:
                  MT    Field   Offset                 Type VT     Attr           
    Value Name
    00007ffd7b239398  400066a        8 ...FileMappingHandle  0 instance 000000440993bb18 fileMapping
    00007ffd91780bd8  400066b       10        System.String  0 instance 000000440993aa58 pipeName
    00007ffd91780bd8  400066c       18        System.String  0 instance 0000000000000000 pipeNameGuidPart
    00007ffd907886d0  400066d       20           System.Uri  0 instance 00000044098eaba8 pipeUri
    0:009> !DumpObj /d 000000440993aa58
    Name:        System.String
    MethodTable: 00007ffd91780bd8
    EEClass:     00007ffd91111aa8
    Size:        116(0x74) bytes
    File:        C:\Windows\Microsoft.Net\assembly\GAC_64\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll
    String:     
    \\.\pipe\987a898d-7980-4703-b03e-8830a8a5a24c
    Fields:
                  MT    Field   Offset                 Type VT     Attr           
    Value Name
    00007ffd917837c8  40000ab        8         System.Int32  1 instance               45 m_stringLength
    00007ffd91781f38  40000ac        c          System.Char  1 instance               5c m_firstChar
    00007ffd91780bd8  40000ad       18        System.String  0   shared           static Empty
                                     >> Domain:Value  0000004408b16a10:NotInit  <<
    I then ran !gcroot 0000004409939f28 to see where it came from:
                ->  000000440990aba0 System.ServiceModel.Dispatcher.ChannelDispatcher
                ->  0000004409901868 System.ServiceModel.Channels.NamedPipeDuplexChannelListener
                ->  0000004409939ee8 System.Action
                ->  0000004409921ff8 System.ServiceModel.Channels.ExclusiveNamedPipeTransportManager
                ->  000000440993a0d8 System.ServiceModel.Channels.ConnectionDemuxer
                ->  000000440993a1f8 System.ServiceModel.Channels.ConnectionAcceptor
                ->  0000004409939fb0 System.ServiceModel.Channels.BufferedConnectionListener
                ->  0000004409939f28 System.ServiceModel.Channels.PipeConnectionListener
    Running !gcroot 000000440990aba0 System.ServiceModel.Dispatcher.ChannelDispatcher shows that one of the ways it is bound is through the class in the program that I used to create the service host(WCFPS from
    my blog post here):
        -> 00000044097e1220 WCFPSExecutor.WCFPS
        -> 00000044097e6ae0 System.ServiceModel.ServiceHost
        -> 000000440981d960 System.ServiceModel.Dispatcher.ChannelDispatcherCollection
        -> 000000440981d988 System.Collections.Generic.List`1[[System.ServiceModel.Dispatcher.ChannelDispatcherBase, System.ServiceModel]]
        -> 000000440990d0f8 System.Object[]
        -> 000000440990aba0 System.ServiceModel.Dispatcher.ChannelDispatcher
    So now that I knew that, I did a !do on the ServiceHost object and found that the ChannelDispatcherCollection was contained in a member named channelDispatchers.  Doing that again on that member, I saw that the collection came from a member named items. 
    One more time, and now I knew that System.Object[] came from items.  Finally, the first element in that array was the ChannelDispatcher.  At that point, I subsequently repeated the process of off ChannelDispatcher to get to PipeConnectionListener
    and ultimately PipeSharedMemory which resulted in the  following path to getting the pipe name:
    (ServiceHost that the program opened).channelDispathers.items.items ->For each ChannelDispatcher until PipeSharedMemoryIsFound -> (ChannelDispatcher).listener.messageReceivedCallback.target.connectionDemuxer.acceptor.listener.connectionListener.sharedMemory
    One will have to use System.Reflection (or something even more complicated) to access all of that at runtime, but there's a string member named pipeName at that point with an actual name, and a fileMapping member whose handle member contains a handle that
    you can use to get/verify the pipe name as well with
    GetFileInformationByHandleEx.
    WinSDK Support Team Blog: http://blogs.msdn.com/b/winsdk/

  • Javascript and Named Pipes

    I am trying to write a script for AE and I want to use named pipes to communicate.  My pipe server is working fine and it's functioning great in .NET when both sides are .NET programs.
    When I connect my AE javascript to the pipe as the client, the server side sees the connection, but the javascript side immediately closes it.  The server reports that the pipe is broken.  For the record, the server is set up for only one client and the .NET client program has been shut down.
    I am just getting started with this, so the code is only a few lines:
    var f = new File("\\\\.\\pipe\\MYPIPE");
    b=f.open ("r");
    $.writeln (b);
    $.writeln (b);
    What's interesting is that the value of "b" is immediately false, and the error is simply "I/O error".
    Anyone have any experience with this?
    Thanks in advance.

    At this point we do not have specific plans for adding shared memory or named pipes support but we appreciate your feedback, and will take it into consideration when planning future release(s). 
    This posting is provided "AS IS" with no warranties, and confers no rights.

Maybe you are looking for