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. General Programming
  3. C#
  4. exe not executed

exe not executed

Scheduled Pinned Locked Moved C#
helpdebugging
11 Posts 4 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.
  • P prithaa

    Hello, I am using an .exe file at my client but it gives me the error "The application failed to initialize properly(0xc0000135).Click on OK to terminate the aplication". Earlier I used to use the same .exe file which is made in the debug folder of project for other clients but I didnt face this issue.Can you please tell what must be the problem. The OS is Windows 2000 for client and I am using Windows XP. Pritha

    A Offline
    A Offline
    AspDotNetDev
    wrote on last edited by
    #2

    You probably need to install the .Net Framework on that computer. I think the highest version of the .Net Framework that will work on Windows 2000 is 2.0. By the way, Google is your friend.

    [Forum Guidelines]

    1 Reply Last reply
    0
    • P prithaa

      Hello, I am using an .exe file at my client but it gives me the error "The application failed to initialize properly(0xc0000135).Click on OK to terminate the aplication". Earlier I used to use the same .exe file which is made in the debug folder of project for other clients but I didnt face this issue.Can you please tell what must be the problem. The OS is Windows 2000 for client and I am using Windows XP. Pritha

      A Offline
      A Offline
      amaankhan
      wrote on last edited by
      #3

      The application developer used the .Net Framework, just install the framework and Re-run the application Remember to Reboot HAPPY WORKING

      P 1 Reply Last reply
      0
      • A amaankhan

        The application developer used the .Net Framework, just install the framework and Re-run the application Remember to Reboot HAPPY WORKING

        P Offline
        P Offline
        prithaa
        wrote on last edited by
        #4

        Hello, Thanks for your replies. But I have executed .exe on the PCs which do not have .Net Framework. Are you sure that I need to load .Net Framework Pritha

        A 1 Reply Last reply
        0
        • P prithaa

          Hello, Thanks for your replies. But I have executed .exe on the PCs which do not have .Net Framework. Are you sure that I need to load .Net Framework Pritha

          A Offline
          A Offline
          amaankhan
          wrote on last edited by
          #5

          yes....

          P 1 Reply Last reply
          0
          • A amaankhan

            yes....

            P Offline
            P Offline
            prithaa
            wrote on last edited by
            #6

            Thanks Amaan Thanks for cooperating

            1 Reply Last reply
            0
            • P prithaa

              Hello, I am using an .exe file at my client but it gives me the error "The application failed to initialize properly(0xc0000135).Click on OK to terminate the aplication". Earlier I used to use the same .exe file which is made in the debug folder of project for other clients but I didnt face this issue.Can you please tell what must be the problem. The OS is Windows 2000 for client and I am using Windows XP. Pritha

              L Offline
              L Offline
              Luc Pattyn
              wrote on last edited by
              #7

              0xc0000135 is the error code you get when your system does not include the expected version of .NET .NET has many versions (from 1.0 up to 4.0), they can coexist (you can have many on one system), and your EXE by default needs a very specific version; the good approach is to have all of them available on your system. Some Windows versions have some .NET versions preinstalled; XP and Vista often include 1.1, 2.0 and 3.0; which are present can be seen by looking in C:\Windows\Microsoft.NET\Framework; the folder names (all but one) represent installed versions. Some more details are available here[^]. :)

              Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]


              I only read formatted code with indentation, so please use PRE tags for code snippets.


              I'm not participating in frackin' Q&A, so if you want my opinion, ask away in a real forum (or on my profile page).


              P 1 Reply Last reply
              0
              • L Luc Pattyn

                0xc0000135 is the error code you get when your system does not include the expected version of .NET .NET has many versions (from 1.0 up to 4.0), they can coexist (you can have many on one system), and your EXE by default needs a very specific version; the good approach is to have all of them available on your system. Some Windows versions have some .NET versions preinstalled; XP and Vista often include 1.1, 2.0 and 3.0; which are present can be seen by looking in C:\Windows\Microsoft.NET\Framework; the folder names (all but one) represent installed versions. Some more details are available here[^]. :)

                Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]


                I only read formatted code with indentation, so please use PRE tags for code snippets.


                I'm not participating in frackin' Q&A, so if you want my opinion, ask away in a real forum (or on my profile page).


                P Offline
                P Offline
                prithaa
                wrote on last edited by
                #8

                Thanks for your answer. Does the same hold true for different versions of Excel. Say if I have included a certain version of Excel. Microsoft Excel 5.0 Object Library added as a reference in my project then it should work with the client only if it has that version of Object Library Pritha

                L 1 Reply Last reply
                0
                • P prithaa

                  Thanks for your answer. Does the same hold true for different versions of Excel. Say if I have included a certain version of Excel. Microsoft Excel 5.0 Object Library added as a reference in my project then it should work with the client only if it has that version of Object Library Pritha

                  L Offline
                  L Offline
                  Luc Pattyn
                  wrote on last edited by
                  #9

                  Excel is native code, not managed code, so it should always run fine, even without .NET present. Excel automation through PIA (Primary Interop Assembly) may be different, and different versions of Office may require different PIA versions, I don't know any details. :)

                  Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]


                  I only read formatted code with indentation, so please use PRE tags for code snippets.


                  I'm not participating in frackin' Q&A, so if you want my opinion, ask away in a real forum (or on my profile page).


                  P 1 Reply Last reply
                  0
                  • L Luc Pattyn

                    Excel is native code, not managed code, so it should always run fine, even without .NET present. Excel automation through PIA (Primary Interop Assembly) may be different, and different versions of Office may require different PIA versions, I don't know any details. :)

                    Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]


                    I only read formatted code with indentation, so please use PRE tags for code snippets.


                    I'm not participating in frackin' Q&A, so if you want my opinion, ask away in a real forum (or on my profile page).


                    P Offline
                    P Offline
                    prithaa
                    wrote on last edited by
                    #10

                    thanks for all your clarification

                    L 1 Reply Last reply
                    0
                    • P prithaa

                      thanks for all your clarification

                      L Offline
                      L Offline
                      Luc Pattyn
                      wrote on last edited by
                      #11

                      you're welcome. :)

                      Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]


                      I only read formatted code with indentation, so please use PRE tags for code snippets.


                      I'm not participating in frackin' Q&A, so if you want my opinion, ask away in a real forum (or on my profile page).


                      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