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#
helpcsharpsysadminbusinessworkspace
5 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. Thanks in advance Kourvoisier

    J 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. Thanks in advance Kourvoisier

      J Offline
      J Offline
      Judah Gabriel Himango
      wrote on last edited by
      #2

      Try reinstalling the .NET framework on the target machine.

      Tech, life, family, faith: Give me a visit. I'm currently blogging about: Virginia Tech Shootings, Guns, and Politics The apostle Paul, modernly speaking: Epistles of Paul Judah Himango

      K 1 Reply Last reply
      0
      • J Judah Gabriel Himango

        Try reinstalling the .NET framework on the target machine.

        Tech, life, family, faith: Give me a visit. I'm currently blogging about: Virginia Tech Shootings, Guns, and Politics The apostle Paul, modernly speaking: Epistles of Paul Judah Himango

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

        This cant be the problem. I have tryed to deploy on multiple cpu's with .net framework installed still run into same problem.

        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. Thanks in advance Kourvoisier

          D Offline
          D Offline
          Dan Neely
          wrote on last edited by
          #4

          kourvoisier wrote:

          Event Type: clr20r3 Mscorlib system.io.directorynotfound

          This error makes me suspect that you've got hard coded paths in your installer somewhere and that the configuration on your devbox is different than on the target machines.

          -- CleaKO The sad part about this instance is that none of the users ever said anything [about the problem]. Pete O`Hanlon Doesn't that just tell you everything you need to know about users?

          K 1 Reply Last reply
          0
          • D Dan Neely

            kourvoisier wrote:

            Event Type: clr20r3 Mscorlib system.io.directorynotfound

            This error makes me suspect that you've got hard coded paths in your installer somewhere and that the configuration on your devbox is different than on the target machines.

            -- CleaKO The sad part about this instance is that none of the users ever said anything [about the problem]. Pete O`Hanlon Doesn't that just tell you everything you need to know about users?

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

            I have actually published the files directly to the target machine by passing the file server and received the same error. 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

            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