LightSwitch Extensibility Toolkit for Visual Studio 2012 Failing With a Generic Error message

Issue Description: Installation of LightSwitch Extensibility Toolkit for Visual Studio 2012 Failing With a Generic Error message dialog box Environment: Windows 7 SP1 (x86 and x64) Windows 8 (x86 and x64) Windows Server 2008 R2 (x64) Windows Server 2012 (x64) Symptom and inference: Download LightSwitch Extensibility Toolkit for Visual Studio 2012 from http://visualstudiogallery.msdn.microsoft.com/2381b03b-5c71-4847-a58e-5cfa48d418dc and launch…

0

Error 1939. The service ‘My_Service’ could not be configured

Problem: MSI 5.0 package fails with an ERROR 1939 during “MsiConfigureServices” standard action execution. I tried to use “MsiConfigureServices” standard action in the msi package to configure a custom service. The MSI package fails to execute on Win 7 + OSs. The exact same issue can be found at this forum discussion As per the…

1

ClickOnce on Roaming Profile

    Let’s first talk about Roaming Profile: Roaming Profile allows users with computers on a Windows Server domain to log on to any computer on the same network and access its documents. While on Roaming Profile, the user profile information is stored on a centralized file server accessible from any network-joined desktop computer instead…

0

A device attached to the system is not functioning

ClickOnce application may fail with the following error message: A device attached to the system is not functioning. (Exception from HRESULT: 0x8007001F) As per the ClickOnce log:                                  + Exception reading manifest from file:///C:/TEMP/Application%20Files/app_1_0_0_1/app.exe.manifest: the manifest may not be valid or the file could not be opened.                                 + Parsing and DOM creation of the…

0

“Current thread must be set to single thread apartment (STA) mode before OLE calls can be made”

While calling a OpenFileDialog (http://msdn.microsoft.com/en-us/library/system.windows.forms.openfiledialog.aspx) via Installer class as a Custom Action in the Visual Studio Setup project, it just hangs there. When we attach a debugger we receive an error: “Current thread must be set to single thread apartment (STA) mode before OLE calls can be made. Ensure that your Main function has STAThreadAttribute…

1

An error occurred while signing: SignTool.exe not found

While publishing a ClickOnce application using Visual Studio 2010, it may fail with the following error message: Error 1 Cannot publish because a project failed to build.    Error 2 An error occurred while signing: SignTool.exe not found. Build output: Building WindowsFormsApplication… Error: Cannot publish because a project failed to build. The signtool.exe is located at…

7

Removal of a component from a feature is not supported

You might observe that files are not being upgraded after applying a small update or a minor upgrade patch. The upgrade log may not show the exact cause of the issue. After investigation, I found some component rule violation in the upgrade package. To catch the violation to the upgrade component rules you can pass…

0

Reference in the manifest does not match the identity of the downloaded assembly

You may find the below error message while launching a ClickOnce application: “Reference in the manifest does not match the identity of the downloaded assembly MyApp.exe.” Log snippet: ERROR SUMMARY Below is a summary of the errors, details of these errors are listed later in the log. * Activation of \\MyServer\MyApp.application resulted in exception. Following…

1

An error occurred while signing: Key not valid for use in specified state

When a user tries to publish a ClickOnce application after changing the user account password, it would fail with one of below error messages: “Cannot publish because a project failed to build.” “An error occurred while signing: Key not valid for use in specified state.” “Error msb3482 an error occurred while signing key not valid…

0

How to publish an application through ClickOnce Deployment if Front Page extension is not present on the server.

  FrontPage Server Extensions is a software technology that allows Microsoft clients to communicate with web servers, and provide additional functionality intended for websites. If the Front Page extension is not installed on your server you will get this error- As has been explained in this MSDN article , FrontPage Server Extensions from Microsoft is…

3