Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > dfsvc crash
 

dfsvc crash

Hi,

I develop a .NET 2.0 application which is deployed on our intranet via ClickOnce. One of my user is experiencing problems with both install and uninstall on his laptop computer running Windows XP.

We see two errors with the Event Viewer every time we try to install or uninstall:

.NET Runtime version 2.0.50727.3082 - Fatal Execution Engine Error (7A0979C6) (80131506)

and

Faulting application dfsvc.exe, version 2.0.50727.3053, stamp 4889df14, faulting module mscorwks.dll, version 2.0.50727.3082, stamp 492b82c1, debug? 0, fault address 0x000b86f4.

I verified the version of his mscorlib.dll file in the .NET 2.0 directory and it's the same as mine (2.0.50727.3082)
I tried both the "online" and "offline" version of the deployment with him but with the same result

I'm trying to solve his issue but have failed so far. Any idea how to trouble shoot anyone ?

  • Moved byYiChun ChenMSFTFriday, July 10, 2009 9:40 AMClickOnce issue (From:.NET Framework Setup)
  •  
Franck Michaux  Wednesday, July 08, 2009 8:18 PM
Hi Franck Michaux,

I am moving this thread from Base ".NET Framework Setup" forum to the "ClickOnce and Setup & Deployment Projects" forum, since the issue is related to deployment. There are more deployment experts in the "ClickOnce and Setup & Deployment Projects" forum.

Thanks
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
YiChun Chen  Friday, July 10, 2009 9:40 AM
Sorry for the confusion
Franck Michaux  Friday, July 10, 2009 3:48 PM
Hi Franck Michaux,

Could you please try to install it via CD. That mean let the problem laptop install ClickOnce app from local disk. You can copy the deployed file to its hard disk. Then double click the setup.exe to install. Does it have problem?

Sincerely,
Kira Qian
Please mark the replies as answers if they help and unmark if they don't.
Kira Qian  Monday, July 13, 2009 2:25 AM
I haven't tried the install via CD.

Fortunately I was able to figure out something weird : my applicationtargets .NET Framework 2.0 (project properties), but on another machine where it was never deployed I noticed that the ClickOnce deployment is trying to install .NET 3.5 for some weird reason. I had a look at the deployement manifest but nothing says what .NET version is required, only the components I developed used by my application. How can I be surewhat version of the Frameworkmy ClickOnce deployment is expecting as a requirement (since there is an incoherency with my project properties)?

Franck Michaux  Monday, July 13, 2009 6:12 PM
Hi Franck Michaux,

First, on the "Publish" page of your project, click the "Prerequisites..." button to see if .NET Framework 3.5 has been set as prerequisite.

Second, on the "Application" page, change your project's target framework to .NET Framework 2.0. That will enable your .NET Framework installed pc to run the app without install higher version of .NET.

Sincerely,
Kira Qian
Please mark the replies as answers if they help and unmark if they don't.
Kira Qian  Tuesday, July 14, 2009 2:06 AM
Hi,

So we managed to find another computer that had the same issue but with one difference : Framework 3.5 was installed on it. By curioisity we checked Windows Update and accepted SP1 for Framework 3.5 to be installed. It fixed the issue after restart.

So evenif our application targets Framework 2.0 I'm going to recommend my user to install 3.5 just for the sake of fixing this ClickOnce anomaly and cross my fingers that we found our solution. It's quite a paradox to me that we need to do this.

Anyway, thanks for your help, I'll confirm very soon if it's the final chapter of this adventure!

Franck Michaux  Tuesday, July 14, 2009 7:24 PM

You don't have any 3rd party components that could be targeting .Net 3.5, do you? This is weird. I've heard of it before, but I can't remember what the problem was.

RobinDotNet


Click here to visit my ClickOnce blog!
RobinDotNet  Wednesday, July 29, 2009 10:01 AM

You can use google to search for other answers

Custom Search

More Threads

• MSI Package Question
• Setup Project, Deployment information, resources
• ClickOnce Prerequisite Problem
• Click Once Application - Deploy Icon and Desktop Shortcut?
• Clickonce and resource files
• C# applet displays broken image
• Publishing options
• webengine.dll not found - Message during Start with ClickOnce bootstrapper
• Where is Web Bootstrapper project compile option?
• Huge bug ?