The specified user could not be found through web ensure user

Hi,
If user  doesn't exists in the active directory,blank value/message needs to be displayed.
For this i am writing the code as below,but if user is not found i am planning to display the else part.
But problem here is,it is bombing up if user is not found and displaying the exception.
Please let me know to handle the same. 
using (SPSite site = new SPSite("http://servername:port/sites/site1"))
using (SPWeb web = site.OpenWeb())
SPUser user = web.EnsureUser("userid");
                    if (user != null)
                        Console.WriteLine(user.Name.ToString());
                    else
                        Console.WriteLine("User Not Found");
Thanks & Regards, Sudheer

wrap in try/catch block.
if you notice, the documentation for EnsureUser (https://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spweb.ensureuser.aspx) is very clear:
Parameters
logonName
Type: System.String
The logon name (Domain\User_Alias) of the user.
Return value
Type: Microsoft.SharePoint.SPUser
A user with the specified logon name.
Exceptions
Exception
Condition
SPException
The user with the specified logonName cannot be found in Active Directory.
Scott Brickey
MCTS, MCPD, MCITP
www.sbrickey.com
Strategic Data Systems - for all your SharePoint needs

Similar Messages

  • There was a problem starting c:\users\tom\appData\local\Apps\Apple Computer\xvgtv.dll The specified module could not be found

    I get error on Windows startup. I have iCloud installed as well as other apple software.
    error:
    there was a problem starting c:\users\tom\appData\local\Apps\Apple Computer\xvgtv.dll The specified module could not be found.

    I get error on Windows startup. I have iCloud installed as well as other apple software.
    error:
    there was a problem starting c:\users\tom\appData\local\Apps\Apple Computer\xvgtv.dll The specified module could not be found.

  • C:\Users\..\AppData\Roaming\lprers.dll; The specified module could not be found."

    Recently, when I reboot/start up my Windows 7 HP laptop, an error pops up:  "There was a problem starting C:\Users\..\AppData\Roaming\lprers.dll;  The specified module could not be found." How do I fix this?
    I have already run the Malwarebytes Anti-Malware program to remove all "threats", "viruses"; etc.

    Recently, when I reboot/start up my Windows 7 HP laptop, an error pops up:  "There was a problem starting C:\Users\..\AppData\Roaming\lprers.dll;  The specified module could not be found." How do I fix this?
    I have already run the Malwarebytes Anti-Malware program to remove all "threats", "viruses"; etc.
    Very few authentic dll files reside in that folder. It sounds as though you’ve had a recent infection and one of your ‘anti’ programs has removed the malware files, or some of them, but missed the entry in the registry, possibly due to an out-dated definitions
    database.
    Try one of these, but it is prudent to create a system restore point before you change the registry in (1) below by going to Control Panel > All Control Panel Items > System > System Protection (in the left pane) > System Protection Tab >
    Create and make sure you give it a meaningful name.
    1. The entry is probably in one of the \Run keys, but as the rascal could be hiding in a number of other keys, it’s quicker to search the whole registry. Open a Run window (Windows Logo key+R), type regedit and press Enter. Click Edit > Find and type the
    rogue’s name, put ticks in Keys, Values and Data, then click Find Next. When it’s found in the right pane, right-click it and delete it. There should be only one entry but press F3 to continue searching, just to confirm there are no more.
    2. If you’re concerned about making registry changes disable the entry using the system configuration utility, but bear in mind that you’re disabling the entry not deleting it as you would in (1) above. Open a Run window (Windows Logo key+R), type msconfig
    and press Enter. Go to the Startup Tab and remove the tick alongside the rogue’s name. Click Apply, OK, etc. and restart the computer. When it restarts, put a tick in ‘Don‘t show this again‘ as you‘re effectively doing a selective start up.

  • Error: A user with the specified SID could not be found in the domain.

    Hi All,
    I am getting a error as below,
    A user with the specified SID could not be found in the domain.
    Check the spelling of the account name 'domain\usersAMAccountName' and try again.
    -    at Microsoft.Office.Server.UserProfiles.UserProfileGlobal.GetSidFromAccount(String strAccountName, SID_NAME_USE[] IntendedAccountType, SID_NAME_USE& sidUse)
       at Microsoft.Office.Server.UserProfiles.UserProfileGlobal.GetSidFromAccount(String strAccountName)
       at Microsoft.Office.Server.UserProfiles.UserProfileGlobal.GetSidFromAccount(UserProfileApplicationProxy proxy, Guid partitionID, String strAccountName, Boolean isWindowsAccount)
       at Microsoft.Office.Server.UserProfiles.UserProfile.set_SID()
       at Microsoft.Office.Server.UserProfiles.UserProfile..ctor(UserProfileManager objManager, String strAccountName, String strPreferredName)
       at Microsoft.Office.Server.UserProfiles.UserProfileManager.CreateUserProfile(String strAccountName, String strPreferredName)
       at Microsoft.Office.Server.UserProfiles.UserProfileManager.CreateUserProfile(String strAccountName)
    Any help?
    Thanks,
    Mohakk

    Hi,
    Per my understanding, the code should be OK, I have two suggestions as below:
    1. Please ensure that the account of that user is valid in your production environment;
    2. Try other accounts in the CreateUserProfile() funciton to see if it can work.
    Feel free to reply if there any progress.
    Best regards,
    Patrick
    Patrick Liang
    TechNet Community Support

  • Oraoledbpus.dll: The specified module could not be found

    We are trying to access an Oracle 9.1 database through a Crystal report that uses the Oracle ODBC driver v9.02. The report is generated through an ASP page running on IIS 6 and a Windows 2003 server.
    We get a popup on the server console intermittently with the following error:
    Oraoledbpus.dll: The specified module could not be found
    We have checked the security settings on the Oracle Home directory and assigned appropriate access to all the following:
    Administrators
    SYSTEM
    Authenticated Users
    IUSR
    ASPNET
    We have also checked that the Oracle Home bin directory is in the PATH. This dll does exist in the bin directory. When the report is run in the Crystal Reports designer there is no problem. The strange things is that the Data Source used by the report is ODBC and not Ole DB.
    Any ideas or suggestions would be much appreciated.

    Hello buddy!
    Make sure there is no dll dependence missing. You can try using Dependency walk tool.
    Igor Monteiro

  • Please help with "Error writing the project file. The specified module could not be found." error.

    I am a student.  I've been trying to install and use Visual Studio 2013 Professional for three weeks now and I cannot get it to work.  I am now two weeks behind in my Visual Basic class.  I've installed, uninstalled, ran the repair option... 
    I've tried everything I know how to do.  I just spent 45 minutes on the phone with Microsoft, was transferred four times and finally told I will have to use the forums to find an answer.  I'm almost completely out of patience with this.
    I got the software through the Dream Spark program as a student.  I installed it with the web installer and it appeared to install fine.  When I try to create a new project, I get the error:  "Error writing the project file.  The
    specified module could not be found."
    When I exit the application, I also get:  "The automatically saved settings file 'c:\users\user\documents\visual studio 2013\Settings\CurrentSettings-2015-02-02.vssettings' is not available for write.  You can change this file on the 'Import
    and Export Settings' Tools Options page."
    Please tell me you can help.

    Hi,
    could you please try the points mentioned here:
    http://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/0376db8f-4761-4ae5-9af2-98c53216318a#VS_IDE_unexpected_problems to eliminate the possible cause of your issue?
    Please update the result in the forum after you try the method above!
    Best Wishes!
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. <br/> Click <a
    href="http://support.microsoft.com/common/survey.aspx?showpage=1&scid=sw%3Ben%3B3559&theme=tech"> HERE</a> to participate the survey.

  • Error messages:  "itunesobjspl/jenetsvc.dll The specified module could not be found."  And Error -2032  "Quicktime failed to initialize."

    I initially got the Error -2032 message after downloading the newest version of itunes.  I read a geek blog that said to uninstall Quicktime and I did that a bunch of times.  I also uninstalled and reinstalled itunes repeatedly.  None of this works.  I noticed that the apple website said the requirements for the new quicktime/itunes download included an intel processor and I have a celeron processor, so I wondered if that was the problem, although everything has been running fine up until now, so I don't know.  It also doesn't address the missing .dll file, but I may have accidentally deleted that because I went into the registry to try and unload some Quicktime files when I uninstalled Quicktime.  I did this at the suggestion of the blog, but I may have screwed it up.  Now I need to repair the missing .dll and still try to get itunes running

     ErikEJ wrote:
    Have you set your solution target to "Any CPU" ?? If so, set to "x86", as SQL Compact only runs in WoW mode on x64. Or use corflags.exe /32BIT+ against your project output (.exe file).
     ErikEJ wrote:
    Look at this blog post for a walk-through: http://erikej.blogspot.com/2008/01/x64-and-sql-compact.html
    Hello everyone,
    I have the same problem as mentioned above "Unable to load DLL 'elev.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E) ", when trying to load the dll file into a window application.  I developed a window application in VS2005 and want to import a dll file from another program into my project and use it.  But when I try to call one of the function in the dll file, I got the error message "Unable to load dll 'elev.dll".  I try all options that say it works to solve this problem, but somehow it doesn't work for me. I put the "elev.dll" file in the bin folder and use P/Invoke to import the dll file into my project.  Can anyone help me out with this?  thanks and really appreciated!
     Here is how I import the dll:
    [DllImport(@"D:\elev.dll")]
    //[DllImport("emap.dll", SetLastError = true)]
    private static extern void EMA_Init();
    and in the code,  I call the function above but failed to load the dll file
    EMA_Init();

  • Windows Patching - Error when logging in - "The Specified procedure could not be found"

    Hi,
    I am in the process of windows patahcing our estate with SCCM 2012 R2. All going well, except for 3 machines which have the error: "The Specified procedure could not be found" when the user logs in. I have tried to log in my self, created a new
    local account (via my machine remotely), but still no luck. Have checked Event Viewer and Windows Update but cant see where it failed. Been checking the net for fixes but no luck. The machine is a Windows 7 SP1 Enterprise 32 bit, info for server if needed
    is SCCM 2012 R2. I have attached the WindowsUpdate log, incase that can help? I dont want to spend ages removing previous updates (via SCCM) as I dont have the time!
    Wont let me attach the windowslog!If any one can help, be great!

    Hi,
    Let's make clear your issue.
    Did you logon these 3 computers?
    Have you tried to install the Windows Update manually for these 3 computers?
    If no, have a try.
    If yes and the error still persists, try to
    reset Windows Update components for test.
    Karen Hu
    TechNet Community Support

  • Dboraslib.dll - Error 126 : "The specified module could not be found."

    Hi,
    After installation XI 3.0 and adapters, the dispatcher(dispwork.exe) is failing to start in a ABAPJ2EE system (web AS 6.40).
    The dev_disp trace file shows the following error:
    Please do help to resolve this problem.
    trc file: "dev_disp", trc level: 1, release: "640"
    Mon Aug 09 12:14:43 2004
    kernel runs with dp version 124000(ext=101000) (@(#) DPLIB-INT-VERSION-124000-UC)
    length of sys_adm_ext is 524 bytes
    ERROR => DlLoadLib: LoadLibrary(dboraslib.dll) Error 126 [dlnt.c       237]
            Error 126 = "The specified module could not be found."
    systemid   560 (PC with Windows NT)
    relno      6400
    patchlevel 0
    patchno    1
    intno      0
    make:      multithreaded, Unicode
    pid        2908
    ***LOG Q00=> DpSapEnvInit, DPStart (00 2908) [dpxxdisp.c   1093]
         shared lib "dw_xml.dll" version 1 successfully loaded
         shared lib "dw_xtc.dll" version 1 successfully loaded
         shared lib "dw_stl.dll" version 1 successfully loaded
         shared lib "dw_gui.dll" version 1 successfully loaded
    Mon Aug 09 12:14:48 2004
    WARNING => DpNetCheck: NiAddrToHost(1.0.0.0) took 5 seconds
    ***LOG GZZ=> 1 possible network problems detected - check tracefile and adjust the DNS settings [dpxxtool2.c  3878]
    MtxInit: -2 0 0
    DpSysAdmExtInit: ABAP is active
    DpSysAdmExtInit: JAVA is not active
    DpShMCreate: sizeof(wp_adm)          10528     (1316)
    DpShMCreate: sizeof(tm_adm)          2506872     (12472)
    DpShMCreate: sizeof(wp_ca_adm)          24000     (80)
    DpShMCreate: sizeof(appc_ca_adm)     8000     (80)
    DpShMCreate: sizeof(comm_adm)          290000     (580)
    DpShMCreate: sizeof(vmc_adm)          0     (372)
    DpShMCreate: sizeof(wall_adm)          (38456/34360/64/184)
    DpShMCreate: SHM_DP_ADM_KEY          (addr: 06440040, size: 2919328)
    DpShMCreate: allocated sys_adm at 06440040
    DpShMCreate: allocated wp_adm at 06441B58
    DpShMCreate: allocated tm_adm_list at 06444478
    DpShMCreate: allocated tm_adm at 064444A0
    DpShMCreate: allocated wp_ca_adm at 066A8518
    DpShMCreate: allocated appc_ca_adm at 066AE2D8
    DpShMCreate: allocated comm_adm_list at 066B0218
    DpShMCreate: allocated comm_adm at 066B0230
    DpShMCreate: allocated vmc_adm_list at 066F6F00
    DpShMCreate: system runs without vmc_adm
    DpShMCreate: allocated ca_info at 066F6F28
    DpShMCreate: allocated wall_adm at 066F6F30
    MBUF state OFF
    Mon Aug 09 12:14:49 2004
    EmInit: MmSetImplementation( 2 ).
    <ES> client 0 initializing ....
    <ES> InitFreeList
    <ES> block size is 1024 kByte.
    Using implementation std
    <EsNT> Memory Reset enabled as NT default
    <EsNT> EsIUnamFileMapInit: Initialize the memory 614 MB
    <ES> 613 blocks reserved for free list.
    ES initialized.
    Mon Aug 09 12:14:52 2004
    J2EE server info
      start = TRUE
      state = STARTED
      pid = 3216
      argv[0] = C:\usr\sap\SXI\DVEBMGS00/j2ee/os_libs/jcontrol.exe
      argv[1] = C:\usr\sap\SXI\DVEBMGS00/j2ee/os_libs/jcontrol.exe
      argv[2] = pf=C:\usr\sap\SXI\SYS\profile\SXI_DVEBMGS00_cgnlpt036
      argv[3] = -DSAPSTART=1
      argv[4] = -DCONNECT_PORT=1352
      argv[5] = -DLISTEN_PORT=1353
      argv[6] = -DSAPSYSTEM=00
      argv[7] = -DSAPSYSTEMNAME=SXI
      argv[8] = -DSAPMYNAME=cgnlpt036_SXI_00
      argv[9] = -DSAPPROFILE=C:\usr\sap\SXI\SYS\profile\SXI_DVEBMGS00_cgnlpt036
      argv[10] = -DFRFC_FALLBACK=ON
      argv[11] = -DFRFC_FALLBACK_HOST=localhost
      start_lazy = 0
      start_control = SAP J2EE startup framework
    DpJ2eeStart: j2ee state = STARTED
    rdisp/http_min_wait_dia_wp : 1 -> 1
    ***LOG CPS=> DpLoopInit, ICU ( 2.0 2.0 3.1.1) [dpxxdisp.c   1455]
    ***LOG Q0K=> DpMsAttach, mscon ( cgnlpt036) [dpxxdisp.c   9701]
    Mon Aug 09 12:14:54 2004
    CCMS: start to initalize 3.X shared alert area (first segment).
    DpMsgAdmin: Set release to 6400, patchlevel 0
    MBUF state PREPARED
    MBUF component UP
    DpMBufHwIdSet: set Hardware-ID
    ***LOG Q1C=> DpMBufHwIdSet [dpxxmbuf.c   1025]
    DpMsgAdmin: Set patchno for this platform to 1
    Release check o.K.
    Mon Aug 09 12:15:33 2004
    ERROR => W0 (pid 3224) died [dpxxdisp.c   12152]
    ERROR => W1 (pid 3232) died [dpxxdisp.c   12152]
    my types changed after wp death/restart 0xbf --> 0xbe
    ERROR => W2 (pid 3240) died [dpxxdisp.c   12152]
    my types changed after wp death/restart 0xbe --> 0xbc
    ERROR => W3 (pid 3248) died [dpxxdisp.c   12152]
    my types changed after wp death/restart 0xbc --> 0xb8
    ERROR => W4 (pid 3256) died [dpxxdisp.c   12152]
    ERROR => W5 (pid 3264) died [dpxxdisp.c   12152]
    my types changed after wp death/restart 0xb8 --> 0xb0
    ERROR => W6 (pid 3272) died [dpxxdisp.c   12152]
    my types changed after wp death/restart 0xb0 --> 0xa0
    ERROR => W7 (pid 3280) died [dpxxdisp.c   12152]
    my types changed after wp death/restart 0xa0 --> 0x80
    DP_FATAL_ERROR => DpWPCheck: no more work processes
    DISPATCHER EMERGENCY SHUTDOWN ***
    increase tracelevel of WPs
    killing W0-3224 (SIGUSR2)
    ERROR => DpWpKill(3224, SIGUSR2) failed [dpxxtool.c   2464]
    killing W1-3232 (SIGUSR2)
    ERROR => DpWpKill(3232, SIGUSR2) failed [dpxxtool.c   2464]
    killing W2-3240 (SIGUSR2)
    ERROR => DpWpKill(3240, SIGUSR2) failed [dpxxtool.c   2464]
    killing W3-3248 (SIGUSR2)
    ERROR => DpWpKill(3248, SIGUSR2) failed [dpxxtool.c   2464]
    killing W4-3256 (SIGUSR2)
    ERROR => DpWpKill(3256, SIGUSR2) failed [dpxxtool.c   2464]
    killing W5-3264 (SIGUSR2)
    ERROR => DpWpKill(3264, SIGUSR2) failed [dpxxtool.c   2464]
    killing W6-3272 (SIGUSR2)
    ERROR => DpWpKill(3272, SIGUSR2) failed [dpxxtool.c   2464]
    killing W7-3280 (SIGUSR2)
    ERROR => DpWpKill(3280, SIGUSR2) failed [dpxxtool.c   2464]
    NiWait: sleep (10000 msecs) ...
    NiISelect: timeout 10000 ms
    NiISelect: maximum fd=489
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Mon Aug 09 12:15:43 2004
    NiISelect: TIMEOUT occured (10000 ms)
    dump system status
    Workprocess Table (long)               Mon Aug 09 06:45:43 2004
    ========================
    No Ty. Pid      Status  Cause Start Err Sem CPU    Time  Program  Cl  User         Action                    Table
    0 DIA     3224 Ended         no      1   0             0                                                             
    1 DIA     3232 Ended         no      1   0             0                                                             
    2 UPD     3240 Ended         no      1   0             0                                                             
    3 ENQ     3248 Ended         no      1   0             0                                                             
    4 BTC     3256 Ended         no      1   0             0                                                             
    5 BTC     3264 Ended         no      1   0             0                                                             
    6 SPO     3272 Ended         no      1   0             0                                                             
    7 UP2     3280 Ended         no      1   0             0                                                             
    Dispatcher Queue Statistics               Mon Aug 09 06:45:43 2004
    ===========================
    --------++++--
    +
    Typ
    now
    high
    max
    writes
    reads
    --------++++--
    +
    NOWP
    0
    3
    2000
    10
    10
    --------++++--
    +
    DIA
    5
    5
    2000
    5
    0
    --------++++--
    +
    UPD
    0
    0
    2000
    0
    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          13
    wake_evt_udp_now     0
    wake events           total     9,  udp     6 ( 66%),  shm     3 ( 33%)
    since last update     total     9,  udp     6 ( 66%),  shm     3 ( 33%)
    Dump of tm_adm structure:               Mon Aug 09 06:45:43 2004
    =========================
    Term    uid  man user    term   lastop  mod wp  ta   a/i (modes)
    Workprocess Comm. Area Blocks               Mon Aug 09 06:45:43 2004
    =============================
    Slots: 300, Used: 1, Max: 0
    --------++--
    +
    id
    owner
    pid
    eyecatcher
    --------++--
    +
    0
    DISPATCHER
    -1
    WPCAAD000
    NiWait: sleep (5000 msecs) ...
    NiISelect: timeout 5000 ms
    NiISelect: maximum fd=489
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Mon Aug 09 12:15:48 2004
    NiISelect: TIMEOUT occured (5000 ms)
    Shutdown server ...
    DpIJ2eeShutdown: send SIGINT to SAP J2EE startup framework (pid=3216)
    killing process (3216) (SOFT_KILL)
    DpIJ2eeShutdown: j2ee state = SHUTDOWN
    NiSelClear: removed hdl 3 from selectset
    DpDelSocketInfo: del info for socket 3 (type=7)
    NiBufClose: clear extensions for hdl 3
    NiBufSetStat: bufstat of hdl 3 changed from OK to OFF
    NiICloseHandle: shutdown and close hdl 3 / socket 456
    NiSelClear: removed hdl 4 from selectset
    DpDelSocketInfo: del info for socket 4 (type=9)
    NiBufClose: clear extensions for hdl 4
    NiBufSetStat: bufstat of hdl 4 changed from OK to OFF
    NiICloseHandle: shutdown and close hdl 4 / socket 448
    DpModState: buffer in state MBUF_PREPARED
    NiBufSend starting
    NiIWrite: write 110, 1 packs, MESG_IO, hdl 5, data complete
    MsINiWrite: sent 110 bytes
    MsIModState: change state to SHUTDOWN
    DpModState: change server state from STARTING to SHUTDOWN
    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
    Stop work processes...
    Stop gateway
    killing process (3172) (SOFT_KILL)
    Stop icman
    killing process (3196) (SOFT_KILL)
    Terminate gui connections
    [DpProcDied] Process lives  (PID:3172  HANDLE:472)
    waiting for termination of gateway
    NiWait: sleep (1000 msecs) ...
    NiISelect: timeout 1000 ms
    NiISelect: maximum fd=489
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Mon Aug 09 12:15:49 2004
    NiISelect: TIMEOUT occured (1000 ms)
    [DpProcDied] Process died  (PID:3172  HANDLE:472)
    [DpProcDied] Process died  (PID:3196  HANDLE:464)
    DpHalt: cancel all lcom connections
    MPI CancelAll 2 -> 0
    MPI DeleteAll 2 -> 0
    [DpProcDied] Process lives  (PID:3216  HANDLE:440)
    [DpProcDied] Process lives  (PID:3216  HANDLE:440)
    waiting for termination of J2EE server
    NiWait: sleep (1000 msecs) ...
    NiISelect: timeout 1000 ms
    NiISelect: maximum fd=489
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Mon Aug 09 12:15:50 2004
    NiISelect: TIMEOUT occured (1000 ms)
    [DpProcDied] Process lives  (PID:3216  HANDLE:440)
    waiting for termination of J2EE server
    NiWait: sleep (1000 msecs) ...
    NiISelect: timeout 1000 ms
    NiISelect: maximum fd=489
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Mon Aug 09 12:15:51 2004
    NiISelect: TIMEOUT occured (1000 ms)
    [DpProcDied] Process lives  (PID:3216  HANDLE:440)
    waiting for termination of J2EE server
    NiWait: sleep (1000 msecs) ...
    NiISelect: timeout 1000 ms
    NiISelect: maximum fd=489
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Mon Aug 09 12:15:52 2004
    NiISelect: TIMEOUT occured (1000 ms)
    [DpProcDied] Process lives  (PID:3216  HANDLE:440)
    waiting for termination of J2EE server
    NiWait: sleep (1000 msecs) ...
    NiISelect: timeout 1000 ms
    NiISelect: maximum fd=489
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Mon Aug 09 12:15:53 2004
    NiISelect: TIMEOUT occured (1000 ms)
    [DpProcDied] Process lives  (PID:3216  HANDLE:440)
    waiting for termination of J2EE server
    NiWait: sleep (1000 msecs) ...
    NiISelect: timeout 1000 ms
    NiISelect: maximum fd=489
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Mon Aug 09 12:15:54 2004
    NiISelect: TIMEOUT occured (1000 ms)
    [DpProcDied] Process lives  (PID:3216  HANDLE:440)
    waiting for termination of J2EE server
    NiWait: sleep (1000 msecs) ...
    NiISelect: timeout 1000 ms
    NiISelect: maximum fd=489
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Mon Aug 09 12:15:56 2004
    NiISelect: TIMEOUT occured (1000 ms)
    [DpProcDied] Process lives  (PID:3216  HANDLE:440)
    waiting for termination of J2EE server
    NiWait: sleep (1000 msecs) ...
    NiISelect: timeout 1000 ms
    NiISelect: maximum fd=489
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Mon Aug 09 12:15:57 2004
    NiISelect: TIMEOUT occured (1000 ms)
    [DpProcDied] Process lives  (PID:3216  HANDLE:440)
    waiting for termination of J2EE server
    NiWait: sleep (1000 msecs) ...
    NiISelect: timeout 1000 ms
    NiISelect: maximum fd=489
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Mon Aug 09 12:15:58 2004
    NiISelect: TIMEOUT occured (1000 ms)
    [DpProcDied] Process lives  (PID:3216  HANDLE:440)
    waiting for termination of J2EE server
    NiWait: sleep (1000 msecs) ...
    NiISelect: timeout 1000 ms
    NiISelect: maximum fd=489
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Mon Aug 09 12:15:59 2004
    NiISelect: TIMEOUT occured (1000 ms)
    [DpProcDied] Process lives  (PID:3216  HANDLE:440)
    waiting for termination of J2EE server
    NiWait: sleep (1000 msecs) ...
    NiISelect: timeout 1000 ms
    NiISelect: maximum fd=489
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Mon Aug 09 12:16:00 2004
    NiISelect: TIMEOUT occured (1000 ms)
    [DpProcDied] Process lives  (PID:3216  HANDLE:440)
    waiting for termination of J2EE server
    NiWait: sleep (1000 msecs) ...
    NiISelect: timeout 1000 ms
    NiISelect: maximum fd=489
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Mon Aug 09 12:16:01 2004
    NiISelect: TIMEOUT occured (1000 ms)
    [DpProcDied] Process lives  (PID:3216  HANDLE:440)
    waiting for termination of J2EE server
    NiWait: sleep (1000 msecs) ...
    NiISelect: timeout 1000 ms
    NiISelect: maximum fd=489
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Mon Aug 09 12:16:02 2004
    NiISelect: TIMEOUT occured (1000 ms)
    [DpProcDied] Process lives  (PID:3216  HANDLE:440)
    waiting for termination of J2EE server
    NiWait: sleep (1000 msecs) ...
    NiISelect: timeout 1000 ms
    NiISelect: maximum fd=489
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Mon Aug 09 12:16:03 2004
    NiISelect: TIMEOUT occured (1000 ms)
    [DpProcDied] Process lives  (PID:3216  HANDLE:440)
    waiting for termination of J2EE server
    NiWait: sleep (1000 msecs) ...
    NiISelect: timeout 1000 ms
    NiISelect: maximum fd=489
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Mon Aug 09 12:16:04 2004
    NiISelect: TIMEOUT occured (1000 ms)
    [DpProcDied] Process lives  (PID:3216  HANDLE:440)
    waiting for termination of J2EE server
    NiWait: sleep (1000 msecs) ...
    NiISelect: timeout 1000 ms
    NiISelect: maximum fd=489
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Mon Aug 09 12:16:05 2004
    NiISelect: TIMEOUT occured (1000 ms)
    [DpProcDied] Process lives  (PID:3216  HANDLE:440)
    waiting for termination of J2EE server
    NiWait: sleep (1000 msecs) ...
    NiISelect: timeout 1000 ms
    NiISelect: maximum fd=489
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Mon Aug 09 12:16:06 2004
    NiISelect: TIMEOUT occured (1000 ms)
    [DpProcDied] Process died  (PID:3216  HANDLE:440)
    NiIMyHostName: hostname = 'cgnlpt036'
    AdGetSelfIdentRecord: >                                                                           <
    AdCvtRecToExt: opcode 60 (AD_SELFIDENT), ser 0, ex 0, errno 0
    AdCvtRecToExt: opcode 4 (AD_STARTSTOP), ser 0, ex 0, errno 0
    DpConvertRequest: net size = 163 bytes
    NiBufSend starting
    NiIWrite: write 562, 1 packs, MESG_IO, hdl 5, data complete
    MsINiWrite: sent 562 bytes
    send msg (len 110+452) to name          -, type 4, key -
    detach from message server
    ***LOG Q0M=> DpMsDetach, ms_detach () [dpxxdisp.c   9927]
    NiBufSend starting
    NiIWrite: write 110, 1 packs, MESG_IO, hdl 5, data complete
    MsINiWrite: sent 110 bytes
    MsIDetach: send logout to msg_server
    MsIDetach: call exit function
    DpMsShutdownHook called
    NiSelClear: removed hdl 5 from selectset
    MBUF state OFF
    AdGetSelfIdentRecord: >                                                                           <
    AdCvtRecToExt: opcode 60 (AD_SELFIDENT), ser 0, ex 0, errno 0
    AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
    AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
    blks_in_queue/wp_ca_blk_no/wp_max_no = 1/300/8
    LOCK WP ca_blk 1
    make DISP owner of wp_ca_blk 1
    DpRqPutIntoQueue: put request into queue (reqtype 1, prio LOW, rq_id 19)
    MBUF component DOWN
    NiBufClose: clear extensions for hdl 5
    NiBufSetStat: bufstat of hdl 5 changed from OK to OFF
    NiICloseHandle: shutdown and close hdl 5 / socket 368
    MsIDetach: detach MS-system
    EsCleanup ....
    ***LOG Q05=> DpHalt, DPStop ( 2908) [dpxxdisp.c   8460]
    Good Bye .....

    Hi,
    Thanks for the reply.
    dboraslib.dll is properly installed - I checked the registry and physical location of the file.
    The problem was : Environment variable "Path" not being set properly for the "oracle jre".
    Solution:
    After setting the path, the dispatcher started to run properly without any problems.
    Path=<Drive>\oracle\ora92\bin;<Drive>\Program files\Oracle\jre\1.3.1\bin; <Drive>\Program files\Oracle\jre\1.1.8\bin
    FYI - We are using WIN2K with SP4 and oracle DB 9.2
    Regards,
    Sridhar

  • Microsoft.Exchange.WebServices.Data.ServiceResponseException : The specified folder could not be found in the store

    In office365, I am trying to access conversation history folder of another user using EWS api.The user that is trying to access has full access rights of the mailbox . If i connect to the mailbox using owa, i can access the conversation history folder
    including all other folders. But when i try to connect from the code using ews api below exception is being thrown:
        Microsoft.Exchange.WebServices.Data.ServiceResponseException occurred HResult=-2146233088 Message=The specified folder could not be found in the store. Source=Microsoft.Exchange.WebServices StackTrace:
    Here is the relevant code
    var mailbox = new Mailbox(lyncUser.UserName);
    var lyncFolderId = new FolderId(WellKnownFolderName.ConversationHistory, mailbox);
    var lyncFolder = Folder.Bind(_exchangeService, lyncFolderId);
    Also, the exception doesn't occur if connected to WellKnownFolderName.Inbox.

    The WellKnowFolderEnum only works if the folder was created via the Lync 2013 client if the Mailbox is old and has been using older lync clients then you need to search for the folder via name eg see
    https://msdn.microsoft.com/en-us/library/office/hh243707%28v=office.14%29.aspx . Generally you want to use both methods eg try to bind to the WellKnowFolderEnum first then use the search method if that fails.
    Cheers
    Glen

  • ImportError: DLL load failed: The specified procedure could not be found.

    Hi,
    I am new to Python. I'd like to try and connect to Oracle 10.2.0.4 database using Python. I have Oracle 10g client installed. When I try to import cx_Oracle I get the error below.
    If anyone can help me how to solve this, I will be grateful.
    C:\Users\milivojm>set path
    Path=C:\Oracle\OraClient10g\bin;C:\Oracle\OraClient10g\jre\1.4.2\bin\client;C:\O
    racle\OraClient10g\jre\1.4.2\bin;C:\Oracle;C:\Oracle\OraOdac11g;C:\Oracle\OraOda
    c11g\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program File
    s\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\CollabNet Subversion;C:\P
    rogram Files\jZip;C:\Program Files\QuickTime\QTSystem\;D:\Python\
    C:\Users\milivojm>python
    Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit (Intel)] on
    win32
    Type "help", "copyright", "credits" or "license" for more information.
    import cx_OracleTraceback (most recent call last):
    File "<stdin>", line 1, in <module>
    ImportError: DLL load failed: The specified procedure could not be found.
    exit()C:\Users\milivojm>dir c:\Oracle\OraClient10g\bin\
    Volume in drive C has no label.
    Volume Serial Number is B0A4-2659
    Directory of c:\Oracle\OraClient10g\bin
    21.11.2008 15:29 <DIR> .
    21.11.2008 15:29 <DIR> ..
    06.03.2004 03:19 108.920 cemutls.exe
    27.01.2004 04:49 86.124 COREJAVA.DLL
    21.11.2008 15:28 1.024 emca.bat
    08.03.2004 17:15 52.552 extjob.exe
    08.03.2004 17:15 52.552 extjobo.exe
    07.02.2004 22:52 28.672 launch.exe
    21.11.2008 15:27 659 lbuilder.bat
    27.01.2004 06:47 81.948 LCSSCAN.EXE
    27.01.2004 06:46 43.064 LMSGEN.EXE
    08.03.2004 17:12 16.656 loadpsp.exe
    06.03.2004 03:20 96.592 lsnodes.exe
    27.01.2004 06:46 68.556 LXEGEN.EXE
    27.01.2004 06:46 276.908 LXINST.EXE
    21.11.2008 15:28 484 mkstore.bat
    21.11.2008 15:27 1.149 netca.bat
    21.11.2008 15:27 108 netca_deinst.bat
    08.03.2004 17:59 188.416 oci.dll
    08.03.2004 17:16 32.768 ociw32.dll
    10.02.2004 13:13 110.592 ODBTREEVIEW.OCX
    21.04.2005 04:13 864.256 oip10.dll
    21.04.2005 04:05 75.500 oip10.tlb
    21.11.2008 15:27 525 olsadmintool.bat
    21.11.2008 15:27 546 olsoidsync.bat
    10.02.2004 13:12 73.728 OO4OADDIN.DLL
    10.02.2004 13:12 69.632 OO4OCODEWIZ.DLL
    10.02.2004 13:12 20.480 OO4OCODEWIZ.EXE
    21.04.2005 04:05 24.576 oraansi10.dll
    21.11.2008 15:27 34 oracle.key
    05.03.2004 19:15 20.480 OracleAdNetConnect.exe
    05.03.2004 19:15 24.576 OracleAdNetConnectRCUS.dll
    05.03.2004 19:16 24.576 OracleAdNetTest.exe
    05.03.2004 19:16 24.576 OracleAdNetTestRCUS.dll
    08.03.2004 16:39 1.909.008 oraclient10.dll
    21.04.2005 04:14 241.664 oraclm32.dll
    10.03.2004 16:09 749.840 oracommon10.dll
    27.01.2004 04:49 688.400 ORACORE10.DLL
    06.03.2004 03:16 57.616 oradbcfg10.dll
    10.02.2004 13:17 386 oradc.lic
    21.04.2005 04:13 102.400 oradc.ocx
    08.03.2004 16:39 4.235.536 orageneric10.dll
    14.03.2004 10:43 327.952 orahasgen10.dll
    26.03.2004 17:11 77.824 oraimr10.dll
    05.03.2004 19:14 45.056 orajmisc.dll
    27.01.2004 17:16 278.800 oraldapclnt10.dll
    27.01.2004 17:16 258.320 oraldapjclnt10.dll
    27.01.2004 06:46 37.136 ORALXLED.DLL
    05.03.2004 19:25 946.448 oran10.dll
    05.03.2004 19:15 37.136 oranad10.dll
    05.03.2004 19:11 33.040 oranbeq10.dll
    05.03.2004 19:12 24.848 ORANCDS10.DLL
    05.03.2004 19:11 94.480 orancrypt10.dll
    05.03.2004 19:11 24.848 oranhost10.dll
    05.03.2004 19:11 33.040 oranipc10.dll
    05.03.2004 19:12 143.632 oranjni10.dll
    05.03.2004 19:11 180.496 oranl10.dll
    13.03.2004 03:40 74.000 oranldap10.dll
    10.03.2004 20:42 33.040 oranldapj10.dll
    27.01.2004 06:45 586.000 ORANLS10.DLL
    12.03.2004 01:23 1.544.353 oranmemso.dll
    05.03.2004 19:11 33.040 orannmp10.dll
    05.03.2004 19:12 28.944 orannzentr10.dll
    05.03.2004 19:12 28.944 ORANNZMCS10.DLL
    05.03.2004 19:11 962.832 orannzsbb10.dll
    05.03.2004 19:12 53.520 oranoncj10.dll
    05.03.2004 19:10 221.456 oranro10.dll
    05.03.2004 19:12 37.136 oransgr10.dll
    05.03.2004 19:11 49.424 orantcp10.dll
    05.03.2004 19:12 49.424 ORANTCPS10.DLL
    05.03.2004 19:11 24.848 orantns10.dll
    05.03.2004 19:13 28.944 oranzts10.dll
    06.03.2004 03:16 209.168 oraocr10.dll
    14.03.2004 20:50 147.728 oraocrb10.dll
    21.04.2005 03:54 438.272 OraOLEDB10.dll
    21.04.2005 03:54 1.608 OraOLEDB10.tlb
    21.04.2005 03:55 24.576 OraOLEDB10us.dll
    21.04.2005 03:53 131.072 OraOLEDBgmr10.dll
    21.04.2005 03:54 32.768 OraOLEDBpus10.dll
    21.04.2005 03:45 24.576 OraOLEDBrfc10.dll
    21.04.2005 03:46 24.576 OraOLEDBrmc10.dll
    21.04.2005 03:53 139.264 OraOLEDBrst10.dll
    21.04.2005 03:43 24.576 OraOLEDButl10.dll
    21.11.2008 15:28 483 orapki.bat
    08.03.2004 17:07 1.052.944 ORAPLP10.DLL
    08.03.2004 17:06 2.867.472 ORAPLS10.DLL
    04.02.2004 00:10 28.944 ORASLAX10.DLL
    27.01.2004 06:46 69.904 ORASNLS10.DLL
    11.03.2004 21:35 483.600 ORASQL10.DLL
    09.03.2004 21:46 61.712 orasrvm10.dll
    06.03.2004 03:17 143.632 orasrvmhas.dll
    27.01.2004 06:45 78.096 ORAUNLS10.DLL
    27.01.2004 04:49 28.944 orauts.dll
    27.01.2004 04:49 830 orauts.sym
    08.03.2004 16:39 24.848 oravsn10.dll
    03.02.2004 07:56 10.240 orawsec9.dll
    03.02.2004 23:58 1.473.868 ORAXML10.DLL
    30.09.1999 17:43 2.478 orclcontainer.bmp
    30.09.1999 17:43 2.478 orclcontext.bmp
    03.08.1999 19:00 246 orcldbserver.bmp
    30.09.1999 18:10 3.310 orclnetservice.bmp
    24.02.2004 13:11 57.344 OsUtils.dll
    10.03.2004 19:17 60.280 sclsspawn.exe
    21.11.2008 15:29 321 selecthome.bat
    21.11.2008 15:28 266 selecthome.bat.oo4o
    21.11.2008 15:29 55 selecthome.bat.oraoledb
    27.10.2004 10:14 434.176 sqora32.dll
    27.10.2004 10:16 65.536 sqoras32.dll
    27.10.2004 10:16 32.768 sqresus.dll
    21.11.2008 15:28 3.433 targetdeploy.pl
    05.03.2004 19:17 37.084 TNSPING.EXE
    21.11.2008 15:28 260 trcasst.bat
    30.11.1999 12:32 145.408 unzip.exe
    16.07.1998 18:36 104.448 zip.exe
    112 File(s) 25.228.632 bytes
    2 Dir(s) 8.552.009.728 bytes free

    You have oracle 10g and python 2.6. Are you sure you installed the cx_Oracle version that is compatible with those particular Python and Oracle's versions? (It comes in several flavours so you need to be sure you installed the right one).

  • Unable to load DLL 'sqlceme35.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)

    I'm new to ADO.NET and need help with this error.
    Currently running Vista Home Premium 64 and Visual Studio 2008 Trial.
    1. Create Win form app.
    2. Add new data source...
    3. New connection - SQL Server Compact 3.5 - Northwind.sdf
    4. Highlight Products and Suppliers.
    5. Drag both onto Win form
    6. Run with debug
    7. Error message "Unable to load DLL 'sqlceme35.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)"
    some blogs advice change dir in SQL Server Compact 3.5 in regedit but regedit doesn't even have SQL Server Compact 3.5; only SQL Server\SQLExpress.
    reinstall SQL Server Compact 3.5 and problem still exists.
    anyone knows how to fix this problem?

     ErikEJ wrote:
    Have you set your solution target to "Any CPU" ?? If so, set to "x86", as SQL Compact only runs in WoW mode on x64. Or use corflags.exe /32BIT+ against your project output (.exe file).
     ErikEJ wrote:
    Look at this blog post for a walk-through: http://erikej.blogspot.com/2008/01/x64-and-sql-compact.html
    Hello everyone,
    I have the same problem as mentioned above "Unable to load DLL 'elev.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E) ", when trying to load the dll file into a window application.  I developed a window application in VS2005 and want to import a dll file from another program into my project and use it.  But when I try to call one of the function in the dll file, I got the error message "Unable to load dll 'elev.dll".  I try all options that say it works to solve this problem, but somehow it doesn't work for me. I put the "elev.dll" file in the bin folder and use P/Invoke to import the dll file into my project.  Can anyone help me out with this?  thanks and really appreciated!
     Here is how I import the dll:
    [DllImport(@"D:\elev.dll")]
    //[DllImport("emap.dll", SetLastError = true)]
    private static extern void EMA_Init();
    and in the code,  I call the function above but failed to load the dll file
    EMA_Init();

  • Specified driver could not be loaded due to system error 127: The specified procedure could not be found. (...SQORA32.DLL).

    I recently upgraded from 10g to 11g and upon this upgrade, a website of mine stopped working.
    It is a classic ASP website.  I added a "testdatabase" page to the website to test the basic functionality of opening a connection.  I've pasted the testdatabase page below.  Anyways, upon running this page, I get this error:
    Specified driver could not be loaded due to system error 127: The specified procedure could not be found. (Oracle in OraClient11g_home1_32bit, D:\app\oracleadm\product\11.2.0\client_1\BIN\SQORA32.DLL).
    I have two other environments where I have done the same upgrade and the site works just fine.  I have compared all the IIS settings in my other environments to that of the one suffering from the error.  Also, in the IIS settings, I have made sure that "Allow 32bit" was checked.
    D:\app\oracleadm\product\11.2.0\client_1\BIN\SQORA32.DLL is actually where this DLL resides. 
    I have also checked to make sure the environment variables are correct.
    The very first environment variable in the PATH setting is D:\app\oracleadm\product\11.2.0\client_1\bin; and there are no other references to oracle in the PATH environment variable.
    I have done a google search and I've seen that people also tell me to check ORACLE_HOME to make sure it's correct.  I've checked this in both of the working environments and there is nothing there.  There is also nothing there in the broken environment.  What should be there?  If anything?
    I don't know where else to look.  What could be causing this error?
    <%
    Option Explicit
    Response.Expires = 0
    Response.Buffer  = true
    Dim conn
    Err.Clear
    On Error Resume Next
    Set conn = Server.CreateObject("ADODB.Connection")
    conn.Open "DSN=RPS11;UID=FFXQM;PWD=ffxqm6prd$"
    If Err.Number <> 0 Then
    Response.Write (Err.Description & "<br><br>")
    Response.End
    conn.Close
    Set conn = Nothing
    End If
    conn.Close
    Set conn = Nothing
    On Error GoTo 0
    %>

    As a temporary solution, add the Administrators group to the IUSR and IWAM userids and see if that works. If it solves the problem, then it IS a matter of setting the users privledges correctly.

  • DB XML Java 'The specified procedure could not be found'

    Hi guys, I'm new to DBXML, and I ran into this trouble both when trying out the examples and with a NetBeans project of my own.
    I am using windows and I installed using "Berkeley DB XML 2.4.16.msi Windows installer (26M)" to the default path 'C:\Program Files\Oracle\Berkeley DB XML 2.4.16'. The the error is as follows:
    // WHEN LOOKING AT THE EXAMPLE
    C:\Program Files\Oracle\Berkeley DB XML 2.4.16\dbxml\examples\java\gettingStarted>java dbxml.gettingStarted.exampleLoadContainer -h dbEnv -p ../../xmlDataException in thread "main" java.lang.UnsatisfiedLinkError: C:\Program Files\Oracle\Berkeley DB XML 2.4.16\bin\libdbxml_java24.dll: The specified procedure could not be found
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(Unknown Source)
    at java.lang.ClassLoader.loadLibrary(Unknown Source)
    at java.lang.Runtime.loadLibrary0(Unknown Source)
    at java.lang.System.loadLibrary(Unknown Source)
    at com.sleepycat.dbxml.dbxml_javaJNI.<clinit>(dbxml_javaJNI.java:35)
    at com.sleepycat.dbxml.XmlManager.<init>(XmlManager.java:56)
    at dbxml.gettingStarted.exampleLoadContainer.loadXmlFiles(exampleLoadContainer.java:160)
    at dbxml.gettingStarted.exampleLoadContainer.main(exampleLoadContainer.java:81)
    // IN MY OWN NETBEANS PROJECT
    Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: C:\Program Files\Oracle\Berkeley DB XML 2.4.16\bin\libdbxml_java24.dll: The specified procedure could not be found
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1778)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1703)
    at java.lang.Runtime.loadLibrary0(Runtime.java:823)
    at java.lang.System.loadLibrary(System.java:1028)
    at com.sleepycat.dbxml.dbxml_javaJNI.<clinit>(dbxml_javaJNI.java:35)
    at com.sleepycat.dbxml.XmlManager.<init>(XmlManager.java:96)
    at com.sleepycat.dbxml.XmlManager.<init>(XmlManager.java:102)
    at sample.MainForm.btnGoMouseClicked(MainForm.java:58)
    at sample.MainForm.access$000(MainForm.java:11)
    at sample.MainForm$1.mouseClicked(MainForm.java:30)
    at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:253)
    at java.awt.Component.processMouseEvent(Component.java:6266)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
    at java.awt.Component.processEvent(Component.java:6028)
    at java.awt.Container.processEvent(Container.java:2041)
    at java.awt.Component.dispatchEventImpl(Component.java:4630)
    at java.awt.Container.dispatchEventImpl(Container.java:2099)
    at java.awt.Component.dispatchEvent(Component.java:4460)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4247)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
    at java.awt.Container.dispatchEventImpl(Container.java:2085)
    at java.awt.Window.dispatchEventImpl(Window.java:2475)
    at java.awt.Component.dispatchEvent(Component.java:4460)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    I am pretty sure that the path and classpaths are set up properly:
    (user properties)
    CLASSPATH = C:\Program Files\Oracle\Berkeley DB XML 2.4.16\jar\dbxmlexamples.jar;C:\Program Files\Oracle\Berkeley DB XML 2.4.16\jar\dbxml.jar;C:\Program Files\Oracle\Berkeley DB XML 2.4.16\jar\db.jar
    PATH = C:\Program Files\Delta3D_REL-2.3.0\build_VS2008\bin;C:\Program Files\Oracle\Berkeley DB XML 2.4.16\bin
    For good measure I also tried moving these into the 'system variables' section of the environment variables, and also tried adding -Djava.library.path="C:\Program Files\Oracle\Berkeley DB XML 2.4.16\bin"
    FYI, removing the dbxml path variable changes the error message to Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: no libdb_java46 in java.library.path
    Any thoughts? I'm looking at using DBXML for my honours thesis, so it's pretty important to me to get this working, any help would be greatly appreciated.

    CaptainPants wrote:
    C:\Program Files\Oracle\Berkeley DB XML 2.4.16\dbxml\examples\java\gettingStarted>java dbxml.gettingStarted.exampleLoadContainer -h dbEnv -p ../../xmlDataException in thread "main" java.lang.UnsatisfiedLinkError: C:\Program Files\Oracle\Berkeley DB XML 2.4.16\bin\libdbxml_java24.dll: The specified procedure could not be found
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    I am pretty sure that the path and classpaths are set up properly:
    (user properties)
    CLASSPATH = C:\Program Files\Oracle\Berkeley DB XML 2.4.16\jar\dbxmlexamples.jar;C:\Program Files\Oracle\Berkeley DB XML 2.4.16\jar\dbxml.jar;C:\Program Files\Oracle\Berkeley DB XML 2.4.16\jar\db.jar
    PATH = C:\Program Files\Delta3D_REL-2.3.0\build_VS2008\bin;C:\Program Files\Oracle\Berkeley DB XML 2.4.16\binThis reduces the PATH to just those two directories. Not very good. What about C:\WINDOWS\system32 and others? Instead, use:
    set Path=%Path%;C:\My\Extra\Path
    For good measure I also tried moving these into the 'system variables' section of the environment variables, and also tried adding -Djava.library.path="C:\Program Files\Oracle\Berkeley DB XML 2.4.16\bin"
    FYI, removing the dbxml path variable changes the error message to Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: no libdb_java46 in java.library.pathThe directory has to be in the PATH as well, because the DBXML libraries is linked to Xerces and XQilla and needs to be able to load these. Set the PATH globally (for all users), and restart the machine. Then it'll also work for the Local System Account in case you're using that.
    Michael Ludwig

  • JNI: The specified procedure could not be found.

    Hi All,
    I think everyone who has ever worked with JNI has seen this error at some point "UnsatisfiedLinkError The specified procedure could not be found."
    I have a problem where I have an existing JNI library ( C++/Windows) that has worked for some time. I recently upgraded the compiler and rebuilt the JNI library. Now I get the above error. The environment has not changed, except for the newly built .dll and maybe some other .dlls that it depends on. The .dll is being found because I debugged from where the Java class calls System.loadLibrary() and the path to the .dll is resolved correctly. The problem comes when the ClassLoader actually tries to load it. I don't understand what "specified procedure" it means. No procedure is even being called. The problem happens when the library is being loaded not when I try to call a native method in the library. I cannot debug any further because I get to the native call that actually does the load and of course I cannot do any more. Is there any way to get more information so that I can figure out what the problem is or maybe someone has had a similar issue and can provide some hints?
    many many thanks!
    B

    Did you perhaps change one of the java classes by putting it in a different package? That changes the required native method signature.
    With regard to the C/C++: OK - what I mentioned was - in your case - apparently not the problem. But lots of folks have had problems with this. The reason is that frequently compilers trigger on surprising things - for example the fact that the source code is in .cpp files instead of .c files. (I've seen reports that users changing compilers have stumbled into thgis problem.) The point is that compilers generate a different style of code for C vs C++. (Perhaps strictly speaking it isn't code - it is annotations used by a linker to match up callers with called subroutines.) The JNI interface is a C interface, not a C++ interface, and that's why the wrong code generation can give grief.

Maybe you are looking for

  • How do I get my macbook pro to 'see' my external HD attached to Airport BS?

    Hi, I'm still finding my way around my mac and have come up against a wall! I have a Maxtor External Hard Drive attached via USB to my Airport Base Station (firmware 7.1) I can see the Hard Drive is listed in the Airport Utility, I have ticked enable

  • Is it possible to travel with MacMail if I don't have a powerbook?

    I have an iMac G5 (OS 10.3.9) and I use Mac Mail (1.3.11) When I travel I access my email via Comcast's Web Mail. At the moment, Comcast only keeps messages back to 12/17/08. I will soon be traveling and while away I will need to refer to many messag

  • Failed to back flush in IDES 4.7 due to kp26 proplem

    hi: I Failed to back flush in IDES 4.7, and afterwads i found it was due to a system problem with kp26 which should be patched with KH47012. I tried spam ,but failed.I could not proceed. any opinions will be appreciated. infomation below is from tran

  • Problem with printing to Lexmark int java 7

    I have a problem in printing to Lexmark dot matrix printer... It working properly at java 6 but trying to print at java 7; the characters are overlapping to next character. [url https://plus.google.com/u/0/photos/115971918949425232841/albums/57950495

  • Using pdf templates

    My book publisher provides pdf templates to use to create book covers. These pdf templates have exact sizes that need to be followed exactly. I realize that Adobe Acrobat XI is not an editing program so my question is how do I fill out the fields in