dfsvc.exe has encountered a problem and needs to close - by lkinney

Status : 

  Not Reproducible<br /><br />
		The product team could not reproduce this item with the description and steps provided.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.

Sign in
to vote
ID 426703 Comments
Status Closed Workarounds
Type Bug Repros 0
Opened 3/25/2009 6:44:30 AM
Access Restriction Public


We have a problem with one workstation trying to run Click-once application where she gets the error: "dfsvc.exe has encountered a problem and needs to close. We are sorry for the inconvenience".  The problem seemed to start after she did a System Restore, and I saw one other post in a search where this was the case.  
Sign in to post a comment.
Posted by Liang [MSFT] on 5/1/2009 at 6:09 PM
I am closing the issue as it seems that you have worked it out in some way. Feel free to reactivate or contact me if you are still seeing this issue.
Posted by Liang [MSFT] on 4/21/2009 at 1:08 PM
Thanks again for reporting the issue, and sorry for not following up earlier.

Did the issue resolved? Please let us know if further investigation is needed. You can contact me directly at liang.zhao@microsoft.com.

We'll assume that the issue has being addressed if we don't hear from you in the next 7 days.

Posted by Liang [MSFT] on 4/3/2009 at 2:04 PM
ClickOnce application states are stored in both file system and registry. If the files ClickOnce uses are excluded from System Restore while registry part are included, after system restore, there could be a mismatch of information and causes ClickOnce to stop working.

Could you please confirm whether the user profile folder has been excluded from system restore? For XP, \windows\system32\restore\filelist.xml might have that info. Or run %windir%\system32\restore\srdiag.exe and share the generated files with us for further analysis.

To recover from it, there might be a need to clear ClickOnce state in both file system and registry by "mage.exe -cc". Note that all ClickOnce applications will be gone if the command is run.
Posted by lkinney on 3/26/2009 at 4:43 AM
Why does the user require admin privileges? I did not realize that a click-once deployed application that had been updating and installing with current user privileges would all of a sudden have to have admin rights. It was a strange situation that caused her to do a system restore. She installed .NET 3.5 SP1 and Access Runtime 2007 and all of her Office Applications disappeared from her machine. She did a System Restore to restore that install. I am going to have our IT person run FileMon and RegMon while trying to start the click-once app and see what the results are and supply them to you. Maybe that will help?
Posted by Microsoft on 3/26/2009 at 2:32 AM
Thanks for reporting the issue.
In order to fix the issue, we must first reproduce the issue in our labs. We are unable to reproduce the issue with the steps you provided.

Please make sure that you have Admin privileges. And please tell us more details about your System Restore.

It would be greatly appreciated if you could provide us with that information as quickly as possible. If we do not hear back from you within 7 days, we will close this issue.

Thanks again for your efforts and we look forward to hearing from you.
Visual Studio Product Team
Posted by Microsoft on 3/25/2009 at 6:48 PM
Thank you for your feedback, We are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)