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. .NET (Core and Framework)
  4. .net 2.0 Winform application not executing after installation... [modified]

.net 2.0 Winform application not executing after installation... [modified]

Scheduled Pinned Locked Moved .NET (Core and Framework)
csharpvisual-studiocollaborationperformancehelp
5 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.
  • P Offline
    P Offline
    pnslcs
    wrote on last edited by
    #1

    I have about 11 pcs that after running the installer (built with vs), the winform application will not start. The event log does not contain errors. It does contain a message about the install completing sucessfuly. When I double click on the application icon, it displays an hourglass, then the hourglass goes away, and then nothing. No error message is displayed. I have had our desktop support team run software inventories on the affected PCS. All PCS are XP with sp1 with varying amounts of memory from 512mb to 1.25gb of ram. Other PCS that the application was installed on work just fine. Any thoughts about what I should look for would be appreciated. :confused:

    modified on Monday, December 03, 2007 4:59:11 PM

    M 1 Reply Last reply
    0
    • P pnslcs

      I have about 11 pcs that after running the installer (built with vs), the winform application will not start. The event log does not contain errors. It does contain a message about the install completing sucessfuly. When I double click on the application icon, it displays an hourglass, then the hourglass goes away, and then nothing. No error message is displayed. I have had our desktop support team run software inventories on the affected PCS. All PCS are XP with sp1 with varying amounts of memory from 512mb to 1.25gb of ram. Other PCS that the application was installed on work just fine. Any thoughts about what I should look for would be appreciated. :confused:

      modified on Monday, December 03, 2007 4:59:11 PM

      M Offline
      M Offline
      martin_hughes
      wrote on last edited by
      #2

      Is the .Net Framework installed on these machines?

      "On one of my cards it said I had to find temperatures lower than -8. The numbers I uncovered were -6 and -7 so I thought I had won, and so did the woman in the shop. But when she scanned the card the machine said I hadn't. "I phoned Camelot and they fobbed me off with some story that -6 is higher - not lower - than -8 but I'm not having it." -Tina Farrell, a 23 year old thicky from Levenshulme, Manchester.

      P 1 Reply Last reply
      0
      • M martin_hughes

        Is the .Net Framework installed on these machines?

        "On one of my cards it said I had to find temperatures lower than -8. The numbers I uncovered were -6 and -7 so I thought I had won, and so did the woman in the shop. But when she scanned the card the machine said I hadn't. "I phoned Camelot and they fobbed me off with some story that -6 is higher - not lower - than -8 but I'm not having it." -Tina Farrell, a 23 year old thicky from Levenshulme, Manchester.

        P Offline
        P Offline
        pnslcs
        wrote on last edited by
        #3

        Yes it is. I have narrowed the probelem down to this error message: "Attempted to read or write protected memory. This is often an indication that other memory is corrupt. Exception Type: System.AccessViolationException " I was able capture some information and put it into the event log. The form starts to execute and calls the InitializeComponent() method. The InitializeComponent() method first instantiates all the controls and then it trys to start setting the properties for a tab control. When settting the tab control properties it throws the error above. This form was converted from .net 1.1 to 2.0. Also, the research I have found on this error is it was previously threw a null reference exception in 1.1. However we never had any problems with this form in 1.1. The really strange thing is that when I do a remote desktop connect to the PC from my laptop (we are 2 floors apart), the code works just fine. If I go down stairs and login to the PC directly, the code does not work. Thanks, patrick

        M 1 Reply Last reply
        0
        • P pnslcs

          Yes it is. I have narrowed the probelem down to this error message: "Attempted to read or write protected memory. This is often an indication that other memory is corrupt. Exception Type: System.AccessViolationException " I was able capture some information and put it into the event log. The form starts to execute and calls the InitializeComponent() method. The InitializeComponent() method first instantiates all the controls and then it trys to start setting the properties for a tab control. When settting the tab control properties it throws the error above. This form was converted from .net 1.1 to 2.0. Also, the research I have found on this error is it was previously threw a null reference exception in 1.1. However we never had any problems with this form in 1.1. The really strange thing is that when I do a remote desktop connect to the PC from my laptop (we are 2 floors apart), the code works just fine. If I go down stairs and login to the PC directly, the code does not work. Thanks, patrick

          M Offline
          M Offline
          martin_hughes
          wrote on last edited by
          #4

          Weird. The remote desktop behaviour suggests to me that there might be some kind of graphics card/driver related problem on the target PC, but that's only a guess and very dubious one at that.

          "On one of my cards it said I had to find temperatures lower than -8. The numbers I uncovered were -6 and -7 so I thought I had won, and so did the woman in the shop. But when she scanned the card the machine said I hadn't. "I phoned Camelot and they fobbed me off with some story that -6 is higher - not lower - than -8 but I'm not having it." -Tina Farrell, a 23 year old thicky from Levenshulme, Manchester.

          P 1 Reply Last reply
          0
          • M martin_hughes

            Weird. The remote desktop behaviour suggests to me that there might be some kind of graphics card/driver related problem on the target PC, but that's only a guess and very dubious one at that.

            "On one of my cards it said I had to find temperatures lower than -8. The numbers I uncovered were -6 and -7 so I thought I had won, and so did the woman in the shop. But when she scanned the card the machine said I hadn't. "I phoned Camelot and they fobbed me off with some story that -6 is higher - not lower - than -8 but I'm not having it." -Tina Farrell, a 23 year old thicky from Levenshulme, Manchester.

            P Offline
            P Offline
            pnslcs
            wrote on last edited by
            #5

            yeh it is weird alright it is even tougher trying to explain to the users what is wrong. :confused:

            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