Click here to Skip to main content
15,884,955 members
Please Sign up or sign in to vote.
3.00/5 (2 votes)
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
Updated 28-Jan-11 8:58am
v3
Comments
Sergey Alexandrovich Kryukov 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?
--SA
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.
Sergey Alexandrovich Kryukov 28-Jan-11 13:53pm    
Yes, this is a question, but still I cannot see enough information to think about...
--SA
Estys 30-Jan-11 6:15am    
Someone said it could be VPN, are they on a VPN? No explanation or solution though :(
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1618116&SiteID=1
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


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900