Soumitra Mondal's WebLog

About Visual Studio, Windows Installer and ClickOnce Deployment

MS11-049 patch is re-offered through Windows Update

Recently MS11-049 (KB2251481) patch was re-released (9th August, 2011) and it is re-offered through...

Author: Soumitra Mondal Date: 08/31/2011

Error 25015.Failed to install assembly 'C:WINDOWSMicrosoft.NETFrameworkv2.0.50727IEExecRemote.dll' because of system error: Access is denied

  While installing .Net Framework 3.5 SP1 / .Net Framework 2.0 SP2, it may fail with the...

Author: Soumitra Mondal Date: 08/28/2011

Executing op: CustomActionSchedule(Action=ExecSecureObjects,ActionType=3073,Source=BinaryData

  .Net Framework 4.0 fails on a Win 2003 system. From the MSI log, it fails while executing the...

Author: Soumitra Mondal Date: 08/28/2011

DDSet_Error: Failed to install assembly 'c:WINNTMicrosoft.NETFrameworkv2.0.50727System.Web.dll' because of system error: Access is denied

While installing a .Net Framework patch, it may fail with the following error message: DDSet_Error:...

Author: Soumitra Mondal Date: 08/28/2011

Warning 1909.Could not create Shortcut Visual Studio Command Prompt (2010).lnk

Visual Studio(2005/2008/2010) SP1 Installation never completes and in the MSI log it shows the...

Author: Soumitra Mondal Date: 05/11/2011

.NET Framework Initialization Error

While running a .Net 4.0 application, you find the below error message: ---------------------------...

Author: Soumitra Mondal Date: 05/09/2011

KB2455033 fails to install from Windows Update

You may find that the installation of security update for microsoft visual studio 2010 (KB2455033)...

Author: Soumitra Mondal Date: 04/25/2011

.NET Framework 4 Error: "Generic Trust Failure" (0x800B010B)

While installing .Net Framework 4.0, you might encounter with the below error:  Installation...

Author: Soumitra Mondal Date: 04/22/2011

MS11-028 update causes failure for MMCs and PowerShell to launch

Recently this patch MS11-028  https://support.microsoft.com/kb/2484015 (msu update) was released...

Author: Soumitra Mondal Date: 04/20/2011

"Error 25007.Error occurred while initializing fusion. Setup could not load fusion with LoadLibraryShim(). Error: 0x80131700"

We would receive the above error while removing KB976576 https://support.microsoft.com/kb/976576 The...

Author: Soumitra Mondal Date: 02/20/2011

"The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log for more detail."

An application may crash with the following error message "The application has failed to start...

Author: Soumitra Mondal Date: 12/31/2010

mmc could not create the snap-in.

After installing KB2416473, while launching MMC it may throw the following error:   Here is the...

Author: Soumitra Mondal Date: 11/29/2010

You may find slow down in system booting time after installing .NET Framework 4.0 client profile

You may find slow down in system booting time after installing .NET Framework 4 client profile on a...

Author: Soumitra Mondal Date: 10/21/2010

“Could not load type 'System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicy'”

You may receive an error "Could not load type...

Author: Soumitra Mondal Date: 09/09/2010

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

While calling a OpenFileDialog...

Author: Soumitra Mondal Date: 09/08/2010

KB983583(MS10-060) is re-offered by Windows Update

Based on the symptom and looking at the log files, I found that we might have installed a bad hotfix...

Author: Soumitra Mondal Date: 08/19/2010

"The upgrade patch can not be installed by the windows installer service because the program to be upgraded may be running or the upgrade patch may update a different version of the program"

The Patch KB 974417...

Author: Soumitra Mondal Date: 07/29/2010

Files are removed from the application folder after upgrading a Setup project from Visual Studio 2008 to Visual Studio 2010

If you migrate a Setup project from Visual Studio 2008 to Visual Studio 2010 and set the property...

Author: Soumitra Mondal Date: 07/26/2010

KB974417 is re-offered by Windows Update

You might have seen an issue with the patch KB974417 where after installing patch...

Author: Soumitra Mondal Date: 07/13/2010

"25007.Error occurred while initializing fusion. Setup could not load fusion with LoadLibraryShim(). Error: The handle is invalid."

While Installing .Net Framework 2.0, you may receive the following error "25007.Error occurred while...

Author: Soumitra Mondal Date: 07/12/2010

Help Library Agent exception: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary

HelpLibAgent.exe crashes while accessing the help feature in Visual Studio 2010 on a Windows...

Author: Soumitra Mondal Date: 06/22/2010

regcap.exe crashes while building a setup project in Visual Studio 2008

regcap.exe crashes while building a setup project in Visual Studio 2008 I launched the devenv.exe in...

Author: Soumitra Mondal Date: 05/31/2010

DDSet_Error: Internal error: 2

Visual Studio 2010 fails on a Windows XP SP3 system with the following error message: "DDSet_Error:...

Author: Soumitra Mondal Date: 05/31/2010

C# application crashes while building in Visual Studio 2010

If we open an existing C# project and try to build the application, it works fine. This issue only...

Author: Soumitra Mondal Date: 05/06/2010

"None of the products that are addressed by this software update are installed on this computer. Click Cancel to exit setup."

  While installing the patch KB974417...

Author: Soumitra Mondal Date: 04/06/2010

Visual Studio 2008 Hangs in Design View with ASP.Net web pages

While trying to open ASP.Net web pages in Design view, Visual Studio 2008 IDE Hangs To solve the...

Author: Soumitra Mondal Date: 03/29/2010

Setup.exe has encountered a problem and needs to close

While trying to run the .Net Framework 3.5/2.0 setup on a Windows 2003 x86 system, it just crashes...

Author: Soumitra Mondal Date: 12/22/2009

The installation source for this product is not available. Verify that the source exists and that you can access it.

While trying to install software updates, perform software uninstalls or repair actions on some or...

Author: Soumitra Mondal Date: 12/03/2009

“This setup is not supported on 64-bit versions of Windows XP”

.Net Framework 1.1 installation fails with an error message “Microsoft .NET Framework 1.1 -- This...

Author: Soumitra Mondal Date: 10/21/2009

"This advertised application will not be installed because it might be unsafe. Contact your administrator to change the installation user interface option of the package to basic."

In this scenario you may receive an error "This advertised application will not be installed...

Author: Soumitra Mondal Date: 10/13/2009

We might receive an error “SL****.tmp has stopped working" while installing .Net Framework 1.1 SP1 (NDP1.1sp1-KB867460-X86.exe)

In this scenario we receive an error “SL****.tmp has stopped working" and it crashes while...

Author: Soumitra Mondal Date: 09/22/2009

How to create a slipstream package for .Net Framework 1.1 and SP1

Please follow the steps indicated below: <"C:\EXE" dir has dotnetfx.exe and SP1...

Author: Soumitra Mondal Date: 09/22/2009

How to change the size of ClickOnce cache and how roll back occurs in ClickOnce

ClickOnce applications that are hosted online are restricted in the amount of space they can occupy...

Author: Soumitra Mondal Date: 09/22/2009

After successfully publishing a ClickOnce application, when you try to install the application you receive an XML page on the browser window as IE opens the Application Manifest

In this scenario we receive an XML page when we click on the “Install” button for the ClickOnce...

Author: Soumitra Mondal Date: 09/02/2009

While clicking on “Calculate Permissions” button after including “WebPermission” for a partial trust application, prompts a message box “This application requires full trust to run correctly. Would you like to set this as a full trust application?”

I created a windows application and added a .net web service reference. Under partial trust...

Author: Soumitra Mondal Date: 09/01/2009

.NET Framework 3.5 OR .Net Framework 3.0 Setup might fail while installing WCF components

The following steps could be tried to diagnose the problem: Please verify that .Net Framework 2.0 is...

Author: Soumitra Mondal Date: 09/01/2009

How to install Expression Blend and SP1 in silent mode

Please try the following commands to install Expression Blend and SP1 on your system....

Author: Soumitra Mondal Date: 08/31/2009

Advertised COM add-in won't trigger on-demand install if you want to deploy the Add-in with the following conditions (HKEY_USERS + COM Add-in + managed desktop).

The Shared Add-In uses COM Shim, is obfuscated and is signed with Authenticode signature. I...

Author: Soumitra Mondal Date: 08/31/2009

Web Setup (Windows Installer) project created in Visual Studio fails on a Windows 2003 Server

Based on the msi verbose log (https://support.microsoft.com/kb/223300) I found the following root...

Author: Soumitra Mondal Date: 08/31/2009

"Xamlviewer" folder is deleted after installing .Net Framework 3.5 SP1 on a Windows XP / Windows 2003 system.

When you install .Net Framework 3.5 SP1 on a Win XP / Win 2003 system, it deletes a folder called...

Author: Soumitra Mondal Date: 08/31/2009

How to add a .net dll within your application setup (Windows Installer Package) using Visual Studio 2005/2008

There are two methods to do it.  Method 1: Create a registry file for registration of the DLL...

Author: Soumitra Mondal Date: 08/31/2009

How to call a .net assembly in VBA using COM Interop

In this scenario we want to use the .net assembly on the target machine without having access to the...

Author: Soumitra Mondal Date: 08/31/2009

After installing Visual Studio 2008 Standard with only VC++, when you try to build any kind of C++ project you will receive the following error message: Project : error PRJ0003 : Error spawning 'cl.exe'

Resolution: You would also need to install C# along with VC++ Repro Steps ========== Install Visual...

Author: Soumitra Mondal Date: 08/28/2009

When you run Performance Wizard after doing custom VSTS install choosing VB only, a dialog box will pop up with an error message “Could not load file or assembly 'Microsoft.VisualStudio.VCProjectEngine, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f

Resolution: User needs to install manually either C# or C++ or J# feature on the system. Repro Steps...

Author: Soumitra Mondal Date: 08/28/2009

ClickOnce Application Security Settings

The difference between the following two Security Settings in ClickOnce Application: a> Selecting...

Author: Soumitra Mondal Date: 08/19/2009

When you run .NET Framework 3.5 SP1 setup or Microsoft .NET Framework 3.5 Family Update with a user account whose name begins with a '#' character, the installation will fail.

In this scenario, if you open the verbose MSI log file for the .NET Framework 3.5 SP1...

Author: Soumitra Mondal Date: 05/22/2009

<Previous