Unable to load dll from a servlet

Hey iam new to jni and serlets but this is what iam doing...
I have a cell phone application and when the application is invoiked it sends data to a servlet and the serlet replies which works fine. I wrote native method in java and a dll for that and I created a test class in java to see if the dll works. I run the test program and I get the output from the dll, this works fine.
Now when my phone application invokes the serlet it create a object of the class which has a native method call and calls that method and the servlet sends the output back tothe phone, however this doesnt seem to work.
The error I get is
java.lang.unsatisfiedlinkerror no <dllname> in java.library.pathat java.lang.classloader.loadlibrary.
Now by this error I guess that I need to register/set the path for the dll with java.library.path.
thanks
jai

Try giving the path of the DLL in the start command of the webserver
i.e. -Djava.library.path="Dir where the DLL is present".
Hope this should help.
Dhamo.

Similar Messages

  • Unable to load DLL 'librfc32.dll'  (Exception from HRESULT: 0x8007007E)

    Unable to load DLL 'librfc32.dll'  (Exception from HRESULT: 0x8007007E)
    Hi!
    We would like to hold the account balance data from EMPTOR to SAP and have the following error:
    Unable to load DLL 'librfc32.dll'  (Exception from HRESULT: 0x8007007E)
    We use SAP ERP 2005 on Windows 64 Bit.
    Can some one help with the problem?
    Thank you very much!
    regards
    Thom

    You can download the latest avaiable kernel or just the librrfc component from http://service.sap.com/swdc. They maybe an issue with this DLL. Just download the latest one and copy into \usr\sap\<SID>\SYS\exe\run directory. Be sure to save the previous DLL.
    Thanks
    Adil

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

    Hi,
    I have a asp.net web application running on windows server 2008 with oracle server 10g installed.
    now we are planning to run application on another server with same server as database server. but when the deployed on new server the login page comes up and after login System.DllNotFoundException: Unable to load DLL 'OraOps10.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E) exception is thrown. any help would highly be appreciated.

    Did you run the ODAC installer, OUI or xcopy, or did you just copy over Oracle.DataAccess.dll to the new machine? If the latter, then you need to run the installer to put in all the necessary Oracle DLLs ODP.NET references.

  • "Unable to load DLL '/system/usr/lib/libidlprinter.so': The specified module could not be found. (Exception from HRESULT: 0x8007007E)"}

    I am using intermec printer (directly loading to the printer no system used for printing) for this program and if i run this,i'm getting this below error
    "Unable to load DLL '/system/usr/lib/libidlprinter.so': The specified module could not be found. (Exception from HRESULT: 0x8007007E)"}
    any help on this .........
    Thanks in advance.
    using System.Globalization;
    using Intermec.Printer;
    using System;
    using System.IO;
    using System.Threading;
    class TestCommunicationUSBHost
        static UI.Canvas _canvas;
        static UI.Keypad _keypad;
        static UI.Canvas.Text _exitInstruction;
        static UI.Canvas.Text _appliCationTitle;
        // static UI.Canvas.Text _companyname;
        static string _operatorCodeValue;
        static UI.Canvas.Text _operatorCodeDisplayText;
        private const string operatorCodeDisplayHeader = "SCAN Code: ";
        static PrintControl printControl = new PrintControl();
        static Drawing drawing = new Drawing();
        private static bool _isExitKeyPressed = false;
      //  private static Communication.USBHost _usbHost;
        static int Main(string[] args)
            // Init new UI canvas
            _canvas = new UI.Canvas();
            // Set up some colors to use
            Color white = new Color(255, 255, 255, 255);
            Color blue = new Color(50, 100, 150);
            // Add UI black background
            UI.Canvas.Rectangle bg = new UI.Canvas.Rectangle(0, 0, _canvas.Width, _canvas.Height, blue);
            _canvas += bg;
            // Add Line
            UI.Canvas.Line ln = new UI.Canvas.Line(10, 35, 300, 35, white);
            _canvas += ln;
            // _companyname = new UI.Canvas.Text(30, 45, "KEYBORD DEMO", "Univers Bold", 18, white);
            // _canvas += _companyname;
            // Add UI keycode text
            _exitInstruction = new UI.Canvas.Text(20, 200, "Press [F4] to EXIT.", "Univers Bold", 18, white);
            _canvas += _exitInstruction;
            _appliCationTitle = new UI.Canvas.Text(05, 05, " A1 Technologies", "Univers Bold", 23, white);
            _canvas += _appliCationTitle;
            _operatorCodeDisplayText = new UI.Canvas.Text(20, 100, operatorCodeDisplayHeader, "Univers Bold", 20, white);
            _canvas += _operatorCodeDisplayText;
            // Set up keypad event handler
            _keypad = new UI.Keypad();
            _keypad.KeyDown += new UI.Keypad.KeyEventHandler(KeyHandler);
            // Set up timer event handler
            UI.Canvas.Timer timer = new UI.Canvas.Timer();
            timer.Interval = 1000;
            timer.Tick += new UI.Canvas.TimerEventHandler(TimerHandler);
            timer.Start();
            //int USBHost port o or Setup USBHost
            Communication.USBHost _usbHost = new Communication.USBHost("/dev/ttyUSB0");
            _usbHost.Open();
            // Enter UI main loop
            _canvas.Run();
            // Cleanup UI
            _canvas.Dispose();
            _keypad.Dispose();
            return 0;
        public static void KeyHandler(Object o, UI.Keypad.KeyEventArgs eventArgs)
            int keycode;
            keycode = eventArgs.KeyChar;
            if (keycode == 4)
                _isExitKeyPressed = true;
                return;
        public static void TimerHandler(Object obj, UI.Canvas.TimerEventArgs eventArgs)
            if (_isExitKeyPressed)
                UI.Canvas.Timer timer = (UI.Canvas.Timer)obj;
                timer.Stop();
                _canvas.Exit();
            else
                // Open the first USB host device and read any data sent
                Communication.USBHost usbHost = new Communication.USBHost("/dev/ttyUSB0");
                usbHost.Open();
                if (usbHost.IsOpen)
                    Console.WriteLine("Opened /dev/ttyUSB0 ({0})", usbHost.HIDName);
                    FileStream fileStream = usbHost.GetStream();
                    try
                        int timeout = 0;
                        int i;
                        while (timeout < 5)
                            // Console.WriteLine("Exiting in {0} secs", 10 - timeout);
                            Byte[] bytes = new Byte[256];
                            if ((i = fileStream.Read(bytes, 0, bytes.Length)) > 0)
                                // string data = System.Text.Encoding.ASCII.GetString(bytes, 0, bytes.Length);
                                string data = System.Text.Encoding.ASCII.GetString(bytes, 0, i++);
                                _operatorCodeValue = data;
                                // _operatorCodeValue = _operatorCodeValue + data;
                                _operatorCodeDisplayText.Data = operatorCodeDisplayHeader + _operatorCodeValue.Substring(_operatorCodeValue.Length - 7, 7);
                                int leftCordinate = 40;
                                drawing.Clear();
                                Drawing.Text line1Text = new Drawing.Text();
                                line1Text.Point = new Point(leftCordinate + 30, 40);
                                line1Text.Data = _operatorCodeValue.Substring(_operatorCodeValue.Length - 7, 7);
                                line1Text.Height = 18;
                                line1Text.FontName = "CG Times Bold";
                                drawing += line1Text;
                                drawing.PartialRendering = true;
                                printControl.PrintFeed(drawing, 4);
                            else
                                Thread.Sleep(1000);
                                timeout++;
                    catch (Exception ex)
                        Console.WriteLine("Exception reading /dev/ttyUSB0: {0}", ex.Message);
                // Wait a short while
                Thread.Sleep(1000);
                // Clean up 
               // usbHost.Dispose();
            return;

    Hiya,
     The error is because the app tried to import that driver but it was not found. So, you will need
    to recheck your project setup, provide locations for imports, etc. I am not familar with Intermec Printer.
    The code snippet does not show any information about the DLL import, check there too.
    Hope this helps. :)

  • 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();

  • Unable to load DLL access is denied (exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

    I'm consuming a 32-bit native DLL from a c# web service. Everything works fine locally in VS with IIS express. However when I deployed the site to a shared hosting provider (Server 2012 R2, IIS 7) the calls to the DLL (using platform invoke) generated an exception:
    Unable to load DLL 'dll_name.dll': Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
    I asked the hosting provider to make sure my process is running in 32-bit mode and they assured me it is.Do I need to do anything special to use native DLLs? Do I have to register native modules with the server before they can be used? Anything to be set on
    the server side to grant access to the DLL?
    Thanks

    Thanks for your reply.
    Tech support tried the following:
    Ran "tasklist /m Detection.dll" It didn't return any processes that would lock the dll.
    Checked the permissions on the dll. The Network Service and app pool identity both had read/write/execute permissions. Just to make sure it wasn't permissions, they added IIS_IUSRS
    with r/w/x. Still didn't work.
    When this exception occurs, the exception.Message reads:
    Unable to load DLL 'Detection.dll': Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
    However, the exception.HRESULT value is 0x80131524 which it seems to be DLL not found. I'm not sure why there's a difference.
    I recompiled the DLL with the  DetectObject() function removed (See code snippet below), that didn't seem to make any difference (same error codes)
    If I delete the DLL from the /bin folder, I get the following message:
    Unable to load DLL 'Detection.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
    The code that calls the DLL is as follows: 
    public class DllCalls
    [DllImport("kernel32.dll", SetLastError = true)]
    public static extern bool SetDllDirectory(string lpPathName);
    [DllImport("Detection.Dll")]
    public static extern int DetectObject(IntPtr array, int Rows, int Cols, string BaseFolder);
    public static class DetectionApis
    public static int[] DetectRectangle(int[] LumaImage, int LumaStride, Rectangle Rect)
    int DetPts = 0;
    string DstDll = System.Web.HttpContext.Current.Server.MapPath("~/bin");
    DllCalls.SetDllDirectory(DstDll);
    /*=================================================
    * Extract region of interest rectangle
    *================================================*/
    byte[] RoiRect = new byte[Rect.Width * Rect.Height];
    ImagePixels.ExtractRectToBytes(LumaImage, LumaStride, Rect, ref RoiRect);
    /*=================================================
    * Pass array ByRef
    *================================================*/
    int ArraySize = RoiRect.Length;
    byte OneByte = 0;
    IntPtr buffer = Marshal.AllocCoTaskMem(Marshal.SizeOf(OneByte) * ArraySize);
    Marshal.Copy(RoiRect, 0, buffer, RoiRect.Length);
    try
    string BaseFolder = System.Web.HttpContext.Current.Server.MapPath("~/cascades") + "\\";
    DetPts = DllCalls.DetectObject(buffer, Rect.Height, Rect.Width, BaseFolder);
    catch (Exception e)
    LogFile.WriteLogStrg("DetectObject() caused an exception: " + e.Message + "HRESULT = " + e.HResult.ToString("X8"));
    return (null);
    int[] DetPoints = null;
    if (DetPts == 8)
    DetPoints = new int[DetPts * 2];
    Marshal.Copy(buffer, DetPoints, 0, DetPts * 2);
    Marshal.FreeCoTaskMem(buffer);
    return (DetPoints);
    The imported DLL function is as follows:
    #ifdef __cplusplus
    extern "C" {
    #endif
    __declspec(dllexport) int __stdcall DetectObject (int *CharLumaBuf, int Rows, int Cols, char *BaseFolder)
    return(-100);
    #ifdef __cplusplus
    #endif
     Any ideas/suggestions?

  • Unable to load DLL 'OraOps10w.dll': Access is denied.

    Below is our error message. This happens around 5 - 7AM daily, and we are struggling with identifying the root cause. It's hard for me to believe it's code related, but anything's possible. Still, what's odd is the app runs fine for a day then an IIS reset is done and everything is fixed. Is there any way this could be related to code and has anyone dealt with this error before? Could a job or some permission being run behind the scenes be using this same dll and cause it to be overwritten?
    Thanks, Bryan
    Timestamp: 3/4/2010 12:11:23 PM
    Message: HandlingInstanceID: 3d9a795c-1256-44c1-b018-f553d4023b12
    An exception of type 'System.TypeInitializationException' occurred and was caught.
    03/04/2010 07:11:23
    Type : System.TypeInitializationException, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
    Message : The type initializer for 'Oracle.DataAccess.Types.OracleDecimal' threw an exception.
    Source : Oracle.DataAccess
    Help link :
    TypeName : Oracle.DataAccess.Types.OracleDecimal
    Data : System.Collections.ListDictionaryInternal
    TargetSite : Void PostBind_Int32()
    Stack Trace : at Oracle.DataAccess.Client.OracleParameter.PostBind_Int32()
    at Oracle.DataAccess.Client.OracleParameter.PostBind(OracleConnection conn, OpoSqlValCtx* pOpoSqlValCtx, Int32 arraySize)
    at Oracle.DataAccess.Client.OracleCommand.ExecuteNonQuery()
    at Oracle.DataAccess.Client.OracleCommandBuilder.DeriveParameters(OracleCommand command)
    at Microsoft.Practices.EnterpriseLibrary.Data.Odp.OdpDatabase.DeriveParameters(DbCommand discoveryCommand)
    at Microsoft.Practices.EnterpriseLibrary.Data.Database.DiscoverParameters(DbCommand command)
    Additional Info:
    MachineName : MISTERC
    TimeStamp : 3/4/2010 12:11:23 PM
    FullName : Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=2.0.0.0, Culture=neutral, PublicKeyToken=3f0a163eed2abd49
    ThreadIdentity :
    WindowsIdentity : NT AUTHORITY\NETWORK SERVICE
    Inner Exception
    Type : System.DllNotFoundException, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
    Message : Unable to load DLL 'OraOps10w.dll': Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
    Source : Oracle.DataAccess
    Help link :
    TypeName :
    Data : System.Collections.ListDictionaryInternal
    TargetSite : Int32 AllocValCtxFromNoFmtStr(System.String, IntPtr ByRef)
    Stack Trace : at Oracle.DataAccess.Types.OpsDec.AllocValCtxFromNoFmtStr(String numStr, IntPtr& numCtx)
    at Oracle.DataAccess.Types.OracleDecimal.GetMaxValue()
    at Oracle.DataAccess.Types.OracleDecimal..cctor()

    Thanks a lot.
    I give permissions to ASP.NET account in directory C:\Oracle\product\10.2.0\client_4 (full control) and the application running ok.

  • Unable to Load DLL (oci.dll)

    I am trying to connect to Oracle 10g database using Visual Studio.Net 2003, System.Data.OracleClient namespace. I have created a Web service running on my workstation's local web server, that uses a connection to an Oracle database (my connctionString="Data Source=orcl;User Id=myid;Password=pswd" ). While the program trying to execute myConnection.Open() - it is receiving the error "Unable to load dll (oci.dll)". I have installed the Oracle client on a development (WinXPPro) workstation, so the client BIN directory is visible, production server is running Oracle 10g on Windows 2003.
    Is it some kind of connection string issue or user permission problem? How do I setup the right ones?
    Thanks for the help in advance!!

    Hi Justin,
    Thanks for your response.
    Yes, I can connect to the database using both Aqua Data Studio or SQL *Plus. I even can connect to the database from Visual Studio utilizing Data Link Properties utility via OLE DB drivers either from Microsoft or Oracle. The credantials I am providing in the last case are the same as I use in my connection string: data source name (tnsname) - orcl, user id and password...                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Unable to load DLL (OraOps9.dll)

    I am trying to use a Web Service to access Oracle database using ODP.NET from download OraWin9204.exe.
    The Web Service is running on Server 2003 under the (usual) principle "NT AUTHORITY\NETWORK SERVICE" which has read/execute/list folder permissions on the entire C:\oracle folder on the web server.
    Client returns the error "Unable to load DLL (OraOps9.dll)"
    The Web Service has a AssemblyKeyFile that is trusted by the client.
    Any Ideas?

    OK. Got it working. Had tried all the stuff in previous posts (PATH/ Restart IIS/ Permissions)
    Rebooting the Server fixed it. I hope no-one else wastes a day on something that could have been documented!

  • Unable to load DLL 'OraOps10.dll with a twist

    Hi,
    So, I have been struggling with an issue for the last couple of weeks that is sending my mad. I receive the following error when attempting to make a connection to a database with my web app:
    Error message:
    "Unable to load DLL 'OraOps10.dll': The specified module could not be found. (Exception from HRESULT: (0x8007007E)"
    I am using
    Windows 2008 32bit
    Oracle Client 11g
    .net v2
    IIS7
    My apps called CMA, slimier to a more well known app NCSuite
    My connection to the database seems to working doing a simple test with a .udl file.
    I have attempted the following:
    Full re-installing the Oracle drivers following online instruction to clear reg and assembly, several times
    Setting permissions on the folder to beyond what they should be
    Setting permissions on any folder that refers to oracle
    Tried installing ODP.NET just on the off chance it might help
    Had a good mess to see if it was something to do with the 64bit issue, but obviously not as Im 32bit
    Unfortunately earlier version of the Oracle client are not compatible
    One thing that confuses me is why my app would refer to OraOps10.dll rather than the OraOps11w.dll thats being used. Only Oracle 11g has ever been installed on this machine as its a fresh build. The application itself does not directly refer to the OraOps10.dll.
    Any thoughts?
    Regards

    Hi,
    I'm a bit confused by your statement "+Tried installing ODP.NET just on the off chance it might help+". You can only get that error if you're using ODP.NET in the first place. A UDL file would test an oledb connection, so it's good just to make sure the client libraries are there and tnsnames configured correctly, but otherwise a bit irrelevant to this error.
    Anyway, that error occurs when ODP either cant find it's dependencies.. either the right OraOps or client dlls, or finds them but finds the wrong ones. OraOps11 (without the 'w') gets loaded when your application loads the 1.x ODP.NET provider. The provider for .net 2.x and higher loads oraops11w.dll.
    The usual cause of this error is from apps including Oracle.DataAccess.dll in the app bin directory, rather than letting it get picked up from the GAC.
    I'd start by
    1) searching your machine for all Oracle.DataAccess.dll, and rename any outside the Oracle home and/or GAC.
    2) if that doesnt do it, use a tool like Process Explorer (http://sysinternals.com) to find out where Oracle.DataAccess.dll is being loaded from, and what version. You need to have a matching OraOps that is the same version as Oracle.DataAccess.dll they actually need to be a matched pair (check the date of the dlls), but its the mismatched version that causes the error.
    3) if neither of the above help, use Process Monitor to watch the dll's loaded 'live' to see if there is some sort of permissions issue, but the well known permissions issue that you've probably found information about was specific to 9.2 and 10.2 client, and is not an issue with 11g. That is to say, the OUI sets permissions properly in 11g, but it's still possible an IIS admin may have cranked permissions down too tight.
    Additionally,
    1) What version of ODP was your app compiled with?
    2) What version of .NET framework?
    3) What version of 11g client do you have installed, and what did you install it from? ie, 11107.0 full client? or 11107.20 odac bundle?
    4) The ODP forum is located here: ODP.NET
    Hope it helps,
    Greg

  • Unable to load DLL 'oramts.dll'

    Hi All,
    We are using .NET 2005 as for development.
    Database Configuration : Oracle 10g R2 on Windows 2003(32 bit)
    We tried to implement Transactionscope it's given an error
    *'System.DllNotFoundException: Unable to load DLL 'oramts.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E).'*

    Refer to this site for solution
    http://support.microsoft.com/kb/843044
    Kamran Agayev A. (10g OCP)
    http://kamranagayev.wordpress.com

  • System.DllNotFoundException: Unable to load DLL 'OraOps10.dll'

    Hello,
    I'm developing a piece of software for a small business that connects to an Oracle 10g express database I set up. The software is written in c# with VS2008, and has ODP.NET installed. On the computer I'm developing with, the software works perfectly. Unfortunately, when I try to use it on a different computer I get the error message "System.DllNotFoundException: Unable to load DLL 'OraOps10.dll'".
    I have already created a redistributable for all the .NET components I need, including Oracle.DataAccess.dll
    I think this problem would be solved by installing VS2008 and ODP.NET on every computer needing it, but that's unrealistic. Is there another way to get this program to work?

    Hi,
    At a minimum, you need to install the Oracle core client and ODP provider on the target deployment machine. ORAOPS10.dll is a the unmanaged layer for our provider and gets installed when you install the driver from our installation bundles. That DLL is a dependency of the .NET 1.x assembly and should get installed when you install the ODP component.
    I am assuming you are using an older 10.2.0.10 version. In later versions we provide an IC bundle that includes an xcopy redistributable that makes it alot easier to wrap up with your custom install scripts, with earlier versions that reply on a full client you need to use the OUI and install the client and ODP on the target machines where the app will be deployed.
    HTH
    Jenny B.

  • Unable to load DLL after Impersonating (0x80070542)

    I have an application that prompts a user for credentials and impersonates the user before taking some action on that user's behalf.  However, when I try to call some framework methods that require .NET to load a native DLL, the call fails with the
    following error:
    System.DllNotFoundException: Unable to load DLL 'secur32.dll': Either a required impersonation level was not provided, or the provided impersonation level is invalid. (Exception from HRESULT: 0x80070542)
    I've simplified the duplication scenario down to the following:
    this.userToken = IntPtr.Zero;
    bool authenticated =
    Win32.LogonUser(
    username,
    domain,
    password,
    LogonTypes.Network,
    LogonProviders.Default,
    out userToken);
    if (authenticated)
    this.impersonationContext =
    WindowsIdentity.Impersonate(this.userToken);
    // This call blows up:
    string userDomain = Environment.UserDomainName;
    If I make a call to Environment.UserDomainName before impersonating, no exception is thrown (presumably the DLL is loaded before impersonation, so no attempt is made afterwards).

    Hi Travis,
    I'm writing to check the issue status, please feel free to let us know if you have any concern.
    Sincerely,
    Eric
    MSDN Subscriber Support in Forum
    If you have any feedback of our support, please contact
    [email protected]
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.

  • Microsoft Visual Studio - Unable to load DLL 'librfc32.dll'

    Hi,
    I'm experiencing the following problem:
    When trying to establish a connection between SAP BPC MS and our SAP NW BW system.
    I've created a new Integration Services project in Business Intelligence Development Studio. The issue comes up when I try to test the connection:
    TITLE: Microsoft Visual Studio
    Unable to load DLL 'librfc32.dll':
    This application has failed to start because the application configuration is incorrect.
    Reinstalling the application may fix this problem. (Exception from HRESULT: 0x800736B1)
    I've placed the librfc32.dll library file on C:\WINDOWS\system32\.
    I ran R3DLLINS.EXE according to Note 684106 - Microsoft runtime DLLs.
    This placed all the needed dll library files (msvcr71.dll, msvcp71.dll, mfc71.dll, mfc71u.dll) on the correct path (C:\WINDOWS\system32\).
    I keep getting the same error.
    Platform:
    Windows 2003 R2 SP2 32-Bit
    MS SQL Server 2008 SP1
    SAP BPC 7.0 Microsoft Platform
    I've checked out some other posts on SDN but it didn't solve my problem:
    Re: librfc32.dll not found on Windows Server 2003
    LIBRFC32.DLL not Found Error
    Re: librfc32.dll
    Any ideas?
    Thank you.
    Bruno Pereira
    Edited by: Bruno Pereira on Mar 23, 2010 5:34 PM
    Edited by: Bruno Pereira on Mar 23, 2010 5:36 PM

    I was able to work it out.
    For your reference:
    Issue arrises from the fact that Business Intelligence Development Studio isn't able to load the librfc32.dll without the [Microsoft Visual C++ 2005 Service Pack 1 Redistributable Package ATL Security Update |http://www.microsoft.com/downloads/details.aspx?familyid=766a6af7-ec73-40ff-b072-9112bab119c2&displaylang=en#filelist]implemented on the system.
    Reference SAP note:
    [Note 684106 - Microsoft runtime DLLs|https://service.sap.com/sap/support/notes/684106]
    Bye!
    Bruno Pereira

  • Unable to load DLL 'OraOps10w.dll'

    I am getting a strange error in a production environment. I have a service that is written in .NET and is using ODP. Everything with the service is running fine, but we are getting the following error when running one specific stored procedure:
    Unable to load DLL 'OraOps10w.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
    The stored procedure is actually executing without error, but this error is occurring in .NET. It has all of a sudden started happening on us yesterday and we have tried to restart the service and also rebooted the server. The DLL does exist on the server and we verified it has the proper security. I am very puzzled by this, because everything appears to be working as normal.
    Any help is appreciated to try and troubleshoot this problem.
    Thanks!

    Hello,
    Please see this thread:
    Re: After upgrading to ODP.NET 10.1.0.400 existings Apps fail.
    This is almost always a permissions issue.
    - Mark

Maybe you are looking for

  • Report/Widget for combined performance data

    Hello. I have created a dashboard view in SCOM 2012 R2 for power consumption of a number of servers. These servers are all part of a group. The power consists of a couple of different performance monitors (VMWare-sensor for VMs and Power Meter from t

  • Subscription doesnt work at all

    Im very frustated and dissapointed because I pay for Unlimited Latin America Landline like three weeks ago but since this day I wasnt be able to call to my country Peru. It always says "the phone number is currently busy". I check my skype account an

  • Extend function in pl/sql table

    declare type aar_test is table of varchar2(100) index by binary_integer; aar_main aar_test; begin aar_main.extend; aar_main(aar_main.last) :='Extend Cell'; end; it's return a error....it is possible??? if yes how...plzzzzzzzz help me...

  • IOS AP migration issues

    Hi,I have to migrate 44 IOS AP configured with static IP address. Current customer AP network is 10.10.3.0/24 for 43 devices and 10.10.4.0/24 for 1 AP device. Customer now doesn't have ,unfortunatly, a dedicated mgmt network and they don't want to cr

  • Images changed between 1.5 & 2.1

    I've just updated one of my libraries to 2.1 from 1.5, all the images that have adjustments on them are appearing completely different; the blacks are showing a purple glow, the colours seem to be all over the place, the corrected skin tones are now