HBWGeorge

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


Re: ClickOnce and Setup & Deployment Projects dfsvc.exe has encountered a problem and needs to close

HBWGeorge

I noticed another thing. When logged in as the non-admin user, I can't see the following path:

HKEY_CURRENT_USER\Software\Classes\Software\Microsoft\Windows\CurrentVersion\Deployment.

Should the normal user see that Path




Re: ClickOnce and Setup & Deployment Projects dfsvc.exe has encountered a problem and needs to close

HBWGeorge

I get the following error when attaching a debugger to dfsvc:

An unhandled exception of type 'System.ArgumentNullException' occurred in mscorlib.dll

Additional information: Path cannot be null.






Re: ClickOnce and Setup & Deployment Projects dfsvc.exe has encountered a problem and needs to close

HBWGeorge

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!




Re: ClickOnce and Setup & Deployment Projects dfsvc.exe has encountered a problem and needs to close

JoshRoss

Hello Microsoft Are you home It's 2008. Please fix this error!