IIS 7.5 and IIS 8.0 European Hosting

BLOG about IIS 7.5 Hosting, IIS 8.0 Hosting and Its Technology - Dedicated to European Windows Hosting Customer

IIS 8.0 Hosting Italy - HostForLIFE.eu :: How to Configure IIS to Run Silverlight Services

clock February 10, 2015 15:38 by author Peter

In this post, I will tell you about How to Configure IIS to Run Silverlight Services. When you have been installed the Silverlight, we still need to install/enable IIS using the following steps.

Either we can open it from "Run" - "appwiz.cpl" - "Turn Windows features on or off - by enabling Internet Information Services & Microsoft .NET Framework 3.5.1" or we can do it from the Control Panel.

Selecting Turn Windows Features on or off

Enabling IIS and .NET Framework

When you preceding has been done you need to add MIME types in IIS.

First step, open the IIS with this command: 

"Run" - "inetmgr"For the first time, it will ask you to connect. When you connect & choose the instance on the right hand side under "Features View" there is IIS. Below the IIS there is "MIME Types"; click on that looks like the picture below.

In MIME Types check whether we have an extension for .SVC since we are using services in our Silverlight project. If we do not have the extension then add a new extension on right hand side at the top there is an add under Action. I already added it in my IIS, That’s why the File Name Extension is showing as un-editable.

Now, must do the same for xaml, xap and xbap extensions.

And now we are going to configure IIS from the command prompt. Since we already installed Framework and Silverlight. It is installed at the following location: c:\Windows\Microsoft.NET\Framework\v4.0.30319\
Next step, Open the CMD with Administrative privileges. And go to the above path.

In my case we’ll need both V3.0 & V4.0.30319, now first we will go to version V4.0.30319 and run the following command:
aspnet_regiis /i

The command above will install the ASP.NET and enables the service for IIS. Now we will go to version V3.0 at the following path: c:\Windows\Microsoft.NET\Framework\v3.0\Windows Communication Foundation.

Now, type and run the following command:
ServiceModelReg.exe /i

It’ll install a few things that we require to repare our IIS to publish our SilverlightServices and run. Now our IIS is ready to use Silverlight enable services.

HostForLIFE.eu IIS 8.0 Hosting
HostForLIFE.eu is European Windows Hosting Provider which focuses on Windows Platform only. We deliver on-demand hosting solutions including Shared hosting, Reseller Hosting, Cloud Hosting, Dedicated Servers, and IT as a Service for companies of all sizes. We have customers from around the globe, spread across every continent. We serve the hosting needs of the business and professional, government and nonprofit, entertainment and personal use market segments.



IIS 8.0 Hosting Netherlands - HostForLIFE.eu :: How to use Shared Configuration in IIS ?

clock February 3, 2015 08:36 by author Peter

In this short article, I will tell you about Shared Configuration in IIS. Before we start, first thing that you should do is backup the following configuration files for your sites on both servers, administration.config and applicationHost.config.The default location for that files are in C:\Windows\System32\inetsrv\config.  If you got an error you can use the files to restore the configuration back to its original state. 

1. Now, from server1 in IIS Management chopse the server name and on the right Window pane under Management click the “Shared Configuration” icon like the picture below:

2. Next, on the Actions pane select “Export Configuration” as shown on the picture below:

Then Select the location to store the files and provide an Encryption key password (keep track of it for use on server2)

3. Copy the files to a folder location on server2 (administration.config and applicationHost.config)
4. Now, Open the Shared Configuration icon in IIS Manager for server2
5. Tick on the box to “Enable shared configuration”
6. Now, Enter the path to the exported configuration files on server2

7. Next step Click Apply and input the Encryption key password.  You’ll receive the message below.

8. Close and open up IIS Manager, choose the server name, click the Management Service icon and choose Restart under the Actions menu (you may additionally choose to run iisreset at the command line)

Now make sure the sites are in place. you'll disable “Shared Configuration” if everything is setup properly. when you go to disable “Shared Configuration” you will be prompted to choose “Yes” if yo wish to copy the new configuration back to the default folder location or select “No” if you do not want to import the new configuration however instead revert back to your original configuration. Select “Yes” to overwrite your original file configuration with the new configuration.  Check the Event Viewer to assist troubleshoot any problems you run into with the sites.

HostForLIFE.eu IIS 8.0 Hosting
HostForLIFE.eu is European Windows Hosting Provider which focuses on Windows Platform only. We deliver on-demand hosting solutions including Shared hosting, Reseller Hosting, Cloud Hosting, Dedicated Servers, and IT as a Service for companies of all sizes. We have customers from around the globe, spread across every continent. We serve the hosting needs of the business and professional, government and nonprofit, entertainment and personal use market segments.



About HostForLIFE.eu

HostForLIFE.eu is European Windows Hosting Provider which focuses on Windows Platform only. We deliver on-demand hosting solutions including Shared hosting, Reseller Hosting, Cloud Hosting, Dedicated Servers, and IT as a Service for companies of all sizes.

We have offered the latest Windows 2016 Hosting, ASP.NET Core 2.2.1 Hosting, ASP.NET MVC 6 Hosting and SQL 2017 Hosting.


Tag cloud

Sign in