Quantcast
Channel: MSDN Blogs
Viewing all 12366 articles
Browse latest View live

Discontinuation of Dynamics Online Payment Services

$
0
0

A notice was recently released on the discontinuation of Dynamics Online Payment Services.  Please review this notice using either the PartnerSource and CustomerSource links or the verbatim below: 

PartnerSource
https://mbs.microsoft.com/partnersource/northamerica/news-events/news/onlinepaymentservdisnotice

CustomerSource
https://mbs.microsoft.com/customersource/northamerica/news-events/news-events/news/onlinepaymentservdisnotice

Discontinuation verbatim:
Effective January 1, 2018, Payments Services for Microsoft Dynamics ERP (Payment Services), available with any versions of Microsoft Dynamics AX, Microsoft Dynamics NAV, Microsoft Dynamics GP, Microsoft Dynamics RMS, Microsoft Dynamics POS 2009, and Microsoft Office Accounting, will be discontinued. Customers of the Payment Services will not be able to process credit or debit card transactions after December 31, 2017.

To mitigate the potential business impact of the Payment Services being discontinued, customers should consider payment solutions provided by Dynamics Independent Solution Providers (ISVs) by searching by searching Microsoft’s AppSource or Solution Finder, or work with their Dynamics implementation partner to determine options.

Customers who have not cancelled their subscription to the Payment Services and whose subscription is due for renewal before January 1, 2018 will receive the annual, automatically generated, 12-month subscription renewal notice for this service.  Subscriptions to the Payment Services will be renewed only for the period beginning on the date specified in the renewal notice and ending on January 1, 2018.  A customer’s subscription to the Payment Services may not be renewed for 12 months depending on the date it expires.  The notice supersedes any subscription renewal a customer receives. If you have any questions, please email dops@microsoft.com.


Internet Information Services: Why My Web Application is soooo slow???? :0)

$
0
0

HI!
I take the time to wish a Happy New Year, and take advantage of reminding some of the most common scenarios we face when working with Developer tools, our Internet Information Services : Slowness for Applications opened:
Quick Remark> Application pools allow the isolation between applications, even though they are running on the same server: it ensures INTEGRITY by not allowing critical errors in one application to interfere with another
Within this concept we have “Idle Time-out” concepts_: time-out operation by default i set to Terminate, so Windows process hosting the site will be terminated; after which the site must be built and the process started on the next visit, resulting in a very slow first-time load.

It helps to free up memory, specially when:
•The server has a heavy processing load.
•Specific worker processes are consistently idle.
•No new processing space is available.

Test increasing the application pool timeout value, that is the time before the application will recycle if there are not any requests.

聚知堂

$
0
0


asdf

1-01

「聚知堂」是中台灣唯一整合O2O經營,結合新創資訊網站及育成基地的加速器,引進國際資源、注入在地元素,打造台中創新創意創業的發展中心。我們積極協助台中在地業者以最小的成本取得創業亟需的資源,育成基地更舉辦展會、課程、會議等活動,同時以開放的精神,提供台中新創者發揮創意、鍵結資源以及發表的大平台。

 

網站:http://www.tkngtc.com/

Emailinfo@tkngtc.com

地址:台中市南區復興路三段362R04

Troubleshooting: Azure Auto-scale profile does not change

$
0
0

Sometimes customers are faced with situation with Auto Scale, where they try to update or delete the Auto Scale Profile but the previous Profile keeps coming back.

 

Generally, this occurs due to duplicate profiles getting created for Auto Scaling. So, deleting the duplicate profile should help to mitigate the issue. Here’re steps to delete auto scale profile through https://resources.azure.com/:

 

  • Under the subscriptions, expand the subscription under which Cloud service is created, and then Expand the resourceGroups tab as below
  • Select and expand the Cloud Service that you are facing the Issue with.
  • Expand the provider’s tab and then the Microsoft.insights tab under provider’s tab as below, to list autoscale profiles created under cloud service
  • Select the obsolete profile and delete it using the tab on the main panel as shown below

 

NOTE: Deleting the profile will permanently remove the Auto-Scale profile. Please make sure that you have selected the correct Cloud service and the correct profile in it and then go for deletion. 

Following the above steps should resolve the Issue that you were facing. If the issue persists, you may want to open a support ticket with Microsoft Azure support team.

Create and deploy an ASP.NET Core Web API to Azure Windows

$
0
0

There are a number of things I want to accomplish with this and a few future articles:

  • How to deploy an ASP.NET Core Web API to an Azure App Services Web App
  • How to deploy an ASP.NET Core Web API to an Azure VM

In some future articles I will reference this article for these purposes:

  • Troubleshooting a slow running ASP.NET Core Web API hosted on Azure (Web App)
  • Setting up a Point-to-Site (P2S) from an App Service Web App to an Azure VM

This post is setting the baseline for those other 2 future post which I need to learn and get my head around.

You can download the source code from here.

Let’s first create a simple ASP.NET Core Web API.

Create an ASP.NET Core Web API

As shown in Figure 1, create a new project in Visual Studio, I am using version 2015 Community.

image

Figure 1, how to create a hello world ASP.NET Core Web API

Click the OK button and then select Web API from the next window, as shown in Figure 2.

image

Figure 2, create an ASP.NET Core Web API for hosting on Azure, hello world, first example

After the project has completed the creation, open the ControllersValuesController.cs file and make some the modifications shown below.  The Sleep() method simulates some slowness that we will find in some logging later.

namespace HelloWorldSleepy.Controllers
{
    [Route("api/Sleepy")]
    public class ValuesController : Controller
    {
        // GET api/values
        [HttpGet]
        public IEnumerable<string> Get()
        {
            System.Threading.Thread.Sleep(5000);
            return new string[] { "Fender", "Gibson" };
        }

        // GET api/values/5
        [HttpGet("{id}")]
        public string Get(int id)
        {
            System.Threading.Thread.Sleep(6000);
            return $"The value you sent was: {id} ";
        }
    }
}

Publish an ASP.NET Core Web API to an Azure App Services Web App

Finally, publish the ASP.NET Core Web API to an Azure App Services Web App by right-clicking on the project and selecting the Publish pop-up menu item.

Once published you can access the ASP.NET Core Web API using the URL shown in Figure 3.  This worked without any additional configuration from the client, code or server.

image

Figure 3, ASP.NET Core Web API, Azure App Services Web App

You can also check out the process running the ASP.NET Core Web API in KUDU which I have discussed here previously.  As shown in Figure 4, you can see that the dotnet.exe is hosted within the W3WP.exe IIS process.

image

Figure 4, the dotnet.exe process which responds to requests to the ASP.NET Core Web API on Azure

Now I can create a client application and consume it.  NOTE to self –> I think it would be completely feasible to protect this ASP.NET Core Web API using Azure Active Directory as I describe here.  I’ll need to test that out, but it is amazing how well all these things just seem to link up or fall into sync with each other.  I doubt it is by accident.  Nonetheless, the ASP.NET Core Web API is deployed to an Azure App Services Web App and can be scaled and used just like any other Web App now.  Quick and easy.

Deployed an ASP.NET Core Web API to an Azure VM

I am sure there are cooler ways to deploy, like using GitHub and continuous deployments, but I wanted something quick and simple.  It is only for me so working through all the deployment configurations that would be necessary for a company with a development team would be over kill here for me.  This is just to test things out.

I will assume you can already create an Azure VM and connect to it.  IIS is not installed by default so you will need to install it, I wrote some IIS labs here, check out the first part of Lab 1 where I describe how to install IIS, you do not need to install the CSharpGuitarBugs website, so stop after Figure 3 in Lab 1.

I used these instructions to get the IIS installation prepared for an ASP.NET Core Web API to run on an Azure VM, the instructions are also valid for an stand alone version of IIS.

As i didn’t know the structure requirements of an ASP.NET Core Web API nor its dependencies, since I had already deployed it to an App Service first I could look at that as a reference, as shown in Figure 5.

image

Figure 5, ASP.NET Core Web API structure and deployment pattern

I ended up downloading the wwwroot folder on the Web App and simply places its contents into the wwwroot of the Azure VM and that work without and problem as illustrated on Figure 6.

image

Figure 6, deploying an ASP.NET Core Web API to an Azure VM for testing with an Azure VNET (P2S)

You can also see that both of the ASP.NET Core Web APIs are accessible from a browser.  Figure 7 and Figure 8 show how to reference the Web API and the result of the call.

image

Figure 7, calling an ASP.NET Core Web API from a browser, display the JSON result

image

Figure 8, calling an ASP.NET Core Web API from a browser, display the JSON result

Troubleshooting a slow running ASP.NET Core Web API hosted on Azure (Web App)

Details will be in a future post, I will start by enabling these logs and see what comes out of it.  Also, as I know the process in which the slow response is running, see Figure 4 and I can reproduce the issue, then create a memory dump and see what the code is doing, like a discussed here.  Which process are you going to dump?  Why?  Check back later for the answer and the link to the post.

Setting up a Point-to-Site (P2S) from an App Service Web App to an Azure VM

The VM onto which I deployed the ASP.NET Core Web API is contained within a VNET.  When I RDP to the Azure VM and run the IPCONFIG I see that the IP address is indeed within the subdomain of the VNET (ex: 10.0.0.0/8).  As I create a VNETv2, currently I need to create the P2S using PowerShell and I also need to create the Web App which will call the ASP.NET Core Web API hosted on the Azure VM within the VNET.  That will be a fun project with a lot of learning opportunities.

SQL Updates Newsletter – December 2016

$
0
0

Recent Releases and Announcements

 

 

Recent Whitepapers/E-books/Training/Tutorials

 

Monthly Script Tips

 

Issue Alert

 

Recent Blog Posts and Articles

Recommended KB’s To Review Regularly

  • Recommended hotfixes and updates for Windows Server 2012 R2-based failover clusters
  • Recommended updates and configuration options for SQL Server 2012 and later versions with high-performance workloads
    • https://support.microsoft.com/en-gb/kb/2964518
    • Note for SQL Server 2016: You no longer have to enable these trace flags in SQL Server 2016 because the auto-detection of the associated logic for trace flags is already incorporated into the product.
  • Troubleshooting SQL Server backup and restore operations

 

Fany Carolina Vargas | SQL Dedicated Premier Field Engineer | Microsoft Services

Hosted build issues with Visual Studio Team Services – 01/03 – Investigating

$
0
0

Initial Update: Tuesday, 3 January 2017 16:49 UTC

We are actively investigating issues with Hosted Build for customers in South Central US. Some customers may experience long build queue times.

  • Work Around: None
  • Next Update: Before 18:51 UTC


Sincerely,
Eric

What are Microservices and Why Should You Care?

$
0
0

Context

Nowadays, trends show that market conditions are changing constantly and at a pace we have never seen before.   New companies come into mature industries and completely disrupt them while existing companies that have been around for a long time are struggling to survive and to hold on to their market share.

Also, building highly available and resilient software has become an essential competency no matter what business you are in.  Nowadays, all companies are becoming software companies.  Let’s take for example companies in the retail industry. Before, most companies in this industry competed on who can make products available on the shelves with the lowest possible price.  Now companies pursue more advanced and sophisticated techniques to lure customers.  Nowadays, it’s all about predicting customers’ behaviors by deeply understanding customers’ sentiments, brand engagements and history of their searches and purchases.  There is no doubt that companies who are harnessing these capabilities are more successful and profitable than those that do not.

To win in such market conditions, not only do companies have to have the capabilities to build these kind of solutions, but also they have to build them faster than their competitors.  This is why many organizations are rethinking how they are architecting and building solutions so that they can better embrace changes in customers’ and market’s demands.  Also, the rise of cloud computing has made organizations embrace design approaches that allow pieces of solutions to be scaled independently to optimize infrastructure resources consumption.

 

Software Architecture Evolution

Looking at how software designs have evolved over the years, initially applications were mainly monolithic applications targeting desktops.  As internet became more prominent, a new style of applications emerged, namely Client-Server.  In this type of architecture, we ran some code on desktops while another part of the application ran on a remote server somewhere. The server component tended to group both business logic as well as some kind of data persistence mechanism.  As applications grew, there was a need to separate the business logic from the data persistence layer so a new style emerged namely 3-tier in which presentation layer, business logic and data persistence all lived on separate layers.  The separation of layers have grown beyond the 3-layers giving birth to the concept of the n-tier architectures in which teams can create flexible and reusable components.  The figure below shows a depiction of this type of architecture

microservices_fig1

Although the architecture above divides the solution into multiple layers, multiple flaws can be pointed out:

  • The monolithic nature of the solution makes scaling the app not resource efficient
  • Code base for the app tends to be large which makes it harder to change and maintain
  • Collaborating on monolithic apps is challenging since multiple teams could be making changes to the code simultaneously which increases the likelihood of merge conflicts
  • A fatal error in one of the components could bring the entire solution down
  • Teams are bound to a specific technology stack for the entire solution

Because of the limitation mentioned above, a new design approach named Microservices has gained popularity in the last few years.

 

Microservices Overview

Microservices is an approach to application architecture in which an application is composed of small, independent and flexible components, each focusing on solving a single domain within the application.     The figure below shows a depiction of such an approach

microservices_fig2

 

This approach solves a number of limitations imposed by monolithic applications. Some of the benefits you would get by adopting this approach include:

  • Ability to deploy subset of the system. If a customer is not interested in one of the modules, they can choose not to deploy that module
  • Ability to scale specific components of the system. If “Feature1” is experiencing an unexpected rise in traffic, that component could be scaled without the need to scale the other components which enhances efficiency of infrastructure use
  • Improves fault isolation/resiliency: System can remain functional despite the failure of certain modules
  • Easy to maintain: teams can work on system components independent of one another which enhances agility and accelerates value delivery
  • Flexibility to use different technology stack for each component if desired
  • Enhances the ability of developers to gain domain knowledge for a specific area
  • Allows for container based deployment which optimizes components’ use of computing resources and streamlines deployment process

 

In my next post I will drill deeper into the last point which is a suitable deployment strategy for such an architecture.  Stay tuned…  

 


New book: MOS 2016 Study Guide for Microsoft Access

$
0
0

We’re pleased to announce the availability of MOS 2016 Study Guide for Microsoft Access (ISBN 9780735699397), by John Pierce.

Purchase from these online retailers:

Microsoft Press Store
Amazon
Barnes & Noble
Independent booksellers – Shop local

Overview

Advance your everyday proficiency with Access 2016. And earn the credential that proves it!

Demonstrate your expertise with Microsoft Access! Designed to help you practice and prepare for Microsoft Office Specialist (MOS): Access 2016 certification, this official Study Guide delivers:

  • In-depth preparation for each MOS objective
  • Detailed procedures to help build the skills measured by the exam
  • Hands-on tasks to practice what you’ve learned
  • Ready-made practice files with solutions

Sharpen the skills measured by these objectives:

  • Create and Manage a Database
  • Build Tables
  • Create Queries
  • Create Forms
  • Create Reports

About MOS

A Microsoft Office Specialist (MOS) certification validates your proficiency with Microsoft Office programs, demonstrating you can meet globally recognized performance standards. Hands-on experience with the technology is required to successfully pass Microsoft Certification exams.

About the author

JOHN PIERCE is a freelance editor and writer. He is the author of Team Collaboration: Using Microsoft Office for More Effective Teamwork and other books about Microsoft Office, including the MOS 2013 Study Guide for Microsoft Access. John was an editor at Microsoft Press for 10 years and later worked as a technical writer at Microsoft, specializing in Microsoft SharePoint business solutions.

Dynamics 365 for Financials Setup and Help Resources

$
0
0

There are videos and setup walk-through guides accessible within the Financials application that you may not notice.  Check the following:

On the sample company home page you should see a ‘Business Assistance’ section.
busassist1

If you’re seeing a chart here you can click the drop-down and change it to ‘Show Setup and Help Resources’.
busassist2

Once you do this it will ask you to refresh the page.  After you refresh the page you will see several different categories listed such as ‘Get started with Financials’, ‘Work with Journals’ and a few others.  You can click on each of these links to open a new window with links to different kinds of help for tasks you may want to learn more about in Financials.  There can be links to the Help documentation, Videos, Assisted Setup, and Product Tours.  This area can be updated as more content is created and released so make sure to check back.

Move the Azure temporary disk to a different drive letter on Windows Server

$
0
0

On occasion you may have a need to move the Azure temporary drive to a different drive letter. Azure by default is set to use the D drive. This drive letter configuration may conflict with existing scripts or company OS installation standards. I’ve created an ARM template that uses PowerShell DSC to allow you to move the drive letter. It performs the following steps:

1) Disables the Windows Page File and reboots the VM
2) Changes the drive letter from the D drive to a drive letter you specify in the ARM template parameters file
3) Re-enables the Windows page file and reboots the VM

This project is in GitHub here: https://github.com/perktime/MoveAzureTempDrive. To use it, modify the azuredeploy.parameters.json file with your vmName and your desired tempDriveLetter:


{
    “$schema”: “
https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#”,
    “contentVersion”: “1.0.0.0”,
  “parameters”: {
    “vmName”: {
      “value”: “<put_your_existing_vm_name_here>”
    },
    “assetLocation”: {
      “value”: “
https://petedscutil.blob.core.windows.net/scripts”
    },
    “tempDriveLetter”: {
      “value”: “Z
    }
  }
}

Optionally, you can copy the MoveAzureTempDrive.ps1.zip DSC file to your own Azure storage account and modify the assetLocation parameter as well. Also, if you have an existing DSC extension you will have to remove it before deploying this.

If you are interested in how this works, here is the explanation (note: assuming you understand how PowerShell DSC works):

To disable the Windows page file, we use “gwmi win32_pagefilesetting” which uses WMI to first check if the page file is enabled or not. If it is, we use this script to delete it and restart the VM:

gwmi win32_pagefilesetting
$pf=gwmi win32_pagefilesetting
$pf.Delete()
Restart-Computer –Force

Once the VM restarts, the PowerShell DSC module will then change the drive letter to your desired drive and then re-enable the page file and reboot:

Get-Partition -DriveLetter “D”| Set-Partition -NewDriveLetter $TempDriveLetter
$TempDriveLetter = $TempDriveLetter + “:”
$drive = Get-WmiObject -Class win32_volume -Filter “DriveLetter = ‘$TempDriveLetter’”
#re-enable page file on new Drive
$drive = Get-WmiObject -Class win32_volume -Filter “DriveLetter = ‘$TempDriveLetter’”
Set-WMIInstance -Class Win32_PageFileSetting -Arguments @{ Name = “$TempDriveLetterpagefile.sys”; MaximumSize = 0; }

Restart-Computer -Force

Four webinars 1/10-1/17: Custom Visuals, Flow Administration, PowerApps Custom APIs and building a PowerApps app

$
0
0

Walking through the development process for creating custom visuals for Power BI

Power BI has recently revamped the entire experience for Developers to use and create extensions targeting this new exciting platform. In this webinar Tzvi Keisar will walk through this new developer experience and one of the Microsoft Dev Leads, Jon Gallant will take use through the process of taking a D3 graphic and turning it into one of the Power BI visuals on the Visual Gallery. The session will end with a look at some of the short term roadmap enhancements the team is looking at.

Tuesday, January 10, 2017 10:00 AM – 11:00 AM

https://info.microsoft.com/US-PowerBI-WBNR-FY17-01Jan-10-Walkingthroughtthedevelopmentprocess288895_01Registration.html

Jon Gallant

Principal Development Lead
Microsoft

Principal engineering manager with 16 years of experience in web, mobile, hardware and cloud services development using a combination of open source and Microsoft technologies. 16 years as a developer and 11 years as a development manager with a track record of success in and outside of Microsoft.

 

 

Microsoft Flow administration, SharePoint Integration and best practices by Merwan Hade

Join Merwan Hade, Program Manager on the Microsoft Flow team as he walks through SharePoint Integration, Administration and all round best practices for Using Microsoft Flow.

With a month since general availability and already over 100,000 active users Merwan is going to look at common support issues and best practices to help you get started with Microsoft Flow.

Wednesday, January 11, 2017 10:00AM – 11:00AM1/11/2017

https://info.microsoft.com/US-EAD-WBNR-FY17-01Jan-11-MicrosoftFlowadministrationandbestpracticesbyMerwanHade288879_01Registration-ForminBody.html

Merwan Hade
Senior Program Manager, Microsoft.
Senior Program Manager on the Microsoft Flow team. Flow is a new automation tool for business users, empowering them to create workflows to receive notifications, synchronize files, transfer data, and automate approvals. I lead the the user experience for the workflow designer, drive the integration between SharePoint Online and Microsoft Flow, and lead the data governance story. Previously worked as a PM on the Microsoft PowerApps and Visual Studio Azure Tools teams. My mission is to deliver the very best user experience possible.

 

 

PowerApps Custom APIs, Gateways and Data sources by Archana Nair

Join Archana Nair and Charles Sterling to look at building PowerApps solutions that can connects to various cloud and on-premises sources. Best practices on using the Application Gateway (shared by PowerApps, Microsoft Flow, Azure Analysis Services and of course Power BI. The session will finish with a drill down into custom APIs and a demo by Charles Sterling on how to create a custom API that calls the Power BI REST API to insert Rows into a Power BI dataset.

Thursday, January 12, 2017 10:00 AM – 11:00 AM

https://info.microsoft.com/US-EAD-WBNR-FY17-01Jan-12-PowerAppsandFlowCustomAPIsGatewaysandDatasources288880_01Registration.html

Charles Sterling

Senior Program Manager
Microsoft

Charles Sterling came to Microsoft from being a marine biologist working for United States National Marine Fisheries doing marine mammal research on the Bering Sea. He started out at Microsoft supporting Excel and moved through a couple of support teams to being an escalation engineer for Microsoft SQL Server. Taking his love for customers (and diving), Chuck moved to Australia as a product manager and developer evangelist for the .NET Framework. In 2008 he moved back to Redmond as the Visual Studio community program manager and just recently moved to the Power BI team to continue his community passion and looking after the Power BI influencers and MVPs.

 

How to build production ready event application in less than a week with Power Apps

One of the Azure MVPs, Vishwas Lele was asked to create an fully functioning cross-platform event application that would integrate with outlook, share images and run on the main stream platforms including browsers, Android and IOS in less than a week. This webinar will show how Vishwas used PowerApps and Microsoft Flow to make this reality.  For more information on this please see the PowerApps Blog on this topic: https://powerapps.microsoft.com/en-us/blog/guest-post-how-we-built-a-cross-platform-event-app-in-less-than-a-week/

Tuesday, January 17, 2017 10:00AM – 11:00AM

https://info.microsoft.com/US-EAD-WBNR-FY17-01Jan-17-Howtobuildproductionreadyeventapplication288881_01Registration-ForminBody.html

Vishwas Lele
Chief Technology Officer, Applied Information Sciences.
Chief Technology Officer & Microsoft Regional Director, Washington DC
Vishwas serves as CTO at Applied Information Sciences, Inc. He is responsible for assisting organizations in envisoning, designing and implementing enterprise solutions related cloud and mobility. Mr Lele brings close to 27 years of experience and thought leadership to his position, and has been with AIS for 22 years. A noted industry speaker and author, Mr. Lele serves as the Microsoft Regional Director for Washington D.C. and is currently a Azure MVP. Talk to me about: Cloud, Azure, DevOps, lift-n-shift, ML.

How to configure multiple Home Pages using GPO?

$
0
0

In this blog post, we are covering a few methods you could used to manage secondary home pages on your environment using Group policy objects.

Requirement: To a local or domain administrator and be familiar with GPMC.MSC console and Group Policy Preferences.

Method I:

The Disable changing secondary home page settings Administrative Template. This policy is available under the Computer and User configuration Policy.

  • Secondary home pages are the default Web pages that Internet Explorer loads in separate tabs from the home page whenever the browser is run. This policy setting allows you to set default secondary home pages.
  • If you enable this policy setting, you can specify which default home pages should load as secondary home pages. The user cannot set custom default secondary home pages.
    If you Disable or do not configure this policy setting, the user can add secondary home pages.
    Note: If the “Disable changing home page settings” policy is enabled, the user cannot add secondary home pages.
    Detailed values:
    • Id: secondaryhomepagesList

Computer Configuration: http://gpsearch.azurewebsites.net/#653 

  • Policy Name: Disable changing secondary home page settings
  • Category Path: Computer ConfigurationAdministrative TemplatesWindows ComponentsInternet Explorer
  • Supported: On At least Internet Explorer 8.0
  • Registry Key: HKLMSoftwarePoliciesMicrosoftInternet ExplorerMainsecondaryStartpages
  • Value: no value given
  • Admx: inetres.admx

User Configuration:  http://gpsearch.azurewebsites.net/#7084 

  • Policy Name: Disable changing secondary home page settings
  • Category Path: User ConfigurationAdministrative TemplatesWindows ComponentsInternet Explorer
  • Supported: On At least Internet Explorer 8.0
  • Registry Key: HKCUSoftwarePoliciesMicrosoftInternet ExplorerMainsecondaryStartpages
  • Value: no value given
  • Admx: inetres.admx

Screenshot:

Disable changing secondary home page settings

METHOD II

Use Group Policy Preferences (GPP)

The advantage of using Group Policy Preferences is that it allows you to specify a default home page but still allow users to change it if they want.

Windows 2012 R2 Demo:

  • From GPMC.MSC navigate to your GPO object and edit
  • Go to: User Configuration / Preferences / Control Panel Settings / Internet Settings
  • Right Click on Internet Settings and select Internet Explorer 10

1

  • The first thing we notice is that we have red underline settings:Settings which are underlined in red are not configured at the target machine, while settings underlined in green are configured at the target machine.
    In order to change the underlining, use the following function keys:

F5 – Enable all settings on the current tab
F6 – Enable the currently selected setting
F7 – Disable the currently selected setting
F8 – Disable all settings on the current tab

4

  • You will now see the GPP IE Setting Policy configured

5

Method III

Using Group Policy Preferences Registry – This requires you to be more familiar with the registry, but it gives you a more granular approach.

  • First, setup your host machine with the home pages you would like the clients machines to be configured with.
    • In this example, I am using three sites.
  • From User Configuration / Preferences / Windows Settings / Registry
  • Right Click on Registry and select Registry Wizard
  • From Registry Browser, click select Local Computer(default) and click on Next>
  • From the Registry Browser, find the following key: SoftwareMicrosoftInternet ExplorerMain
  • From the bottom pane, select the following items: Start Page and Secondary Start Pages

  startpagesecondary

  • NEXT: Click on Finish.
  • You can clean up the structure of this GPO if you like, to make it a little easier to manage. See the steps below!

To clean up the GPP GPO, follow these simple steps:

  • From the Registry GPO Object, expand the folder tree view til you find the Main folder.
  • Right click on the Main Folder and choose “Rename”
  • Give it a friendly name, like: Homepage_and_Secondary_Startup-Page

gpp-rename

  • Now, Drag the Homepage_and_Secondary_Startup-Page to the Registry GPO object and drop it. This will eliminated the unnecessary tree view for this GPO created by the Wizard.

gpp-delete-results-1

  • Delete what is left over and it will look like this:

gpp-clean

The Policy is ready and should provide you with the home page and a secondary homepage.

Related Blog:

How to configure Internet Explorer 11 homepage using Group Policy?

This blog has been provided to you by the IE Support team!

Check to see if a managed path exists using PowerShell

$
0
0

Here is a handy PowerShell function that will check to see if a managed path for a web application exists.  If it doesn’t, it adds it.

function AddManagedPath
{
      param(
      [String]$WebApplication, 
      [String]$ManagedPath,
      [Boolean]$Explicit
      )

      $WebApp = Get-SPWebApplication -Identity $WebApplication

      Write-Host "Check to see if the managed path exists"

      $boolManagedPathExists = Get-SPManagedPath -WebApplication $WebApp -Identity $ManagedPath -ErrorAction SilentlyContinue
      if($boolManagedPathExists -eq $null)
      {
            Write-Host "The managed path doesn't exist so it will be created"

            if($Explicit)
            {
                  New-SPManagedPath -RelativeURL $ManagedPath -WebApplication $WebApp -ErrorAction SilentlyContinue
            }
            else
            {
                  New-SPManagedPath -RelativeURL $ManagedPath -WebApplication $WebApp -ErrorAction SilentlyContinue -Explicit
            }                 
      }
      else
      {
            Write-Host "Managed Path $ManagedPath already exists."
      }
      return
}
#Call the function which will check to see if the path exists.  If it doesn't it will add it.
AddManagedPath -WebApplication "ContosoWebApp" -ManagedPath "NewPath" -Explicit $false

 

 

Released: Public Preview for SQL Server vNext Management Pack

$
0
0

We are happy to announce that the brand-new management pack for SQL Server vNext is ready to go. Please install and use this public preview and send us your feedback (sqlmpsfeedback@microsoft.com)!

Please download the public preview bits at:

https://www.microsoft.com/en-us/download/details.aspx?id=54535

The most important new features are as follows:

  • X-platform opportunities came true: monitor SQL vNext on Linux and SQL vNext on Windows!
  • Agentless monitoring is now available along with traditional agent monitoring. The monitoring workload can be transferred to management servers included in the SQL Server vNext Monitoring Pool.
  • Usage of scripts is discontinued in favor of .Net Framework modules, which enables more efficient resource usage.
  • For getting information on health and performance, SQL Server Dynamic Management Views and Functions are now used instead of WMI calls. This provides better efficiency and connectivity.

All the details regarding the new functionality can be found in the Operations Guide that can be downloaded along with the Management Pack. Full functionality will be available with SQL Server vNext GA. This CTP release only covers a subset of monitors and rules. We will work towards full functionality as we release new CTPs.

We are looking forward to hearing your feedback (sqlmpsfeedback@microsoft.com)!


Released: System Center Management Pack for SQL Server, Replication, AS, RS, Dashboards (6.7.15.0)

$
0
0

We are happy to announce new updates to SQL Server Management Pack family. All Management Packs are available in all 11 languages!

  • Microsoft System Center Management Pack for SQL Server enables the discovery and monitoring of SQL Server Database Engines, Databases, SQL Server Agents, and other related components.

Microsoft System Center Management Pack for SQL Server

Microsoft System Center Management Pack for SQL Server 2014

Microsoft System Center Management Pack for SQL Server 2016

  • Microsoft System Center Management Pack for SQL Server Replication enables the monitoring of Replication as set of technologies for copying and distributing data and database objects from one database to another and then synchronizing between databases to maintain consistency.

Microsoft System Center Management Pack for SQL Server 2008 Replication

Microsoft System Center Management Pack for SQL Server 2012 Replication

Microsoft System Center Management Pack for SQL Server 2014 Replication

Microsoft System Center Management Pack for SQL Server 2016 Replication

  • Management Pack for SQL Server Analysis Services enables the monitoring of Instances, Databases and Partitions.

Microsoft System Center Management Pack for SQL Server 2008 Analysis Services

Microsoft System Center Management Pack for SQL Server 2012 Analysis Services

Microsoft System Center Management Pack for SQL Server 2014 Analysis Services

Microsoft System Center Management Pack for SQL Server 2016 Analysis Services

  • Management Pack for SQL Server Reporting Services (Native Mode) enables the monitoring of Instances and Deployments.

Microsoft System Center Management Pack for SQL Server 2008 Reporting Services (Native Mode)

Microsoft System Center Management Pack for SQL Server 2012 Reporting Services (Native Mode)

Microsoft System Center Management Pack for SQL Server 2014 Reporting Services (Native Mode)

Microsoft System Center Management Pack for SQL Server 2016 Reporting Services (Native Mode)

  • Management Pack for SQL Server Dashboards

Microsoft System Center Management Pack for SQL Server Dashboards

Please see below for the new features and improvements. More detailed information can be found in guides that can be downloaded from the links above.

New SQL Server 2008/2008 R2/2012 MP Features and Fixes

  • No extra permissions on remote WMI are now required for Local System account when Always On hosts have names that are no longer than 15 symbols
  • Fixed: Always On discovery and monitoring scripts cannot read cached values in Windows registry
  • Fixed: Wrong MP version number in some Always On scripts
  • Fixed: CPUUsage and DBDiskLatency scripts fail with the reason: “Index operation failed”
  • Added retry policy in some Always On workflows to make PS-scripts work more stable
  • Updated the visualization library
  • Changed behavior of Always On scripts for cases when WSFC service is stopped

New SQL Server 2014/2016 MP Features and Fixes

  • No extra permissions on remote WMI are now required for Local System account when Always On hosts have names that are no longer than 15 symbols
  • Fixed: Always On discovery and monitoring scripts cannot read cached values in Windows registry
  • Fixed: Wrong MP version number in some Always On scripts
  • Fixed: CPUUsage and DBDiskLatency scripts fail with the reason: “Index operation failed”
  • Added retry policy in some Always On workflows to make PS-scripts work more stable
  • Updated the visualization library
  • Fixed: Always On objects get undiscovered when any Always On discovery crashes

New SQL Server Replication 2008/2012/2014/2016 MP Features and Fixes

  • Added support for configurations where computer host names are longer than 15 symbols
  • Fixed: MonitorDistributorSnapshotFreeSpace fails when being launched against SQL Server 2014 SP2
  • Fixed: Wrong source detection in logging
  • Updated the visualization library

New SQL Server Analysis Services 2008/2012/2014/2016 MP Features and Fixes

  • Added support for configurations where computer host names are longer than 15 symbols
  • Fixed: AS workflows sometimes crash
  • Updated the visualization library

New SQL Server Reporting Services 2008/2012/2014/2016 MP Features and Fixes

  • Added support for configurations where computer host names are longer than 15 symbols
  • Fixed: Web Service monitors do not support URL reservation https://+:<port>/<ReportServerPage> (protocol is HTTPS)
  • Updated the visualization library

New SQL Server Dashboards Features and Fixes

  • Fixed: Tiles content is replaced with question signs after a long period of inactivity

We are looking forward to hearing your feedback.

C# code test

$
0
0
private void CreateSendEmail(List<Message> messages,string styles)
{
    if (messages.Count == 0) return;
    Console.WriteLine("Writing Email...");
    string title = string.Format("{0}",messages[0].Source.Substring(0,1));
    string body = styles;
    foreach (var message in messages)
    {
        title += ( " " + message.Keyword );
        body += ( message.Html+"<br/>" );
    }
    Console.WriteLine("Sending Email...");
    Email.Send(title, body);
    Console.WriteLine("Email successfully sent");
}

Wie Du gratis die Microsoft Build 2017 sehen kannst

$
0
0

Gerwald hat ja schon Anfang Dezember geschrieben, dass die Microsoft Build 2017 heuer vom 10. bis 12 Mai in Seattle stattfinden wird.

Noch hat der  Kartenverkauf nicht begonnen, aber ich bin mir sicher dass die Build auch heuer wieder rasend schnell ausverkauft sein wird. Die Hotels vor Ort füllen sich auf jeden Fall schon.,

Für alle die nicht persönlich zur Build fliegen können bringen wir daher die Build nach Österreich. Es gibt also auch heuer wieder die Möglichkeit in Österreich quasi live dabei zu sein

Komm doch auch Du zu einem unserer beliebten Keynotestreamings!!

Die Teilnahme ist kostenlos. Daher melde Dich noch heute an, denn auch hier sind die Plätze begrenzt!

Und für alle die es schon gar nicht mehr bis zur Build erwarten können: Hier noch ein kleines Video zur Einstimmung:

Viel Spaß!!

PS: Wer jetzt schon sicher weiß, dass er auf jeden Fall zur Build fliegen möchte schickt mir vor dem 19. Jänner ein E-Mail an Gerhard.Goeschl@Microsoft.com.

Performance issues with Test Results of Visual Studio Team Services – 01/04 – Investigating

$
0
0

Initial Update: Wednesday, 4 January 2017 08:04 UTC

We are actively investigating issues with Test Results. Some customers may experience Rest API failures while working with Custom Dashboard or Custom Reports.

  • Next Update: Before 11:10 UTC


Sincerely,
Shubhra

NEW BOOK: Microsoft Excel Data Analysis and Business Modeling (5th Edition)

$
0
0

Learn business modeling and analysis techniques with Microsoft Excel 2016, and transform data into bottom-line results. I assisted the author, Wayne Winston, as the Technical Reviewer of this new book.

You can purchase the book from Microsoft Press here:

Microsoft Excel Data Analysis and Business Modeling, 5th Edition

book_cover

864 pages!

Written by award-winning educator Wayne Winston, this hands on, scenario-focused guide helps you use Excel’s newest tools to ask the right questions and get accurate, actionable answers. This edition adds 150+ new problems with solutions, plus a chapter of basic spreadsheet models to make sure you’re fully up to speed.

Solve real business problems with Excel—and build your competitive advantage

  • Quickly transition from Excel basics to sophisticated analytics
  • Summarize data by using PivotTables and Descriptive Statistics
  • Use Excel trend curves, multiple regression, and exponential smoothing
  • Master advanced functions such as OFFSET and INDIRECT
  • Delve into key financial, statistical, and time functions
  • Leverage the new charts in Excel 2016 (including box and whisker and waterfall charts)
  • Make charts more effective by using Power View
  • Tame complex optimizations by using Excel Solver
  • Run Monte Carlo simulations on stock prices and bidding models
  • Work with the AGGREGATE function and table slicers
  • Create PivotTables from data in different worksheets or workbooks
  • Learn about basic probability and Bayes’ Theorem
  • Automate repetitive tasks by using macros

It’s also available on Amazon.com.

If you purchase it from Amazon, be sure to leave a review!

 

If someone tells you to jump, look for a weapon.

– Ninja Ed

Viewing all 12366 articles
Browse latest View live