Results 1 to 4 of 4

Thread: VB.Net Application Stopped working with Exception code e0434f4d

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2017
    Posts
    2

    VB.Net Application Stopped working with Exception code e0434f4d

    I have few vb.Net application which has bunch of similar Library dll's as well. Now i am trying to isolate the library dll's into a single folder and invoke the individual applications by linking the Common library dll.

    After researching the below DLL search order for invoking the application,
    1. DLL's in Parent directory(usually Debug/Release folder)
    2. GAC
    3. Directory mentioned in the "Path" System Environmental variable.

    So, i have mentioned the common library folder path in the environmental variable and tried invoking the application. as soon as launched , the below error is encountered

    Description:
    Stopped working

    Problem signature:
    Problem Event Name: APPCRASH
    Application Name: Sample.exe
    Application Version: 2014.7.2.1200
    Application Timestamp: 58e5cc85
    Fault Module Name: KERNELBASE.dll
    Fault Module Version: 6.1.7601.18015
    Fault Module Timestamp: 50b83c8a
    Exception Code: e0434f4d
    Exception Offset: 0000c41f
    OS Version: 6.1.7601.2.1.0.18.10
    Locale ID: 1033

    Kindly let me know on how to debug the issue and fix this issue? I suspect that the libraries are not getting linked and so we get this error.

    Thanks in Advance

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    110,299

    Re: VB.Net Application Stopped working with Exception code e0434f4d

    Are you sure about the Path environment variable? I've never heard that before and I just searched this page for the word "environment" and it was not found.

  3. #3

    Thread Starter
    New Member
    Join Date
    Apr 2017
    Posts
    2

    Re: VB.Net Application Stopped working with Exception code e0434f4d

    Quote Originally Posted by jmcilhinney View Post
    Are you sure about the Path environment variable? I've never heard that before and I just searched this page for the word "environment" and it was not found.
    Hi jmcilhinney,

    Thanks for the response.

    PATH environmental variable is mentioned in DLL search order in MSDN, pls find the below link
    https://msdn.microsoft.com/en-us/lib...p_applications

    The search order is as follows:

    1. The directory from which the application loaded.
    2. The system directory. Use the GetSystemDirectory function to get the path of this directory.
    3. The 16-bit system directory. There is no function that obtains the path of this directory, but it is searched.
    4. The Windows directory. Use the GetWindowsDirectory function to get the path of this directory.
    5. The current directory.
    6. The directories that are listed in the PATH environment variable. Note that this does not include the per-application path specified by the App Paths registry key. The App Paths key is not used when computing the DLL search path.

  4. #4
    Superbly Moderated NeedSomeAnswers's Avatar
    Join Date
    Jun 2002
    Location
    Manchester uk
    Posts
    2,660

    Re: VB.Net Application Stopped working with Exception code e0434f4d

    I have few vb.Net application which has bunch of similar Library dll's as well. Now i am trying to isolate the library dll's into a single folder and invoke the individual applications by linking the Common library dll.
    Am i missing something here, why are you trying to do this? what benefit are you looking to gain?
    Please Mark your Thread "Resolved", if the query is solved & Rate those who have helped you



Posting Permissions

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



Click Here to Expand Forum to Full Width