Tech blog

Solving problems

About
Contact

Archive for the ‘iis7’ tag

IF WRN: Assembly binding logging is turned OFF or It is an error to use a section registered as allowDefinition=’MachineToApplication’ beyond application level

leave a comment

We had some problems with subdirectories under our root website.

We wanted to add different examples under our website root (organized into folders) like this:

  • www.our-website.com/example1
  • www.our-website.com/example2

And we always got these errors.

At root of our website www.our-website.com we didn’t have any web.config and we didn’t want any. Every subfolder has its own web.config and it didn’t worked under IIS7

Solution:

Click on each folder under IIS and then right mouse click Convert To Application and it worked.

VN:F [1.9.3_1094]
Rating: 3.0/5 (1 vote cast)
VN:F [1.9.3_1094]
Rating: 0 (from 0 votes)

MimeType in IIS7 and configuration with IIS7 Admin Tool

leave a comment

We have experienced problem how to add MimeType that has two extensions, such as .exe.config

You can not do this using IIS7 GUI manager.

Instead of this use IIS7 console programme:

"C:\Windows\System32\inetsrv\appcmd.exe" set config "Default Web Site/sicer08" -section:system.webServer/staticContent /+"[fileExtension='.exe.config',mimeType='application/octet-stream']"

One more problem we expirienced on Windows 2008 Server 64-bit is that you can not see configuration files. They should be in C:\Windows\System32\inetsrv\Config\ but you can not see them using Windows Explorer, 32-bit application on 64-bit system so you need to find and install Microsoft IIS Admin Tool in order to manage these files (you will get one new icon in IIS7 Management Studio when you click on you IIS webserver and its name is Configuration Editor – you can edit then in Notepad – oh no…).

VN:F [1.9.3_1094]
Rating: 0.0/5 (0 votes cast)
VN:F [1.9.3_1094]
Rating: 0 (from 0 votes)

Written by Avivo

August 12th, 2009 at 11:23 am

A listener channel for protocol ‘http’ in worker process ” serving application pool ‘DefaultAppPool’ reported a listener channel failure.

leave a comment

PROBLEM: Enabling RPC over HTTP on a 64-bit Internet Information Services 7.0 webserver results in application pool failures.

Just run these 4 command and restart IIS and application pools:

1) %windir%\system32\inetsrv\appcmd.exe set config -section:system.webServer/globalModules -[name='PasswordExpiryModule'].preCondition:bitness64

2) %windir%\system32\inetsrv\appcmd.exe add apppool -name:RpcAppPool -enable32BitAppOnWin64:false

3) %windir%\system32\inetsrv\appcmd.exe set app “Default Web Site/Rpc” -applicationPool:RpcAppPool

4) %windir%\system32\inetsrv\appcmd.exe set app “Default Web Site/RpcWithCert” -applicationPool:RpcAppPool

http://support.microsoft.com/kb/970259

VN:F [1.9.3_1094]
Rating: 0.0/5 (0 votes cast)
VN:F [1.9.3_1094]
Rating: 0 (from 0 votes)

Written by Avivo

July 7th, 2009 at 1:37 pm