Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Error in Process.Start

Error in Process.Start

Scheduled Pinned Locked Moved ASP.NET
helplinuxworkspace
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Arun Immanuel
    wrote on last edited by
    #1

    Hi, In my web application, I am executing an exe file using process.Start I have 2 exe files in a directory. 1.First exe file is a stand alone one. 2.Second exe file will refer to another file(file2.ctf) in the same directory. If I try to execute the first file, it is working fine. But, for the second file , it says error message like: Make sure the directory containing file2.ctf is on your dynamic load library path(PATH on Windows,or LD_LIBRARY_PATH on Linux). I think the exe file is not able to find the file2.ctr file. Even after changing the environment variable PATH , it is throwing the same message. But it is working fine in WindowsApplication. Any help would be appreciated.

    Regards, Arun Kumar.A

    K 1 Reply Last reply
    0
    • A Arun Immanuel

      Hi, In my web application, I am executing an exe file using process.Start I have 2 exe files in a directory. 1.First exe file is a stand alone one. 2.Second exe file will refer to another file(file2.ctf) in the same directory. If I try to execute the first file, it is working fine. But, for the second file , it says error message like: Make sure the directory containing file2.ctf is on your dynamic load library path(PATH on Windows,or LD_LIBRARY_PATH on Linux). I think the exe file is not able to find the file2.ctr file. Even after changing the environment variable PATH , it is throwing the same message. But it is working fine in WindowsApplication. Any help would be appreciated.

      Regards, Arun Kumar.A

      K Offline
      K Offline
      kubben
      wrote on last edited by
      #2

      You might need to change some info in your StartInfo object that is associated with the Process object. There is a property called WorkingDirectory off the StartInfo object. Set that to the correct directory and it should work. Hope that helps. Ben

      A 2 Replies Last reply
      0
      • K kubben

        You might need to change some info in your StartInfo object that is associated with the Process object. There is a property called WorkingDirectory off the StartInfo object. Set that to the correct directory and it should work. Hope that helps. Ben

        A Offline
        A Offline
        Arun Immanuel
        wrote on last edited by
        #3

        Thank U very much. I will try and let U know.

        Regards, Arun Kumar.A

        1 Reply Last reply
        0
        • K kubben

          You might need to change some info in your StartInfo object that is associated with the Process object. There is a property called WorkingDirectory off the StartInfo object. Set that to the correct directory and it should work. Hope that helps. Ben

          A Offline
          A Offline
          Arun Immanuel
          wrote on last edited by
          #4

          Thank U very much. It is working fine now.

          Regards, Arun Kumar.A

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups