Microsoft Visual Studio/.Net Framework Setup & Deployment Tips & Tricks
MBSA 2.2 scanning tool reoffering KB 2538243, even after a successful installation on the machine
This week we worked on a customer case, where we found that the computer was being scanned...
Author: Ritwik Sinha Date: 04/29/2013
A custom deployment of ClickOnce application starts the reinstallation process every time the user logs off and logs back again
While working on customer case, I came across an interesting issue with an application deployed...
Author: Ritwik Sinha Date: 04/29/2013
Error message “MSBuild.exe is not a valid Win32 application” is shown while trying to build using MSBuild.exe.
While working on a recent customer case, we observed the following error message, MSBuild.exe...
Author: RohitSarangi Date: 04/25/2013
Install cannot continue because some required components failed
Microsoft Visual Studio 2012 Setup may fail on Windows 7 system with the below error screenshot: As...
Author: Soumitra Mondal Date: 04/18/2013
MSBUILD : error MSB1003: Specify a project or solution file. The current working directory does not contain a project or solution file.
You may find the below error message while trying to create or build a VC++ (Win32/MFC/ATL) project...
Author: Soumitra Mondal Date: 04/04/2013
Installation of .net framework 3.5 sp1 fails with error codes 1714 and 1612
ISSUE DESCRIPTION: The installation of .NET Framework 3.5 SP1 fails with errors 1714 and 1612 on a...
Author: Ritwik Sinha Date: 03/26/2013
Visual Studio 2010 throws package load errors on launch and creation of new project fails
ISSUE DESCRIPTION: Visual Studio 2010 throws package load errors on launch and creation of new...
Author: Ritwik Sinha Date: 03/21/2013
Visual Studio 2012 IDE shows “Failed to create a 'ImageSource' from the text '..ImagesMedium.png'. while accessing file New / file Open dialog boxes.
Recently we worked on an interesting issue with a new installation of Visual Studio 2012....
Author: RohitSarangi Date: 03/18/2013
Error: Installation failed for component Microsoft .NET Framework 3.5 (x64) 'package'. MSI returned error code 1603
The Microsoft .Net Framework 3.5 SP1 Setup may fail without any error message or the setup may crash...
Author: Soumitra Mondal Date: 03/18/2013
"Unknown trust provider" Error while installing .NET Framework 4.0.
Error messages found from the installation logs: 1) Final Result: Installation failed with...
Author: RohitSarangi Date: 03/12/2013
Error HRESULT E_FAIL has been returned from a call to a COM component
There are scenarios where you might find the following errors/exceptions:...
Author: Soumitra Mondal Date: 03/11/2013
Installation of an MSI package shows "Assembly Error: The assembly is built by a runtime newer than the currently loaded runtime, and cannot be loaded." error
While working on a customer case involving a Windows installer based package, we came across an...
Author: Ritwik Sinha Date: 02/27/2013
System.TypeLoadException while executing any .Net Framework 2.0 application
You may find any .Net 2.0 application crashes with an error message "setup.exe has encountered a...
Author: Soumitra Mondal Date: 02/19/2013
MS13-004 patch for .Net 1.1 is re-offered on Windows XP systems even though patch binaries are updated successfully
Recently I found an issue with latest release of MS13-004 patch. MS13-004 patch for .Net 1.1 is...
Author: Soumitra Mondal Date: 02/15/2013
SignatureDescription could not be created for the signature algorithm supplied
While running a ClickOnce 4.5 application, you may receive the below error message: Once you click...
Author: Soumitra Mondal Date: 01/21/2013
Failed to connect to server. Error: 0x80004005
The .Net Framework 2.0 SP2/3.5 SP1 fails/crashes immediately after running the Setup on Windows 2003...
Author: Soumitra Mondal Date: 01/21/2013
Windows SmartScreen prevented an unrecognized app from running. Running this app might put your PC at risk
When you try to install a ClickOnce application on Windows 8 OS, it is intercepted by the...
Author: Soumitra Mondal Date: 01/09/2013
KB2698023: "Error 1606.Could not access network location”
You may receive an error message "Error 1606.Could not access network location” while...
Author: Soumitra Mondal Date: 11/29/2012
Error 1334. The file '_xxxxxxxxxxxxxxxxxxxxxxxxxxx' cannot be installed because the file cannot be found in cabinet file
MSI package having multi files custom merge module fails to install after applying a localized...
Author: Soumitra Mondal Date: 11/28/2012
Setup.exe is not a valid Win32 application
You would receive the below error message while running a ClickOnce bootstrapper created using...
Author: Soumitra Mondal Date: 10/16/2012
Installation of net framework updates like KB2657424 failing as ‘web.config’ file has Read Only (RO) attribute
ISSUE DESCRIPTION: Installation of .net framework updates like KB2657424 failing as...
Author: Sarat Bade Date: 10/06/2012
Installation of .NET Framework 3.5 SP1 fails due to an existing .NET 4.0 mscoree.dll
ISSUE DESCRIPTION: Failing installation of .net framework 3.5 sp1 with existing mscoreee.dll...
Author: Sarat Bade Date: 10/06/2012
Installation of VC++2005/2008 redistributables fail with 0x80070005 Assembly Error:Access is denied issue
Issue Description: Installation of VC++ 2005/2008 fail with 0x80070005 Assembly Error:Access...
Author: Sarat Bade Date: 10/06/2012
All the Project templates missing in Visual Studio 2012
Issue Description: After installing Visual Studio 2012 successfully when we launch the IDE...
Author: Sarat Bade Date: 10/06/2012
Patches getting reoffered on SCCM and Windows update even after they are successfully installed.
Issue: .NET Framework Security updates like kb2418241 and KB2656352 get reoffered on distribution...
Author: Sarat Bade Date: 10/06/2012
Unable to cast COM object of type 'System.__ComObject' to interface type
While launching Visual Studio 2012/2010 IDE, you might receive the below error message or VS IDE may...
Author: Soumitra Mondal Date: 10/05/2012
Installation of the Service Pack 1 for Visual Studio 2010 fails without any explicit (UI) error message
ISSUE DESCRIPTION: The installation of the Service Pack 1 for Visual Studio 2010 fails without any...
Author: Sarat Bade Date: 09/21/2012
"Assembly Error: The assembly is built by a runtime newer than the currently loaded runtime, and cannot be loaded."
While working on a customer case involving a Windows installer based package, we came...
Author: Sarat Bade Date: 09/21/2012
Unable to install .NET Framework 4.0.//Global Block Checks: StopBlockers evaluated to true.
PROBLEM DESCRIPTION: Unable to install .NET Framework 4.0. SYMTOMPS: Installation of .Net framework...
Author: Sarat Bade Date: 09/21/2012
Unable to add Entity data model to a Visual Studio project
Issue: Unable to add Entity data model to a Visual Studio project. While adding the Entity data...
Author: Sarat Bade Date: 09/21/2012
Error 1935.An error occurred during the installation of assembly
While Installing Microsoft Visual C++ 2008 Service Pack 1 Redistributable Package ATL Security...
Author: Soumitra Mondal Date: 09/20/2012
error code: (0x800B010B), "Generic trust failure”
Microsoft .NET Framework 4.0 Updates/Patches might fail during installation with the following error...
Author: Soumitra Mondal Date: 09/09/2012
How to work around the Program Compatibility Assistant warning in Visual Studio unattended setup
If you are creating and using an unattended INI file to deploy VS 2005/VS 2008/VS 2010, and the...
Author: Soumitra Mondal Date: 08/06/2012
Installation of .NET Framework 4.0, Visual Studio 2010. VC++ 2010 fail with certificate error messages
Problem Description ============== Installation of .NET Framework 4.0, Visual Studio 2010....
Author: Sarat Bade Date: 07/31/2012
Failed to install assembly ***** because of system error: The system cannot find the file specified.
.Net Framework 4.0 setup fails with the below error message: "Failed to install assembly...
Author: Soumitra Mondal Date: 07/12/2012
Visual Studio 2010 IDE fails to launch due to improper installation of Service Pack1
Only some of the MS VS2010 products on this computer have been upgraded to SP1. None will...
Author: Sarat Bade Date: 04/30/2012
Setup Project failing with the error message -- "XBLK LD4.dll" failed to register. HRESULT -2147024770”
Problem Description: Installation of Setup Project created in Visual Studio is failing with the...
Author: Sarat Bade Date: 04/30/2012
“No valid sequence could be found for the set of patches”
Problem Description: Installation of the patch is failing with the error message “No valid...
Author: Sarat Bade Date: 04/30/2012
Major upgrade for the setup project created in visual studio is not replacing the older files
Problem Description: Major upgrade for the setup project created in visual studio is not replacing...
Author: Sarat Bade Date: 04/30/2012
Visual Studio 2010 fails to install on a 64bit OS
Visual Studio 2010 fails with the following error: Product: Microsoft Visual Studio 2010...
Author: Sarat Bade Date: 04/30/2012
Installation of Visual C++ 2010 Redistributable fails if Visual C++ 2010 SP1 Redistributable is already present in the system
If we have Visual C++ 2010 SP1 Redistributable installed on the machine and if we try to...
Author: Sarat Bade Date: 04/30/2012
'Installation of VS2010 or VS2008 failing on the first component (eg Visual Studio 2010 64 bit prerequisites) with error 1320'
ISSUE DESCRIPTION: Installation of VS2010/VS2008 failing on the first component (eg....
Author: Sarat Bade Date: 04/30/2012
You may receive Msi API Error 80004005 when running update syntax on a msi table using WiRunSQL.vbs script.
Description: When you are referring to...
Author: Sarat Bade Date: 04/02/2012
MSI installation Fails while installing a Custom Action with “Error 1001. Exception occurred while initializing the installation”
Issue: An MSI file built on Visual Studio fails during an installation with an error message...
Author: Sarat Bade Date: 03/14/2012
MSDN Library setup for Visual Studio 2008 fails to install
Issue: When you try to install MSDN Library setup for Visual Studio 2008 it would fail with...
Author: Sarat Bade Date: 03/14/2012
Product: Microsoft .NET Framework 4 Extended -- Error 1402. Could not open key: UNKNOWNComponents. System error 5. Verify that you have sufficient access to that key, or contact your support personnel.
Issue: Installation of an update for .net framework 4.0 fails with the error 1402. Below is...
Author: Sarat Bade Date: 03/14/2012
Unable to install “Microsoft Windows SDK for Windows 7 and .NET Framework 4”
PROBLEM DESCRIPTION: Unable to install “Microsoft Windows SDK 7.1 for Windows 7 and .NET...
Author: Sarat Bade Date: 03/14/2012
Missing .Net Framework 2.0/3.0/3.5/4.0 option(s) in the dropdown list when creating a new project in Visual Studio 2010 on any Windows system
ISSUE DESCRIPTION: Missing .Net Framework 2.0/3.0/3.5/4.0 option(s) in the dropdown list when...
Author: Sarat Bade Date: 02/02/2012
.NET 4.0 failed due to missing msxml3.dll
Issue: a) Error entry in Event Viewer: EventType vssetup, P1 setup, P2 unknown, P3 10.0.30319.1, P4...
Author: Sarat Bade Date: 01/26/2012
Error : Unable to install .Net Framework updates “ Feature: Redist_Package; Installed: Advertise; Request: Reinstall; Action: Reinstall”
ISSUE: Unable to install .Net Framework updates kb 2539631 kb 2518864 kb 2418241. Cause: Checked the...
Author: Sarat Bade Date: 01/26/2012