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 Repair the Boot Files in Windows Server 2008 or 2008 R2

clock December 5, 2016 07:09 by author Armend

How to Repair the Boot Files in Windows Server 2008 or 2008 R2

When booting to the Windows Recovery Environment (WinRE), the drive letters are assigned on a first-come, first-serve basis. For example, the C: drive in Windows will often have a different letter in WinRE. The DiskPart utility can be used to keep track of the drives and what is stored on them.

Note: If there is no System Reserved partition. It is okay to select the drive containing the Windows folder.   

  • First Partition: 100 MB System Reserved (No drive letter)
  • Second Partition: 60 GB (C:) OS
  • Third Partition: 1.5 TB (D:) Data
  • DVD Drive: E:

Note: If there is no System Reserved partition. It is okay to select the drive containing the Windows folder

Restoring Boot Files

  • Boot to the Windows Server DVD.
  • Open the command prompt.
    • Server 2008 R2:
    • If no driver is needed, press Shift-F10 to open the command prompt.
    • Continue with step 3.
  • Server 2008 (or 2008 R2 if a driver is required)
    • Click Next at the first screen.
    • Click Repair your computer.
    • If no driver is needed, click Next and proceed to step vii below.
    • If a driver is needed, click Load Drivers.
    • Insert the media containing the needed driver.
    • Note: The media can be a CD, DVD, or USB storage device
    • Navigate to the folder containing the driver, select it, and click Open.
    • Click Command Prompt.
  • The command prompt appears.
  • Type DiskPart at the command prompt.

  • Type List vol at the DiskPart prompt.
  • Write down the drive letter of the DVD drive. In this example, it is F.
  • Write down the drive letter of the system reserved drive. In this example, it is C.
  • Type Select vol 1 (assuming volume 1 is the System Reserved volume, as it is here).
  • Type active. This sets the selected volume as active.
  • Type exit to return to the command line.
  • Type Copy f:\BootMgr c:\ at the command prompt. One of two things will happen:
    • If the file Bootmgr already exists on C:, type N to avoid overwriting it.
    • If the file Bootmgr doesn't already exist on C:, it will automatically be copied.
  • Type Bootrec /Fixmbr at the command prompt.
  • Type Bootrec /Fixboot at the command prompt.
  • Type Bootrec /rebuildBCD at the command prompt.
    • If no OS is found, the following appears:

This means that one of the following is true:

  • The boot configuration database (BCD) already exists.
  • The OS is not there.
  • The OS is damaged beyond the ability of BootRec to recognize it.
  • If BootRec /RebuildBCD succeeds, it will list any installations of Windows that it found. Press Y to accept and add them to the BCD. The server is now configured to boot from the proper partition. Close the command prompt and reboot the system into normal mode.

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 [email protected] (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 [email protected], 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.



Windows Hosting - ASPHostPortal.com :: Hidden Features In Windows RDP Allows Its Widespread Usability And Popularity

clock November 7, 2016 10:58 by author Dan

According to Sanjay Joshi (internet marketer) article, Remote desktop protocol in simple terms is a proprietary tool, which belongs to Microsoft and is also distributed by authorized partners. This protocol allows the user of Microsoft windows server to interact with another computer using the same graphics or operating system. It provides remote display and input capabilities across widespread network connections where the windows based applications are running on a server.

Multiple LAN protocols can be supported by the RDP instruments. Usually all the RDP works on and are based on ITU T.120 family of protocols. This protocol allows for separate virtual channels for carrying device communication and presentation data from the server. Also, these protocols are spread across encrypted servers and data.

The windows RDP is specialist of an extensible base and supports up to 64,000 separate channels for transmission of data. The rdp has the potential to use its own video driver to construct its own information pockets along the network and lets them pass to the client computers. It is because of the RDP that the commands from the mouse and keyboards reach the server which is read through the Microsoft windows graphics device interface.

The simplest formats of the windows RDP applicability are the enabling and disabling the color combinations and the wallpaper, through the TCP connection. It is the wide range of RDP features that has brought so many of enthusiasts to take advantage of remote desktop protocol.

Encryption is the most important and the top of the list feature. Due to the encryption over a secure communications across networks, many administrators are choosing the windows desktop protocol. The data can be reduced by the help of the RDP by data compression, persistent caching of bitmaps and fragments in RAM.

The lower cache provides a substantial lowering of the bandwidth at which the windows system can work. The ability to connect or disconnect from a remote device is a functionality that is possible and is perhaps the most attractive feature of the RDP. This is particularly advantageous when the sudden logging off occurs. Users have the advantage of deleting, copying and pasting text and graphics between applications running on the local or remote computers.

Applications running within a remote desktop can be printed on a printer that is fixed to the client computer. The remote desktop protocol has allowed the client device to develop new and augmented applications and new features can be added. With the help of remote desktop protocol, remote management of different computers is possible.

Sharing inputs and displaying graphics between two different remote desktops can be done which allows the support staff to diagnose and resolve a problem from a remote location. Lastly, the remote connection can be used to shed of the excessive load due to the networking. These are the features that can be implemented and taken advantage of by the use of RDP. Those clients, who are able to do this, can resolve a number of issues that pertain to the computer use. And all these without the need to be physically present near the computer.

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 :: 10 Features in Windows Server 2016 sysadmins

clock November 7, 2016 06:55 by author Armend

The newest release of Microsoft’s server operating system, Windows Server 2016, hit general availability on September 26th, along with System Center 2016. We’ve been hearing about new and improved things coming in Windows Server 2016 for months, so you most probably know about the container support and the improved security and networking tools. Maybe you’ve even used some of them in the technology preview versions.
But in case you’ve been holding out for GA, or your working day consisting of endless tickets simply doesn’t allow you to find time to tryout betas and technology previews, we’ve prepared a closer look at the top 10 features in Windows Server 2016 that every sysadmin needs to know about.

 

Server footprints get even smaller with Nano

The next evolution of Server Core – Nano Server, is an even more thinned down version of Windows Server 2016. A Nano server must be managed remotely and can only run 64 bit applications, but it can be optimized for minimum resources, requires far less patching, restarts very quickly, and can perform a number of specific tasks very well with minimal hardware.
Good uses for Nano Server include IIS, DNS, F&P, application servers, and compute nodes. So if you liked Server Core, you will love Nano; and if you never really understood Server Core, you should give Nano a chance, especially if patching and downtime are challenges in your 24×7 shop.

Improved server management with PowerShell 5.0

Windows Server 2016 comes with PowerShell 5.0, a part of the Windows Management Framework 5.0.
including support for developing your own classes, or a new module called PackageManagement, which lets you discover and install software packages on the Internet.
The Workflow debugger now supports command or tab completion, and you can debug nested workflow functions. To enter it in a running script you can now press Ctrl+Break, in both local and remote sessions, and also in a workflow script. And PS5 now runs in Nano server directly, so administration of this lightweight server platform is made even simpler.

Versatile container support for enhanced density

Windows Server 2016 offers two kinds of containers to improve process isolation, performance, security, and scalability. Windows Server Containers can be used to isolate applications with a dedicated process and a namespace, while Hyper-V Containers appear to be entire machines optimized for the application.
Windows Server Containers share a kernel with the host, while Hyper-V Containers have their own kernel, and both enable you to get more out of your physical hardware investments. On top of this, Microsoft announced that all Windows Server 2016 customers will get the Commercially Supported Docker Engine for no additional cost, enabling applications delivered through Docker containers to run on Windows Server on-premise installations or in the cloud, on Azure.

More secure identity management

WS2016 brings some huge improvements to Active Directory, security, and identity management, such as Privileged Access Management (PAM), restricting privileged access within an existing Active Directory environment. In this model you have a bastion forest, sometimes called a red forest, that is where administrative accounts live and which can be heavily isolated to ensure it remains secure. Just-in-Time administration, privileged access request workflows, and improved audition are all included, and best of all – you don’t have to replace all of your DCs to take advantage of this.

Simplified administrative work

“Just Enough Administration” is a new capability in Windows Server 2016 that enables administrators to delegate anything that can be managed through PowerShell. Do you have a developer who needs to be able to bounce services or restart app pools on a server, but not log on or make any other changes? With JEA you can give him or her exactly those abilities, and nothing more. Of course, you may have to write some PS1s to let them actually do that, but the point is that now you can.

Improved HA remote desktop management

Customers who want to set up highly-available RDS environments, but not go to the trouble and expense of setting up HA SQL, can now use an Azure SQL DB for their Remote Desktop Connection Broker, making it both easier and less expensive to set up a resilient virtual desktop environment.
The RD Connection Broker can now handle massively concurrent connection situations, commonly known as the “log on storm”, and it has been tested to handle more than 10k concurrent connection requests without failures.

Software-defined storage for easier management

Software-defined storage enables you to create HA data storage infrastructures that can easily scale out, without breaking the bank. With software defined storage, even SMBs can start to take advantage of high availability storage with the existing budgets.
Three new features take over the stage: Storage Spaces Direct enables you to combine commodity hardware with availability software, providing performance for virtual machines, Storage Replica replicates data at the volume level in either synchronous or asynchronous modes, while Storage QoS guards against poor performance in a multitenant environment.

Time slips into more accuracy

If you have set up an NTP server on your network, or subscribed to NTP services from an NTP pool, you know how important accurate time can be. Typically, Windows environments were less worried about accurate time, and more concerned with a consensus of time, with a five-minute drift being acceptable.
Now in Windows Server 2016, the new time service can support up to a 1ms accuracy, which should be enough to meet almost all needs – if you need more accuracy than that, you probably own your own atomic clock.

Connection flexibility with software-defined networking

Immensely valuable in a virtualization environment, software-defined networking enables administrators to set up networking in their Hyper-V environment similar to what they can in Azure, including virtual LANs, routing, software firewalls, and more.
You can also do virtual routing and mirroring, so you can enable security devices to view traffic without expensive taps.

Boosted security

There are so many security improvements in Windows Server 2016 that we could do an entire post just on that, which, as a matter of fact, we will in the coming weeks. For now, be aware that WS2016 includes improvements to protect user credentials with Credential Guard and Remote Credential Guard, and to protect the operating system with Code Integrity, with a whole host of improvements with virtual machines, new antimalware capabilities in Windows Defender, and much more.

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 :: Save Your Important Data Using Windows Server Backup

clock October 10, 2016 21:11 by author Dan

Windows Server Backup is a unique feature that enables regular backups and recovery solutions for computers running Windows Server 2008. The new backup and recovery technology was introduced to replace the previous NTBackup feature that was in earlier Windows versions. This program automatically performs back up operations for critical data and can also be used to restore the data for supported applications. In fact, the backup feature can be used for backing up a full Server or selected volumes according to user's needs.

With this server backup, it is easy to manage disasters when they occur. This is possible through recovery options for backed up volumes, folders, files, applications or even system state. A system recovery using Server Backup program can restore a complete server to a new hard drive in case of disk volume failures. This can be done using the full Windows recovery environment. Besides local computers, this new Backup also supports creation and management of backups for remote computers.

The server backup solution is an appropriate feature not only for system administrators but for anyone who needs backup solutions. It is suitable for small businesses as well as large companies. In fact, you do not need to be an IT professional to use new this new backup program. It is actually suited for individuals with basic computer skills especially in data recovery and backup. Technically, Windows Server Backup also provides APIs for cloud integration.

To run this program, you have to be in the group of administrators or Backup operators as a special consideration. Using the MMC (Microsoft Management Console) snap-in, you can actually manage the backups of another computer with Windows Server Backup. However, since the firewall is enabled by default in Windows 2008, you might encounter several security issues in the process. Luckily, these issues can be resolved by making relevant changes in the firewall. With these exciting new features included in this feature Backup program, it becomes much easier to perform and manage data recovery operations in a convenient manner; its few drawbacks outlined below notwithstanding.

One drawback with Windows 2008 is that current users of previous versions of Windows Server cannot upgrade old settings to the new Windows Server Backup feature. These settings have to be reconfigured after running an upgrade. A separate and dedicated disk is also required for running scheduled backups. Moreover, backing up data on tape is no longer supported in Server program and only locally attached disks can be backed up. To recover data from backups created with previous Server versions, you have to install NTBackup for Windows Server 2008.

With its faster backup technology, the backup software is a convenient and versatile backup tool in Windows server 2008. Restoration of items is much simpler as you can selectively choose what to restore. Backups can also be scheduled to run automatically without any user input. One-time backups can be performed to complement the automatic backups. With cloud integration, cloud backups can be synchronized with local backups through the MMC snap-in in Server Backup solution.

Best Windows Server 2012 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 2012. 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 2012 Hosting, we should be your best choice.



Windows Hosting - ASPhostPortal.com :: Install .NET Framework 3.5 in #Windows 10

clock August 29, 2016 19:49 by author Armend

Install .NET Framework 3.5 in #Windows 10

If you are facing issues installing .NET Framework 3.5 (many applications actually need this to run) in your Windows 10 and all the other options failed, my dear friend, you came to perfect page where I will show you how to install the same.

In this blog post, we will learn the command by which you can install .NET Framework 3.5 in Windows 10. This also works in other versions of Windows.
If you are facing issues with installation of .NET Framework 3.5, you might have noticed that, it is asking you to install .NET Framework 3.5 to install .NET Framework 3.5. Quite strange!!! Isn’t it? Just like a deadlock. Install “A” to install “A”. Yes my friend, you are right and here comes the solution.

To install the Framework properly, you will need the original Windows installation media. If you don’t have the same handy, download Windows 10 ISO image (for offline installation) using the Windows 10 Media Creation Tool from Microsoft. Once you download the ISO image, double click it to mount it in your system. This will create a virtual DVD drive in your system and mount the ISO there, which will look like a fresh DVD in your system having Windows 10 setup media. Also, you can extract the content of the ISO using tools like WinRAR to proceed with next.

To begin with, open the Command Prompt with administrative privileges. To do so in Windows 10, right click on the start button (or press “Win + X”) to popup the system menu. There you will find a menu item titled “Command Prompt (Admin)”. Click on this to launch the command prompt in admin mode.
Once the Command Prompt opens in the screen, place the following command and hit enter. Please make sure to change the source path, as mentioned later.
DISM  /Online  /Enable-Feature  /FeatureName:NetFx3  /All  /LimitAccess  /Source:x:\sources\sxs
e.g.

If you have Windows setup at “D:” drive, replace “x:” with “d:”

  • If you have Windows setup at “D:\Installers” folder path, replace “x:” with “d:\installers”
  • And also, make sure that “sources\sxs” folder exists in your Windows 10 installation media. When run from the command prompt, it will start installing the .NET framework. Please keep patience as it might take some time to install the .NET Framework. Once done, restart your system for the changes to take effect.

Details on command line parameters, for your reference and knowledge:

  • /Online targets the operating system you're running (instead of an offline Windows image).
  • /Enable-Feature /FeatureName:NetFx3 specifies that you want to enable the .NET Framework 3.5.
  • /All enables all parent features of the .NET Framework 3.5.
  • /LimitAccess prevents DISM from contacting Windows Update.
  • /Source specifies the location of the files needed to restore the feature (in this example, the x:\sources\sxs directory).

Details about my struggle with installation of .NET Framework 3.5 and various alternative options that I tried, is already mentioned in this blog post. If you have some spare time, don’t forget to ready that experience.
Hope this will help you to resolve the issue in a very quick manner. Though the post describes installation in Windows 10, but is also applicable for Windows 7, Windows 8 and Windows 8.1.

 

ASPHostPortal.com

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 2008. 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 2008 Hosting, we should be your best choice.



Windows Hosting - ASPHostPortal.com :: How to Reset Admin Password in Windows Server 2012 R2

clock August 1, 2016 19:59 by author Armend

How to Reset Admin Password in Windows Server 2012 R2

Windows Server 2012 R2 brings a host of new features that greatly enhance the functionality of the operating system. Many of these improvements expand on existing capabilities of Windows Server 2012.  The new product also benefits from having the capability of performing at a much higher level than previous servers and comes equipped with an integrated virtualization platform.

 

In this article I will tell you about how to reset Windows Server 2012 R2 lost admin password. The answer is not absolute. For example, if you have password reset disk or another administrator available, Windows server 2012 r2 lost admin password would be reset instantly.
Or if you have backup Windows system status with disk, such as Windows system restore disc, you could restore Windows server 2012 r2 to early system point.
Even though there are not anything available for recovering server 2012 r2 password, Windows system 2012 r2 installation disk and third-party recovery tool would help you too.

First, Windows system installation disk reset Windows server 2012 r2 admin password.
Preparation: a copy of Windows server 2012 r2 installation disk
The key step of resetting server 2012 r2 admin password with installation disk is to replace Utilman.exe.

  • Boot off Windows disk and select the "Repair your computer" option from the lower left-hand corner.
  • Get to the option to open the Command Prompt.
  • Type the following commands to back up the utilman.exe file:
  • MOVE C:WindowsSystem32Utilman.exe C:WindowsSystem32Utilman.exe.bak
  • Copy cmd.exe and rename it Utilman.exe.
  • COPY C:WindowsSystem32cmd.exe C:WindowsSystem32Utilman.exe
  • Now you can go ahead and reboot your machine. When it's done booting up again and you are at the Logon screen click on the Ease of access icon.
  • Now you have replaced Utilman.exe with cmd.exe.
  • Command Prompt opens, type following commands:
  • .net user administrator *

Once you press Enter, you will be asked to set a new password and then confirm it. When entering new one, don't worry if you can't see it, because it is invisible, however it has been remembered.
Once you're logged in again, don't forget to delete Utilman.exe and then rename Utilman.exe.bak back to plain old Utilman.exe.

Second, reset server 2012 r2 admin password with third-party Windows password genius.
Windows Password Genius has four versions available, standard, professional, and advanced and raid. And the raid version is special, because it works for raid server Windows domain or local admin password reset. The advanced is general version, working on both server and client computers.

So choose appropriate Windows password recovery version to burn a password reset disk and then recover Windows server administrator password.
Preparation: Windows Password Genius Advanced/Raid, available computer and bootable USB drive.

  • Install Windows Password Genius Raid, and run it on available computer.
  • Insert bootable USB drive into this available computer and choose USB, click "Begin burning" to create password reset disk with USB.
  • Exit USB device after it is successfully burned with password reset disk.
  • Plug USB into server 2012 r2 and boot server from USB.
  • Recovery tool program runs, and then choose Windows system - Windows serve 2012 r2, and select user account - administrator.
  • Click "Reset Password", the administrator would be set with new password "[email protected]".

At last, reboot server computer to finish Windows password reset. But remember to exit USB reset disk from server before your server computer boots from hard disk successfully.

Best Windows Server 2012 R2 Hosting Recommendation

ASPHostPortal.com

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 2008. 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 2008 Hosting, we should be your best choice.

 



Windows Reseller Hosting - ASPHostPortal.com :: Best Practices windows cloud server security

clock April 27, 2016 20:57 by author Armend

More and more we are helping people get set up on  Windows cloud servers here at windows2008hosting.asphostportal.com .  While dedicated server solutions are the right choice for certain situations, clients are finding the benefits of cloud servers or, in many cases, a hybrid hosting solution to be the perfect fit for their hosting needs. With all this cloud talk, there are several technologies supported on Windows cloud servers that you may not have realized. These options can make the difference when configuring a cloud server solution that will best optimize your site or application.

 

Firewalls, VPN & SSL in the Cloud

The best practices of leveraging Virtual Private Networks (VPN), Secure Sockets Layers (SSL) and Firewalls to protect sensitive information on a Windows Cloud Server are recommend and also supported just as they would be with a physical dedicated server. If you’re unsure as to what any of these are and why they are necessary, the following will serve as a summary of each and their benefits.

What is VPN?

Virtual Private Networking is a secure and controlled method of connecting remote networks and users for the purpose of dealing with sensitive information. When using a VPN, all data is encrypted at the source, sent securely to the destination, then decrypted at the destination – assuring that only the previously approved source and destination people or systems can access the data. This is often a necessary element to incorporate in your hosting solution if you are an eCommerce company accessing sensitive back-end data like credit cards or orders, require PCI compliance, or simply need to securely work with remote clients or coworkers regarding sensitive information. A VPN connection allows you to guarantee identity through point-to-point connections and user authentication. While Windows cloud servers are virtual, they retain all the same VPN encrypting capabilities as a dedicated server, giving you complete control over security and privacy of your data. (For more information on Virtual Private Networking.

What is an SSL Connection?

The Secure Socket Layer protocol (SSL) ensures secure transactions between Windows cloud servers and browsers. This is particularly important anytime sensitive information must be transmitted over the open Internet. For example, any sign-up process where personal information is needed, (credit card information, personal data, etc.) would justify use of an SSL connection. You can recognize the use of an SSL connection when you see an “S” included in the URL (https://).
While the technical breakdown of an SSL can be somewhat complicated, it’s important to understand the basic concept of an SSL connection and how important it is inmaintaining security with sensitive information.

What is a Firewall?

A firewall is a security solution designed to only allow safe and trusted connections to whatever it is set to protect. It does this by identifying several pieces of information for all incoming connections, thus blocking access to any unfamiliar or unauthorized sources looking to access that data. The difference between a firewall and an SSL connection is that SSL is used to ensure your sensitive information can be securely sent from a webpage to a server, while a firewall is designed to control direct access to the cloud server itself. A firewall can be used to lock down ports and allow only certain information to be accessible, while keeping other information secure.

Firewall in a Windows Cloud Server

In order to set up a firewall in a Windows cloud server configuration, various steps must be taken to optimize the firewall for the cloud – but depending on your hosting provider, these steps will be covered for you. Once these steps are taken, it is no different than a firewall configured for a dedicated physical server.
Note: In addition to base intrusion detection and firewall protection offered at our network core, our Windows Cloud Servers come with free built-in Windows Firewall service that can be used to lock down ports and restrict access with a focus on the specific needs of your server – assuring that only the ports needed are opened and only available to the users or systems that need the sensitive access.

Cloud Server Security Best Practices

The above security steps are important in and of themselves, but they also serve as a baseline for achieving PCI Compliance, something in which we at ASPHostPortal.com are well versed. So, whether you’re looking to sure up your security as a best practice, or find yourself needing to implement the above steps in accordance with the PCI Security Standard Council, Windows cloud server hosting offers all the tools available on a dedicated server configuration, but often with several added benefits.

Best Windows Server 2008 Hosting Recommendation

ASPHostPortal.com

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 2008. 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 2008 Hosting, we should be your best choice.



ASP.NET Hosting - ASPHostPortal.com :: How to Rank the Windows Hosting

clock April 19, 2016 20:01 by author Armend

How to Rank the Windows Hosting

To choose the really reliable Windows hosting, we follow the below guidelines.

#Operation System

The web hosting based on Windows server 2012 edition is ranked higher than the previous editions. Windows server 2012 has better performance, better stability, less consumption of system resources and high security. And it supports the best web server IIS 8.0 in Windows platform so far, which integrates with the ASP.NET pipeline much better than IIS 8.5/7.0

 

#Database System

ASP.NET applications work better with MSSQL than MySQL or PostgreSQL database. And the Windows web hosting supported MSSQL 2008 R2 gets a higher grade than MSSQL2005 and MSSQL2000. Feature and benefits in MSSQL2008 are better than the previous version of MSSQL, such as encrypt to enhance security, data compression to save disk space, parallel computing to accelerate speed, less consumption of system resource, and so on.

#DotNET Framework

The Windows hosting with support to multiple .NET framework versions especially .NET Framework V4 has a higher score in the ranking. The more versions supported the less compatible problems you may encounter, which also provides you more scalability to upgrade the websites later.

#Control Panel

Plesk is ranked as the No.1 control panel for Windows web hosting, and DotNETPanel, H-Sphere and other types have its advantage and disadvantage. We graded these types of control panels with different scores.

#Reliability

Reliability is the factor must be considered. It is evaluated by different criteria, we list these indicators below.

  • Uptime
  • Pre-install anti-virus software
  • Pre-install firewall
  • Network
  • Stable Datacenter

The best Windows web hosting listed above are ranked on these criteria, and all the 3 best windows web hosting truly meet the highest standards, which can powerful enough to run your website.

Pros and Cons of Windows Web Hosting

In fact, the Windows hosting solution is not as popular as the Linux hosting service. To give you a better understanding about this hosting type, we have listed some strong points and weak points of Windows web hosting.

The Strong Points

If your web host is a reliable and quality hosting provider, this hosting type can even achieve a more stable running than the normal Linux hosting solution.
It is surely multilingual that supports multiple scripting languages we have covered nowadays.
This hosting type is surely easy-to-use due to the immense popularity of Microsoft technologies. With it, there is no need to for you run the command line.
If you do not have enough experiences and knowledge of hosting, this type of hosting solution is arguably easier for you for the management tasks.

The Weak Points

Windows hosting is surely expensive. After all, the system of Windows is not free to use, but requires you to pay for the license fee. In addition, Windows can only be got from the official site or a few appointed agents, so there are almost no chances for you to get some lower charges or the attractive promotional campaign.
If you want to install some PHP based plugins, extensions and modules, the Windows hosting may fail to work well due to the compatibility issue.
Generally, PHP cannot work effectively with IIS as compared with Apache. For webmasters who are running a PHP based application, the 500 error might occur constantly.
Your web hosts may give you little flexibility for customizing and configuring your web servers.
If you want to use WordPress to set up and control your website, the Windows hosting service may fail to ensure you a good experience.



ASP.NET Hosting - ASPHostPortal.com :: How to Prevent ASP.NET Website From Multiple Database Request

clock October 26, 2015 20:44 by author Dan

It is not good to execute multiple db request for loading single page.  Review your database code to see if you have request paths that go to the database more than once. Each of those round-trips decreases the number of requests per second your application can serve. By returning multiple resultsets in a single database request, you can cut the total time spent communicating with the database.

In order to improve performance you should execute single stored proc and bring multiple resultset in to single db request.  In this article i will explain you how to avoid multiple database request and how to bring multiple resultset into single db request.

Consider a scenario of loading a Product Page, which displays

  • Product Information and
  • Product Review Information

In order to bring 2 database request in single db request, your sql server stored proc should be declared as below.

SQL Server Stored Proc

CREATE PROCEDURE GetProductDetails
 @ProductId bigint,
AS
SET NOCOUNT ON

--Product Information
Select ProductId,
 ProductName,
 ProductImage,
 Description,
 Price
From Product
Where ProductId = @ProductId

--Product Review Information
Select  ReviewerName,
 ReviewDesc,
 ReviewDate
From ProductReview
Where ProductId = @ProductId

Asp.net, C# Code to bring multiple db request into single db request

Code Inside Data Access Class Library (DAL)

public DataSet GetProductDetails()
{
SqlCommand cmdToExecute = new SqlCommand();
cmdToExecute.CommandText = "GetProductDetails";
cmdToExecute.CommandType = CommandType.StoredProcedure;
DataSet dsResultSet = new DataSet();
SqlDataAdapter adapter = new SqlDataAdapter(cmdToExecute);

try
{
    var conString = System.Configuration.ConfigurationManager.ConnectionStrings["ConnStr"];
    string strConnString = conString.ConnectionString;
    SqlConnection conn = new SqlConnection(strConnString);

    cmdToExecute.Connection = conn;

    cmdToExecute.Parameters.Add(new SqlParameter("@ ProductId", SqlDbType.BigInt, 8, ParameterDirection.Input, false, 19, 0, "", DataRowVersion.Proposed, _productId));

    //Open Connection
    conn.Open();

    // Assign proper name to multiple table
    adapter.TableMappings.Add("Table", "ProductInfo");
    adapter.TableMappings.Add("Table1", "ProductReviewInfo");
    adapter.Fill(dsResultSet);

    return dsResultSet;             
}
catch (Exception ex)
{
    // some error occured.
    throw new Exception("DB Request error.", ex);
}
finally
{
    conn.Close();
    cmdToExecute.Dispose();
    adapter.Dispose();
}
}

Code Inside Asp.net .aspx.cs page

protected void Page_Load(object sender, EventArgs e)
{
   if (Request.QueryString[ProductId] != null)
   {
      long ProductId = Convert.ToInt64(Request.QueryString[ProductId].ToString()); 
  
      DataSet dsData = new DataSet();

      //Assuming you have Product class in DAL
      ProductInfo objProduct = new ProductInfo();
      objProduct.ProductId = ProductId;
      dsData = objProduct.GetProductDetails();

      DataTable dtProductInfo = dsData.Tables["ProductInfo"];
      DataTable dtProductReviews = dsData.Tables["ProductReviewInfo"];

      //Now you have data table containing information
      //Make necessary assignment to controls
      .....
      .....
      .....
      .....
      ..... 

    }
}


Finish, Happy coding.

Best Windows Shared 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 Our Shared Hosting. 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 Shared 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