5

A number of guides on setting the ASP.NET machineKey via the IIS manager tell me to open up the "Machine Key" section in the Feature View, for example:

            scrshot

My IIS install doesn't have this icon. How do I add it? I've had a good look through the "Add Role Services" but didn't find anything that seemed relevant.

Here's what the list looks like on my server when I select the machine in the list on the left: enter image description here

  • Just to rule out the blindingly obvious - you don't happen to have a filter set in the filter drop-down do you? – squillman Nov 13 '13 at 19:28
  • 1
    @romkyns - You have only 8 icons in your asp.net section, the default for the machine level is 12, even more for the site level. I would re-install ASP.NET – Peter Hahndorf Nov 13 '13 at 20:07
4

I had to go to 'Turn windows features on or off' in Control Panel -> Programs and Features, and enable ASP .NET under World Wide Web Services.

Check the checkbox for Internet Information Services -> World Wide Web Services -> Application Development Features -> ASP.NET.

| improve this answer | |
  • 1
    This worked for me too. More specifically, I put the check mark next to "ASP.NET 4.6" – Gary Jun 20 '16 at 17:09
1

The first thing to check is the configuration file for the IIS Manager at:

%systemroot%\System32\inetsrv\config\administration.config

Under the moduleProviders node in the ASP.NET Modules section there should be an entry like this:

   <add name="MachineKey" type="Microsoft.Web.Management.AspNet.MachineKey.MachineKeyModuleProvider, Microsoft.Web.Management.Aspnet, Version=8.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />

The version number may be 8.0.0.0, 7.5.0.0 or 7.0.0.0 depending on your OS.

If that's there, you can look at the actual file providing this feature, in the case of 2008 R2 it is at:

C:\Windows\assembly\GAC_MSIL\Microsoft.Web.Management.Aspnet\7.5.0.0__31bf3856ad364e35\Microsoft.Web.Management.Aspnet.dll

If that's always there, I would start up Process Monitor and filter for

Path  contains  Microsoft.Web.Management.Aspnet.dll

than start IIS manager and review the Result column in Process Monitor, you should get a bunch of entries with Success, Buffer Overflow and File Locked with only readers

I really have no idea why the icon is not showing up on your system, but that's how I would look for a problem.

| improve this answer | |
  • There is, and the version is 7.5.0.0. The OS is Server 2008 R2 64-bit. – RomanSt Nov 13 '13 at 19:13
1

Uninstall ASP.net V4.0 and re-install. This fixed for me

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.