Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1399
  • Last Modified:

ASP.NET MVC4 Install Server 2008 R2 Core

I am working with a CMS vendor that requires the installation of ASP.NET MVC4 on the production servers (Server 2008 Enterprise R2 Core Edition).  I have been pushing the vendor to include the dependencies in the build, however, they are requiring the installation.

I have downloaded the standalone installation AspNetMVC4setup.exe from microsoft
http://www.microsoft.com/en-us/download/details.aspx?id=30683

When I try to run the installer, I receive the following error

Setup Failed
0x81f40001 - This product requires PowerShell 2.0
ASP.NET MVC4 Installation Error
I have verified PowerShell 2.0 is installed and have spent days researching.  Any help wold be appreciated.
0
Server_Dog
Asked:
Server_Dog
  • 5
  • 4
1 Solution
 
Patrick BogersDatacenter platform engineer LindowsCommented:
Hi

In powershell, please run this command and post the results back.

get-host|Select-Object version
0
 
Server_DogAuthor Commented:
@Patricksr1972
PS S:\Apps\Microsoft\Microsoft .NET> get-host | Select-Object version

Version
-------
2.0

Open in new window

0
 
Patrick BogersDatacenter platform engineer LindowsCommented:
Thanks, and    $psversiontable.psversion  ??
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
Server_DogAuthor Commented:
@Patricksr1927
PS S:\Apps\Microsoft\Microsoft .NET> $psversiontable.psversion

Major  Minor  Build  Revision
-----  -----  -----  --------
2      0      -1     -1

Open in new window

0
 
Patrick BogersDatacenter platform engineer LindowsCommented:
Strange, that seems right. Are you sure you have the right installer and did you also try to install the software 'as admin' with levated rights?

Also, what does      Get-ExecutionPolicy     tell you?
0
 
Server_DogAuthor Commented:
I am in an admin command prompt while attempting to install it.

Current execution policy is
RemoteSigned

Open in new window


It is very strange
0
 
Patrick BogersDatacenter platform engineer LindowsCommented:
Hi

Ok i am pretty confident you need to reinstall Powershell 2
0
 
Server_DogAuthor Commented:
Installed PowerShell 3 and it resolved the issue
0
 
Patrick BogersDatacenter platform engineer LindowsCommented:
Cool, this also involves uninstalling V2 plus you have more features now. Good job!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

  • 5
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now