Answered by:
dfsvc.exe has encountered a problem and needs to close

Question
-
I am getting the "dfsvc.exe has encountered a problem and needs to close" error when trying to install a clickonce app for a user that does not have admin rights. It works fine for admin users. I know other people have had this issue but I have not seen a clear cut solution. Does anyone know what is going on. Also, is there a log file that might have more information.
I checked the event viewer on the machine and I see .Net errors with the following text:
EventType : clr20r3 P1 : dfsvc.exe P2 : 2.0.50727.42 P3 : 4333af20
P4 : mscorlib P5 : 2.0.0.0 P6 : 4333ab80 P7 : 3450 P8 : 29
P9 : system.argumentnullexception
Thanks
Answers
-
I thought I would post the result if anyone else has the issue. It looks like the non-admin user did not have read/write access to the following key.
HKEY_CURRENT_USER\Software\Classes\Software\Microsoft\Windows\CurrentVersion\Deployment
Thanks for all your help!
All replies
-
-
-
I thought I would post the result if anyone else has the issue. It looks like the non-admin user did not have read/write access to the following key.
HKEY_CURRENT_USER\Software\Classes\Software\Microsoft\Windows\CurrentVersion\Deployment
Thanks for all your help! -
-
I have had to manage this problem on multiple Windows XP machines in the past several months. My Clickonce could give the error described here or another one. (Application cannot be started. Contact the application vendor.)
Basically, log in as admin and then delete the file:
C:\Documents and Settings\%userprofile%\Local Settings\Application Data\Microsoft\Windows\UsrClass.dat
for more info:
-
-
-
The problem has been corrected EVERY time in the 500 plus users I've been doing Click Once installs to by clearing out their user.dat file. This thread should be closed because the answer is already posted.
Adding admin privileges is the antithesis of 'least privilege' principle and it's counter to all that Click Once installs can provide. After all, the idea of a 'Local' install obviates the need for administrator privilege.
read the links above and learn how to fix the corrupted user rights. Assigning more rights is not the answer!
-
-
-
-
The problem has been corrected EVERY time in the 500 plus users I've been doing Click Once installs to by clearing out their user.dat file. This thread should be closed because the answer is already posted.
i have the same issue, deleting the usrclass.dat. file did not cure it, nor has wiping out the instations of the app locally, and i have admin rights
i don't know if its related but this problem only happened after the ssms2005 back compatibility pack for ss2000 and DTS designer was installed
currently reinstalling all .net frameworks and running a full virus scan
Definition of a Beginner
Someone that is unaware of the rules that need to be obeyed
Definition of an Expert
Someone that know when and which rules to ignore -
net 2.0 is refusing the repair but the repair for 3.5 worked fine and still not working virus scan negative
Definition of a Beginner
Someone that is unaware of the rules that need to be obeyed
Definition of an Expert
Someone that know when and which rules to ignore -
ok got it sorted had to fully uninstall the .net framework and reinstall the lot but its working again
Definition of a Beginner
Someone that is unaware of the rules that need to be obeyed
Definition of an Expert
Someone that know when and which rules to ignore