Click here to Skip to main content
13,192,426 members (47,282 online)
Rate this:
Please Sign up or sign in to vote.
I have an application that deploys with ClickOnce. It works for 99% of my users, but two of my users are having trouble with it. They install the application and it works just fine (During publish install mode is "The application is available offline as well (launchable from Start menu). Then the next day when they log back in, the icon (which is the application reference not a shortcut and not a setup file) to the app is changed to the windows default icon, and when it's clicked to run the app it instead asks to install it again.

When I look at the file structure where the app is saved on their machines, I'm seeing many randomly named folders in the local settings location, when I only expect to see one. In other words, at this location:

C:\Documents and Settings\<WindowsUserName>\Local Settings\Apps\2.0

I'm expecting to see a folder called Data, and another folder with a randomly generated name. But instead I see the Data Folder and than many randomly generated name folders. There are also many folders inside the Data folder.

It's almost like after logging out of their user name or rebooting the computer forgot where it had installed any of the ClickOnce Applications (The users have another ClickOnce app that we publish and it has lost it's connection too). This makes me think it's an issue with the user's machine, but I have no idea what kind of settings, etc. could do this.

I have made sure they have the latest updates for .Net 3.5 which my app is compiled to.

Beyond that I have no idea what to check on next. The users use XP and are admins on their machine. Does anyone know what I can check on next, or what could cause this issue? I'm trying to figure out more about how the application reference file knows where the different components of the application are kept, since it seems like that is what my user is having a problem with. Any advice would be appreciated.
Posted 28-Jan-11 5:29am
Updated 28-Jan-11 8:58am
SAKryukov 28-Jan-11 11:37am
Who knows what kind of mess you could put in your software? All you describe is up to your product. How can you expect any answer without any change to review your code?
Kschuler 28-Jan-11 12:04pm
I can post any relevant code, but what code would be relevant. I'm not getting any error...most of the ClickOnce is handled with settings during publish. Which settings are relevant? I know this question is general but I'm looking for any ideas of what to check on next.
SAKryukov 28-Jan-11 13:53pm
Yes, this is a question, but still I cannot see enough information to think about...
Estys 30-Jan-11 6:15am
Someone said it could be VPN, are they on a VPN? No explanation or solution though :(
Kschuler 1-Feb-11 11:14am
No VPN. Thanks for the link, though. It helped me find some other posts I hadn't googled yet.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web02 | 2.8.171017.2 | Last Updated 28 Jan 2011
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100