.net 2.0 Winform application not executing after installation... [modified]
-
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
-
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
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.
-
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.
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
-
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
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.
-
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.