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. Deploying Visual C# express application Fails on target cpu

Deploying Visual C# express application Fails on target cpu

Scheduled Pinned Locked Moved C#
helpcsharpdotnetsysadminbusiness
7 Posts 3 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.
  • K Offline
    K Offline
    kourvoisier
    wrote on last edited by
    #1

    Application has encountered a problem and needs to close. 1. My code debugs and runs perfectly fine. 2. I publish my application to a shared file server. 3. I log on to the target machine and browse to the folder I published my application files. 4. I click the setup.exe 5. It begins verifying application requirements. 6. Are you sure u want to install this application dialog pops up - Install or Don't Install button 7. I click the install button. 8 Acts as if it begins to install then Error - {APPLICATION NAME} has encountered a problem and needs to close. We are sorry for the inconvience.. 9. Button that says Send Error Report and button that says Dont Send 10. Also hyperlink on form that says "What data does this error report contain" 11. If i click the link gives me some wierd information - keywords in the info below Event Type: clr20r3 Mscorlib system.io.directorynotfound It does not tell me what the problem is. I am clueless. can somebody help me please. 1.0 and 2.0 .net framework installed on target machine. Thanks in advance Kourvoisier

    P D 2 Replies Last reply
    0
    • K kourvoisier

      Application has encountered a problem and needs to close. 1. My code debugs and runs perfectly fine. 2. I publish my application to a shared file server. 3. I log on to the target machine and browse to the folder I published my application files. 4. I click the setup.exe 5. It begins verifying application requirements. 6. Are you sure u want to install this application dialog pops up - Install or Don't Install button 7. I click the install button. 8 Acts as if it begins to install then Error - {APPLICATION NAME} has encountered a problem and needs to close. We are sorry for the inconvience.. 9. Button that says Send Error Report and button that says Dont Send 10. Also hyperlink on form that says "What data does this error report contain" 11. If i click the link gives me some wierd information - keywords in the info below Event Type: clr20r3 Mscorlib system.io.directorynotfound It does not tell me what the problem is. I am clueless. can somebody help me please. 1.0 and 2.0 .net framework installed on target machine. Thanks in advance Kourvoisier

      P Offline
      P Offline
      Pete OHanlon
      wrote on last edited by
      #2

      It looks as though the directory it is attempting to install into doesn't exist.

      Deja View - the feeling that you've seen this post before.

      K 1 Reply Last reply
      0
      • P Pete OHanlon

        It looks as though the directory it is attempting to install into doesn't exist.

        Deja View - the feeling that you've seen this post before.

        K Offline
        K Offline
        kourvoisier
        wrote on last edited by
        #3

        anyone have any ideas of what to do next. I am pretty much at a stand still at this point!!!

        1 Reply Last reply
        0
        • K kourvoisier

          Application has encountered a problem and needs to close. 1. My code debugs and runs perfectly fine. 2. I publish my application to a shared file server. 3. I log on to the target machine and browse to the folder I published my application files. 4. I click the setup.exe 5. It begins verifying application requirements. 6. Are you sure u want to install this application dialog pops up - Install or Don't Install button 7. I click the install button. 8 Acts as if it begins to install then Error - {APPLICATION NAME} has encountered a problem and needs to close. We are sorry for the inconvience.. 9. Button that says Send Error Report and button that says Dont Send 10. Also hyperlink on form that says "What data does this error report contain" 11. If i click the link gives me some wierd information - keywords in the info below Event Type: clr20r3 Mscorlib system.io.directorynotfound It does not tell me what the problem is. I am clueless. can somebody help me please. 1.0 and 2.0 .net framework installed on target machine. Thanks in advance Kourvoisier

          D Offline
          D Offline
          dbrenth
          wrote on last edited by
          #4

          Between steps 3 and 4 do you drag setup.exe to the target machine? Or are you just clicking on it out of the file server? If no: Perhaps your file server doesn't have .NET installed on it. It will not be able to locate the .NET CLR on the target machine. Brent

          Brent

          K 1 Reply Last reply
          0
          • D dbrenth

            Between steps 3 and 4 do you drag setup.exe to the target machine? Or are you just clicking on it out of the file server? If no: Perhaps your file server doesn't have .NET installed on it. It will not be able to locate the .NET CLR on the target machine. Brent

            Brent

            K Offline
            K Offline
            kourvoisier
            wrote on last edited by
            #5

            I do not drag the setup.exe to the target machine. I simply click it str8 from the file server. The .net framework is not installed on the file server. Do you think this may be the problem? I have published other .net applications to this server and installed on multiple target cpu's without any issue. I do have a app.config file with a hardcoded file path. Do you think this could be the issue? although i dont think may be the issue either. below is my app.config

            D 1 Reply Last reply
            0
            • K kourvoisier

              I do not drag the setup.exe to the target machine. I simply click it str8 from the file server. The .net framework is not installed on the file server. Do you think this may be the problem? I have published other .net applications to this server and installed on multiple target cpu's without any issue. I do have a app.config file with a hardcoded file path. Do you think this could be the issue? although i dont think may be the issue either. below is my app.config

              D Offline
              D Offline
              dbrenth
              wrote on last edited by
              #6

              I also get errors trying to run a .NET app from a file server. But I have always been able to drag the same executable to the desktop, double click it and it runs just fine. I would recommend you add this to your process.

              Brent

              K 1 Reply Last reply
              0
              • D dbrenth

                I also get errors trying to run a .NET app from a file server. But I have always been able to drag the same executable to the desktop, double click it and it runs just fine. I would recommend you add this to your process.

                Brent

                K Offline
                K Offline
                kourvoisier
                wrote on last edited by
                #7

                Brent, I drag the setup.exe to the desktop along with the other files that it needs double click on the target computer and the same exact error happens.

                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