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 - HostForLIFE.eu :: PUT , POST & DELETE Verbs Not Allowed in IIS 8

clock February 24, 2015 06:14 by author Peter

Today, I will write about PUT, POST and DELETE verbs on the web application in IIS. And this is the error:

<h2>405 - HTTP verb used to access this page is not allowed.</h2>
<h3>The page you are looking for cannot be displayed because an invalid method (HTTP verb) was used to attempt access


After some troubleshooting the error was isolated to the actual fact that WebDav was put in on the server and was intercepting those requests for its own service use.
Rather than removing WebDav from the server, we tend to went searching for another answer. thankfully somebody on Twitter understood the problem and gave an example of changes to create to the client’s web.config get in order to disable (remove) the WebDav module for simply that specific website while not requiring any manual body actions on the server.

The code updates to create to your web.config file to resolve this error are:
<configuration>
  <system.webServer>
    <handlers>
      <remove name="WebDAV" />
      <remove name="ExtensionlessUrlHandler-ISAPI-4.0_32bit" />
      <remove name="ExtensionlessUrlHandler-ISAPI-4.0_64bit" />
      <remove name="ExtensionlessUrlHandler-Integrated-4.0" />
      <add name="ExtensionlessUrlHandler-ISAPI-4.0_32bit" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" />
      <add name="ExtensionlessUrlHandler-ISAPI-4.0_64bit" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" />
      <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
    </handlers>
    <modules>
      <remove name="WebDAVModule" />
    </modules>
  </system.webServer>
</configuration>

I hope this tutorial works for you!

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 7.5 Hosting UK - HostForLIFE.eu :: Retrieve IIS Application Pool Password

clock February 11, 2015 13:20 by author Peter

In this short article, I am going to explain you about Retrieve IIS Application Pool Password. I had to induce the password for application pool account in SharePoint so as to require the control on an existing environment. Here are the tools helped me to get app pool password:

1. IIS Metabase explorer - a part of IIS Resource kit - ensure "Secure Data" is checked.

2. SharePoint Manager - excellent tool for exploring the server objects. simply navigate to the target application pool, get the password from properties pane.

3. using APPCMD command tool to get App Pool Password:
Appcmd could be a command tool for managing IIS 7 and higher than. you'll be able to notice it under: C:\Windows\System32\inetsrv.

To retrieve the IIS Application Pool's password enter this command:
appcmd list apppool “<Your Application Pool Name>” /text:*

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 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 2012 Hosting, ASP.NET 4.5 Hosting, ASP.NET MVC 5 Hosting, and SQL 2014 Hosting.

Tag cloud

Sign in