Friday, 23 June 2017

Ref - Out and ParamsArray Examples in Csharp

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RefOutParamsArrayConsoleApp17
{
    class Program
    {
        static void Main(string[] args)
        {
            int start = 0;          
            Console.WriteLine("Pass by Val method below");
            Program.PassByValueMethod(start);
            Console.WriteLine(start);
            Console.WriteLine("Pass by Ref method below");
            Program.PassByRefMethod(ref start);
            Console.WriteLine(start);

            int totAdd = 10;
            int totProd = 30;
            Console.WriteLine("Pass by  Out MultiResultReturn method below");
            Program.MultiResultReturn(totAdd, totProd, out totAdd, out totProd);
            Console.WriteLine("total sum is {0} && total product is {1}",totAdd ,totProd);

            Console.WriteLine("Pass by Array(as parameter) method below");
            int[] Numberss = new int[3];
            Numberss[0] = 101;
            Numberss[1] = 102;
            Numberss[2] = 103;
            PassByArrayMethod(1, 2, 3);
            Console.WriteLine();
            Program.PassByArrayMethod(Numberss);
            Console.ReadKey();
        }
        public static void PassByValueMethod(int j)
        {
            j = 100;
        }

        public static void PassByRefMethod(ref int k)
        {
            k = 200;
        }

        public static void MultiResultReturn(int FN, int SN, out int sum, out int product)
        {
            sum = FN + SN;
            product = FN * SN;
        }

        public static void PassByArrayMethod(params int[] Numbers)
        {
            foreach (int i in Numbers)
            {
                Console.WriteLine(i);
            }
        }
    }
}
Output :




Monday, 27 March 2017

Multiple Models in a View in ASP.NET MVC 4 / MVC 5 - sample code download

https://www.codeproject.com/Articles/687061/Multiple-Models-in-a-View-in-ASP-NET-MVC-MVC

Output of all demos will be similar to the screenshot shown below:
HTML Layout of Views

MVC4 sample application creation

https://www.codeproject.com/Articles/486161/Creating-a-simple-application-using-MVC

Introduction 

In this article, we will understand what is MVC and create a simple application using Model, View and Controller.     
Model View Controller: MVC is a software architecture, which separates the logic from the user interface. This is achieved by separating the application into three parts Model, View and Controller. MVC is separation of concern. MVC is also a design pattern.
Model: Represents the logical behavior of data in the application. It represents applications business logic. Model notifies view and controller whenever there is change in state.
View: Provides the user interface of the application. A view is the one which transforms the state of the model into readable HTML. 
Controller: Accepts inputs from the user and instructs the view and model to perform the action accordingly.

Advantages of MVC:

  1. Full control over HTML rendered. No renaming of HTML IDs
  2. Provides clean separation of concerns (SoC).
  3. No ViewState (Stateless). 
  4. Enables Test Driven Development (TDD). 
  5. Easy integration with JavaScript frameworks.
  6. RESTful URLs that enables SEO. Representational state transfer URLs example User/Comment/1, which is user friendly, no URL rewriting required. 
  7. Integration on the client side becomes easy like using JavaScript, JQuery, Ajax, JSON…. 
  8. Supports multiple view engines (aspx, Razor)

Creating a simple application: 

Step-1: From file select project and select MVC 4.0 application
Step-2:Select the template and view engine (Razor, ASPX, NHaml, Spark). If want to include test project check the option “Create unit test project”
A solution with following structure is added.
Build and run the application, you can see the home page of the application. By default we have Home, About and Contact section added. 
Let’s add our own Controller, Model and View for showing User’s details. Right click on Model and add a class with the name UserModels.cs with the following structure: 
Now let’s apply validations on the fields:
  • Required: To make the field value mandatory. 
  • StringLength: To set the maximum length of the field.
  • Range: To set the minimum and maximum value.
  • DataType: To set the type supported by the field. 
Let’s add some default data to our view. For that we will create a class called user and initialize with some default value. 
Now let’s add methods for Adding, Updating and getting list of all users. 
Now let’s add view for our model for that we will select strongly-typed view and select our model class. You can see list of scaffold templates available. Since we are creating this view to add a new user we will select Create option. 
The moment we click on Add, below is the cshtml created for the view
We can see the view is having all the fields set in the model along with the validations applied on it.
Now let’s add a controller for our view. Right click on controller folder name our controller as User, select Empty MVC controller and Add.
By default our controller contains an Index method. Right click on the index method and add view for this. Index method can be used to show the list of user’s available. So we can select scaffold template type as list.
Once the view is added for Index and UserAdd, we have to define its get and post method in the controller. By default its always get, if we want a post method we have to define [httppost] before the method declaration.
HttpGet: will render the form and HttpPost will post the form data. For example we need to add a new user. First we need the form to add a user, that is get and when we will the form with values we need to post those values, so that it can be saved for further access.
Look at our controller structure, it contains two get methods, one to get the list of users (Index) and other to get the UserAdd form and with the same name it contains its post method. 
ActionResult: An action result represents a command that the framework will perform on behalf of the action method. The ActionResult class is the base class for action results. Common return Type:    
ContentResult: Can be used to return plain text or user defined content type.
public ContentResult Test() 
{
    return Content("This is my test data");
}
JsonResult: Used to return JSON, mainly used for Ajax request.
public JsonResult Test() 
{ 
    return Json ("This is my test json data");
}
PartialViewResult: The PartialViewResult class is inherited from the abstract "ViewResultBase" class and is used to render a partial view. 
public PartialViewResult Test() 
{ 
    return PartialView("Result");
}
ViewResult: It renders a specified view. 
public ViewResult Test() 
{ 
   return View("Result"); 
}
FileResult: It is used when we want to return the binary content/file as an output.
RedirectToRouteResult:  It is uesd when we want to redirect to another action method.
JavaScriptResult: If we want our action method to return a script that can be executed on the client side we can use this type.

Three new types which are supported from MVC 3

  1. HttpNotFound: This returns 404 error on client side. It can be useful in situations where the resource is not available and we want to display 404. 
  2. RedirectResult It can be a temporary or permanent return code 302 depending upon the boolean flag. Can be used to redirect to the given URL
  3. HttpStatusCodeReturn: It can be used when user want's the choice of error code to be returned from the action method. It can be any code.

Routing with MVC

MVC gives great flexibility for adding user friendly URL’s.  Routings are defined under the class RouteConfig. By default one route is already defined. 
MVC routing pattern include {controller} and {action} placeholder. For more details on routing please refer this link http://msdn.microsoft.com/en-us/library/cc668201.aspx 
This is how our index page will appear with the URL:
And the UserAdd method, here controller is User and Action is UserAdd

ViewBag, ViewData and TempData:

ViewData: 
1. ViewData is a dictionary object that is derived from ViewDataDictionary class.
2. ViewData is used to pass data from controller to corresponding view.
3. It’s life lies only during the current request.
4. If redirection occurs then it’s value becomes null.
5. It’s required typecasting for complex data type and check for null values to avoid error.
ViewBag: 
1. ViewBag is a dynamic property that takes advantage of the new dynamic features in C# 4.0.
2. Basically it is a wrapper around the ViewData and also used to pass data from controller to corresponding view.
3. It’s life also lies only during the current request.
4. If redirection occurs then it’s value becomes null.
5. It doesn’t required typecasting for complex data type.
TempData:
1. TempData is a dictionary object that is derived from TempDataDictionary class and stored in short lives session.
2. TempData is used to pass data from current request to subsequent request means incase of redirection.
3. It’s life is very short and lies only till the target view is fully loaded.
4. It’s required typecasting for complex data type and check for null values to avoid error.
5. It is used to store only one time messages like error messages, validation messages.

Points of Interest

More keen in learning MVC 4.0 new features. Lets learn to build a simple application then we can move ahead with advanced features.

Wednesday, 8 March 2017


An Introduction to Entity Framework for Absolute Beginners:

https://www.codeproject.com/articles/363040/an-introduction-to-entity-framework-for-absolute-b

Introduction

This article introduces Entity Framework to absolute beginners. The article is meant for developers who are primarily using ADO.NET to write their data access layers. Many experienced developers will find this article very basic but since the article is written from the perspective of beginners, I've tried to keep things simple.

Background

ADO.NET is a very strong framework for data access. ADO.NET has been around since many years and there are a lot of systems running over ADO.NET. Developers who are totally oblivious to the concept of ORMs will probably be asking "What is Entity Framework? What are the benefits of using it and is it an alternative to ADO.NET?"
Well, to answer the first question about what is Entity Framework, Entity Framework is an Object Relational Mapper (ORM). It basically generates business objects and entities according to the database tables and provides the mechanism for:
  1. Performing basic CRUD (Create, Read, Update, Delete) operations.
  2. Easily managing "1 to 1", "1 to many", and "many to many" relationships.
  3. Ability to have inheritance relationships between entities.
and to answer the second question, the benefits are:
  1. We can have all data access logic written in higher level languages.
  2. The conceptual model can be represented in a better way by using relationships among entities.
  3. The underlying data store can be replaced without much overhead since all data access logic is present at a higher level.
and finally, the last question that whether it is an alternative to ADO.NET, the answer would be "yes and no". Yes because the developer will not be writing ADO.NET methods and classes for performing data operations and no because this model is actually written on top of ADO.NET, meaning under this framework, we are still using ADO.NET. So let us look at the architecture of Entity Framework (diagram taken from MSDN):
Entity framework article image

Using the code

Let's try to understand the ease of use that Entity Framework provides by performing simple CRUD operations. Once we look at the code and how effortlessly and efficiently we can do these operations, the benefits of Entity Framework will become quite obvious.

Creating the database

Let's have a simple database with one table. Let's create a simple table for Contacts and we will perform CRUD operations on this table.
Entity framework article image

Adding the Entity Model to the Website

Once we have the database ready, we can add the entity model to our website. We can do this by adding an ADO.NET Entity Data Model to the website.
Entity framework article image
Once we select to add this data model to our website, we will have to select the approach we want to take for our Model's contents.
Entity framework article image
What this selection means is that we can either choose to generate the entity model from an existing database schema or we can design the entity model here and then later hook it up to the database. Since we already have the database ready, we will use the first option. Once the Model is generated, the Entity for each table is generated. The generated entity for our contact table is:
Entity framework article image
Also, the classes for performing database operations are also created. We just need to know how to use these classes to perform database operations.
Entity framework article image

Insert operation

Let us create a simple page to perform an insert operation.
Entity framework article image
Now once the user chooses to insert the values into the database, the actual data operation can be performed by using the AddObject method of the Model class entity collection. The following code snippet show how to perform the insert.
Contact con = new Contact();
con.fname = TextBox1.Text;
con.lname = TextBox2.Text;
con.phone = TextBox3.Text;

ContactsDb db = new ContactsDb();
db.Contacts.AddObject(con);
db.SaveChanges();
This will insert the record into the table. You can notice the simplicity and efficiency of the code we wrote to perform the insertion.

Reading all the records

There are scenarios when we want to read all records. Let's say we are making a page that will display all the contact information in a single page.
Entity framework article image
We can retrieve the collection of Entities using the Model object to achieve this. The code snippet below will show how that can be done.
ContactsDb db = new ContactsDb();
Repeater1.DataSource = db.Contacts;
Repeater1.DataBind();

Selecting a specific record

If we want to select a specific record from the table, we can use the SingleOrDefault method on the Model's entities collection. Let's say we want the functionality of updating/deleting a record on a single page then we will first have to select the record based on the ID, then update/delete the selected record.
Entity framework article image
Selection of any particular record (Contact) based on ID can be done as:
int idToupdate = Convert.ToInt32(Request.QueryString["id"].ToString());
ContactsDb db = new ContactsDb();
Contact con = db.Contacts.SingleOrDefault(p => p.id == idToupdate);
Once this code is executed, the Contact object will contain the required values.

Updating the record

If we want to update a record, then a simple update operation can be performed as:
int idToupdate = Convert.ToInt32(Request.QueryString["id"].ToString());
ContactsDb db = new ContactsDb();
Contact con = db.Contacts.SingleOrDefault(p =>  p.id == idToupdate);

con.phone = TextBox1.Text;
db.SaveChanges();
Once this code executes, the value of phone number will be updated by a new value which is retrieved from TextBox1.

Deleting a record

If we want to delete a particular record then we can perform a delete operation by using the DeleteObjectfunction. The following code snippet demonstrates the same:
//delete this contact
int idToupdate = Convert.ToInt32(Request.QueryString["id"].ToString());
ContactsDb db = new ContactsDb();
Contact con = db.Contacts.SingleOrDefault(p => p.id == idToupdate);

db.Contacts.DeleteObject(con);
db.SaveChanges();
Now that we have the basic CRUD operations performed on the database using the Entity Framework.

A note on Relationships and Lazy Loading

To understand the Entity Framework we need to understand some things like naming conventions, relationships between tables, and relationships between entities. Also, the concept of lazy loading once fully understood will give the power to the developer to use the Entity Framework efficiently.
Note: Since this is an introductory article on Entity Framework we have not discussed these things. Perhaps we will discuss them in a separate article.

Points of interest

Entity Framework has been in use for some time now. But there are many developers who are still getting started with Entity Framework. This article was meant as an overview of the Entity Framework. This should not be treated as a complete tutorial. Also, the code written is very simple and there is a lot of scope for optimization but since the idea here is to understand Entity Framework, I tried to keep the code simple and readable rather and optimal.
Note: To run the solution, please change the database path of ConnectionString in the web.config file.

how to check the version of oracle database in sql developer :

https://docs.oracle.com/cd/E17781_01/server.112/e18804/dbconfig.htm#ADMQS253

You can use SQL Developer to view the database version information and national language support (globalization) settings.
This section contains the following topics:

Viewing Database Version Information

To view database version information:
  1. In SQL Developer, click the Reports tab on the left, near the Connections navigator. (If this tab is not visible, click View, then Reports.)
  2. In the Reports navigator, expand Data Dictionary Reports.
  3. Under Data Dictionary Reports, expand About Your Database.
  4. Under About Your Database, click Version Banner.
    The Version Banner report is displayed, as shown in Figure 9-1.

    Viewing Database Globalization Information

    To view database globalization (national language support, or NLS) parameter information:
    1. In SQL Developer, click the Reports tab on the left, near the Connections navigator. (If this tab is not visible, click View, then Reports.)
    2. In the Reports navigator, expand Data Dictionary Reports.
    3. Under Data Dictionary Reports, expand About Your Database.
    4. Under About Your Database, click National Language Support Parameters.
      The National Language Support Parameters report is displayed, as shown in Figure 9-1.
      Figure 9-2 National Language Support Parameters Report

https://community.oracle.com/thread/2250946

http://stackoverflow.com/questions/101184/how-can-i-confirm-a-database-is-oracle-what-version-it-is-using-sql

You can try:
SELECT * FROM V$VERSION
select * from v$version;
Result:
Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Prod
PL/SQL Release 10.2.0.2.0 - Production
"CORE 10.2.0.2.0 Production"
TNS for Linux: Version 10.2.0.2.0 - Production
NLSRTL Version 10.2.0.2.0 - Production
or

Getting the current Oracle version (via a SQL Select query):

select *
from v$version;

select *
from product_component_version;
Result:
Product                                 Version         Status
NLSRTL                                  10.2.0.2.0 Production
Oracle Database 10g Enterprise Edition  10.2.0.2.0 Prod
PL/SQL                                  10.2.0.2.0 Production
TNS for Linux:                          10.2.0.2.0 Production
or
BEGIN DBMS_OUTPUT.PUT_LINE(DBMS_DB_VERSION.VERSION || '.' || DBMS_DB_VERSION.RELEASE); END;
======
select from v$version;*

This will give you detailed version number of the database components. You can also use 

select from PRODUCT_COMPONENT_VERSION;*

to get various components of the DB with their version.

Thursday, 2 March 2017

Visual Studio 2015 Community Edition Installation Stuck In Windows 10

Issue:
here i tried to install visual studio 2015 in windows 10 64 bit OS. i got set up failed and the error message is like "the product version that you are trying to setup is earlier than the version while installing vs2015 community getting setup blocked "

Error LogFile :

[26EC:0DDC][2017-03-03T05:43:03]i001: Burn v3.7.4906.0, Windows v10.0 (Build 14393: Service Pack 0), path: C:\Users\Sampath\AppData\Local\Temp\20170303_054258_{4312D170-FE25-36BF-B5E6-0A87C44B7EF0}\vs_community.exe, cmdline: '/OriginalSource "C:\Users\Sampath\Downloads\vs2015.com_enu\vs_community.exe" /UpdateLaunch /ProductKey "WXN74VRMXHJ8X3HM8F7WCPQB8" /SessionGuid "e7a2a3b2-1f4f-4825-af7f-f37bdb9ea2b3" -burn.unelevated BurnPipe.{075D14BE-843A-49E2-B819-F9A3EE2A0A06} {167F9CCC-C228-4EED-AD3F-113D431689F6} 1180'
[26EC:0DDC][2017-03-03T05:43:03]i000: Initializing string variable 'SKUFriendlyName' to value 'VS Community'
[26EC:0DDC][2017-03-03T05:43:03]i000: Initializing numeric variable 'SKUFriendlyID' to value '1800'
[26EC:0DDC][2017-03-03T05:43:03]i000: Initializing string variable 'EditionDisplayName' to value 'Community 2015'
[26EC:0DDC][2017-03-03T05:43:03]i000: Initializing string variable 'SKUFullName' to value 'vs_community'
[26EC:0DDC][2017-03-03T05:43:03]i000: Initializing string variable 'SkuSpecificHKLMHive' to value 'Software\Microsoft\VisualStudio\14.0'
[26EC:0DDC][2017-03-03T05:43:03]i000: Initializing string variable 'Win10GAMinDate' to value '06/17/2015 07:00:00'
[26EC:0DDC][2017-03-03T05:43:03]i000: Initializing string variable 'Win10GAMaxDate' to value '07/29/2015 15:00:00'
[26EC:0DDC][2017-03-03T05:43:03]i000: Initializing numeric variable 'IsDateWithinRange' to value '0'
[26EC:0DDC][2017-03-03T05:43:03]i000: Initializing numeric variable 'RebootRequested' to value '0'
[26EC:0DDC][2017-03-03T05:43:03]i000: Initializing numeric variable 'ExecuteSecondaryInstaller' to value '0'
[26EC:0DDC][2017-03-03T05:43:03]i000: Initializing string variable 'BundleProgressKey' to value 'Software\Microsoft\VisualStudio\14.0\Setup\vs\community'
[26EC:0DDC][2017-03-03T05:43:03]i000: Initializing string variable 'SetupFeedKey' to value 'Software\Microsoft\VisualStudio\14.0\Setup\vs\community'
[26EC:0DDC][2017-03-03T05:43:03]i000: Initializing numeric variable 'LicenseFwlinkId' to value '614946'
[26EC:0DDC][2017-03-03T05:43:03]i000: Initializing numeric variable 'MoreLanguageFwlinkId' to value '558795'
[26EC:0DDC][2017-03-03T05:43:03]i000: Initializing numeric variable 'VSEIPAndPrivacyFwlinkId' to value '558769'
[26EC:0DDC][2017-03-03T05:43:03]i000: Initializing numeric variable 'MinOsLevelFwlinkId' to value '558783'
[26EC:0DDC][2017-03-03T05:43:03]i000: Initializing numeric variable 'SolutionFwlinkId' to value '558770'
[26EC:0DDC][2017-03-03T05:43:03]i000: Initializing numeric variable 'HelpFwlinkId' to value '558771'
[26EC:0DDC][2017-03-03T05:43:03]i000: Initializing numeric variable 'IE10FwlinkId' to value '558773'
[26EC:0DDC][2017-03-03T05:43:03]i000: Initializing numeric variable 'Win81BlockFwlinkId' to value '558774'
[26EC:0DDC][2017-03-03T05:43:03]i000: Initializing numeric variable 'SHA256BlockFwlinkId' to value '558781'
[26EC:0DDC][2017-03-03T05:43:03]i000: Initializing numeric variable 'Win81PreRelBlockFwlinkId' to value '558775'
[26EC:0DDC][2017-03-03T05:43:03]i000: Initializing numeric variable 'UninstallMddInfoFwlinkId' to value '558777'
[26EC:0DDC][2017-03-03T05:43:03]i000: Initializing numeric variable 'ThirdPartyHelpFwlinkId' to value '558778'
[26EC:0DDC][2017-03-03T05:43:03]i000: Initializing numeric variable 'UpdateXmlFwlinkId' to value '558780'
[26EC:0DDC][2017-03-03T05:43:03]i000: Initializing string variable 'NetfxProductVersion' to value '4.5.23026'
[26EC:0DDC][2017-03-03T05:43:03]i000: Initializing string variable 'ProfessionalVSVersion' to value '11.0.50727'
[26EC:0DDC][2017-03-03T05:43:03]i000: Initializing string variable 'BaselineBundleVersion' to value '14.0.23107'
[26EC:0DDC][2017-03-03T05:43:03]i000: Initializing string variable 'ProductKey' to value 'WXN74VRMXHJ8X3HM8F7WCPQB8'
[26EC:0DDC][2017-03-03T05:43:03]i000: Initializing string variable 'ProductSKU' to value ''
[26EC:0DDC][2017-03-03T05:43:03]i000: Initializing string variable 'MbaNetfxPackageId' to value 'netfxfullredist_43;netfxfullweb'
[26EC:0DDC][2017-03-03T05:43:03]i000: Initializing string variable 'Dev12_VC_Path' to value '[ProgramFilesFolder]Microsoft Visual Studio 12.0\'
[26EC:0DDC][2017-03-03T05:43:03]i000: Initializing string variable 'Win81Dev_Dev12Path' to value '[ProgramFilesFolder]Microsoft Visual Studio 12.0\'
[26EC:0DDC][2017-03-03T05:43:03]i000: Initializing string variable 'Dev11_VC_Path' to value '[ProgramFilesFolder]Microsoft Visual Studio 11.0\'
[26EC:0DDC][2017-03-03T05:43:03]i000: Initializing string variable 'WinSDK_Common_KitsRootPath' to value '[ProgramFilesFolder]Windows Kits\8.0\'
[26EC:0DDC][2017-03-03T05:43:03]i000: Initializing string variable 'Win10_UniversalCRTSDK_KitsRootKeyPath' to value '[ProgramFilesFolder]Windows Kits\10\'
[26EC:0DDC][2017-03-03T05:43:03]i000: Initializing string variable 'WinBlue_Desktop_KitsRootPath' to value '[ProgramFilesFolder]Windows Kits\8.1\'
[26EC:0DDC][2017-03-03T05:43:03]i000: Initializing string variable 'WinBlue_Common_KitsRootPath' to value '[ProgramFilesFolder]Windows Kits\8.1\'
[26EC:0DDC][2017-03-03T05:43:03]i000: Initializing string variable 'WinBlue_Intellisense_KitsRootPath' to value '[ProgramFilesFolder]Windows Kits\8.1\'
[26EC:0DDC][2017-03-03T05:43:03]i000: Initializing string variable 'WinSDK_Desktop_KitsRootPath' to value '[ProgramFilesFolder]Windows Kits\8.0\'
[26EC:0DDC][2017-03-03T05:43:03]i000: Initializing string variable 'Win8Dev_Dev11Path' to value '[ProgramFilesFolder]Microsoft Visual Studio 11.0\'
[26EC:0DDC][2017-03-03T05:43:03]i000: Initializing string variable 'Dev11_UT_Path' to value '[ProgramFilesFolder]Microsoft Visual Studio 11.0\'
[26EC:0DDC][2017-03-03T05:43:03]i000: Initializing string variable 'Include_WindowsPhoneAppxEmulator' to value 'true'
[26EC:0DDC][2017-03-03T05:43:03]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\Users\Sampath\Downloads\vs2015.com_enu\vs_community.exe'
[26EC:0DDC][2017-03-03T05:43:03]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\Sampath\AppData\Local\Temp\dd_vs_community_20170303054303.log'
[26EC:0DDC][2017-03-03T05:43:03]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'C:\Users\Sampath\AppData\Local\Temp\20170303_054258_{4312D170-FE25-36BF-B5E6-0A87C44B7EF0}\'
[26EC:0DDC][2017-03-03T05:43:03]i052: Condition '(VersionNT >= v6.1)' evaluates to true.
[26EC:0DDC][2017-03-03T05:43:03]i000: Setting string variable 'WixBundleName' to value 'Microsoft Visual Studio Community 2015'
[26EC:0DDC][2017-03-03T05:43:03]i000: Loading managed bootstrapper application.
[26EC:0DDC][2017-03-03T05:43:03]i000: Creating BA thread to run asynchronously.
[26EC:19A4][2017-03-03T05:43:03]i000: Ux Started
[26EC:19A4][2017-03-03T05:43:03]i000: MUX:  Loading LocalizableStrings.xml string from LocalizableStrings.xml
[26EC:19A4][2017-03-03T05:43:03]i000: MUX:  Reset Result
[26EC:19A4][2017-03-03T05:43:03]i000: MUX:  Current action: Install
[26EC:19A4][2017-03-03T05:43:03]i000: Setting string variable 'CurrentOperation' to value 'Install'
[26EC:19A4][2017-03-03T05:43:03]i000: Setting string variable 'ProductKey' to value 'WXN74VRMXHJ8X3HM8F7WCPQB8'
[26EC:19A4][2017-03-03T05:43:03]i000: Setting string variable 'IsLanguagePack' to value ''
[26EC:19A4][2017-03-03T05:43:03]i000: MUX:  Current action: Install
[26EC:19A4][2017-03-03T05:43:03]i000: Setting string variable 'CurrentOperation' to value 'Install'
[26EC:19A4][2017-03-03T05:43:03]i000: MUX:  New last unconfirmed source: Web
[26EC:19A4][2017-03-03T05:43:03]i000: MUX:  Source confirmed
[26EC:19A4][2017-03-03T05:43:03]i000: Setting string variable 'CurrentRepairPackage' to value ''
[26EC:19A4][2017-03-03T05:43:04]i000: Setting numeric variable 'UpdateInModify' to value 0
[26EC:19A4][2017-03-03T05:43:05]i000: Setting numeric variable 'HypervisorSupported' to value 0
[26EC:19A4][2017-03-03T05:43:05]i000: Setting numeric variable 'HypervisorEnabled' to value 0
[26EC:19A4][2017-03-03T05:43:05]i000: MUX:  Resume = None
[26EC:19A4][2017-03-03T05:43:05]i000: MUX:  Restart = Prompt
[26EC:19A4][2017-03-03T05:43:05]i000: MUX:  Relation = None
[26EC:19A4][2017-03-03T05:43:05]i000: MUX:  Action = Install
[26EC:19A4][2017-03-03T05:43:05]i000: MUX:  Display = Full
[26EC:19A4][2017-03-03T05:43:05]i000: Setting string variable 'CustomInstallPath' to value 'C:\Program Files (x86)'
[26EC:19A4][2017-03-03T05:43:05]i000: Setting string variable 'CustomInstallPath' to value 'C:\Program Files (x86)\Microsoft Visual Studio 14.0'
[26EC:19A4][2017-03-03T05:43:05]i000: Setting string variable 'ExecuteSecondaryInstaller' to value '0'
[26EC:19A4][2017-03-03T05:43:05]i000: Setting string variable 'SecondaryInstallerParameters' to value ''
[26EC:19A4][2017-03-03T05:43:05]i000: Setting string variable 'SecondaryInstallerDynamicItems' to value ''
[26EC:19A4][2017-03-03T05:43:05]i000: Setting numeric variable 'ConnectPipeToSecondaryInstaller' to value 0
[26EC:19A4][2017-03-03T05:43:05]i000: Setting string variable 'SecondaryInstallerPipeName' to value ''
[26EC:19A4][2017-03-03T05:43:05]i000: Setting string variable 'SecondaryInstallerPipeSecret' to value ''
[26EC:19A4][2017-03-03T05:43:05]i000: Setting string variable 'RelationType' to value 'None'
[26EC:19A4][2017-03-03T05:43:05]i000: Setting string variable 'DisplayMode' to value 'Full'
[26EC:19A4][2017-03-03T05:43:05]i000: Setting numeric variable 'NetworkAvailable' to value 1
[26EC:19A4][2017-03-03T05:43:05]i000: Setting string variable 'OriginalDisplayMode' to value 'Full'
[26EC:19A4][2017-03-03T05:43:05]i000: Setting string variable 'OriginalDisplayModeSwitch' to value ''
[26EC:19A4][2017-03-03T05:43:05]i000: MUX:  Metrics: ShouldSendData=True
[26EC:19A4][2017-03-03T05:43:05]i000: MUX:  Using Cloned Session
[26EC:19A4][2017-03-03T05:43:05]i000: MUX:  SetupAction: Install
[26EC:19A4][2017-03-03T05:43:05]i000: MUX:  ProductVersion: 14.0.23107.178
[26EC:19A4][2017-03-03T05:43:05]i000: MUX:  ProductLanguage: 1033
[26EC:19A4][2017-03-03T05:43:05]i000: MUX:  Branch: d14rtmss
[26EC:19A4][2017-03-03T05:43:05]i000: MUX:  OS: Windows 10 Home
[26EC:19A4][2017-03-03T05:43:05]i000: MUX:  OSVersion: 10.0.14393.0
[26EC:19A4][2017-03-03T05:43:05]i000: MUX:  OSLanguage: 1033
[26EC:19A4][2017-03-03T05:43:05]i000: MUX:  OSArchitecture: AMD64
[26EC:19A4][2017-03-03T05:43:05]i000: MUX:  RecordVirtualMachineInformation version: hpqoem - 1
[26EC:19A4][2017-03-03T05:43:05]i000: MUX:  RecordVirtualMachineInformation serialNumber: 5cb202296x
[26EC:19A4][2017-03-03T05:43:05]i000: MUX:  RecordVirtualMachineInformation product: 3672
[26EC:19A4][2017-03-03T05:43:05]i000: MUX:  Ux Initialized
[26EC:19A4][2017-03-03T05:43:05]i000: MUX:  Aquiring mutex 'Global\Devdiv' with a timeout of 0 ms
[26EC:19A4][2017-03-03T05:43:05]i000: MUX:  Mutex 'Global\Devdiv' ownership: True
[26EC:19A4][2017-03-03T05:43:05]i000: MUX:  Seen existing cache mutex 'Global\Devdiv CacheMutex': False
[26EC:19A4][2017-03-03T05:43:05]i000: MUX:  Aquiring mutex 'Global\Devdiv CacheMutex' with a timeout of 60000 ms
[26EC:19A4][2017-03-03T05:43:05]i000: MUX:  Mutex 'Global\Devdiv CacheMutex' ownership: True
[26EC:0DDC][2017-03-03T05:43:05]i100: Detect begin, 354 packages
[26EC:0DDC][2017-03-03T05:43:05]i000: MUX:  Detection Phase
[26EC:0DDC][2017-03-03T05:43:05]i000: MUX:  ---------------
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting version variable 'appxpackaging_dll_version' to value '10.0.14393.321'
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'bliss_core_DetectKeyExists' to value 1
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'ClientDiagnostics_core_DetectKeyExists' to value 1
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'communitycore_DetectKeyExists' to value 1
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'compilerCore86D11_Inst' to value 1
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting string variable 'compilerCore86D11_Ver' to value '11.0.60610'
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'compilerCoreD11_Inst' to value 1
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting string variable 'compilerCoreD11_Ver' to value '11.0.60610'
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'Dev11_VC_KeyExists' to value 1
[26EC:0DDC][2017-03-03T05:43:05]i052: Condition 'Dev11_VC_KeyExists' evaluates to true.
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting string variable 'Dev11_VC_Path' to value 'C:\Program Files (x86)\Microsoft Visual Studio 11.0\'
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'Dev12_ProVersionUpdate_KeyExists' to value 1
[26EC:0DDC][2017-03-03T05:43:05]i052: Condition 'Dev12_ProVersionUpdate_KeyExists' evaluates to true.
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting string variable 'Dev12_ProVersionUpdate_Value' to value '12.0.31101'
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'Dev12_VC_KeyExists' to value 1
[26EC:0DDC][2017-03-03T05:43:05]i052: Condition 'Dev12_VC_KeyExists' evaluates to true.
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting string variable 'Dev12_VC_Path' to value 'C:\Program Files (x86)\Microsoft Visual Studio 12.0\'
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'devenv_DetectKeyExists' to value 1
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting string variable 'DevEnvAppIdKeyPath' to value 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe'
[26EC:0DDC][2017-03-03T05:43:05]i000: Registry key not found. Key = 'SOFTWARE\Policies\Microsoft\SystemCertificates\AuthRoot'; variable = 'DisableRootAutoUpdate'
[26EC:0DDC][2017-03-03T05:43:05]i000: No products found for UpgradeCode: {FF39ADFF-DE50-3B78-91EF-08A7E659BEB3}
[26EC:0DDC][2017-03-03T05:43:05]i000: Product not found: (null)
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting version variable 'EmulatorWP81_Version' to value '0.0.0.0'
[26EC:0DDC][2017-03-03T05:43:05]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\DevDiv\vs\Servicing\14.0\Enterprise'; variable = 'EnterpriseExists'
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'EnterpriseExists' to value 0
[26EC:0DDC][2017-03-03T05:43:05]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\DevDiv\vs\Servicing\14.0\professional'; variable = 'FLP_Version'
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting string variable 'help3vs_49_DetectKey' to value '2.2.24720'
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'help3vs_49_DetectKeyExists' to value 1
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'IEsvcVersionExists' to value 1
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting string variable 'IEsvcVersion' to value '11.576.14393.0'
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'libraryCore86D11_Inst' to value 1
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting string variable 'libraryCore86D11_Ver' to value '11.0.51106'
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'libraryCoreD11_Inst' to value 1
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting string variable 'libraryCoreD11_Ver' to value '11.0.51106'
[26EC:0DDC][2017-03-03T05:43:05]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\SystemCertificates\AuthRoot\Certificates\3B1EFD3A66EA28B16697394703A72CA340A05BD5'; variable = 'MicrosoftRootCertificateAuthority2010AuthRootExists'
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'MicrosoftRootCertificateAuthority2010AuthRootExists' to value 0
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'MicrosoftRootCertificateAuthority2010RootExists' to value 1
[26EC:0DDC][2017-03-03T05:43:05]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\SystemCertificates\AuthRoot\Certificates\8F43288AD272F3103B6FB1428485EA3014C0BCFE'; variable = 'MicrosoftRootCertificateAuthority2011AuthRootExists'
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'MicrosoftRootCertificateAuthority2011AuthRootExists' to value 0
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'MicrosoftRootCertificateAuthority2011RootExists' to value 1
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'ModernBlend_core_DetectKeyExists' to value 1
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting version variable 'mrmindexer_dll_version' to value '10.0.14393.0'
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting string variable 'NetFX45OrNewer_Release' to value '394802'
[26EC:0DDC][2017-03-03T05:43:05]i000: Registry key not found. Key = 'SOFTWARE\Policies\WiX\Burn'; variable = 'NetFxBurnPackageCacheDirectory'
[26EC:0DDC][2017-03-03T05:43:05]i052: Condition 'NOT NetFxBurnPackageCacheDirectory' evaluates to true.
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting string variable 'NetFxBurnPackageCacheDirectory' to value 'C:\ProgramData\Package Cache'
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting string variable 'netfxfullredist_43_CBSValue' to value '1'
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting string variable 'netfxfullredist_43_DetectKey' to value '4.6.01586'
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting string variable 'netfxfullredist_43_OS_BuildNumber' to value '14393'
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting string variable 'NetFxFullRedist_InstalledRelease' to value '394802'
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'NetFxFullRedist_InstalledReleaseExists' to value 1
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting string variable 'NetFxInstallRoot' to value 'C:\Windows\Microsoft.NET\Framework\'
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting string variable 'NetFxInstallRoot64' to value 'C:\Windows\Microsoft.NET\Framework64\'
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting string variable 'OS_BuildNumber' to value '14393'
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting string variable 'Phone80Sdk_detectkey' to value '1'
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting version variable 'PortableLibrary_DTP_Exists' to value '14.0.24720.0'
[26EC:0DDC][2017-03-03T05:43:05]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\DevDiv\vs\Servicing\14.0\Professional'; variable = 'ProfessionalExists'
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'ProfessionalExists' to value 0
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting string variable 'Ria_Services_Dev12_DetectKey' to value '4.1.62812.0'
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'Ria_Services_Dev12_DetectKeyExists' to value 1
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting string variable 'silverlight5_DRT_DetectKey' to value '5.1.20513.0'
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting string variable 'silverlight5_SDK_DetectKey' to value '5.0.61118.0'
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'silverlight5_SDK_DetectKeyExists' to value 1
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting string variable 'ssceruntime_x64_msi_DetectKey' to value '4.0.8876.1'
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'ssceruntime_x64_msi_DetectKeyExists' to value 1
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting string variable 'ssceruntime_x86_msi_DetectKey' to value '4.0.8876.1'
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'ssceruntime_x86_msi_DetectKeyExists' to value 1
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting string variable 'ssdt_lang_detect_enu' to value '1033'
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'storyboardingcore_x64_DetectKeyExists' to value 1
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'storyboardingcore_x86_DetectKeyExists' to value 1
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting version variable 'SystemDataVersion' to value '2.0.50727.8751'
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting version variable 'SystemData64Version' to value '2.0.50727.8751'
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting version variable 'SystemWebVersion' to value '2.0.50727.8745'
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting version variable 'SystemWeb64Version' to value '2.0.50727.8745'
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting string variable 'teamExplorercore_DetectKey' to value '14.0.24712'
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'teamExplorercore_DetectKeyExists' to value 1
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'testtoolscore_DetectKeyExists' to value 1
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'TraceReloggerCLSIDExists32' to value 1
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'TraceReloggerCLSIDExists64' to value 1
[26EC:0DDC][2017-03-03T05:43:05]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\DevDiv\vs\Servicing\14.0\Ultimate'; variable = 'UltimateExists'
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'UltimateExists' to value 0
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'vc_CompilerCore86D12_Inst' to value 1
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'vc_CompilerCoreD12_Inst' to value 1
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'vc_CompilerX64ArmD12_Inst' to value 1
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'vc_CompilerX64NatD12_Inst' to value 1
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'vc_CompilerX64X86D12_Inst' to value 1
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'VC_IDE_Base_DetectKeyExists' to value 1
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'VC_IDE_Common_DetectKeyExists' to value 1
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'VC_IDE_Core_DetectKeyExists' to value 1
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'VC_IDE_Core_Pro_Plus_DetectKeyExists' to value 1
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'VC_IDE_Debugger_DetectKeyExists' to value 1
[26EC:0DDC][2017-03-03T05:43:05]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\DevDiv\VC\Servicing\14.0\IDE.DskX.Plus'; variable = 'VC_IDE_DskX_Plus_DetectKeyExists'
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'VC_IDE_DskX_Plus_DetectKeyExists' to value 0
[26EC:0DDC][2017-03-03T05:43:05]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\DevDiv\VC\Servicing\14.0\IDE.MFC'; variable = 'VC_IDE_MFC_DetectKeyExists'
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'VC_IDE_MFC_DetectKeyExists' to value 0
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'VC_IDE_Pro_Plus_DetectKeyExists' to value 1
[26EC:0DDC][2017-03-03T05:43:05]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\DevDiv\VC\Servicing\14.0\Items.Pro.Plus'; variable = 'VC_Items_Pro_Plus_DetectKeyExists'
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'VC_Items_Pro_Plus_DetectKeyExists' to value 0
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'VC_MSBuild_Base_DetectKeyExists' to value 1
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'VC_PremTools_ARM_Base_DetectKeyExists' to value 1
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'VC_PremTools_X64_ARM_DetectKeyExists' to value 1
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'VC_PremTools_X64_Base_DetectKeyExists' to value 1
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'VC_PremTools_X64_Nat_DetectKeyExists' to value 1
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'VC_PremTools_X64_X86_DetectKeyExists' to value 1
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'VC_PremTools_X86_ARM_DetectKeyExists' to value 1
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'VC_PremTools_X86_Base_DetectKeyExists' to value 1
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'VC_PremTools_X86_Nat_DetectKeyExists' to value 1
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'VC_PremTools_X86_X64_DetectKeyExists' to value 1
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'VC_Templates_Pro_DetectKeyExists' to value 1
[26EC:0DDC][2017-03-03T05:43:05]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\DevDiv\VC\Servicing\14.0\Templates.Windows81.Pro'; variable = 'VC_Templates_Windows81_Pro_DetectKeyExists'
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'VC_Templates_Windows81_Pro_DetectKeyExists' to value 0
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'VC_Tools_Core_DetectKeyExists' to value 1
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'VC_Tools_X64_ARM_DetectKeyExists' to value 1
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'VC_Tools_X64_Base_DetectKeyExists' to value 1
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'VC_Tools_X64_Nat_DetectKeyExists' to value 1
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'VC_Tools_X64_X86_DetectKeyExists' to value 1
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'VC_Tools_X86_ARM_DetectKeyExists' to value 1
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'VC_Tools_X86_Base_DetectKeyExists' to value 1
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'VC_Tools_X86_Nat_DetectKeyExists' to value 1
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'VC_Tools_X86_X64_DetectKeyExists' to value 1
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'VCRedist_D11x64_KeyExists' to value 1
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting string variable 'VCRedist_D11x64_KeyValue' to value 'v11.0.50727.01'
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'VCRedist_D11x86_KeyExists' to value 1
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting string variable 'VCRedist_D11x86_KeyValue' to value 'v11.0.50727.01'
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'VCRedist_D12x64_KeyExists' to value 1
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting string variable 'VCRedist_D12x64_KeyValue' to value 'v12.0.21005.01'
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'VCRedist_D12x86_KeyExists' to value 1
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting string variable 'VCRedist_D12x86_KeyValue' to value 'v12.0.21005.01'
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'VCRedist_D14x64_KeyExists' to value 1
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting string variable 'VCRedist_D14x64_KeyValue' to value 'v14.0.23506.00'
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'VCRedist_D14x86_KeyExists' to value 1
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting string variable 'VCRedist_D14x86_KeyValue' to value 'v14.0.23506.00'
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'vcRuntimeDebugD11_Inst' to value 1
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting string variable 'vcRuntimeDebugD11_Ver' to value '11.0.50727'
[26EC:0DDC][2017-03-03T05:43:05]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\DevDiv\MDD\Servicing\14.0\CSharpCore'; variable = 'VS_CSharpCore_DetectKeyExists_For_LP_Breadcrumb'
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'VS_CSharpCore_DetectKeyExists_For_LP_Breadcrumb' to value 0
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting string variable 'VSComponentPathVariable' to value 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\'
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'VSDev12Root_KeyExists' to value 1
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting string variable 'VSWinExpressAppIdKeyPath' to value ''
[26EC:0DDC][2017-03-03T05:43:05]i000: No products found for UpgradeCode: {3071A96B-0C12-3243-8DC4-6EEB3DF06B15}
[26EC:0DDC][2017-03-03T05:43:05]i000: Product not found: (null)
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting version variable 'WDExpress_Version14' to value '0.0.0.0'
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting string variable 'webdeploy_x64_en_usmsi_902_DetectKey' to value '9.0.1955.0'
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting string variable 'webdeploy_x86_en_usmsi_901_DetectKey' to value '9.0.1955.0'
[26EC:0DDC][2017-03-03T05:43:05]i000: No products found for UpgradeCode: {BB36543E-CA25-3405-A358-E0AF726349D4}
[26EC:0DDC][2017-03-03T05:43:05]i000: Product not found: (null)
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting version variable 'WebExpress_Version14' to value '0.0.0.0'
[26EC:0DDC][2017-03-03T05:43:05]i000: File search: wfs25DFE44B20D46C328A4B6B4F75C55182, did not find path: C:\ProgramData\Package Cache\NetFxWeb393297\packages\dotNetFramework\dotNetFx-Web.exe
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'NetFxWebRedistIsCached' to value 0
[26EC:0DDC][2017-03-03T05:43:05]i000: File search: wfsCC6181F92E7A75095AD42098E7AC617A, did not find path: C:\Users\Sampath\AppData\Local\Temp\20170303_054258_{4312D170-FE25-36BF-B5E6-0A87C44B7EF0}\packages\dotNetFramework\dotNetFx-x86-x64-AllOS-ENU.exe
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'NetFxIsvRedistExists' to value 0
[26EC:0DDC][2017-03-03T05:43:05]i000: File search: wfsE2604D9F39AA65CE8F85D0906116E08A, did not find path: C:\ProgramData\Package Cache\NetFxIsv393297\packages\dotNetFramework\dotNetFx-x86-x64-AllOS-ENU.exe
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'NetFxIsvRedistIsCached' to value 0
[26EC:0DDC][2017-03-03T05:43:05]i000: Registry value not found. Key = 'SOFTWARE\Microsoft\Windows Kits\Installed Roots', Value = 'KitsRoot10'
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'Win10_UniversalCRTSDK_KitsRootKeyExists' to value 0
[26EC:0DDC][2017-03-03T05:43:05]i052: Condition 'Win10_UniversalCRTSDK_KitsRootKeyExists' evaluates to false.
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'Win81Dev_Dev12Path_KeyExists' to value 1
[26EC:0DDC][2017-03-03T05:43:05]i052: Condition 'Win81Dev_Dev12Path_KeyExists' evaluates to true.
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting string variable 'Win81Dev_Dev12Path' to value 'C:\Program Files (x86)\Microsoft Visual Studio 12.0\'
[26EC:0DDC][2017-03-03T05:43:05]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\DevDiv\wdexpress\Servicing\12.0\coremsi'; variable = 'Win81WDExpress12_KeyExists'
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'Win81WDExpress12_KeyExists' to value 0
[26EC:0DDC][2017-03-03T05:43:05]i052: Condition 'Win81WDExpress12_KeyExists' evaluates to false.
[26EC:0DDC][2017-03-03T05:43:05]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\DevDiv\winexpress\Servicing\12.0\coremsi'; variable = 'Win81WinExpress12_KeyExists'
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'Win81WinExpress12_KeyExists' to value 0
[26EC:0DDC][2017-03-03T05:43:05]i052: Condition 'Win81WinExpress12_KeyExists' evaluates to false.
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'Win8Dev_Dev11Path_KeyExists' to value 1
[26EC:0DDC][2017-03-03T05:43:05]i052: Condition 'Win8Dev_Dev11Path_KeyExists' evaluates to true.
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting string variable 'Win8Dev_Dev11Path' to value 'C:\Program Files (x86)\Microsoft Visual Studio 11.0\'
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting string variable 'Win8DevTools_detectkey' to value '1'
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'WinBlue_Common_KitsRoot_KeyExists' to value 1
[26EC:0DDC][2017-03-03T05:43:05]i052: Condition 'WinBlue_Common_KitsRoot_KeyExists' evaluates to true.
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting string variable 'WinBlue_Common_KitsRootPath' to value 'C:\Program Files (x86)\Windows Kits\8.1\'
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'WinBlue_Desktop_KitsRoot_KeyExists' to value 1
[26EC:0DDC][2017-03-03T05:43:05]i052: Condition 'WinBlue_Desktop_KitsRoot_KeyExists' evaluates to true.
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting string variable 'WinBlue_Desktop_KitsRootPath' to value 'C:\Program Files (x86)\Windows Kits\8.1\'
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'WinBlue_Intellisense_KitsRoot_KeyExists' to value 1
[26EC:0DDC][2017-03-03T05:43:05]i052: Condition 'WinBlue_Intellisense_KitsRoot_KeyExists' evaluates to true.
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting string variable 'WinBlue_Intellisense_KitsRootPath' to value 'C:\Program Files (x86)\Windows Kits\8.1\'
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting version variable 'windows_ui_xaml_dll_version' to value '10.0.14393.594'
[26EC:0DDC][2017-03-03T05:43:05]i000: Registry value not found. Key = 'Software\Microsoft\Windows Kits\Installed Roots', Value = 'Version'
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting version variable 'windows_uCRT_DetectKey' to value '10.0.10240.16390'
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'windows_uCRT_DetectKeyExists' to value 1
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting string variable 'WindowsBuildNumber' to value '14393'
[26EC:0DDC][2017-03-03T05:43:05]i000: No products found for UpgradeCode: {05F7E99E-79F6-353F-96B8-859DCF525D8E}
[26EC:0DDC][2017-03-03T05:43:05]i000: Product not found: (null)
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting version variable 'WinExpress_Version14' to value '0.0.0.0'
[26EC:0DDC][2017-03-03T05:43:05]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\DevDiv\winexpress\Servicing\12.0\coremsi\1033'; variable = 'WinExpress12_detectkey_enu'
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'WinSDK_Desktop_KitsRoot_KeyExists' to value 1
[26EC:0DDC][2017-03-03T05:43:05]i052: Condition 'WinSDK_Desktop_KitsRoot_KeyExists' evaluates to true.
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting string variable 'WinSDK_Desktop_KitsRootPath' to value 'C:\Program Files (x86)\Windows Kits\8.0\'
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting version variable 'BuildTools_CoreRes_Installed' to value '12.0.31101.0'
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting version variable 'BuildTools_Core_Installed' to value '12.0.31101.0'
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting string variable 'WpSdk_detectkey_enu' to value '1'
[26EC:0DDC][2017-03-03T05:43:05]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\DevDiv\Windows\Servicing\14.0\toolscore'; variable = 'Win10ToolsVersion'
[26EC:0DDC][2017-03-03T05:43:05]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Package_for_KB2919355~31bf3856ad364e35~amd64~~6.3.1.14'; variable = 'KB2919355_amd64_CurrentState'
[26EC:0DDC][2017-03-03T05:43:05]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Package_for_KB2919355~31bf3856ad364e35~x86~~6.3.1.14'; variable = 'KB2919355_x86_CurrentState'
[26EC:0DDC][2017-03-03T05:43:05]i102: Detected related bundle: {fcaa9dba-9438-48b6-ad91-4e9b4cc7084a}, type: Patch, scope: PerMachine, version: 14.0.24720.0, operation: Install
[26EC:0DDC][2017-03-03T05:43:05]i000: MUX:  Detected related bundle. Installing bundle Lcid:1033  related bundle tag: vsupdate_KB3022398,1033
[26EC:0DDC][2017-03-03T05:43:05]i000: MUX:  Bundle Tag: PackageId=vsupdate_KB3022398, lcid=1033, IsLanguagePack=False
[26EC:0DDC][2017-03-03T05:43:05]i000: MUX:  Related BundlePackageId: vsupdate_KB3022398, Related Bundle Lcid: 1033
[26EC:0DDC][2017-03-03T05:43:05]i000: MUX:  Detected Related Bundle called with ProductCode: {fcaa9dba-9438-48b6-ad91-4e9b4cc7084a}
[26EC:0DDC][2017-03-03T05:43:05]i000: Setting numeric variable 'RelatedBundleTag_vsupdate_KB3022398' to value 1033
[26EC:0DDC][2017-03-03T05:43:05]i000: MUX:  Request adding Language Pack to list: Bundle Id={fcaa9dba-9438-48b6-ad91-4e9b4cc7084a}, Bundle Lcid=1033, Tag=vsupdate_KB3022398,1033, Action=Install
[26EC:0DDC][2017-03-03T05:43:05]i000: MUX:  Bundle Tag: PackageId=vsupdate_KB3022398, lcid=1033, IsLanguagePack=False
[26EC:0DDC][2017-03-03T05:43:05]i102: Detected related bundle: {1d03ad7c-fa27-4517-91b0-410bb49f94d9}, type: Upgrade, scope: PerMachine, version: 14.0.24720.1, operation: Downgrade
[26EC:0DDC][2017-03-03T05:43:05]i000: MUX:  Detected related bundle. Installing bundle Lcid:1033  related bundle tag: vs_community,1033
[26EC:0DDC][2017-03-03T05:43:05]i000: MUX:  Bundle Tag: PackageId=vs_community, lcid=1033, IsLanguagePack=False
[26EC:0DDC][2017-03-03T05:43:05]i000: MUX:  Related BundlePackageId: vs_community, Related Bundle Lcid: 1033
[26EC:0DDC][2017-03-03T05:43:05]i000: MUX:  A higher version bundle has already been installed.
[26EC:0DDC][2017-03-03T05:43:05]e000: Error 0x80070642: BA aborted detect related bundle.
[26EC:0DDC][2017-03-03T05:43:05]e000: Error 0x80070642: Failed to report detected related bundles.
[26EC:0DDC][2017-03-03T05:43:05]i000: MUX:  Detect Completed
[26EC:0DDC][2017-03-03T05:43:05]i000: MUX:  Wait for View to be loaded
[26EC:19A4][2017-03-03T05:43:05]i000: MUX:  Load progress page
[26EC:19A4][2017-03-03T05:43:05]i000: MUX:  Go to Progress page.
[26EC:19A4][2017-03-03T05:43:05]i000: MUX:  Updating progress percentages: Burn: 100, Secondary installer: 0
[26EC:0DDC][2017-03-03T05:43:06]i000: MUX:  View loaded
[26EC:0DDC][2017-03-03T05:43:06]i000: MUX:  Checking for update...
[26EC:0DDC][2017-03-03T05:43:06]i000: MUX:  Setup update feature is enabled. Evaluating conditions to determine whether to run setup update.
[26EC:0DDC][2017-03-03T05:43:06]i000: MUX:  Checking http://go.microsoft.com/fwlink/?LinkID=558780 for update.
[26EC:0DDC][2017-03-03T05:43:06]i000: MUX:  Downloaded the update xml file from http://go.microsoft.com/fwlink/?LinkID=558780
[26EC:0DDC][2017-03-03T05:43:06]i000: MUX:  No update found. Setup will not be updated.
[26EC:0DDC][2017-03-03T05:43:06]i000: Setting numeric variable 'RelatedBundleType_Patch' to value 1
[26EC:0DDC][2017-03-03T05:43:06]i000: Setting numeric variable 'RelatedBundleType_Upgrade' to value 1
[26EC:0DDC][2017-03-03T05:43:06]i000: MUX:  Configuring feed...
[26EC:0DDC][2017-03-03T05:43:06]i000: MUX:  Success Block: HigherVersionBlock : The product version that you are trying to set up is earlier than the version already installed on this computer.
[26EC:0DDC][2017-03-03T05:43:06]i000: MUX:  Online feed url: http://go.microsoft.com/fwlink/?LinkID=564096
[26EC:0DDC][2017-03-03T05:43:06]i000: MUX:  Flp lang online feed uri: http://go.microsoft.com/fwlink/?LinkID=564096&clcid=0x409
[26EC:0DDC][2017-03-03T05:43:07]i000: MUX:  Cached feed is selected as a local feed.
[26EC:0DDC][2017-03-03T05:43:07]i000: MUX:  Local copy of the dynamic feed is present: C:\ProgramData\Microsoft\VisualStudioSecondaryInstaller\14.0\LastUsedFeed\{1d03ad7c-fa27-4517-91b0-410bb49f94d9}\Feed.xml
[26EC:0DDC][2017-03-03T05:43:07]i000: MUX:  Feed uri to register: http://go.microsoft.com/fwlink/?LinkID=564096&clcid=0x409
[26EC:0DDC][2017-03-03T05:43:10]i000: MUX:  After online feed and local feed comparison, the online feed: http://go.microsoft.com/fwlink/?LinkID=564096&clcid=0x409 has higher version 
[26EC:0DDC][2017-03-03T05:43:10]i000: MUX:  Final feed location: C:\Users\Sampath\AppData\Local\Temp\1431723415.xml
[26EC:0DDC][2017-03-03T05:43:10]i000: MUX:  Feed uri to register: http://go.microsoft.com/fwlink/?LinkID=564096&clcid=0x409
[26EC:0DDC][2017-03-03T05:43:10]i000: MUX:  Success Block: HigherVersionBlock : The product version that you are trying to set up is earlier than the version already installed on this computer.
[26EC:0DDC][2017-03-03T05:43:10]i000: MUX:  Go to Blocker page.
[26EC:0DDC][2017-03-03T05:43:10]i199: Detect complete, result: 0x80070642


Resolution:
i opened cmd prompt then typed "Regedit" tool

then i checked some path for visual studio versions for the below path:

Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\VisualStudio\



i have taken one id from the logs: "1d03ad7c-fa27-4517-91b0-410bb49f94d9" and searched

i got build version and  display version of that search result is : "14.0.24720.1"  then  i simply replaced with "14.0.23026". 

now i started installing visual studio 2015 now there is no setup block error.