Results 1 to 11 of 11

Thread: Problem with Hello demo

  1. #1
    checho is offline Registered User
    Name: Ana Martinez
    Organization: Universidad Mayab
    Project: VQN prototype
    Join Date
    Oct 2008
    Posts
    5

    Problem with Hello demo

    Hi:
    I'm a n00b in ICE, and I was trying to do the Hello Demo with c++, but I get the following error:

    C:\Ice-3.3.0\demo\Ice\hello>server
    server: PluginManagerI.cpp:326: Ice::PluginInitializationException:
    plugin initialization failed: unable to load entry point `IceSSL:createIceSSL'

    I've been reading in the forum that some people had the same problem, and I tried to follow the many solutions that you have proposed but nothing work.

    This are some of the threads I have visit.
    run demo\ice\hello, error!!
    Two newbie questions.
    Problem running c++ Hello example programm
    http://www.zeroc.com/faq/incompatibleLIBEAY32.html

    Please help me!
    I'm using Visual Studio 2005
    C++
    I use the installer for windows.
    There are not old .dll of OpenSSL in my Sys32 folder.
    I have already tried to put the .dll of OpenSSL in the folder where my .exe are.
    I tried to put my .exe in the bin folder of ICE.
    I even reinstall ICE in my computer.

    Thanks for your help in advance!

  2. #2
    mes's Avatar
    mes
    mes is online now ZeroC Staff
    Name: Mark Spruiell
    Organization: ZeroC, Inc.
    Project: Ice Developer
    Join Date
    Feb 2003
    Location
    California
    Posts
    1,445
    Welcome to the forum!

    After installing an Ice distribution and building a demo, typically all you need to do to run the demo is to add \Ice-3.3.0\bin to your PATH. In fact, I just tried it using VS 2005 and it worked as expected. Note however that I did this experiment in a virtual machine running a relatively clean installation of Windows XP.

    The PATH does not seem to be causing your problem, otherwise you would get an error about a missing ice33.dll and not an exception from the SSL plugin.

    You could try building the demo server in Debug mode and then starting it in the Visual Studio debugger. If you configure the debugger to break on an exception, it shouldn't be too difficult to find the location in the code where the PluginInitializationException is being raised. Let us know what you discover.

    Best regards,
    Mark

  3. #3
    checho is offline Registered User
    Name: Ana Martinez
    Organization: Universidad Mayab
    Project: VQN prototype
    Join Date
    Oct 2008
    Posts
    5

    New error

    Hi!
    Thanks for the quick response!
    When I add the Ice\bin folder to my Path and rebuild I get a new error, I configure the debugger to break on an exception as mes told me I this is what I get:

    'server.exe': Loaded 'C:\Ice-3.3.0\demo\Ice\hello\server.exe', Symbols loaded.
    'server.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll', No symbols loaded.
    'server.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll', No symbols loaded.
    'server.exe': Loaded 'C:\Ice-3.3.0\bin\ice33d.dll', Symbols loaded.
    LDR: LdrpWalkImportDescriptor() failed to probe C:\Ice-3.3.0\bin\ice33d.dll for its manifest, ntstatus 0xc0150002
    Debugger:: An unhandled non-continuable exception was thrown during process load
    The program '[376] server.exe: Native' has exited with code -1072365566 (0xc0150002).

    I'm using SP1 (I read that this may be the problem) so I don't now what is causing this new error.

    Thanks again for the help!

  4. #4
    bernard's Avatar
    bernard is offline ZeroC Staff
    Name: Bernard Normier
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Palm Beach Gardens, FL
    Posts
    1,294
    Make sure:
    * you're using the Ice distribution that corresponds to your VS version (2005 or 2008)
    * if you're using VS 2005, make sure SP1 is properly installed! Ice 3.3 requires SP1 for VS 2005.

    Cheers,
    Bernard
    Bernard Normier
    ZeroC, Inc.

  5. #5
    checho is offline Registered User
    Name: Ana Martinez
    Organization: Universidad Mayab
    Project: VQN prototype
    Join Date
    Oct 2008
    Posts
    5
    Quote Originally Posted by bernard View Post
    Make sure:
    * you're using the Ice distribution that corresponds to your VS version (2005 or 2008)
    * if you're using VS 2005, make sure SP1 is properly installed! Ice 3.3 requires SP1 for VS 2005.

    Cheers,
    Bernard
    Ice distribution corresponds
    And I reinstall VS 2005 with SP1

    I tried to do the hello world program that comes in the documentation and it worked, but the hello demo that comes with the distribution it's still causing me problems...

    Any ideas?

  6. #6
    bernard's Avatar
    bernard is offline ZeroC Staff
    Name: Bernard Normier
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Palm Beach Gardens, FL
    Posts
    1,294
    Hi Ana,

    If you build the hello demo in "Release" mode instead of Debug, does it work? (I suspect it will)

    > And I reinstall VS 2005 with SP1

    The VS2005 SP1 is huge and its installation/re-installation takes a long time. If it was short, then something went wrong!

    If you don't have a strong preference for VS2005, it could be simpler to switch to VS2008 with no service-pack. You cam even use the free VS2008 Express Edition with Ice.

    Best regards,
    Bernard
    Bernard Normier
    ZeroC, Inc.

  7. #7
    checho is offline Registered User
    Name: Ana Martinez
    Organization: Universidad Mayab
    Project: VQN prototype
    Join Date
    Oct 2008
    Posts
    5
    Quote Originally Posted by bernard View Post
    Hi Ana,

    If you build the hello demo in "Release" mode instead of Debug, does it work? (I suspect it will)
    IT WORKED! Thanks sooo much!! I was sooo desperate!!!

  8. #8
    bernard's Avatar
    bernard is offline ZeroC Staff
    Name: Bernard Normier
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Palm Beach Gardens, FL
    Posts
    1,294
    Hi Ana,

    Great .

    However ... the most likely reason for your debug server failure is that the Service Pack 1 for VS2005 is not installed properly on your system. The Ice 3.3.0 distribution includes the VS2005 SP1 release assemblies for the Microsoft C++ runtime, but not the debug ones. And here, it sounds like your debug server does not find the debug C++ runtime assemblies.

    Best regards,
    Bernard
    Bernard Normier
    ZeroC, Inc.

  9. #9
    checho is offline Registered User
    Name: Ana Martinez
    Organization: Universidad Mayab
    Project: VQN prototype
    Join Date
    Oct 2008
    Posts
    5
    It's a little weird because I installed VS2005 with SP1 in my PC (I previously installed in my laptop) and I got the same error...
    I think I'm going to change to VS2008 express edition as you told me...
    Thanks a lot for the help!

  10. #10
    benem is offline Registered User
    Name: Emanuele Benedetti
    Organization: P.E.R. Srl
    Project: A system that stores MD5 checksum remotely.
    Join Date
    Nov 2008
    Posts
    2
    Hi, I have the same problem of Checho with the difference that I'm using Visual Studio 6.

    If I try to run the demo/Ice/hello server and client applications compiled in debug mode I receive the following message:

    Code:
    server.exe: PluginManagerI.cpp:326: Ice::PluginInitializationException:
    plugin initialization failed: unable to load entry point `IceSSL:createIceSSL'
    In release mode all is working ok.

    I installed all the Windows XP SP3 patches and Visual Studio 6 Service Pack 6.

    I cannot change the Visual Studio version as I need to write some DLL (that will use Ice to communicate with a Linux application) for a Visual Basic 6 legacy application.

    Thank you for your help.
    Emanuele Benedetti
    P.E.R. Srl

  11. #11
    bernard's Avatar
    bernard is offline ZeroC Staff
    Name: Bernard Normier
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Palm Beach Gardens, FL
    Posts
    1,294
    Hi Emanuele,

    Is this a problem just with IceSSL or with any demo in debug mode?
    For example, can you run the Ice/minimal demo in debug mode?

    Best regards,
    Bernard
    Bernard Normier
    ZeroC, Inc.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Chat Demo SessionCallbackAdapter problem
    By Helicera in forum Help Center
    Replies: 6
    Last Post: 01-19-2011, 01:50 PM
  2. Replies: 5
    Last Post: 01-08-2009, 12:11 PM
  3. problem with demo bidir
    By kan in forum Help Center
    Replies: 5
    Last Post: 10-31-2005, 02:41 AM
  4. demo/ice/callback problem
    By Rerox in forum Help Center
    Replies: 1
    Last Post: 07-27-2005, 04:54 PM
  5. demo/glacier2/callback problem
    By alienwolf in forum Help Center
    Replies: 1
    Last Post: 05-29-2005, 11:52 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •