Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7503391
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T21:12:28+00:00 2026-05-29T21:12:28+00:00

I am trying to do what is suggested in the answer here: How do

  • 0

I am trying to do what is suggested in the answer here: How do I set the .NET Framework Version when using New-WebAppPool?

and using the command:

Set-ItemProperty C:\inetpub\temp\appPools\DefaultAppPool managedRuntimeVersion v4.0

I get this error however

Set-ItemProperty : Property System.String managedRuntimeVersion=v4.0
does not exist. At line:1 char:17 + Set-ItemProperty <<<<
C:\inetpub\temp\appPools\DefaultAppPool managedRuntimeVersion v4.0
+ CategoryInfo: ReadError: (System.String managedRuntimeVersion=v4.0:PSNoteProperty) [IOException +
FullyQualifiedErrorId
:SetPropertyError,Microsoft.PowerShell.Commands.SetItemPropertyCommand

I think that I loaded the Web Administration module correctly (right clicked on the taskbar icon and selected “Import System Modules” and then tried the commands in that shell) and I’ve also tried using the command and explicitly stating the parameters and it still occurs. Same problem happens with other properties like AutoStart.

Does anyone know what I might be doing wrong?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T21:12:30+00:00Added an answer on May 29, 2026 at 9:12 pm

    C:\ is the from the file system provider. Keith’s answer in the SO question you linked is using the IIS provider IIS:\.

    Set-ItemProperty IIS:\AppPools\<pool_name> managedRuntimeVersion v4.0
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've been trying to implement the jquery validator that is the suggested answer here:
I am trying: install.packages(RGoogleDocs, repos = http://www.omegahat.org/R) As suggested here , but it doesn't
I've been trying to implement the code in the answer here Issues are:- Setting
Recently I started using https://github.com/crowdint/rails3-jquery-autocomplete It works great, but I was trying to set
Here's the workflow that I'm trying to build compile my proto files using a
I have used several different scripts that people have suggested for trying to parse
I'm trying to use the freeware Multiple Find And Replace 1.00 suggested in this
I am trying to get an array from a plist as suggested on an
Pretty new here. But before I ask my question, I'm not looking for teh
I'm trying to get an ASP.NET MVC app working... I should have known it

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.