Windows 2012 Hosting - MVC 6 and SQL 2014 BLOG

Tutorial and Articles about Windows Hosting, SQL Hosting, MVC Hosting, and Silverlight Hosting

Windows Hosting - ASPHostPortal.com :: How to Remote Web Access login page Redirect

clock January 30, 2017 07:06 by author Dan

According to windowsserveressentials website, The issue about Remote Web Access login page Redirect is relatively simple one, in previous versions of Essentials, visiting http://server or http://server.remotewebaccess.com it would automatically redirect you to the RWA Login page at /remote. In 2016 this is not occurring.

In 2012 R2 this behaviour is controlled via default.aspx in particular, this line.

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Microsoft.WindowsServerSolutions.Web.RootSite._Default" %>


Looking at the Content of the Default Web Site in 2016, we can see the standard IIS InetPub wwwroot folder. This is odd because usually in Essentials that path has been updated to C:\Program Files\Windows Server\Bin\WebApps\Site.


I had previously posted that we should update the PhysicalPath of the Remote Web App web site to match previous versions of Essentials. Doing so corrected the Redirect, however resulted in the below message.

I opened a support case with Microsoft regarding this behaviour and after some time was informed this behaviour was by design. Without any explanation or documentation of changing this feature.

The ‘correct’ way to solve this, is using an HTTP Redirect as shared originally by TechSpeeder, or by educating the user to enter the correct address.

We are still (some months later) yet to hear back from anyone at Microsoft about this or any other issue we have raised with Essentials 2016.

Best Windows Server 2016 Hosting Recommendation

ASPHostPortal.com provides our customers with Plesk Panel, one of the most popular and stable control panels for Windows hosting, as free. You could also see the latest .NET framework, a crazy amount of functionality as well as Large disk space, bandwidth, MSSQL databases and more. All those give people the convenience to build up a powerful site in Windows server 2016. We offers Windows hosting starts from $5/month only. We also guarantees 30 days money back and guarantee 99.9% uptime. If you need a reliable affordable Windows server 2016 Hosting, we should be your best choice.



Windows Hosting - ASPHostPortal.com :: Tips To Solve Windows Networking Issues

clock January 23, 2017 08:38 by author Dan

Almost every home today has more than one device that connects with the WiFi network in the house. Some desktops and laptops you want to connect to your WiFi network may be running different versions of Windows. Many other devices are running a completely different operating system, typically Android or iOS. Getting disparate devices and operating systems to work together on the same network can be a challenging task.

Let’s troubleshoot some of the most common networking problems in Windows.

Connecting to the network

You will most probably have issues with network connections when you try connecting a new computer or upgrade your OS. There could be multiple reasons for this. Here is a look at a few of the common ones:

Upgrading OS: When you install a new version of an OS, it can wreak havoc on the network connections. You might face various issues based on whether you upgraded or installed from scratch. If you have upgraded, you may have to reinstall the network drivers to get the WiFi working properly. The simplest way of doing this is by downloading the latest drivers from the manufacturer’s website.

IPv6 or IPv4: This is a bizarre problem. IPv4 is the most commonly used IP addressing system around today. But there is a shortage of IPv4 addresses. That is where the new IPv6 system comes into the picture. It is not quite common yet. So while it would be nice to have the option of IPv6 addresses, you should stick to IPv4 if you are still running any OS other than Windows 10.

File sharing


File sharing is something that can end up being a major problem with Windows at some point in time. Even for something as simple as copying files between systems and devices, you may face some issues. Here are a few methodologies you could consider. This is a common network problem when you upgrade your version of Windows in general.

The easiest way around this is to enable Simple File Sharing. The only problem with this is that the network will be less secure.

Be sure to enable file and printer sharing. Go to the Network & Sharing Center. Go to change advanced settings and make sure network discovery, file, and printer sharing are turned on. No, you do not turn on the microwave to cook some popcorn. That you do later when your network is working.

Now, if you are using Windows Home Server, it is not as easy for you to take advantage of file sharing. You will need to have an account and the login info, of course. There will also be the added annoyance of needing to log in each time you connect. This is especially irritating if you have to log in frequently. It may not be as annoying as your loud neighbor who listens to unnerving music all the time, but it is bothersome.

To get around this problem, what you can do is go to your user account, and uncheck the option that says users need to enter a username and password for using this computer. This is not a wise thing to do, though. It is better for you to maintain separate accounts with separate passwords while using a regular Windows 10 computer to create the HomeGroup. Also, if you choose to do this, remember that you will not be able to create more than 10 connections.

Networking

Sharing files on Windows 10 with computers running an older Windows OS can be confusing. Windows 10 comes with a couple of features that may frustrate those who are attempting to connect to Windows 10 systems from older libraries and HomeGroups.

On Windows 10, you get the opportunity of creating a HomeGroup. A password will be generated, which you will also enter on any other Windows 10 computer that you put on the same HomeGroup. This makes it very easy to connect Windows 10 computers with each other.

But old operating systems Vista or XP don’t have a HomeGroup. There are two options for connecting with older computers:

  • First, you could consider creating a special account for sharing. After doing this, give the sharing account info to anyone who you would want to join your HomeGroup. Remember to make it a standard account and not an admin account so that you don’t give full control of your computer to someone else.
  • Another option is available from the control panel, under the advanced networking setting. Here, select “use user accounts & passwords to connect to other computers.”

Other tips and tricks

  • If you are having problems with sharing, consider changing your network from “Home” to “Public.” This may help.

  • When you start Windows 10, you will have to choose between Home, Work, or Public networks. If you are using a laptop, you might want to go with Public because you will be using it in coffee shops or other areas and would want to keep it safe. You should not do this when connected to your home network since it will make it hard for you to share files.

  • Mapping network drives will help prevent any networking problems when using applications that need drive letters. You should always use mapped drives instead of network locations. Creating network locations is rather simple, but you will not be able to use it with applications that ask for drive letters instead of network locations.

  • It may be tempting to skip the whole HomeGroup creation step, but you should not. This is critical, especially if you are running multiple Windows 10 PCs. Once a HomeGroup is created, it becomes easy to connect with other machines. Also, there is no limit to the number of systems that can be a part of your HomeGroup.

  • The networking troubleshooter can prove to be useful if you are having trouble. Yes, you could search online but the networking troubleshooter will also give you some answers and suggestions. It is nothing like the earlier versions of Windows. It will find a solution in most cases.

Best Windows Server 2016 Hosting Recommendation

ASPHostPortal.com provides our customers with Plesk Panel, one of the most popular and stable control panels for Windows hosting, as free. You could also see the latest .NET framework, a crazy amount of functionality as well as Large disk space, bandwidth, MSSQL databases and more. All those give people the convenience to build up a powerful site in Windows server 2016. We offers Windows hosting starts from $5/month only. We also guarantees 30 days money back and guarantee 99.9% uptime. If you need a reliable affordable Windows server 2016 Hosting, we should be your best choice.



Windows Hosting - ASPHostPortal.com :: How to create new local user account in Windows Server 2016

clock December 19, 2016 08:55 by author Dan

According to ittutorials website, When you install Windows Server 2016, the administrator account gets created by default, and it’s the account that is supposed to have the highest privilege on the server, but on Windows server 2016 you cannot even open the calculator with the administrator account ( I assume it is for security reasons, calculators are too dangerous you know Smile ) so  you need to create a new local account in order to open all the applications.

I think the reason behind this is that you shouldn’t use the administrator account to open non-administrative applications or download apps from the market, etc.

Anyway, creating a new user account in Windows Server 2016 is not much different than in previous windows serve and its very quick and simple, here is how, just right-click the start menu and then click on Computer Management

Then expand the Local Users & Groups tree and right-click on Users and choose New User:

Fill out the New User form that comes up. remember to check Password never expires at the bottom:

Then click on Create.

If you want to add this account to the Administrators group, then click on on the Groups folder under local Users and Groups and double-click on the Administrators group:

Then click on Add on the screen that popup, type the name of the account you just created,  then hit Apply then OK

sign out from your administrator account:

And login back with the account you just created.. the calculator opens fine now!!

Finish!!!

Best Windows Server 2016 Hosting Recommendation

ASPHostPortal.com provides our customers with Plesk Panel, one of the most popular and stable control panels for Windows hosting, as free. You could also see the latest .NET framework, a crazy amount of functionality as well as Large disk space, bandwidth, MSSQL databases and more. All those give people the convenience to build up a powerful site in Windows server 2016. We offers Windows hosting starts from $5/month only. We also guarantees 30 days money back and guarantee 99.9% uptime. If you need a reliable affordable Windows server 2016 Hosting, we should be your best choice.



Windows Hosting - ASPHostPortal.com :: Easy Steps to Add Docker containers on Windows Server 2016

clock December 5, 2016 08:47 by author Dan

According to Techgenix website. Docker containers, which were already taking the market by storm, received a big boost in September when the company announced a commercial partnership with Microsoft. The deal, which extends the Docker engine to Windows Server, is expected to double the size of the already fast-growing container market.

Understanding containers

If you’re reading this, chances are you already understand what Docker containers are. If so, feel free to skip ahead to see what this means for you and how to run the containers in Windows. But for Docker newbies, here’s some background information.

Docker launched just three years ago in 2013, but it has already become immensely popular. One of the reasons containers got such widespread support so immediately was because a company is able to put many more applications into a physical server with containers rather than with virtual machines (VMs).

Essentially, this is because VMs use much more system resources, such as RAM and CPU cycles. While a container essentially only needs a compatible operating system and supporting programs, libraries, and resources, a VM needs much more.

Virtual machines must virtually replicate the system hardware to run. But because containers use shared operating systems instead of virtualizing hardware, you can put many more applications on one server using containers.

Not only this, but containers also create an operating system that is consistent among machines and can be used for development, testing, and deployment.

Of course, this isn’t to say that they are better than virtual machines. They are simply for different purposes. When using Docker, every container has to use the same operating system and kernel. Simplified, containers are for you if you need multiple copies of the same application.

There are a few reasons why Docker skyrocketed quickly and has steadily remained one of the top container companies. Docker changed the way containers were deployed, making it safer and easier.

With Docker, it’s possible to create different environments like that of a live server for development purposes and allow those on different computers to work on the same project, without needing to change the settings or spend hours setting up the environment yourself.

Docker notes that “On average, Docker users ship 7X more software after deploying Docker in their environment.” Also, with Docker, it’s easy to “identify issues, isolate the problem container, quickly roll back to make the necessary changes, and then push the updated container into production. Isolation between containers makes these changes less disruptive than in traditional software models.”

Docker containers in Windows Server 2016

Now that you’ve got a good grasp of what Docker containers are (or you already knew), let’s see what that means for Windows users.

Before this, Docker containers were exclusive only to Linux. With this new partnership, though, they will be functional on the upcoming Windows servers. And what could be better than being able to run Docker containers on your Windows computer? Running it for free!

After two years of joint engineering, this commercial partnership entails a few specific things. First, the Commercially Supported Docker Engine, or “CS Docker Engine,” will be available to Windows Server 2016 customers for no additional cost.

Resolving some users’ issues with Docker support, Microsoft will provide Windows Server 2016 customers enterprise support for CS Docker Engine, backed by Docker Inc.

Additionally, Docker and Microsoft will jointly assist in providing more security by promoting Docker Datacenter. This will help “IT Pros to secure the Windows Server software supply chain and manage containerized Windows Server workloads, whether on-prem, in the cloud, or hybrid,” Docker says.

The partnership also includes the integration of Visual Studio Tools for Docker and Docker for Windows. This gives developers complete desktop development environments for building Dockerized Windows apps.

Microsoft has also contributed Windows Server container-base images and apps to Docker Hub to jumpstart app development, according to Docker’s site. And, for IT pros, Docker Datacenter has made it possible to manage Windows Server environments in addition to the Linux environments it already manages.

The Docker platform “represents a single set of tools, APIs and image formats for managing both Linux and Windows apps.” As Docker’s Michael Friis puts it, “As Linux and Windows apps and servers are dockerized, developers and IT-pros can bridge the operating system divide with shared Docker terminology and interfaces for managing and evolving complex microservices deployments both on-prem and in the cloud.”
How to use the new Docker containers on Windows

There are a few things to understand about how to run the containers on Windows. The command “docker run” is available natively on Docker for Windows, and the terminology hasn’t changed much between the operating systems. Also, like different security profiles can be run on Linux, this is also true of Windows.

There are two isolation modes available, according to Docker’s website:

  • “Windows Server Containers use the same shared-kernel process-isolation paradigm known from Linux. Since containers run as normal (but isolated) processes, startup is fast and resource overhead is minimal.”
  • “With Hyper-V isolation, container processes run inside a very minimal hypervisor created during container start. This yields potentially better isolation at the cost of slower startup and some resource overhead.”

So, a Windows container image can be run using either of these isolation modes, as long as the underlying host supports the requested isolation mode. Additionally, both of these hosts are able to be run at the same time, and the Docker control API is the same for both modes.

Generally, developers won’t have to worry about this and can simply use the typical “docker run” command, not needing the extra “docker run –isolation=hyperv microsoft/nanoserver”. Isolation mode is useful for IT pros, though, to decide how to deploy containerized apps in production.

Docker clarifies that “while Hyper-V is the runtime technology powering hyper-v isolation, hyper-v isolated containers are not Hyper-V VMs and cannot be managed with classic Hyper-V tools.”

Best Windows Server 2016 Hosting Recommendation

ASPHostPortal.com provides our customers with Plesk Panel, one of the most popular and stable control panels for Windows hosting, as free. You could also see the latest .NET framework, a crazy amount of functionality as well as Large disk space, bandwidth, MSSQL databases and more. All those give people the convenience to build up a powerful site in Windows server 2016. We offers Windows hosting starts from $5/month only. We also guarantees 30 days money back and guarantee 99.9% uptime. If you need a reliable affordable Windows server 2016 Hosting, we should be your best choice.



Windows Hosting - ASPHostPortal.com :: Simple Steps To Set Windows Server 2016 With Static IP Address

clock November 28, 2016 10:05 by author Dan

According to ittutorials website, If you are setting up Windows Server 2016 as a domain controller or as any other production server function in your network it is recommended that you set it up with a static IP address. This is a quick how to guide on how to do that.

Note: you need an administrator account on the server to set your Windows 2016 server with a static IP address

Login to your Windows 2016 server, and click on the Start button, and then click on the Control Panel:

Then click on View network status and tasks under the Network and Internet applet:

Then click on Change adapter settings on the left menu:

then right-click on your network connection, and select Properties:

Select Internet Protocol Version 4 (TCP/IPv4) and then click on Properties:

Enter the IP address you want to assigned to this server, the Network Mask, Default Gateway, and the DNS IP address:

Click  OK and then reboot the server.

Best Windows Server 2016 Hosting Recommendation

ASPHostPortal.com provides our customers with Plesk Panel, one of the most popular and stable control panels for Windows hosting, as free. You could also see the latest .NET framework, a crazy amount of functionality as well as Large disk space, bandwidth, MSSQL databases and more. All those give people the convenience to build up a powerful site in Windows server 2016. We offers Windows hosting starts from $5/month only. We also guarantees 30 days money back and guarantee 99.9% uptime. If you need a reliable affordable Windows server 2016 Hosting, we should be your best choice.



Windows Server 2016 Hosting - ASPHostPortal.com :: Installing SFTP/SSH Server on Windows using OpenSSH

clock November 21, 2016 10:35 by author Dan

According to winscpdotnet website, Recently, Microsoft has released an early version of OpenSSH for Windows. You can use the package to set up an SFTP/SSH server on Windows.

Installing SFTP/SSH Server

  • Download the latest OpenSSH for Windows binaries (package OpenSSH-Win32.zip)
  • Extract the package to a convenient location (we will use C:\openssh in this guide)
  • As the Administrator, install SSHD and ssh-agent services:
  • powershell.exe -ExecutionPolicy Bypass -File install-sshd.ps1
  • Generate server keys by running the following commands from the C:\openssh:

    .\ssh-keygen.exe -A

  • Open a port for the SSH server in Windows Firewall:
    • Either run the following PowerShell command (Windows 8 and 2012 or newer only), as the Administrator:
      New-NetFirewallRule -Protocol TCP -LocalPort 22 -Direction Inbound -Action Allow -DisplayName SSH
  •  
    • or go to Control Panel > System and Security > Windows Firewall > Advanced Settings > Inbound Rules and add a new rule for port 22.
  • To allow a public key authentication, as an Administrator, from C:\openssh, run:

powershell.exe -ExecutionPolicy Bypass -File install-sshlsa.ps1
and restart the machine

  • In C:\openssh\sshd_config locate a Subsystem sftp directive and change the path to sftp-server to its Windows location:
  • Subsystem sftp C:\openssh\sftp-server.exe
  • Start the service and/or configure automatic start:
    • Go to Control Panel > System and Security > Administrative Tools and open Services. Locate SSHD service.
    • If you want the server to start automatically when your machine is started: Go to Action > Properties. In the Properties dialog, change Startup type to Automatic and confirm.
    • Start the SSHD service by clicking the Start the service.

These instructions are partially based on the official deployment instructions.

Setting up SSH public key authentication

Follow a generic guide for Setting up SSH public key authentication in *nix OpenSSH server, with following differences:

  • Create the .ssh folder (for the authorized_keys file) in your Windows account profile folder (typically in C:\Users\username\.ssh).
  • Do not change permissions for the .ssh and the authorized_keys.

Connecting to the server

Before the first connection, find out fingerprint of the server’s RSA key by running ssh-keygen.exe -l -f ssh_host_rsa_key -E md5 from the C:\openssh:

C:\openssh>ssh-keygen.exe -l -f ssh_host_rsa_key -E md5
2048 MD5:94:93:fe:cc:c5:7d:d8:2a:33:21:0e:f3:91:11:8a:d9 martin@example (RSA)


Start WinSCP. Login dialog will appear. On the dialog:

  • Make sure New site node is selected.
  • On New site node, make sure the SFTP protocol is selected.
  • Enter your machine/server IP address (or a hostname) into the Host name box.
  • Enter your Windows account name to the User name box. It might have to be entered in the format user@domain, if running on a domain.
  • For a public key authentication:
    • Press the Advanced button to open Advanced site settings dialog and go to SSH > Authentication page.
    • In Private key file box select your private key file.
    • Submit Advanced site settings dialog with the OK button.
  • For a password authentication:
    • Enter your Windows account password to the Password box.
    • If you Windows account does not have a password, you cannot authenticate with the password authentication (i.e. with an empty password), you need to use the public key authentication.
  • Save your site settings using the Save button.
  • Login using Login button.
  • Verify the host key by comparing fingerprint with the one collected before (see above).

Best Windows Server 2016 Hosting Recommendation

ASPHostPortal.com provides our customers with Plesk Panel, one of the most popular and stable control panels for Windows hosting, as free. You could also see the latest .NET framework, a crazy amount of functionality as well as Large disk space, bandwidth, MSSQL databases and more. All those give people the convenience to build up a powerful site in Windows server 2016. We offers Windows hosting starts from $5/month only. We also guarantees 30 days money back and guarantee 99.9% uptime. If you need a reliable affordable Windows server 2016 Hosting, we should be your best choice.



About ASPHostPortal.com

We’re a company that works differently to most. Value is what we output and help our customers achieve, not how much money we put in the bank. It’s not because we are altruistic. It’s based on an even simpler principle. "Do good things, and good things will come to you".

Success for us is something that is continually experienced, not something that is reached. For us it is all about the experience – more than the journey. Life is a continual experience. We see the Internet as being an incredible amplifier to the experience of life for all of us. It can help humanity come together to explode in knowledge exploration and discussion. It is continual enlightenment of new ideas, experiences, and passions


Author Link


Corporate Address (Location)

ASPHostPortal
170 W 56th Street, Suite 121
New York, NY 10019
United States

Sign in